// JavaScript Document
	var one="cassandra", two="@", three="cassandra", four="net", five="au";
	var theAddress = one+two+three+"."+four+"."+five;
	function pageGo(topic) {
		document.forms['linkForm'].elements['page'].value = topic;
		document.forms['linkForm'].submit();
	}
	function getMail(){
		window.location="mail"+"to:"+theAddress;
	}
	
	function showPrompt(state){
		if(state=='out'){
			document.getElementById("elink").style.textDecoration='underline';
			document.getElementById("elink").style.color='#5F5FFE';
		}
		else if(state=='over'){
			document.getElementById("elink").style.color='blue';
			document.getElementById("elink").style.textDecoration='underline';
		}
	}
	function putemail(){
		document.getElementById("eadd").innerHTML=theAddress;
	}
	function addEffect(state){
		if(state=='out'){
			document.getElementById("eadd").style.textDecoration='underline';
			document.getElementById("eadd").style.color='#cccccc';
		}
		else if(state=='over'){
			document.getElementById("eadd").style.color='blue';
			document.getElementById("eadd").style.textDecoration='underline';
		}
	}
	
	/***********************************/
	// function to calculate local time
	// in a different city
	// given the city's UTC offset
	function calcTime(city, offset) {
	
		// create Date object for current location
		d = new Date();
	   
		// convert to msec
		// add local time zone offset
		// get UTC time in msec

		//utc = d.getTime() + (d.getTimezoneOffset() * 60000);     // winter time
		utc = d.getTime() + ((d.getTimezoneOffset()+60) * 60000);   // Dalyight savings time
	   
		// create new Date object for different city
		// using supplied offset
		nd = new Date(utc + (3600000*offset));
	   
		// return time as a string
		alert("The local time in " + city + " is: \n\n" + nd.toLocaleString());
	
	}
	
	