function printmap(mapimage)
{
	
 var str="virgin-location-map.asp?MapImage="+mapimage;
 msgwindow=window.open(str,"_blank","height=600,width=560,resizable=1,left=0,top=60,scrollbars=yes");
}
function printmap1(mapimage)
{
	
 var str="virgin-location-map1.asp?MapImage="+mapimage;
 msgwindow=window.open(str,"_blank","height=600,width=560,resizable=1,left=0,top=60,scrollbars=yes");
}
function sitealert()
{
	if (document.frm1.selectsites.value == "")
		{
			alert("Select Site")
			return false;
		}
	else
		{
			//window.location.href = "LaunchSites.asp?sid="+document.frm1.selectsites[document.frm1.selectsites.selectedIndex].value;
			window.location.href = document.frm1.selectsites[document.frm1.selectsites.selectedIndex].value;
		}
}

function countyalert()
{
	if (document.frm1.selectcounty.value == "")
		{
			alert("Select County")
			return false;
		}
	else
		{
			//window.location.href = "County.asp?cid="+document.frm1.selectcounty[document.frm1.selectcounty.selectedIndex].value;
			window.location.href = document.frm1.selectcounty[document.frm1.selectcounty.selectedIndex].value;
		}
}

function countyval()
{
	if (document.frm1.selectcounty.value == "")
		{
			window.location.href = "Locations.asp";
		}
	else
		{
			//window.location.href = "County.asp?cid="+document.frm1.selectcounty[document.frm1.selectcounty.selectedIndex].value;
			window.location.href = document.frm1.selectcounty[document.frm1.selectcounty.selectedIndex].value;
		}
}

function siteval()
{
	if (document.frm1.selectsites.value == "")
		{
			window.location.href = "Locations.asp";
		}
	else
		{
			//window.location.href = "LaunchSites.asp?sid="+document.frm1.selectsites[document.frm1.selectsites.selectedIndex].value;
			window.location.href = document.frm1.selectsites[document.frm1.selectsites.selectedIndex].value;
		}
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
