//window.moveTo(0,0);//if (document.all) {//top.window.resizeTo(screen.availWidth,screen.availHeight);//}//else if (document.layers||document.getElementById) {//if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){//top.window.outerHeight = screen.availHeight;//top.window.outerWidth = screen.availWidth;//	}//}//alert("big");function openSite() {		//alert("i'm in openSite");		var screen_height = screen.height;		var screen_width = screen.width;		//alert("screen.availWidth = " + screen.availWidth);				var url = "";				var buffer = (document.all || document.layers) ? 30 : 48;		if (screen_height <= 600) {			//alert("i'm small screen");			//screen_width = 800;			//screen_height = 600;			var window_width =  screen.availWidth;			var window_height = screen.availHeight;						url = "media/shell/shell_small.html";     	     	} else {     		//alert("i'm big");     		       		url = "media/shell/shell_big.html";    		//var window_width =  1000;			//var window_height = 720;     		var window_width =  screen.availWidth;			var window_height = screen.availHeight;						//alert("window_height = " + window_height);				}				var winTronic = "winTronic";		var features = "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + window_width + ",height=" + window_height;				/*		if (browser == "Internet Explorer" && OS == "Windows") {			features += ",fullscreen=yes";		}*/				window.open(url,winTronic,features);}function resizeThis() {	window.moveTo(0,0);		if (document.all) {			top.window.resizeTo(screen.availWidth,screen.availHeight);	} else if (document.layers||document.getElementById) {		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){		top.window.outerHeight = screen.availHeight;		top.window.outerWidth = screen.availWidth;		}}/*	if (browser != "Internet Explorer" && OS != "Windows") {		alert("i'm in !IE && !OS = Windows");				window.moveTo(0,0);				if (document.all) {					window.resizeTo(screen.availWidth,screen.availHeight);				} else if (document.layers||document.getElementById) {					if (window.outerHeight<screen.availHeight||window.outerWidth<screen.availWidth) {				window.outerHeight = screen.availHeight;				window.outerWidth = screen.availWidth;			}		}	} else {		window.moveTo(0,0);		alert("availWidth = " + screen.availWidth);		alert("availHeight = " + screen.availHeight);		window.resizeTo(screen.availWidth,screen.availHeight);	}*/}function openNewWindow(URLtoOpen)  {	newWindow=window.open(URLtoOpen, 'thewin', 'height=270,width=320,toolbar=no,scrollbars=no,status=yes,directories=no');	var left = (screen.availWidth/2 - 160);	var top = (screen.availHeight/2 - 135);	newWindow.moveTo(left, top);	newWindow.focus();}function openNewsItem(URLtoOpen)  {	newWindow=window.open(URLtoOpen, 'newswin', 'height=450,width=830,toolbar=no,scrollbars=yes,status=yes,directories=no,resizable=yes');	var left = (screen.availWidth/2 - 400);	var top = (screen.availHeight/2 - 225);	newWindow.moveTo(left, top);	newWindow.focus();}