/* 

Author: Sven Kott@IBM
creation date: 05th of February 2004

 */


// Open Window with Paranmeters
function WinOpen(WinName,url,width,height,scrollbars,resizable) {
var param='"toolbar=yes,menubar=yes,scrollbars='+scrollbars+',resizable='+resizable+',width='+width+',height='+height+'"';
msg=window.open(url,WinName,param);
}

// Open Window Fullscreen
function WinOpenFull(WinName,url) {
var str = "left=0,screenX=0,top=0,screenY=0,resizable,status=yes";
if(window.screen) {
var ah = screen.availHeight - 50;
var aw = screen.availWidth - 10;
str += ",height=" + ah;
str += ",innerHeight=" + ah;
str += ",width=" + aw;
str += ",innerWidth=" + aw;
}
win=window.open(url, "w", str);
win.focus();
}

function openWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

