//All scripts copyright 2001 JuxtaMedia;		var remote=null;   		bName = navigator.appName;   		bVer = parseInt(navigator.appVersion);   		pics = new Array();   		var objCount = 0;   		   		//browser check. see index   		ver = "x5"   		if	(bName == "Netscape" && bVer >= 3) ver = "n3";   			else if (bName == "Netscape" && bVer == 2) ver = "n2";   				else if (bName == "Microsoft Internet Explorer" && bVer >= 4) ver = "e4";   					else if (bName == "Microsoft Internet Explorer" && bVer == 3) ver = "e3";   					else  ver = "x5";   		//rollover scripts variables   		   		   				   		function nothing()   			{ return; }    		   		// creates an array of image information for graphics swapping. note that the array has 8 elements   		function preload(name, first, second) {   		 if (ver == "n3" || ver == "e4") {   		 	pics[objCount] = new Array(3);   		 	pics[objCount][0] = new Image();   		 	pics[objCount][0].src = first;   		 	pics[objCount][1] = new Image();   		 	pics[objCount][1].src = second;   		 	pics[objCount][2] = name;   		 	objCount++;}   		 }	   		//Do the actual preload of specified files. Also sets and references graphic names.   		//graphic name, regular state, rolled state, light to refer to cookie, light off state, light on state, cookie that is refered to, selected graphic(this is not always used based on when scripts are called.)   		if (ver == "n3" || ver == "e4")   			{   			// header   			preload("link_0", "support/button_00_up.gif", "support/button_00_rl.gif");   			preload("link_1", "support/button_01_up.gif", "support/button_01_rl.gif");   			preload("link_2", "support/button_02_up.gif", "support/button_02_rl.gif");   			preload("link_3", "support/button_03_up.gif", "support/button_03_rl.gif");   			preload("link_4", "support/button_04_up.gif", "support/button_04_rl.gif");   			   			preload("link_5", "support/button_05_up.gif", "support/button_05_rl.gif");   			preload("link_6", "support/button_06_up.gif", "support/button_06_rl.gif");   			preload("link_7", "support/button_07_up.gif", "support/button_07_rl.gif");   			preload("link_8", "support/button_08_up.gif", "support/button_08_rl.gif");   			   			preload("link_9", "support/button_09_up.gif", "support/button_09_rl.gif");   			preload("link_10", "support/button_10_up.gif", "support/button_10_rl.gif");   			preload("link_11", "support/button_11_up.gif", "support/button_11_rl.gif");   			preload("link_12", "support/button_12_up.gif", "support/button_12_rl.gif");   			preload("link_13", "support/button_13_up.gif", "support/button_13_rl.gif");   			preload("link_14", "support/button_14_up.gif", "support/button_14_rl.gif");   			preload("link_15", "support/button_15_up.gif", "support/button_15_rl.gif");   			}   		   		//rollover script. checks the array and puts the appriate graphics in.		function on(name)		{			if (ver == "n3" || ver == "e4")			{			for (i = 0; i< objCount; i++) {				if (document.images[pics[i][2]] != null)					if (name != pics[i][2]) {						document.images[pics[i][2]].src = pics[i][0].src;					} else {						document.images[pics[i][2]].src = pics[i][1].src;					}				}			}		}				//sets the graphics back to normal state when rolled off.		function off(what)		{			if (ver == "n3" || ver == "e4") {				for (i = 0; i< objCount; i++) {					if (document.images[pics[i][2]] != null) {						document.images[pics[i][2]].src = pics[i][0].src;					}				}			}		}				// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)// See:  http://www.msc.cornell.edu/~houle/javascript/randomizer.html	   	   rnd.today=new Date();	   rnd.seed=rnd.today.getTime();	   	   function rnd() {	   rnd.seed = (rnd.seed*9301+49297) % 233280;	   return rnd.seed/(233280.0);	   };	   	   function rand(number) {	   return Math.ceil(rnd()*number);	   };	   //Calculate unit cost.   function calctotal(formObj)    {   //add all units   var reg = parseFloat(formObj.registration_fees.value);   var guesta = parseFloat(formObj.guest_thursday_friday.value);   var guestb = parseFloat(formObj.guest_friday.value);      var totalguesta = parseFloat(guesta * 120.00);   var totalguestb = parseFloat(guestb * 90.00);         var totalunits = reg + totalguesta + totalguestb;                //update the form now	formObj.total.value = totalunits;   }    // (c) 1997 Jack Der   //Ensure that mandatory fields of form have been completed      function validateComplete(formObj)   {   if (emptyField(formObj.last_name))   alert("Please enter your last name.");   else if (emptyField(formObj.first_name))   alert("Please enter your first name.");   else if (emptyField(formObj.address))   alert("Please enter your address.");   else if (emptyField(formObj.city))   alert("Please enter your city.");   else if (emptyField(formObj.state))   alert("Please enter your state.");   else if (emptyField(formObj.zip))   alert("Please enter your zip code.");   else if (emptyField(formObj.country))   alert("Please enter your country.");   else if (emptyField(formObj.affiliation))   alert("Please enter your affiliation.");      else if (emptyField(formObj.phone_office))   alert("Please enter your phone number.");   else if (emptyField(formObj.email))   alert("Please enter your e-mail address.");   else return true;      return false;   }      function validateComplete2(formObj)   {   if (emptyField(formObj.author_surname))   alert("Please enter your last name.");   else if (emptyField(formObj.author_name))   alert("Please enter your first name.");   else if (emptyField(formObj.author_address))   alert("Please enter your address.");   else if (emptyField(formObj.author_city))   alert("Please enter your city.");   else if (emptyField(formObj.author_state))   alert("Please enter your state.");   else if (emptyField(formObj.author_postalcode))   alert("Please enter your postal code.");   else if (emptyField(formObj.author_country))   alert("Please enter your country.");   else if (emptyField(formObj.author_workphone))   alert("Please enter your phone number.");   else if (emptyField(formObj.author_email))   alert("Please enter your e-mail address.");   else return true;      return false;   }      function validateComplete3(formObj)   {   if (emptyField(formObj.ccnum))   alert("Please enter the credit card number.");   else if (emptyField(formObj.ccexp))   alert("Please enter the credit card's expiration date.");   else if (emptyField(formObj.cardholder))   alert("Please enter the name on your credit card.");   else return true;      return false;   }       // check to see if field is empty   function emptyField(textObj)   {   if (textObj.value.length == 0) return true;   for (var i=0; i<textObj.value.length; ++i) {   var ch = textObj.value.charAt(i);   if (ch != '' && ch != '|t') return false;   }   return true;   }   ///////////////////////////////////////////////////////////////function compareg1_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg1.value = eval(formObj.course);   			if ( firstchoiceg1.value == secondchoiceg1.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_1_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg1.value); 		}	} 	function compareg1_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg1.value = eval(formObj.course);   			if ( firstchoiceg1.value == secondchoiceg1.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_1_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg1.value); 		}	}///////////////////////////////////////////////////////////////function compareg2_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg2.value = eval(formObj.course);   			if ( firstchoiceg2.value == secondchoiceg2.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_2_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg2.value); 		}	} 	function compareg2_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg2.value = eval(formObj.course);   			if ( firstchoiceg2.value == secondchoiceg2.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_2_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg2.value); 		}	}///////////////////////////////////////////////////////////////function compareg3_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg3.value = eval(formObj.course);   			if ( firstchoiceg3.value == secondchoiceg3.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_3_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg3.value); 		}	} 	function compareg3_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg3.value = eval(formObj.course);   			if ( firstchoiceg3.value == secondchoiceg3.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_3_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg3.value); 		}	}///////////////////////////////////////////////////////////////function compareg4_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg4.value = eval(formObj.course);   			if ( firstchoiceg4.value == secondchoiceg4.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_4_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg4.value); 		}	} 	function compareg4_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg4.value = eval(formObj.course);   			if ( firstchoiceg4.value == secondchoiceg4.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_4_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg4.value); 		}	}///////////////////////////////////////////////////////////////function compareg5_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg5.value = eval(formObj.course);   			if ( firstchoiceg5.value == secondchoiceg5.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_5_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg5.value); 		}	} 	function compareg5_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg5.value = eval(formObj.course);   			if ( firstchoiceg5.value == secondchoiceg5.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_5_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg5.value); 		}	}	///////////////////////////////////////////////////////////////function compareg6_1(formObj)    {    with (formObj.form)    		{   		firstchoiceg6.value = eval(formObj.course);   			if ( firstchoiceg6.value == secondchoiceg6.value) {    				alert("Your first choice can't be the same as your second choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_6_1') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(firstchoiceg6.value); 		}	} 	function compareg6_2(formObj)    {    with (formObj.form)    		{   		secondchoiceg6.value = eval(formObj.course);   			if ( firstchoiceg6.value == secondchoiceg6.value) {    				alert("Your second choice can't be the same as your first choice."); 		for (xx=0; xx < document.s2_registration.elements.length; xx++) { 			if (document.s2_registration.elements[xx].name == 'WSG_6_2') { 			document.s2_registration.elements[xx].checked = false; 			} } } 			return(secondchoiceg6.value); 		}	}	///////////////////////////////////////////////////////////////function openWindow(theURL) { //v2.0window.open(theURL,'iTour','toolbar=no,location=no,status=no,menubar=no,width=800,height=550');}function openLectureWindow(theURL) { //v2.0  window.open(theURL,'lecture','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=850,height=580');}function openLectureWindowsm(theURL) { //v2.0  window.open(theURL,'audio_lecture','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=320,height=200');}function opentutorialWindow(theURL) { //v2.0  window.open(theURL,'tutorial','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600');}function CloseWindow(theURL) { //v2.0  self.close();}