function googleAnalytics(){
	document.write('<script type=\"text/javascript\">var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");document.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));</script>');
	document.write('<script type="text/javascript">try {var pageTracker = _gat._getTracker("UA-6038046-1"); pageTracker._trackPageview(); } catch(err) {}</script>');

	//googleAnalytics1();
	//googleAnalytics2();
}




//function googleAnalytics1(){
//	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
//	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
//}
//
//function googleAnalytics2(){
////	var pageTracker = _gat._getTracker("UA-6038046-1");
//	document.write('<script type="text/javascript">try {var pageTracker = _gat._getTracker("UA-6038046-1"); pageTracker._trackPageview(); } catch(err) {}</script>');
//
//}

function buildCombo(type) {
	var d, dom, nu='',nua='', brow='', ie, ie4, ie5, ie5x, ie6, ie7;
	var ns4, moz, moz_rv_sub, release_date='', moz_brow, moz_brow_nu='', moz_brow_nu_sub='', rv_full='';
	var mac, win, old, lin, ie5mac, ie5xwin, konq, saf, op, op4, op5, op6, op7;
	d=document;
	n=navigator;
	nav=n.appVersion;
	nan=n.appName;
	nua=n.userAgent;
	old=(nav.substring(0,1)<4);
	mac=(nav.indexOf('Mac')!=-1);
	win=( ( (nav.indexOf('Win')!=-1) || (nav.indexOf('NT')!=-1) ) && !mac)?true:false;
	lin=(nua.indexOf('Linux')!=-1);
	if ( !document.layers ){dom = ( d.getElementById ) ? d.getElementById : false;}
	else {dom = false;ns4 = true;}
	op=(nua.indexOf('Opera')!=-1);
	saf=(nua.indexOf('Safari')!=-1);
	konq=(!saf && (nua.indexOf('Konqueror')!=-1) ) ? true : false;
	moz=( (!saf && !konq ) && ( nua.indexOf('Gecko')!=-1 ) ) ? true : false;
	ie=((nua.indexOf('MSIE')!=-1)&&!op);
	if (op){
		str_pos=nua.indexOf('Opera');
		nu=nua.substr((str_pos+6),4);
		brow = 'Opera';}
	else if (saf){
		str_pos=nua.indexOf('Safari');
		nu=nua.substr((str_pos+7),5);
		brow = 'Safari';}
	else if (konq){
		str_pos=nua.indexOf('Konqueror');
		nu=nua.substr((str_pos+10),3);
		brow = 'Konqueror';}
	else if (moz){
		pattern = /[(); \n]/;
		moz_types = new Array( 'Firebird', 'Phoenix', 'Firefox', 'Galeon', 'K-Meleon', 'Camino', 'Epiphany', 'Netscape6', 'Netscape', 'MultiZilla', 'Gecko Debian', 'rv' );
		rv_pos = nua.indexOf( 'rv' );
		rv_full = nua.substr( rv_pos + 3, 6 );
		rv_slice = ( rv_full.search( pattern ) != -1 ) ? rv_full.search( pattern ) : '';
		( rv_slice ) ? rv_full = rv_full.substr( 0, rv_slice ) : '';
		nu = rv_full.substr( 0, 3 );
		for (i=0; i < moz_types.length; i++){
			if ( nua.indexOf( moz_types[i]) !=-1 ){
				moz_brow = moz_types[i];
				break;}}
		if ( moz_brow )
		{	str_pos=nua.indexOf(moz_brow);
			moz_brow_nu = nua.substr( (str_pos + moz_brow.length + 1 ) ,3);
			moz_brow_nu = ( isNaN( moz_brow_nu ) ) ? moz_brow_nu = nu: moz_brow_nu;
			moz_brow_nu_sub = nua.substr( (str_pos + moz_brow.length + 1 ), 8);
			sub_nu_slice = ( moz_brow_nu_sub.search( pattern ) != -1 ) ? moz_brow_nu_sub.search( pattern ) : '';
			( sub_nu_slice ) ? moz_brow_nu_sub = moz_brow_nu_sub.substr( 0, sub_nu_slice ) : '';}
		if ( moz_brow == 'Netscape6' ){moz_brow = 'Netscape';}
		else if ( moz_brow == 'rv' || moz_brow == '' )
		{moz_brow = 'Mozilla';}
		if ( !moz_brow_nu )
		{	moz_brow_nu = nu;
			moz_brow_nu_sub = nu;}
		if (n.productSub){release_date = n.productSub;}}
	else if (ie){
		str_pos=nua.indexOf('MSIE');
		nu=nua.substr((str_pos+5),3);
		brow = 'Microsoft Internet Explorer';}
	else {brow = nan;}
	op5=(op&&(nu.substring(0,1)==5));
	op6=(op&&(nu.substring(0,1)==6));
	op7=(op&&(nu.substring(0,1)==7));
	op8=(op&&(nu.substring(0,1)==8));
	op9=(op&&(nu.substring(0,1)==9));
	ie4=(ie&&!dom);
	ie5=(ie&&(nu.substring(0,1)==5));
	ie6=(ie&&(nu.substring(0,1)==6));
	ie7=(ie&&(nu.substring(0,1)==7));
	if(!nu) {nu = nav.substring(0,1);}
	ie5x=(d.all&&dom);
	ie5mac=(mac&&ie5);
	ie5xwin=(win&&ie5x);

	if (type == "contact"){
		if (ie && nu >= 4){document.write('<tr><td width=1 bgcolor="#eaeaea"><img src="images/spacer.gif" class=spacer></td><td width=20><img src="images/spacer.gif" class=spacer></td><td width=624><img src="images/spacer.gif" class=spacer><br><table width=623 height="100%" cellspacing=0 cellpadding=0><tr><td align=center height=9><span class=title>Contact Us</span><br></td></tr><tr><td align=center><br><a href="contact_auditions.htm"><i>For information about becoming a member of The Graduate Choir, click here.</i></a><br><a href="contact_support.htm"><i>To become a supporter or sponsor of The Graduate Choir, click here.</i></a><br><br>Or, for general enquiries, please continue below.<br><br><table cellspacing=0 cellpadding=0><tr valign=middle><td valign=middle>Please select a correspondence type:&nbsp;&nbsp;</td><td valign=middle><form name="choose"><br><SELECT NAME="choose" onChange="chooseForm(this.form,\'contact\',\'ie\');"><option selected value="0">Select...<option value="enquiry">General Enquiry<option value="comments">Comments/Feedback<option value="person">Email a Specific Person<option value="website">Website Issues</select></form></td></tr></table></td></tr><tr><td align=center><div ID="formdiv"></div></td></tr>')}
		else if (saf){window.location="http://www.graduatechoir.co.nz/contact_nf.htm"}
		else if (document.layers || moz){document.write('<tr><td width=1 bgcolor="#eaeaea"><img src="images/spacer.gif" class=spacer></td><td width=20><img src="images/spacer.gif" class=spacer></td><td width=624><img src="images/spacer.gif" class=spacer><br><table width=623 height="100%" cellspacing=0 cellpadding=0><tr><td align=center height=9><span class=title>Contact Us</span><br><br></td></tr><tr><td align=center><br><a href="contact_auditions.htm"><i>For information about becoming a member of The Graduate Choir, click here.</i></a><br><a href="contact_support.htm"><i>To become a supporter or sponsor of The Graduate Choir, click here.</i></a><br><br>Or, for general enquiries, please continue below.<br><br><table cellspacing=0 cellpadding=0><tr><td>Please select a correspondence type:&nbsp;&nbsp;</td><td valign=middle><form name="choose"><SELECT NAME="choose" onChange="chooseForm(this.form,\'contact\',\'moz\');"><option selected value="0">Select...<option value="enquiry">General Enquiry<option value="comments">Comments/Feedback<option value="person">Email a Specific Person<option value="website">Website Issues</select></form></td></tr></table></td></tr><tr><td align=center><center><iframe src="" width=600 height=500 frameborder=0 name="form" id="form">[Your browser does not support iframes or is currently configured not to display iframes. Both MS Internet Explorer 3 or better and Netscape 7.0 or better support this function.<br><br>  Please the links below to choose the type of correspondence you require:<br><br><a href="contact_enquiries.htm">Enquiries</a> -- <a href="contact_auditions.htm">Auditions</a> -- <a href="contact_comments.htm">Comments</a></IFRAME></center></td></tr>')}
		else {window.location="http://www.graduatechoir.co.nz/contact_nf.htm"}}
	else if (type == "support"){
		if (ie && nu >= 4){document.write('<tr><td align=center><div ID="halfpgdiv"><table cellspacing=0 cellpadding=0><tr valign=middle><td valign=middle>Please select a Support type:&nbsp;&nbsp;</td><td valign=middle><form name="choose"><br><SELECT NAME="choose" onChange="chooseForm(this.form,\'support\',\'ie\');"><option selected value="0">Select...<option value="network">Support Network<option value="donate">Donate<option value="corporate">Corporate Sponsorship</select></form></td></tr></table></td></tr><tr><td align=center><div ID="formdiv"></div></div></td></tr>')}
		else if (saf){window.location="http://www.graduatechoir.co.nz/contact_support_nf.htm"}
		else if (document.layers || moz) {document.write('<tr><td align=center><table cellspacing=0 cellpadding=0><tr valign=middle><td valign=middle>Please select a Support type:&nbsp;&nbsp;</td><td valign=middle><form name="choose"><SELECT NAME="choose" onChange="chooseForm(this.form,\'support\',\'moz\');"><option selected value="0">Select...<option value="network">Support Network<option value="donate">Donate<option value="corporate">Corporate Sponsorship</select></form></td></tr></table></td></tr><tr><td align=center><center><br><iframe src="" width=600 height=500 frameborder=0 name="form" id="form">[Your browser does not support iframes or is currently configured not to display iframes. Both MS Internet Explorer 3 or better and Netscape 7.0 or better support this function.<br><br>Please <a href="contact_support_nf.htm">click here</a> to visit a non-frames version of this page.</IFRAME></center></td></tr>')}
		else {window.location="http://www.graduatechoir.co.nz/contact_support_nf.htm"}}
}
function calculateCD(form) {
	var formobj = document.getElementById? document.getElementById("quantity"): document.all.formdiv;
	var squantity = new String(document.cdsale.txt_quantity.value);
	if (squantity == "" || squantity == "0"){
		window.alert("Please enter the Quantity of CDs you would like to purchase.");
	}
	else if (document.cdsale.country.options[document.cdsale.country.selectedIndex].value == "0"){
		window.alert("Please select where the CDs are to be delivered to.");
	}
	else {
		if (isNaN(parseInt(squantity))){window.alert("Please enter a Number for the quantity of CDs you require.");squantity = "0";}
		squantity=parseInt(squantity)
		document.cdsale.txt_quantity.value = squantity;
		formobj.innerHTML = "<b>" + squantity + "</b> copy(ies) of The Graduate Choir :: My Spirit Sang All Day at <b>NZD$25</b> each";}
}
function chooseForm(form,type,browser) {
	mycombo = form.choose.selectedIndex;
	select = new String(form.choose.options[mycombo].value);
	if (select != "") { 
		if (browser == "ie"){
			var formobj = document.getElementById? document.getElementById("formdiv"): document.all.formdiv;
			formobj.style.visibility="hidden";
			if (select == "0") {formstring = '';}
			else if (select == "enquiry") {var formstring = '<table cellspacing=0 cellpadding=2><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="enquiry"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Your Name: </td><td><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=center>Your Company <span class=small>(if applicable)</span>: </td><td><input type="text" maxlength=50 size=20 name="Company"></td></tr><tr><td valign=center>Contact Email Address: </td><td><input type="text" maxlength=50 size=20 name="Email1"></td></tr><tr><td valign=center>Daytime Phone No <span class=small>(optional)</span>: </td><td><input type="text" maxlength=50 size=15 name="DayPh"></td></tr><tr><td valign=center>Evening Phone No <span class=small>(optional)</span>: </td><td><input type="text" maxlength=50 size=15 name="EvnPh"></td></tr><tr><td colspan=2><p align=left><br>Your Enquiry: <br><center><textarea name="Enquiry" wrap=virtual cols=45 rows=8></textarea></center></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table>';}
			else if (select == "comments") {var formstring = '<table cellspacing=0 cellpadding=2><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="comments"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Your Name <span class=small>(optional)</span>: </td><td><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=center>Your Company <span class=small>(if applicable)</span>: </td><td><input type="text" maxlength=50 size=20 name="Company"></td></tr><tr><td valign=center>Your Email Address <span class=small>(optional)</span>: </td><td><input type="text" maxlength=50 size=20 name="Email1"></td></tr><tr><td colspan=2><p align="left"><br>Your Comments: <br><center><textarea name="Comments" wrap=virtual cols=40 rows=8></textarea></center></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table>';}
			else if (select == "person") {var formstring = '<table align=center cellspacing=0 cellpadding=2><tr align=center><td valign=center colspan=2><br><i>Select the person you would like to contact below. &nbsp;Your message will be sent directly to that person.<br>If you wish to contact someone who is not listed below, please write their name in the "Other" box. &nbsp;Every effort will be made to pass on your message to that person.</i><br><Br></td></tr><table align=center cellspacing=0 cellpadding=2><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="person"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Select the person to contact: </td><td><SELECT NAME="ContactPerson"><option selected value="0">Select...<option value="Terence">Terence Maskell, Director of Music<option value="Peter">Peter Cammell, Chairperson<option value="Norman">Norman Firth, Secretary<option value="Mike">Mike Ferrand, Treasurer<option value="Library">Julie France, Librarian<option value="Webmaster">Angela Tsai, Webmaster<option value="other">Other...</td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Other <span class=small>(if not listed above)</span>: </td><td><input type="text" maxlength=50 size=20 name="ContactPersonOther"></td></tr><tr><td valign=center><br>Your Name: </td><td><br><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=center>Your Email Address: </td><td><input type="text" maxlength=50 size=20 name="Email1"></td></tr><tr><td colspan=2><p align="left"><br>Your Message: <br><center><textarea name="Comments" wrap=virtual cols=40 rows=8></textarea></center></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table></table>';}
			else if (select == "website") {var formstring = '<table cellspacing=0 cellpadding=2><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="website"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Your Name <span class=small>(optional)</span>: </td><td><input type="text" maxlength="50" size="20" name="Name"></td></tr><tr><td valign=center>Your Email Address <span class=small>(optional)</span>: </td><td><input type="text" maxlength="50" size="20" name="Email1"></td></tr><tr><td colspan=2><p align="left"><br>Description of Problem/Comments: <br><center><textarea name="Comments" wrap=virtual cols=45 rows=8></textarea></center></td></tr><tr align=center><td colspan=2><br><input class="submit" type="submit" value="Submit"></td></tr></form></table>';}
			else if (select == "network") {var formstring = '<br><center><b>The Graduate Choir Support Network</b><br><br>If you enjoy the music that this choir offers and would like to learn about future events featuring the choir, we ask that you fill out the form below to become a member of The Graduate Choir Support Network.<br><br>Being part of this database means that you will receive news and information about events and recitals that feature the choir.&nbsp; It will also mean that, from time to time, special privileges or priorities will be offered.<br><br>We are intending that this information will be communicated through your stated email address, or if this is not convenient, information will be sent to you via normal letter post.<br><br><i>Your personal details will be stored for the express purpose of The Graduate Choir\'s database of support and will not be used for any other purpose, or made public for any reason without express permission.<br></i></center><br><center><table border=0 cellspacing=0 cellpadding=1><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="network"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Honorific: </td><td valign=center>Mr <input type="radio" name="Honorific" value="Mr"> &nbsp;Mrs <input type="radio" name="Honorific" value="Mrs"> &nbsp;Miss <input type="radio" name="Honorific" value="Miss"> &nbsp;Ms <input type="radio" name="Honorific" value="Ms"> &nbsp;Other <input type="radio" name="Honorific" value="Other"><input type="text" maxlength=4 size=2 name="HonorificOther"></td></tr><tr><td valign=center>Surname: </td><td><input type="text" maxlength=50 size=20 name="Surname"></td></tr><tr><td valign=center>First Name &amp; Initial: </td><td><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=bottom>Email Addresses: </td><td><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Primary: </td><td><input type="text" maxlength=50 size=20 name="Email1"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Secondary <span class=small>(optional)</span>: </td><td><input type="text" maxlength=50 size=20 name="Email2"></td></tr><tr><td valign=bottom>Phone Numbers <span class=small>(optional)</span>: </td><td><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Residential: </td><td><input type="text" maxlength=20 size=15 name="DayPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Work: </td><td><input type="text" maxlength=20 size=15 name="EvnPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cellular: </td><td><input type="text" maxlength=20 size=15 name="CellPh"></td></tr><tr><td colspan=2><p align=left><br>Your Postal Address <span class=small>(optional)</span>: <br><center><textarea name="Address" wrap=virtual cols=45 rows=5></textarea></center></td></tr><tr><td colspan=2><p align=left><br>Your Comments/Message <span class=small>(optional)</span>: <br><center><textarea name="Comments" wrap=virtual cols=45 rows=5></textarea></center></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table></center>';}
			else if (select == "donate") {var formstring = '<br><center><b>Donate</b><br><br>As a not-for-profit organisation, The Graduate Choir is reliant on the generosity of the community to continue functioning.&nbsp; Donations do not necessarily have to be financial - for example, the contribution of products or services that may be used in fundraising efforts are always much appreciated.&nbsp; Donors may wish to specify the project towards which their donation should be put towards, and such requests will be accommodated wherever possible.<br><br><i>If you wish to extend a donation to The Graduate Choir, please fill out the form below and a member of our committee will contact you shortly.</i></center><br><center><table border=0 cellspacing=0 cellpadding=1><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="donate"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Honorific: </td><td valign=center>Mr <input type="radio" name="Honorific" value="Mr"> &nbsp;Mrs <input type="radio" name="Honorific" value="Mrs"> &nbsp;Miss <input type="radio" name="Honorific" value="Miss"> &nbsp;Ms <input type="radio" name="Honorific" value="Ms"> &nbsp;Other <input type="radio" name="Honorific" value="Other"><input type="text" maxlength=4 size=2 name="HonorificOther"></td></tr><tr><td valign=center>Surname: </td><td><input type="text" maxlength=50 size=20 name="Surname"></td></tr><tr><td valign=center>First Name: </td><td><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=center>Email Address: <img src="images/spacer.gif" width=1 height=20></td><td><input type="text" maxlength=50 size=20 name="Email1"><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=bottom>Phone Numbers <span class=small>(optional)</span>: </td><td><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Daytime: </td><td><input type="text" maxlength=20 size=15 name="DayPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evening: </td><td><input type="text" maxlength=20 size=15 name="EvnPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cellular: </td><td><input type="text" maxlength=20 size=15 name="CellPh"></td></tr><tr><td colspan=2><p align=left><br>Your Comments/Message <span class=small>(optional)</span>: <br><center><textarea name="Comments" wrap=virtual cols=45 rows=5></textarea></center></td></tr><tr><td valign=bottom colspan=2><br>Tick this box if you <b>do not</b> want your name to appear<br> as a supporter of The Graduate Choir in our promotional material: <input type="checkbox" name="NamePublished"></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table></center>';}
			else if (select == "corporate") {var formstring = '<br><a name="corporate"></a><br><center><b>Corporate Sponsorship</b><br><br>The choir has a number of projects planned that will only be possible with the assistance of external sponsorship. We can offer your business exposure on both a national and international stage!</center><br><center><table border=0 cellspacing=0 cellpadding=1><form method=POST action="/cgi-bin/gradzforms.php" onsubmit="return verify(this)"><input type="hidden" name="formname" value="corporate"><script language="JavaScript" type="text/javascript">ibrowserInfo();</script><br><tr><td valign=center>Honorific: </td><td valign=center>Mr <input type="radio" name="Honorific" value="Mr"> &nbsp;Mrs <input type="radio" name="Honorific" value="Mrs"> &nbsp;Miss <input type="radio" name="Honorific" value="Miss"> &nbsp;Ms <input type="radio" name="Honorific" value="Ms"> &nbsp;Other <input type="radio" name="Honorific" value="Other"><input type="text" maxlength=4 size=2 name="HonorificOther"></td></tr><tr><td valign=center>Surname: </td><td><input type="text" maxlength=50 size=20 name="Surname"></td></tr><tr><td valign=center>First Name: </td><td><input type="text" maxlength=50 size=20 name="Name"></td></tr><tr><td valign=center>Your Company <span class=small>(if applicable)</span>: </td><td><input type="text" maxlength=50 size=20 name="Company"></td></tr><tr><td valign=center>Email Address: <img src="images/spacer.gif" width=1 height=20></td><td><input type="text" maxlength=50 size=20 name="Email1"><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=bottom>Phone Numbers: </td><td><img src="images/spacer.gif" width=1 height=20></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Daytime: </td><td><input type="text" maxlength=20 size=15 name="DayPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evening: </td><td><input type="text" maxlength=20 size=15 name="EvnPh"></td></tr><tr><td valign=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cellular: </td><td><input type="text" maxlength=20 size=15 name="CellPh"></td></tr><tr><td colspan=2><p align=left><br>Your Comments/Message <span class=small>(optional)</span>: <br><center><textarea name="Comments" wrap=virtual cols=45 rows=5></textarea></center></td></tr><tr align=center><td colspan=2><br><input class=submit type="submit" value="Submit"></td></tr></form></table></center>';}
			formobj.innerHTML=formstring;
			formobj.style.visibility="visible";
			if (type=="support"){
				var halfpgobj = document.getElementById? document.getElementById("halfpgdiv"): document.all.halfpgdiv;
				halfpgobj.scrollIntoView(true);}}
		else {
			var frameobj = document.getElementById? document.getElementById("form"): document.all.form;
			if (select == "0") {frameobj.src="";}
			else if (select == "enquiry") {frameobj.src="contact_ienquiry.htm";}
			else if (select == "comments") {frameobj.src="contact_icomments.htm";}
			else if (select == "person") {frameobj.src="contact_iperson.htm";}
			else if (select == "website") {frameobj.src="contact_iwebsite.htm";}
			else if (select == "network") {frameobj.src="contact_support_inetwork.htm";}
			else if (select == "donate") {frameobj.src="contact_support_idonate.htm";}
			else if (select == "corporate") {frameobj.src="contact_support_icorporate.htm";}}}}
