<!--
	var today = new Date()

	var monthName = new Array(11)
		monthName[0] = "January"
		monthName[1] = "February"	
		monthName[2] = "March"
		monthName[3] = "April"
		monthName[4] = "May"
		monthName[5] = "June"
		monthName[6] = "July"
		monthName[7] = "August"
		monthName[8] = "September"
		monthName[9] = "October"
		monthName[10] = "November"
		monthName[11] = "December"

	var myYear = today.getYear()
	if (myYear < 2000) myYear = myYear + 1900

	var myDate = today.getDate()
	var dayExt="th"

	if ((myDate == 1) || (myDate == 21) || (myDate == 31)) dayExt="st";
	if ((myDate == 2) || (myDate ==22)) dayExt="nd";
	if ((myDate== 3) || (myDate  == 23)) dayExt="rd";

	var extDate = myDate + dayExt

	var timeNow = new Date();
	var hours = timeNow.getHours();
	var minutes = timeNow.getMinutes();
	var seconds = timeNow.getSeconds();
	var ampm = "";

	(seconds<10) ? seconds = "0" + seconds : seconds;
	(minutes<10) ? minutes = "0" + minutes : minutes;
	(hours<12) ? ampm = "AM" : ampm = "PM";
	(hours>12) ? hours = hours-12 : hours;
	(hours == 0) ? hours = 12 : hours;

	var stringTime = " " + hours + ":" + minutes + ":" +seconds + " " + ampm;


	function formHandler(form){
	var URL = document.form.site.options[document.form.site.selectedIndex].value;
	window.location.href = URL;
	}

	function writeDateTime(){
		document.write('<div id=timeline>' + "Today is the " + extDate + " day of ")
		document.write(monthName[today.getMonth()] + " " + myYear)
		document.write(" @ " + stringTime +'</div>');
		runTextClock();
	}
	
	function writeDate(){
		document.write('<div id=timeline>' + "Today is the " + extDate + " day of ")
		document.write(monthName[today.getMonth()] + " " + myYear)
	}
	
	function runTextClock() {

		var timeNow = new Date();
		var hours = timeNow.getHours();
		var minutes = timeNow.getMinutes();
		var seconds = timeNow.getSeconds();
		var ampm = "";

		(seconds<10) ? seconds = "0" + seconds : seconds;
		(minutes<10) ? minutes = "0" + minutes : minutes;
		(hours<12) ? ampm = "AM" : ampm = "PM";
		(hours>12) ? hours = hours-12 : hours;
		(hours == 0) ? hours = 12 : hours;

		var stringTime = " " + hours + ":" + minutes + ":" +seconds + " " + ampm;
		document.getElementById('timeline').innerHTML="Today is the " + extDate + " day of " + monthName[today.getMonth()] + " " + myYear + " @ " + stringTime;
		setTimeout("runTextClock()",1000);
	}

	grphcs2=new Array(30)
	Image0=new Image();
	Image0.src=grphcs2[0]="HTMLPics/Valentines/Mickey_Minnie_Valentine_sb.jpg";
	Image1=new Image();
	Image1.src=grphcs2[1]="HTMLPics/Valentines/BettyBoopValentineRoses001.gif"
	Image2=new Image();
	Image2.src=grphcs2[2]="HTMLPics/Valentines/val08.gif"
	Image3=new Image();
	Image3.src=grphcs2[3]="HTMLPics/Valentines/Val16.gif"
	Image4=new Image();
	Image4.src=grphcs2[4]="HTMLPics/Valentines/val23.gif"
	Image5=new Image();
	Image5.src=grphcs2[5]="HTMLPics/Valentines/val41.gif"
	Image6=new Image();
	Image6.src=grphcs2[6]="HTMLPics/Valentines/val152.gif"
	Image7=new Image();
	Image7.src=grphcs2[7]="HTMLPics/Valentines/valentine2.gif"
	Image8=new Image();
	Image8.src=grphcs2[8]="HTMLPics/Valentines/valentinebears1.jpg";
	Image9=new Image();
	Image9.src=grphcs2[9]="HTMLPics/Valentines/valentineangle1.jpg"
	Image10=new Image();
	Image10.src=grphcs2[10]="HTMLPics/Valentines/pupywithheart.jpg"
	Image11=new Image();
	Image11.src=grphcs2[11]="HTMLPics/Valentines/pupywithheart2.jpg"
	Image12=new Image();
	Image12.src=grphcs2[12]="HTMLPics/Valentines/heartandcar.jpg"
	Image13=new Image();
	Image13.src=grphcs2[13]="HTMLPics/Valentines/rose1.jpg"
	Image14=new Image();
	Image14.src=grphcs2[14]="HTMLPics/Valentines/rose2.jpg"
	Image15=new Image();
	Image15.src=grphcs2[15]="HTMLPics/Valentines/rose3.jpg"
	Image15=new Image();
	Image15.src=grphcs2[16]="HTMLPics/Valentines/rose4.jpg"
	Image15=new Image();
	Image15.src=grphcs2[17]="HTMLPics/Valentines/Be_My_Valentine.jpg"
	Image15=new Image();
	Image15.src=grphcs2[18]="HTMLPics/Valentines/twohearts.jpg"
	Image15=new Image();
	Image15.src=grphcs2[19]="HTMLPics/Valentines/threehearts.jpg"
	Image15=new Image();
	Image15.src=grphcs2[20]="HTMLPics/Valentines/boxrose.jpg"
	Image15=new Image();
	Image15.src=grphcs2[21]="HTMLPics/Valentines/candy1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[22]="HTMLPics/Valentines/pupywithheart3.jpg"
	Image15=new Image();
	Image15.src=grphcs2[23]="HTMLPics/Valentines/garfield1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[24]="HTMLPics/Valentines/garfield2.jpg"
	Image15=new Image();
	Image15.src=grphcs2[25]="HTMLPics/Valentines/bugs1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[26]="HTMLPics/Valentines/porky1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[27]="HTMLPics/Valentines/angels1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[28]="HTMLPics/Valentines/pupys1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[29]="HTMLPics/Valentines/babys1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[30]="HTMLPics/Valentines/elephant1.jpg"
	Image15=new Image();
	Image15.src=grphcs2[31]="HTMLPics/Valentines/baby2.jpg"

	picNum = 0;

	function runPictureSwitch()
	{
		document.getElementById('leftsideOne').innerHTML='<IMG SRC="' + grphcs2[picNum] + '" ALT="Valentines Pics" BORDER=0>';
		picNum++;
		if (picNum > 31)
			picNum = 0;
		setTimeout("runPictureSwitch()",5000);
	}

	function cursorPic()
	{
		/*
		Simple Image Trail script- By JavaScriptKit.com
		Visit http://www.javascriptkit.com for this script and more
		This notice must stay intact
		*/

		var trailimage=["HTMLPics/valentine1.gif", 80, 31] //image path, plus width and height
		var offsetfrommouse=[5,5] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
		var displayduration=0 //duration in seconds image should remain visible. 0 for always.

		if (document.getElementById || document.all)
		document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

		function gettrailobj(){
		if (document.getElementById)
		return document.getElementById("trailimageid").style
		else if (document.all)
		return document.all.trailimagid.style
		}

		function truebody(){
		return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
		}

		function hidetrail(){
		gettrailobj().visibility="hidden"
		document.onmousemove=""

		}

		function followmouse(e){
		var xcoord=offsetfrommouse[0]
		var ycoord=offsetfrommouse[1]
		if (typeof e != "undefined"){
		xcoord+=e.pageX
		ycoord+=e.pageY
		}
		else if (typeof window.event !="undefined"){
		xcoord+=truebody().scrollLeft+event.clientX
		ycoord+=truebody().scrollTop+event.clientY
		}
		var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
		var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
		if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
		gettrailobj().display="none"
		else
		gettrailobj().display=""
		gettrailobj().left=xcoord+"px"
		gettrailobj().top=ycoord+"px"
		}

		document.onmousemove=followmouse

		if (displayduration>0)
		setTimeout("hidetrail()", displayduration*1000)
	}
	
