function window_open(filename, x, y, target)
{
windowops = eval("'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=" + x + ",height=" + y + "'");
newwindow=window.open(filename, target, windowops);
return;
}
function window_open_bar(filename, x, y, target)
{
windowops = eval("'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=" + x + ",height=" + y + "'");
newwindow=window.open(filename, target, windowops);
return;
}

function window_open_strunz(filename, x, y, target)
{
windowops = eval("'fullscreen=yes,titlebar=0,menubar=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,channelmode=no,status=no,top=300,left=100,width=" + x + ",height=" + y + "'");
newwindow=window.open(filename, target, windowops);
return;
}

function window_open_1024(filename,target)
{
windowops = eval("'fullscreen=no,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=yes,location=yes,copyhistory=no,top=0,left=0,width=1024'");
newwindow=window.open(filename, target, windowops);
return;
}


function window_open_640(filename,target)
{
windowops = eval("'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,copyhistory=no,top=91,left=189,width=640,height=480'");
newwindow=window.open(filename, target, windowops);
return;
}

function window_full(filename, target)
{
windowops = eval("'fullscreen=yes,titlebar=0,menubar=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,channelmode=no,status=no'");
newwindow=window.open(filename, target, windowops);
return;
}








function window_open_1024_bak(filename,target)
{
windowops = eval("'fullscreen=no,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=no,directories=no,location=yes,copyhistory,top=0,left=0,width=1024,height=768'");
newwindow=window.open(filename, target, windowops);
return;
}

function ShowHide(id){
if(document.getElementById){
    var el=document.getElementById(id);
    el.style.display = (el.style.display=="block") ? "none" : "block";
    }
}

