// JavaScript Document

function popUp(url,width,height,scroll,winname,toolbar,location) {
if (!winname)
 winname = "win";
if (winname == '')
 winname = "win";
if (!toolbar)
 toolbar = 0;
if (!location)
 location = 0;
sealWin=window.open(url,winname,"toolbar="+toolbar+",location="+location+",directories=0,status=0,menubar=0,scrollbars="+scroll+",resizable=1,width="+width+",height="+height);
self.name = "mainWin";sealWin.focus();}

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

// Display next field base on dropdown
function display(obj,id1,id2,id3) { 
txt = obj.options[obj.selectedIndex].value; 
document.getElementById(id1).style.display = 'none'; 
document.getElementById(id2).style.display = 'none'; 
document.getElementById(id3).style.display = 'none'; 
if ( txt.match(id1) ) { 
document.getElementById(id1).style.display = 'block'; 
} 
if ( txt.match(id2) ) { 
document.getElementById(id2).style.display = 'block'; 
} 
if ( txt.match(id3) ) { 
document.getElementById(id3).style.display = 'block'; 
} 
} 