//-------------------------------------------------------------------
// Mouseover code
//-------------------------------------------------------------------
function rollover(path,name,over)
{
	if(window.document.images) 
	{
		if (over)
			window.document.images[name].src = path + "images/" + name + "_hot.gif";
		else
			window.document.images[name].src = path + "images/" + name + ".gif";
	}
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

//-------------------------------------------------------------------
// Popup window 
//-------------------------------------------------------------------
function popup(url)  {
	window.open(url , "_remote_control", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,height=550,width=730");
}

function popup2(url)  {
	window.open(url , "_remote_control", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,height=400,width=730");
}

function popup3(url)  {
	window.open(url , "_remote_control", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,height=500,width=860");
}

//-------------------------------------------------------------------
// Show and Hide State-Province 
//-------------------------------------------------------------------

function hideDivArea(str_area_hide){ 
tag = document.getElementsByTagName("div"); 
for(x=0;x<tag.length; x++) 
{ 
if(tag[x].getAttribute('id').indexOf(str_area_hide) != -1) 
{ 
tag[x].style.display = "none"; 
} 
} 
} 
function showDivArea(areas_show, areas_hide){ 

for (var i = 0; i < areas_show.length; i++) 
{ 
ge = document.getElementById(areas_show[i]); 
ge.style.display = "block"; 
} 
for (var i = 0; i < areas_hide.length; i++) 
{ 
hideDivArea(areas_hide[i]); 
} 
}