﻿function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function LoadNewWindowFull(link,windowName,vWinWidth,vWinHeight){
	var vScreenWidth = screen.width;
	var vScreenHeight= screen.height;
	var vSetLeft;
	var vSetTop;
	if(vWinWidth == "100%"){
		vWinWidth = vScreenWidth -16;
		vSetLeft= 0;
	}else{
		vWinWidth 
		vSetLeft= (vScreenWidth/2) - (vWinWidth/2);
	}
	if(vWinHeight == "100%"){
		vSetTop = 0;
		vWinHeight= vScreenHeight-60;
	}
	else{
		//vWinHeight = vScreenHeight - vOffsetStatMenu;
		//vSetTop = vOffsetMenuBar;
		vSetTop = (vScreenHeight/2) - (vWinHeight/2);
	}
	newWindow = window.open(link,windowName,"location=no,menubar=no,toolbar=no,status=yes,width="+ vWinWidth +",height="+ vWinHeight+", top="+ vSetTop + ", left=" + vSetLeft +"resizable=yes,scrollbars=no");
	return newWindow;
	
}
