//<script language="Javascript">
function openFullScreen(theURL) {
   var H    = parseInt(screen.availHeight - 21);
   var W    = parseInt(screen.availWidth - 10);
   var isIE = false;
	var s    = ",width=" + W + ",height=" + H;
	
	if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) 
	   isIE=true;

	if (isIE) {
		splashWin = window.open( '' , '', 'fullscreen=1'+s)

		splashWin.resizeTo( Math.ceil( W + 27 ) , Math.ceil( H + 21 ) )

		splashWin.document.open('text/html', 'replace');
		splashWin.document.write('<html>');
		splashWin.document.write('<body onload=\"top.document.location.replace(\'' + theURL + '\');\">');
		splashWin.document.write('</body></html>');
		splashWin.document.close();

	}
	else{    
		var splashWin = window.open(theURL, '', 'left=0,top=0,screenX=0,screenY=0,scrollbars' + s);
      }
	splashWin.focus();
}
//end function   


function popup(strURL, intHeight, intWidth, blnScrollbars) {
   var isNS    = (navigator.appVersion.indexOf("MSIE") != -1) ? false : true;
   var intLeft = (screen.width-intWidth)/2;
   var intTop  = (screen.height-intHeight)/2;
   var strUseScroll = blnScrollbars?'scrollbars=yes,':'scrollbars=no,';
   var strAttr = strUseScroll + 'width=' + intWidth + ',height=' + intHeight + ',top=' + intTop + ',left=' + intLeft;
   
   newWin = window.open(strURL, 'popup', strAttr);
   newWin.focus();
   }
//end function   
//</script>