

// Jamie added "status" to chapterPopper, realPopper, qtPopper, wmpPopper on 2002-05-03

<!-- Stealth
function glossPopper (str)
{
var popOneUp = window.open(str,"glossary","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=1,width=365,height=400");
}


<!-- Stealth
function countryPopper (str)
{
var popOneUp = window.open(str,"_blank","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=1,width=745,height=303");
}

 <!-- Stealth
function ufdPopper (str)
{
var popOneUp = window.open(str,"ufd","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=1,width=455,height=485");
} 
 
 
 <!-- Stealth
function minitextPopper (str)
{
var popOneUp = window.open(str,"minitext","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=1,width=455,height=485");
}
 
function requirementsPopper (str)
{
var popOneUp = window.open(str,"reqs","scrollbars=1,resizable=1,width=740,height=485");
}

function homepagePopper (str)
{
var popOneUp = window.open(str,"reqs","scrollbars=1,resizable=1,width=650,height=485");
}

function chapterPopper (str)
{
var popOneUp = window.open(str,"ch","status,width=730,height=420");
}
 
 
 
 
 /* this is what Peter wrote */
 
function realPopper (str)
{
// relativize the URL
var videoLoc = document.location.href.substr(0,document.location.href.indexOf('commandingheights'));
// append the path to the video diretory & the file name
videoLoc += 'commandingheights/shared/video/real/' + str;
var popOneUp = window.open(videoLoc,"real","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,copyhistory=1,width=390,height=358");
return false;
}

function qtPopper (str)
{
// relativize the URL
var videoLoc = document.location.href.substr(0,document.location.href.indexOf('commandingheights'));
// append the path to the video diretory & the file name
videoLoc += 'commandingheights/shared/video/qt/' + str;
var popOneUp = window.open(videoLoc,"qt","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,copyhistory=1,width=390,height=330");
}

function wmpPopper (str)
{
// relativize the URL
var videoLoc = document.location.href.substr(0,document.location.href.indexOf('commandingheights'));
// append the path to the video diretory & the file name
videoLoc += 'commandingheights/shared/video/wmp/' + str;
var popOneUp = window.open(videoLoc,"wmp","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,copyhistory=1,width=393,height=410");
}

 
 
        // End of stealth
        //-->
