
// Note: Do not add spaces into the code below: it causes errors on the pages!

//Variables: function openWindow(url, width, height, toolbar, status, links, menubar, scrollbars, resizable, x, y)

         // Note: Do not add spaces into the code below: it causes errors on the pages!

function openWindow(url,w,h,tb,stb,l,mb,sb,rs,x,y)
{
   //A LITTLE CROSS-BROWSER CODE FOR WINDOW POSITIONING
var t=(document.layers)?',screenX='+x+',screenY='+y:',left='+x+',top='+y;tb=(tb)?'yes':'no';stb=(stb)?'yes':'no';l=(l)?'yes':'no';mb=(mb)?'yes':'no';sb=(sb)?'yes':'no';rs=(rs)?'yes':'no';

var x=window.open(url,'newWin'+new Date().getTime(),'scrollbars='+sb+',width='+w+',height='+h+',toolbar='+tb+',status='+stb+',menubar='+mb+',links='+l+',resizable='+rs+t)

x.focus();
}