<!--

if (thisProg == "indexvalentine"){

}

else if (thisProg == "indexwitheyes"){

	var brOK=false, mie=false;
	if(document.layers || document.all) brOK=true;
	if(document.all) mie=true;
	var ex=0, ey=0;
	var ae, le, re, x0, y0, tid, realx, realy;

	function navMove(e) {
	 ex=e.pageX; 
	 ey=e.pageY;
	 moveeye()
	 return routeEvent(e);
	 }

	function mieMove() {
	 ex=document.body.scrollLeft+event.x;
	 ey=document.body.scrollTop+event.y;
	 moveeye();
	 }

	function moveeye() {
	 dy=ey-y0-20;
	 dx1=ex-x0-20;
	 dx2=ex-x0-60;

	 r=Math.sqrt(dx1*dx1+dy*dy);
	 if(r<20) r=20
	 dx1=dx1*10/r+x0+10;
	 dy1=dy*10/r+y0+10;
	 r=Math.sqrt(dx2*dx2+dy*dy);
	 if(r<20) r=20
	 dx2=dx2*10/r+x0+50;

	 ae.left=x0;  
	 ae.top=y0;  
	 le.left=dx1;  
	 le.top=dy1;  
	 re.left=dx2;  
	 re.top=dy1;  
	 }

	function setHandlers() {
	 if(!mie){
	  y0=document.eyeballs.top;
	  x0=document.eyeballs.left;
	  ae=document.eyeballs;
	  le=document.lefteye;   
	  re=document.righteye;   
	  window.captureEvents(Event.MOUSEMOVE);
	  window.onMouseMove=navMove;
	  } else {
	  y0=document.all.eyeballs.style.pixelTop;
	  x0=document.all.eyeballs.style.pixelLeft;
	  ae=document.all.eyeballs.style;
	  le=document.all.lefteye.style;
	  re=document.all.righteye.style;
	  window.document.onmousemove=mieMove;
	  }
	 realx=x0+0.1;
	 realy=y0+0.1;
	 moveall();
	 }
	function moveall() {
	 rx=realx+40
	 ry=realy+40;
	 rx+=(ex-rx)*0.1;
	 ry+=(ey-ry)*0.1;
	 realx=rx-40;
	 realy=ry-40;
	 x0=Math.round(realx);
	 y0=Math.round(realy);
	 moveeye();
	 tid=setTimeout('moveall()',100);
	 }

	function placeeyes(x,y) {
	 if(brOK) {
	  ex=x+40;
	  ey=y+40;
	  s ='<DIV ID="dummy"    STYLE="position:absolute; top:'+y+'; left:'+x+'; width:10; height:10;">   </DIV>';
	  s+='<DIV ID="eyeballs" STYLE="position:absolute; top:'+y+'; left:'+x+'; width:80; height:40;"  ><IMG SRC="HTMLPics/whites.gif"  border=0></DIV>';
	  s+='<DIV ID="lefteye"  STYLE="position:absolute; top:'+(y+10)+'; left:'+(x+10)+'; width:20; height:20;"  ><IMG SRC="HTMLPics/pupil.gif" border=0></DIV>';
	  s+='<DIV ID="righteye" STYLE="position:absolute; top:'+(y+10)+'; left:'+(x+50)+'; width:20; height:20;"  ><IMG SRC="HTMLPics/pupil.gif" border=0></DIV>';
	  document.writeln(s);
	  }
	 }

	function clearEyes() {
	 if(tid) clearTimeout(tid);
	 }
	placeeyes(200,100);
	window.onload=setHandlers;
	window.onunload=clearEyes;


}

