/* only for local testing, for live use XSSI directives
var macnetscape = (navigator.platform.indexOf("Mac") != -1) && ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape")); 
var macmsie4 = (navigator.platform.indexOf("Mac") != -1) && (navigator.userAgent.indexOf("MSIE 4") != -1);

if (macnetscape || macmsie4) { 
	document.write("<link rel=\"Stylesheet\" href=\"pcb_mac.css\" type=\"text/css\" \/>")
}
*/
if (document.layers) {
	var origWidth = innerWidth;
	var origHeight = innerHeight;
}
function reDo() {
	if ((innerWidth != origWidth) || (innerHeight != origHeight))
		location.reload();
}
if (document.layers) { onresize = reDo; }

// open popupwindow
function popper(URL) {
	//alert('hi dude');
	window.open(URL,'popper','width=800,height=550,resizable=yes,scrollbars=yes');
	return false;
}