function verify(thisForm){
	if (thisForm.formname.value == "enquiry")
	{
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Name.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address so that we can reply to your enquiry.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address so that we can reply to your enquiry.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address so that we can reply to your enquiry.");
		return false;}
	}
else if (thisForm.formname.value == "comments" || thisForm.formname.value == "website"){}
else if (thisForm.formname.value == "network"){
	if (thisForm.Surname.value == ""){
		window.alert("Please enter your Surname.")
		return false;}
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Given Name.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address.");
		return false;}}
else if (thisForm.formname.value == "singer")
{
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Name.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address so that we can respond to your enquiry.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
}
else if (thisForm.formname.value == "corporate")
{
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Name.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address so that we can respond to your enquiry.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
}
else if (thisForm.formname.value == "audition")
{
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Name.")
		return false;}
	if (thisForm.VoicePart.value == "0"){
		window.alert("Please select which Voice Part you usually sing.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address so that we can respond to your enquiry.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address so that we can respond to your enquiry.");
		return false;}
}
else if (thisForm.formname.value == "person")
{
	if (thisForm.ContactPerson.value == "0"){
		window.alert("Please select the name of the person you wish to contact.\nIf the person you wish to contact is not listed, please select 'Other'.")
		return false;}
	if (thisForm.ContactPerson.value == "other" && thisForm.ContactPersonOther.value == ""){
		window.alert("Please enter the name of the person you wish to contact.")
		return false;}
	if (thisForm.ContactPerson.value != "other" && thisForm.ContactPerson.value != "0" && thisForm.ContactPersonOther.value != ""){
		window.alert("Please either select a person from the list OR enter another person in the 'Other' field.\nIf you wish to contact multiple people, please fill out the form again for the second person.")
		return false;}
	if (thisForm.Name.value == ""){
		window.alert("Please enter your Name.")
		return false;}
	if (thisForm.Email1.value == ""){
		window.alert("Please enter your email address so that the person you are contacting can respond to your message.")
		return false;}
	if (thisForm.Email1.value.indexOf("@") == -1){
		window.alert("Please enter a valid email address so that the person you are contacting can respond to your message.");
		return false;}
	if (thisForm.Email1.value.indexOf(".") == -1) {
		window.alert("Please enter a valid email address so that the person you are contacting can respond to your message.");
		return false;}
}
	return true;}
function ibrowserInfo() {}