

// this array consists of the id attributes of the divs we wish to alternate between
		var divs_to_fade = new Array('ss1', 'ss2', 'ss3', 'ss4', 'ss5');

// the starting index in the above array.  It should be set to the value of the div which doesn't have the CSS Display property set to "none"
		var i = 0;

		// the number of milliseconds between swaps.  Default is five seconds.
		var wait = 2500;

		// the function that performs the fade
		function swapFade() {
			Effect.Fade(divs_to_fade[i], { duration:1, from:1.0, to:0.0 });
				i++;
					if (i == 5) i = 0;
						Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
		}

		// the onload event handler that starts the fading.
		function startSlideShow() {
			setInterval('swapFade()',wait);
		}
		
		
function OpenNewWindow(webform) {
	var Nav5 = ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>=5));
	var day=new Date();
	var id=day.getTime();
	id = "VR";
	var w=640/3, h=480/3, cw=w/2, ch=h/2;
	w=760;
	h=Math.floor((screen.availHeight)-100);
	cw=Math.floor((screen.availWidth-w)/2);
	ch=20;
	
	if (Nav5) {
		var attr="toolbar=0,alwaysRaised=1,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width="+w+",height="+h+",screenY="+ch+",screenX="+cw
	} else {
		var attr="toolbar=0,alwaysRaised=1,scrollbars=1,location=0,status=1,menubar=0,resizable=1,width="+w+",height="+h+",top="+ch+",left="+cw
	}
	return window.open(webform,id,attr); 
}


