//Scripts for dropdown menu (land,jump)
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//End Dropdown scripts
//Generic Popup script
function popUp(url)
{
newwindow3 = window.open(url,'terms','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,height=600,width=600,screenX=0,screenY=0,left=200,top=200');
var temp = newwindow3.document;
newwindow3.focus();
}
//Picture Viewer popup
function popUpPic(url)
{
newwindow3 = window.open(url,'pictures','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,height=600,width=1000,screenX=0,screenY=0,left=50,top=50');
var temp = newwindow3.document;
newwindow3.focus();
}