else if (thisProg == "indexwithbat"){

	var Ymax=80;                                //MAX # OF PIXEL STEPS IN THE "X" DIRECTION
	var Xmax=80;                                //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION
	var Tmax=90000000;                        //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES

	//FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ENTRIES. KEEP ELEMENT NUMERICAL ORDER STARTING WITH "0" !!


	var floatimages=new Array();
	floatimages[0]='HTMLPics/bat113x108.gif';


	//*********DO NOT EDIT BELOW***********

	var nice_browser = false;
	if((navigator.userAgent.indexOf('Win') != -1)) {
	  if ((navigator.appName.indexOf('Explorer') != -1) && (navigator.appVersion.indexOf('5.') != -1)) { nice_browser=true; }
	  else if ((navigator.appName.indexOf('Netscape') != -1) && (navigator.appVersion.indexOf('4.') != -1)) { nice_browser=true; }
	  else if ((navigator.appName.indexOf('Netscape') != -1) && (navigator.appVersion.indexOf('5.') != -1)) { nice_browser=true; }
	  else if ((navigator.appName.indexOf('AOL') != -1)  && (navigator.appVersion.indexOf('6.') != -1)) { nice_browser=true; }
	}
	else if ((navigator.userAgent.indexOf('Mac') != -1)) {
	  if ((navigator.appname.indexOf('Netscape') != -1) && (navigator.appVersion.indexOf('4.7') != -1)) { nice_browser=true; }
	  else if ((navigator.appName.indexOf('Explorer') != -1) && (navigator.appVersion.indexOf('4.5') != -1)) { nice_browser=true; }
	}

	if((navigator.userAgent.indexOf('Win') != -1) && (navigator.userAgent.indexOf('95') != -1)) { nice_browser = false; }
	if((navigator.userAgent.indexOf('Win') != -1) && (navigator.userAgent.indexOf('3.1') != -1)) { nice_browser = false; }
	if(navigator.userAgent.indexOf('WebTV') != -1) { nice_browser = false; }

	var NS4 = (navigator.appName.indexOf("Netscape")>=0 && parseFloat(navigator.appVersion) >= 4 && parseFloat(navigator.appVersion) < 5)? true : false;
	var IE4 = (document.all)? true : false;
	var NS6 = (parseFloat(navigator.appVersion) >= 5 && navigator.appName.indexOf("Netscape")>=0 )? true: false;
	var wind_w, wind_h, t='', IDs=new Array();
	for(i=0; i<floatimages.length; i++){
	t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="javascript:hidebutterfly()">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="javascript:hidebutterfly()">';
	t+='<img src="'+floatimages[i]+'" name="p'+i+'" border="0">';
	t+=(NS4)? '</a></layer>':'</a></div>';
	}

	if (nice_browser) { document.write(t); }

	function moveimage(num){
	if(getidleft(num)+IDs[num].W+IDs[num].Xstep >= wind_w+getscrollx())IDs[num].Xdir=false;
	if(getidleft(num)-IDs[num].Xstep<=getscrollx())IDs[num].Xdir=true;
	if(getidtop(num)+IDs[num].H+IDs[num].Ystep >= wind_h+getscrolly())IDs[num].Ydir=false;
	if(getidtop(num)-IDs[num].Ystep<=getscrolly())IDs[num].Ydir=true;
	moveidby(num, (IDs[num].Xdir)? IDs[num].Xstep :  -IDs[num].Xstep , (IDs[num].Ydir)?  IDs[num].Ystep:  -IDs[num].Ystep);
	}

	function getnewprops(num){
	IDs[num].Ydir=Math.floor(Math.random()*2)>0;
	IDs[num].Xdir=Math.floor(Math.random()*2)>0;
	IDs[num].Ystep=Math.ceil(Math.random()*Ymax);
	IDs[num].Xstep=Math.ceil(Math.random()*Xmax)
	setTimeout('getnewprops('+num+')', Math.floor(Math.random()*Tmax));
	}

	function getscrollx(){
	if(NS4 || NS6)return window.pageXOffset;
	if(IE4)return document.body.scrollLeft;
	}

	function getscrolly(){
	if(NS4 || NS6)return window.pageYOffset;
	if(IE4)return document.body.scrollTop;
	}

	function getid(name){
	if(NS4)return document.layers[name];
	if(IE4)return document.all[name];
	if(NS6)return document.getElementById(name);
	}

	function moveidto(num,x,y){
	if(NS4)IDs[num].moveTo(x,y);
	if(IE4 || NS6){
	IDs[num].style.left=x+'px';
	IDs[num].style.top=y+'px';
	}}

	function getidleft(num){
	if(NS4)return IDs[num].left;
	if(IE4 || NS6)return parseInt(IDs[num].style.left);
	}

	function getidtop(num){
	if(NS4)return IDs[num].top;
	if(IE4 || NS6)return parseInt(IDs[num].style.top);
	}

	function moveidby(num,dx,dy){
	if(NS4)IDs[num].moveBy(dx, dy);
	if(IE4 || NS6){
	IDs[num].style.left=(getidleft(num)+dx)+'px';
	IDs[num].style.top=(getidtop(num)+dy)+'px';
	}}

	function getwindowwidth(){
	if(NS4 || NS6)return window.innerWidth;
	if(IE4)return document.body.clientWidth;
	}

	function getwindowheight(){
	if(NS4 || NS6)return window.innerHeight;
	if(IE4)return document.body.clientHeight;
	}

	function init(){
	wind_w=getwindowwidth();
	wind_h=getwindowheight();
	for(i=0; i<floatimages.length; i++){
	IDs[i]=getid('pic'+i);
	if(NS4){
	IDs[i].W=IDs[i].document.images["p"+i].width;
	IDs[i].H=IDs[i].document.images["p"+i].height;
	}
	if(NS6 || IE4){
	IDs[i].W=document.images["p"+i].width;
	IDs[i].H=document.images["p"+i].height;
	}
	getnewprops(i);
	moveidto(i , Math.floor(Math.random()*(wind_w-IDs[i].W)), Math.floor(Math.random()*(wind_h-IDs[i].H)));
	if(NS4)IDs[i].visibility = "show";
	if(IE4 || NS6)IDs[i].style.visibility = "visible";
	startfly=setInterval('moveimage('+i+')',Math.floor(Math.random()*100)+100);
	}}

	function hidebutterfly(){
	for(i=0; i<floatimages.length; i++){
	if (IE4)
	eval("document.all.pic"+i+".style.visibility='hidden'")
	else if (NS6)
	document.getElementById("pic"+i).style.visibility='hidden'
	else if (NS4)
	eval("document.pic"+i+".visibility='hide'")
	clearInterval(startfly)
	}
	}

	if (nice_browser){
	  window.onload=init;
	  window.onresize=function(){ wind_w=getwindowwidth(); wind_h=getwindowheight(); }
	}
}

