function launch_812x648(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=yes,resizable=yes,width=812,height=648,center=0')
}


function launch_812x648_noToolbar(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=no,resizable=yes,width=812,height=648,center=0')
}

function launch_812x648_noAddress(URL)
{
 var url = URL;
 //alert (url);
 
 window.open(url,'','scrollbars=yes,toolbar=yes,location=no, resizable=yes,width=812,height=648,center=0')
}


function launch_812x648_withAddress(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=yes, location=yes,resizable=yes,width=812,height=648,center=0')
}

function launch_540x400_noToolbar(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=no,resizable=yes,width=540,height=400,center=0')
}

function launch_720x600_noToolbar(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=no,resizable=no,width=730,height=600,center=0')
}

function launch_300x200_noToolbar(URL)
{
 var url = URL;
 //alert (url);
  
 window.open(url,'','scrollbars=yes,toolbar=no,resizable=yes,width=450,height=250,center=0')
}

function getPDF(filename, isPromo)
{
        filepath = '/cgi-bin/nshaibin/ntrc_pdfs/'
        selectedfile = filepath+filename+'?FILE=ntrc_pdfs/'+filename;
        if (isPromo == 1)
                alert("This file is not available to promotional users");
        else
                launch_812x648_noToolbar(selectedfile) ;
        return (true);
}

