// JavaScript src file for CNET Media Services

rightPos=0
if (window.screen) {
    rightPos = window.screen.width-540
}

// pop up window for NetBate
function openNBWindow(url1,url2) {
    popUpWin = window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=540,height=600,right='+rightPos+',top=0');
    url = url1 + escape(url2);
    popUpWin.location = url;
    if (navigator.appName == 'Netscape') {
        popUpWin.focus();
    }
}

// pop up window for Product Demo
function openPDWindow(url1,url2) {
    // popUpWin = window.open('','productdemo','width=330,height=550,status=no,scrollbars=no,resizable=no,toolbar=no,left=200,screenX=200,top=100,screenY=100');
    popUpWin = window.open('','','width=587,height=375,status=no,scrollbars=no,resizable=no,toolbar=no,left=0,screenX=0,top=0,screenY=0');
    url = url1 + escape(url2);
    popUpWin.location = url;
    if (navigator.appName == 'Netscape') {
        popUpWin.focus();
    }
}