else if (thisProg == "indexwithleaves"){

	grphcs=new Array(6)
	Image0=new Image();
	Image0.src=grphcs[0]="HTMLPics/al.gif";
	Image1=new Image();
	Image1.src=grphcs[1]="HTMLPics/bl.gif"
	Image2=new Image();
	Image2.src=grphcs[2]="HTMLPics/cl.gif"
	Image3=new Image();
	Image3.src=grphcs[3]="HTMLPics/dl.gif"
	Image4=new Image();
	Image4.src=grphcs[4]="HTMLPics/el.gif"
	Image5=new Image();
	Image5.src=grphcs[5]="HTMLPics/fl.gif" 

	Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use!
	Ypos=new Array();
	Xpos=new Array();
	Speed=new Array();
	Step=new Array();
	Cstep=new Array();
	ns=(document.layers)?1:0;
	ns6=(document.getElementById&&!document.all)?1:0;

	if (ns){
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
	}
	}
	else{
	document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
	}
	document.write('</div></div>');
	}
	WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	for (i=0; i < Amount; i++){ 
	Ypos[i] = Math.round(Math.random()*WinHeight);
	Xpos[i] = Math.round(Math.random()*WinWidth);
	Speed[i]= Math.random()*5+3;
	Cstep[i]=0;
	Step[i]=Math.random()*0.1+0.05;
	}
	function fall(){
	var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
	var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
	for (i=0; i < Amount; i++){
	sy = Speed[i]*Math.sin(90*Math.PI/180);
	sx = Speed[i]*Math.cos(Cstep[i]);
	Ypos[i]+=sy;
	Xpos[i]+=sx; 
	if (Ypos[i] > WinHeight){
	Ypos[i]=-60;
	Xpos[i]=Math.round(Math.random()*WinWidth);
	Speed[i]=Math.random()*5+3;
	}
	if (ns){
	document.layers['sn'+i].left=Xpos[i];
	document.layers['sn'+i].top=Ypos[i]+hscrll;
	}
	else if (ns6){
	document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
	document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
	}
	else{
	eval("document.all.si"+i).style.left=Xpos[i];
	eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
	} 
	Cstep[i]+=Step[i];
	}
	setTimeout('fall()',20);
	}

	window.onload=fall
}
else if (thisProg == "indexwithhearts"){

	grphcs=new Array(6)
	Image0=new Image();
	Image0.src=grphcs[0]="HTMLPics/heart1t.gif";
	Image1=new Image();
	Image1.src=grphcs[1]="HTMLPics/heart3lt.gif"
	Image2=new Image();
	Image2.src=grphcs[2]="HTMLPics/heart9t.gif"
	Image3=new Image();
	Image3.src=grphcs[3]="HTMLPics/heart10r.gif"
	Image4=new Image();
	Image4.src=grphcs[4]="HTMLPics/heart12tb.gif"
	Image5=new Image();
	Image5.src=grphcs[5]="HTMLPics/heart5lt.gif" 

	Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use!
	Ypos=new Array();
	Xpos=new Array();
	Speed=new Array();
	Step=new Array();
	Cstep=new Array();
	ns=(document.layers)?1:0;
	ns6=(document.getElementById&&!document.all)?1:0;

	if (ns){
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
	}
	}
	else{
	document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
	}
	document.write('</div></div>');
	}
	WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	for (i=0; i < Amount; i++){ 
	Ypos[i] = Math.round(Math.random()*WinHeight);
	Xpos[i] = Math.round(Math.random()*WinWidth);
	Speed[i]= Math.random()*5+3;
	Cstep[i]=0;
	Step[i]=Math.random()*0.1+0.05;
	}
	function fall(){
	var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
	var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
	for (i=0; i < Amount; i++){
	sy = Speed[i]*Math.sin(90*Math.PI/180);
	sx = Speed[i]*Math.cos(Cstep[i]);
	Ypos[i]+=sy;
	Xpos[i]+=sx; 
	if (Ypos[i] > WinHeight){
	Ypos[i]=-60;
	Xpos[i]=Math.round(Math.random()*WinWidth);
	Speed[i]=Math.random()*5+3;
	}
	if (ns){
	document.layers['sn'+i].left=Xpos[i];
	document.layers['sn'+i].top=Ypos[i]+hscrll;
	}
	else if (ns6){
	document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
	document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
	}
	else{
	eval("document.all.si"+i).style.left=Xpos[i];
	eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
	} 
	Cstep[i]+=Step[i];
	}
	setTimeout('fall()',20);
	}

	window.onload=fall
}
else if (thisProg == "indexwithsnow"){

	grphcs=new Array(6)
	Image0=new Image();
	Image0.src=grphcs[0]="HTMLPics/snowt.gif";
	Image1=new Image();
	Image1.src=grphcs[1]="HTMLPics/flakeclear.gif"
	Image2=new Image();
	Image2.src=grphcs[2]="HTMLPics/snowt.gif"
	Image3=new Image();
	Image3.src=grphcs[3]="HTMLPics/flakeclear.gif"
	Image4=new Image();
	Image4.src=grphcs[4]="HTMLPics/snowt.gif"
	Image5=new Image();
	Image5.src=grphcs[5]="HTMLPics/flakeclear.gif" 

	Amount=15; //Smoothness depends on image file size, the smaller the size the more you can use!
	Ypos=new Array();
	Xpos=new Array();
	Speed=new Array();
	Step=new Array();
	Cstep=new Array();
	ns=(document.layers)?1:0;
	ns6=(document.getElementById&&!document.all)?1:0;

	if (ns){
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
	}
	}
	else{
	document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i = 0; i < Amount; i++){
	var P=Math.floor(Math.random()*grphcs.length);
	rndPic=grphcs[P];
	document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
	}
	document.write('</div></div>');
	}
	WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	for (i=0; i < Amount; i++){ 
	Ypos[i] = Math.round(Math.random()*WinHeight);
	Xpos[i] = Math.round(Math.random()*WinWidth);
	Speed[i]= Math.random()*5+3;
	Cstep[i]=0;
	Step[i]=Math.random()*0.1+0.05;
	}
	function fall(){
	var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
	var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
	var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
	var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
	for (i=0; i < Amount; i++){
	sy = Speed[i]*Math.sin(90*Math.PI/180);
	sx = Speed[i]*Math.cos(Cstep[i]);
	Ypos[i]+=sy;
	Xpos[i]+=sx; 
	if (Ypos[i] > WinHeight){
	Ypos[i]=-60;
	Xpos[i]=Math.round(Math.random()*WinWidth);
	Speed[i]=Math.random()*5+3;
	}
	if (ns){
	document.layers['sn'+i].left=Xpos[i];
	document.layers['sn'+i].top=Ypos[i]+hscrll;
	}
	else if (ns6){
	document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
	document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
	}
	else{
	eval("document.all.si"+i).style.left=Xpos[i];
	eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
	} 
	Cstep[i]+=Step[i];
	}
	setTimeout('fall()',20);
	}

	window.onload=fall
}

