<!--
var WinNum=0;
function WindowOpen(Url,x,y,winname,menuon) {
  var String;
  String = "toolbar=0,location=0,directories=0,status=0,menubar=" + menuon + ",scrollbars=2,resizable=0,copyhistory=0,";
  String += ",width=";
  String += x;
  String += ",height=";
  String += y;
  String += ",alwaysRaised=yes";
  
  WinPic=window.open(Url,winname,String);
  WinPic.focus();
}

function WindowOpenFullScreen(url) {
  var availheight=screen.availHeight;
  var availwidth=screen.availWidth;
  winStats='toolbar=yes,location=yes,directories=yes,menubar=yes,';
  winStats+='scrollbars=yes,width='+availwidth+',height='+availheight;
  if (navigator.appName.indexOf("Microsoft")>=0) {
    winStats+=',left=0,top=0';
  }else{
    winStats+=',screenX=0,screenY=0';
  }
  floater=window.open(url,"",winStats)   
  floater.focus();  
}

function WindowOpenNoScroll(Url,x,y,winname,menuon) {
  var String;
  String = "toolbar=0,location=0,directories=0,status=0,menubar=" + menuon + ",scrollbars=0,resizable=0,copyhistory=0,";
  String += ",width=";
  String += x;
  String += ",height=";
  String += y;
  String += ",alwaysRaised=yes";
  
  WinPic=window.open(Url,winname,String);
  WinPic.focus();
}

function ShowWindowCenter(url,iWidth,iHeight) {
		optString='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=2,resizable=0,copyhistory=0,width=' + iWidth + ',height=' + iHeight;
		
		myWindow=window.open(url,'thisWindow',optString);
		myWindow.moveTo((screen.width/2)-iWidth/2,(screen.height/2)-iHeight/2);
		
	}
//-->


