// * Date functions var months=new Array(13);months[1]="January";months[2]="February";months[3]="March";months[4]="April";months[5]="May";months[6]="June";months[7]="July";months[8]="August";months[9]="September";months[10]="October";months[11]="November";months[12]="December";var days= new Array(7);days[1]="Monday";days[2]="Tuesday";days[3]="Wednesday";days[4]="Thursday";days[5]="Friday";days[6]="Saturday";days[7]="Sunday";var time=new Date();var lmonth=months[time.getMonth() + 1];var date=time.getDate();var day = days[time.getDay()];var year=time.getFullYear();// *// * Cross Browser Functionsvar userAgent = navigator.userAgent;var IE4 = (document.all && !document.getElementById) ? true : false;var IE5 = (document.all && document.getElementById) ? true : false;var NS4 = (document.layers) ? true : false;var NS6 = (document.getElementById && !document.all) ? true : false;var doAll = ((IE4) || (IE5)) ? true : false;//doAll = (navigator.appName == "Microsoft Internet Explorer");function fLayerTypeID(id) {	// Return the positioned element with the specified ID for the browser object models appropriate	// for each browser, IE and Netscape.		if (doAll)  {		return document.all[id];    //for IE	}	if(NS4)	{		return document.layers[id];	//for Netscape 4	}	if(NS6){		return document.getElementById(id); // for Netscape 6	}}// *// * Standard Rollover Functionsvar loaded = new Array();function loadRollover(image,imageName) {	   	if (image && image.src && (null == image.out || typeof(image.out) == typeof(void(0)))) {      	s = image.src;      	image.out = new Image();      	image.out.src = s;      	image.over = new Image();		      	if (imageName.lastIndexOf('/') >= 0 || imageName.lastIndexOf('\\') >=0) {         	s = imageName;      	} else {         	i = s.lastIndexOf('/');         	if (i<0) i = s.lastIndexOf('\\');         	if (i<0) { s = imageName; }         	else { s = s.substring(0,i+1) + imageName; }   		}			    image.over.src = s;    	loaded[image.name] = image;  	}	}function roll(imageName,over) {	  	if (document.images) {		      	if (over) { imageObject = "over"; }      	else { imageObject = "out"; }		   		image = loaded[imageName];		   		if (image) {      		ref = eval("image."+imageObject);			       		if (ref) image.src = eval("image."+imageObject+".src");   		}		   		if (window.event)    	  window.event.cancelBubble = true;   	}}//*Window Load *var wStoryPic, wStoryPic2, block, block1, block2, block2avar PageIsLoaded = falsevar iTimerID = ""var vTested = 0;//testIsLoaded();//window.setInterval(testIsLoaded()function testIsLoaded(){	if(NS6)	{		if(PageIsLoaded==false)		{			if(vTested < 6)			{alert(vTested);									vTested = vTested+1;				iTimerID = window.setInterval(alert("Timer activated"), 5000)			}else{//				location.reload();alert("Reload");			}		}alert("PageIsLoaded = " + PageIsLoaded);	}}function init(){	PageIsLoaded = true;}