/*Initialize the OnLoad event on a neon page*/function onload_Init(){	if (jsAlivechatOK == "yes")          { //alert ("setting up AliveChat");             wsa_include_js() }             	if ((jsAddress != null) & (jsAddress != ""))        { //alert ("jsAddress passes the tests");		showLocation(jsAddress)}	else 	{ //alert ("jsAddress doesn't pass the test: " + jsAddress);     }}/*This code sets up AliveChat, a premium neon service*/function wsa_include_js(){		//alert ("starting wsa_include_js");		var js = document.createElement('script');		js.setAttribute('language', 'javascript');		js.setAttribute('type', 'text/javascript');		js.setAttribute('src','http://www.websitealive8.com/1376/Visitor/vTracker_v2.asp?websiteid=0&groupid=1376');		document.getElementsByTagName('head').item(0).appendChild(js);		//alert ("finish wsa_include_js");}function changeDim(elemName){		 myImage = document.getElementById(elemName);		 width = myImage.width;		 height = myImage.height;		 if (width>500)		 {		   percent = 500 / width;		   myImage.width=500;		   //myImage.height=myImage.height*percent;		    //alert ("photo width : " + myImage.width + "px\nimage1 height : " + myImage.height + "px");		  }}function changeDim150(elemID){		 myImage = document.getElementById(elemID);		 //alert ("elemName = " + elemName);		 mywidth = myImage.width;		 myheight = myImage.height;		 //alert ("mywidth = " + mywidth);		 //window.status= "photo width : " + myImage.width ;		 if (myImage.width == 0) 		 {            //alert (elemID + " had a width=0, "  + myImage.src);             //window.status= elemID + " had a width=0, "  + myImage.src;            //timer = setTimeout("endpause()",3000); // 3 secs            myImage.width=150;		 }		 if (mywidth>150)		 {		   percent = 150 / mywidth;		   myImage.width=150;		   //myImage.height=myImage.height*percent;		   //window.status= "photo width : " + myImage.width + "px\nimage1 height : " + myImage.height + "px";		  //alert ("photo width : " + myImage.width + "px\nimage1 height : " + myImage.height + "px");		  }		//alert ("end elemID = " + elemName);}function changeDim100(elemName){		 myImage = document.getElementById(elemName);		 width = myImage.width;		 height = myImage.height;		 if (width>100)		 {		   percent = 100 / width;		   myImage.width=100;		   //myImage.height=myImage.height*percent;		 		    //alert ("photo width : " + myImage.width + "px\nimage1 height : " + myImage.height + "px");		  }}function showlargerphoto(filename){  url = "http://netneon.com/" + filename;  //prompt("url=",url);  wide=800;  winref = window.open(url, "newwinphoto", "fullscreen=no,toolbar=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width="+wide+",left=50,top=50");  winref.focus();}function openNewWindow(filename, high, wide){  winref = window.open(filename, "newwin1", "fullscreen=no,toolbar=yes,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width="+wide+",height="+high+",left=50,top=50");  winref.focus();}function startTime(){var today=new Date();var h=today.getHours();var m=today.getMinutes();var s=today.getSeconds();// add a zero in front of numbers<10m=checkTime(m);s=checkTime(s);document.forms[0].getElementById('clocktext').innerHTML=h+":"+m+":"+s;t=setTimeout('startTime()',500);}function checkTime(i){if (i<10)  {  i="0" + i;  }return i;}
