function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
<!--to hiding script from old browsers
function GetScreenRealSize(type){
if(type == "width"){
return(screen.availWidth);
}else if(type == "height"){
return(screen.availHeight);
}
}

function GetWindowRealSize(type){
if(type == "width"){
if(usr.ICAB || usr.OPERA){
return(window.innerWidth);
}else if(d.all){
return(document.body.clientWidth);
}else if(d.layers || d.getElementById){
return(window.innerWidth);
}
}else if(type == "height"){
if(usr.ICAB || usr.OPERA){
return(window.innerHeight);
}else if(d.all){
return(document.body.clientHeight);
}else if(d.layers || d.getElementById){
return(window.innerHeight);
}
}
}

/*window open*/
var ratedWidth = ratedHeight = "";
function subWin(subUrl,subName,subWidth,subHeight,subBar,subLoca,subMenu) {
window.parent.name = "windowMain";
if(usr.allObj){
subWidth += 0;subHeight += 0;
if(usr.Mac && usr.IE){
subWidth -= 16;subHeight += 0;
}
var screenX = GetScreenRealSize("width");
var screenY = GetScreenRealSize("height");
var realSizeWidth = GetWindowRealSize("width");
var realSizeHeight = GetWindowRealSize("height");
ratedWidth = subWidth;
ratedHeight = subHeight;
if(!!screenX && !!realSizeWidth && subWidth > screenX)ratedWidth = realSizeWidth;
if(!!screenY && !!realSizeHeight && subHeight < screenY)ratedHeight = realSizeHeight;
if(!subBar)subBar = "yes";
if(!subLoca)subLoca = "yes";
if(!subMenu)subMenu = "yes";
if(!subName)subName = "Sub";
windowSub = ("window" + subName);
window[windowSub] = window.open(subUrl,subName,"width="+ratedWidth+",height="+ratedHeight+",location="+subLoca+",menubar="+subMenu+",personalbar=no,directories=no,scrollbars="+subBar+",status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
if(!usr.IE3)window[windowSub].focus();
if(!d.all)window[windowSub].moveTo(0,0);
window[windowSub].opener = self;
}
}
// end hiding script from old browsers -->
