<!--

// This script displays the div on a onmouseover event but keeps it visible after onmouseout
// Fixed div position

function rollon(num,tot) {
	var total = tot + 1;
	var offset = -30;    // Offset sets the amount of shift from the calculated page center
	
	// Determine Browser Width 
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
	} else {
	    if( document.documentElement &&
			( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			//IE 6+ in 'standards compliant mode'
			myWidth = document.documentElement.clientWidth;
    	} else {
			if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
				//IE 4 compatible
	        	myWidth = document.body.clientWidth;
			}
		}
	}
	var mleft = (myWidth / 2) + offset;
	
	// Display DIV 
	if (document.layers) {   // If Netscape
		for (i=1;i<total;i++){  // Hide all
			eval("document.getElementById('Site" + i + "').style.visibility='hidden'");
		}
		eval("document.layers.Site" + num + ".left=" + mleft);  // Set Left
		eval("document.layers.Site" + num + ".visibility='visible'");  // Show current
	}
	if (document.getElementById&&!document.all) {   // If Netscape6
		for (i=1;i<total;i++){  // Hide all
			eval("document.getElementById('Site" + i + "').style.visibility='hidden'");
		}
		eval("document.getElementById('Site" + num + "').style.left=" + mleft);  // Set Left
		eval("document.getElementById('Site" + num + "').style.visibility='visible'");  // Show current
	}
	if (document.all) {   // If Explorer
		for (i=1;i<total;i++){  // Hide all
			eval("Site" + i + ".style.visibility='hidden'");
		}
		eval("Site" + num + ".style.left=" + mleft);  // Set Left
		eval("Site" + num + ".style.visibility='visible'");  // Show current
	}
}

//-->
