var base = "http://www.mesoweb.com/resources/bibliography.html#";
var base2 = "../";
var base3 = "http://";
var base7 = "http://www.mesoweb.com/biblio/index.asp?display=author&author=";
var base8 = "http://www.mesoweb.com/biblio/index.asp?display=search";
var base9 = "http://www.mesoweb.com/biblio/index.asp?display=authordate&author=";

if (document.images) {
	no_ReportsHomeButton = new Image
        yes_ReportsHomeButton = new Image        
        no_ReportsHomeButton.src = "media/SubpageBannerL.gif"
        yes_ReportsHomeButton.src = "media/SubpageBannerL_over.gif"        
}
function chgImg(imgField,newImg) {
        if (document.images) {
          document[imgField].src = eval(newImg + ".src")
         }
}
function biblio(name) 
{
  url=base+name;
  openwin = window.open(url,'_blank','toolbar=yes,location=yes,menubar=yes,width=500,height=440,status=yes,scrollbars=yes,resizable=yes');
}
function biblio2(name)
{
    url=base7+URLEncode(name);
    openwin = window.open(url,'_blank','toolbar=no,location=no,width=900,height=750,status=no,scrollbars=yes,resizable=yes');
}

function biblio3(name,dateletter)
{
    url=base9+URLEncode(name)+"&dateletter="+dateletter;
    openwin = window.open(url,'_blank','toolbar=no,location=no,width=900,height=750,status=no,scrollbars=yes,resizable=yes');
}


function biblio4(search,searchand,searchnot)
{
    url=base8+"&strSearch="+search+"&strSearchAnd="+searchand+"&strSearchAndNot="+searchnot;
    openwin = window.open(url,'_blank','toolbar=no,location=no,width=900,height=750,status=no,scrollbars=yes,resizable=yes');
}
function site(name,w,h)
{
    url=base2+name;
    openwin =
window.open(url,'_blank','toolbar=yes,location=yes,width='+w+',height='+h+',status=yes,scrollbars=yes,resizable=yes');
}

function simple(name,w,h)
{
    url=base2+name;
    openwin =
window.open(url,'_blank','toolbar=no,location=no,width='+w+',height='+h+',status=no,scrollbars=no,resizable=yes');
}

function simple2(name,w,h)
{
    url=base2+name;
    openwin =
window.open(url,'_blank','toolbar=yes,location=yes,width='+w+',height='+h+',status=no,scrollbars=no,resizable=yes');
}

function web(name,w,h)
{
    url=base3+name;
    openwin =
window.open(url,'_blank','toolbar=yes,location=yes,width='+w+',height='+h+',status=yes,scrollbars=yes,resizable=yes');
}