else{

	function runClock()
	{
		var timeNow = new Date();
		var hours = timeNow.getHours();
		var minutes = timeNow.getMinutes();
		var seconds = timeNow.getSeconds();
		var ampm = "";

	    (seconds<10) ? seconds = "0" + seconds : seconds;
	    (minutes<10) ? minutes = "0" + minutes : minutes;
	    (hours<12) ? ampm = "AM" : ampm = "PM";
		(hours>12) ? hours = hours-12 : hours;
		(hours == 0) ? hours = 12 : hours;

		var stringTime = " " + hours + ":" + minutes + ":" +seconds + " " + ampm;
		document.forms[0].clockBox.value=stringTime;
		setTimeout("runClock()",1000);
	}

	dCol='000000';//date colour.
	fCol='000000';//face colour.
	sCol='000000';//seconds colour.
	mCol='000000';//minutes colour.
	hCol='000000';//hours colour.
	ClockHeight=40;
	ClockWidth=40;
	ClockFromMouseY=0;
	ClockFromMouseX=100;

	//Alter nothing below! Alignments will be lost!

	d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
	m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
	date=new Date();
	day=date.getDate();
	year=date.getYear();
	if (year < 2000) year=year+1900;
	TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year;
	D=TodaysDate.split('');
	H='...';
	H=H.split('');
	M='....';
	M=M.split('');
	S='.....';
	S=S.split('');
	Face='1 2 3 4 5 6 7 8 9 10 11 12';
	font='Arial';
	size=1;
	speed=0.6;
	ns=(document.layers);
	ie=(document.all);
	Face=Face.split(' ');
	n=Face.length;
	a=size*10;
	ymouse=0;
	xmouse=0;
	scrll=0;
	props="<font face="+font+" size="+size+" color="+fCol+"><B>";
	props2="<font face="+font+" size="+size+" color="+dCol+"><B>";
	Split=360/n;
	Dsplit=360/D.length;
	HandHeight=ClockHeight/4.5
	HandWidth=ClockWidth/4.5
	HandY=-7;
	HandX=-2.5;
	scrll=0;
	step=0.06;
	currStep=0;
	y=new Array();x=new Array();Y=new Array();X=new Array();
	for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
	Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
	for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
	if (ns){
	for (i=0; i < D.length; i++)
	document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
	for (i=0; i < n; i++)
	document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
	for (i=0; i < S.length; i++)
	document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
	for (i=0; i < M.length; i++)
	document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
	for (i=0; i < H.length; i++)
	document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
	}
	if (ie){
	document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i=0; i < D.length; i++)
	document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>');
	document.write('</div></div>');
	document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i=0; i < n; i++)
	document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>');
	document.write('</div></div>');
	document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i=0; i < H.length; i++)
	document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>');
	document.write('</div></div>');
	document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i=0; i < M.length; i++)
	document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
	document.write('</div></div>')
	document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
	for (i=0; i < S.length; i++)
	document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>');
	document.write('</div></div>')
	}
	(ns)?window.captureEvents(Event.MOUSEMOVE):0;
	function Mouse(evnt){
	ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
	xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;
	}
	(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
	function ClockAndAssign(){
	time = new Date ();
	secs = time.getSeconds();
	sec = -1.57 + Math.PI * secs/30;
	mins = time.getMinutes();
	min = -1.57 + Math.PI * mins/30;
	hr = time.getHours();
	hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
	if (ie){
	Od.style.top=window.document.body.scrollTop;
	Of.style.top=window.document.body.scrollTop;
	Oh.style.top=window.document.body.scrollTop;
	Om.style.top=window.document.body.scrollTop;
	Os.style.top=window.document.body.scrollTop;
	}
	for (i=0; i < n; i++){
	 var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style;
	 F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;
	 F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);
	 }
	for (i=0; i < H.length; i++){
	 var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style;
	 HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;
	 HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);
	 }
	for (i=0; i < M.length; i++){
	 var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style;
	 ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;
	 ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);
	 }
	for (i=0; i < S.length; i++){
	 var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style;
	 SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;
	 SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);
	 }
	for (i=0; i < D.length; i++){
	 var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
	 DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
	 DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
	 }
	currStep-=step;
	}
	function Delay(){
	scrll=(ns)?window.pageYOffset:0;
	Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);
	Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);
	for (i=1; i < D.length; i++){
	Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);
	Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);
	}
	y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
	x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
	for (i=1; i < n; i++){
	y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
	x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);
	}
	ClockAndAssign();
	setTimeout('Delay()',20);
	}
	if (ns||ie)window.onload=Delay;
}


// End -->



