function popit(url){
	window.open(url, "", "width=748,height=449,scrollbars=0,menubar=0,toolbar=0,location=0,status=0");
}


function maptoolStandard(url){
	window.open(url, "", "width=748,height=550,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function maptoolAdvanced(url){
	window.open(url, "", "width=850,height=550,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function maptool(url){
	window.open(url, "", "width=748,height=550,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function citation(url){
	window.open(url, "", "width=748,height=550,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function flashapp(url){
	window.open(url, "", "width=920,height=680,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function clamsflashapp(url){
	window.open(url, "", "width=410,height=710,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function suislawflashapp(url){
	window.open(url, "", "width=910,height=680,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function esuflashapp(url){
	window.open(url, "", "width=910,height=680,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function discussionforum(url){
	window.open(url);
}
function largeMap(url){
	window.open(url, "", "width=675, height=625,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function largeImage(url,width,height){
	window.open(url, "", "width="+(width+45)+", height="+(height+45)+",scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function viewPDF(url){
    window.open(url);
}


function portalLibrarySubmit(url)
{
	window.open(url);
}

function newWindow(url)
{
	window.open(url);
}

function showLabel(ItemName) {
	//alert("hi from show");
    hideLabel();
    //alert(ItemName);
    var menu = document.getElementById('mapLabel');
    menu.style.visibility = "visible";
    //var menu = document.getElementById('mapLabelText');
	menu.innerHTML=ItemName;
	switch(ItemName) 
	{
		case "label1":
			menu.style.left="68px";
			menu.style.top="160px";
			break;
		case "label2":
			menu.style.left="77px";
			menu.style.top="208px";
			break;
	}
	//menu=document.getElementById(ItemName+"Highlight");
    //menu.style.visibility = "visible";
	
    return;
}
            


// hide all context menus
function hideLabel() {
  //  for (var i in aInfoItems) {
		//alert(aInfoItems[i]);    	
        var div = document.getElementById('mapLabel');
        div.style.visibility = "hidden";
	//	div = document.getElementById(aInfoItems[i]+"Highlight");
   //     div.style.visibility = "hidden";
		
 //   }
}

function showFutureMovie(url) {
		window.open(url,'futuremovie','height=550,width=750,resizable=no,scrollbars=no,toolbar=no,status=no');
}

function showCitation(url) {
	window.open(url, "", "width=300,height=50,scrollbars=1,menubar=0,toolbar=0,location=0,statusbar=1,resizable=1");
}

function toggleDef(divID)
		{		
		var divDef = document.getElementById(divID);
		if (divDef.style.display == 'none') 
        {  
        divDef.style.display = 'block';
        } 
        else 
        { 
        divDef.style.display = 'none'; 
        } 
		}
