 
function PopOut(sURL,sTitle,iHeight,iWidth,ynScroll,ynResize) {
var objWin;
  objWin = window.open(sURL, sTitle, "height="+iHeight+",width="+iWidth+",scrollbars="+ynScroll+",resizable="+ynResize+"");
  if (parseInt(navigator.appVersion) >=4) objWin.window.focus();
}


function PrintPage() {
if (window.print != null) { 
	window.print(); 
	} 
else { 
	alert('Your browser does not support this shortcut.  Please select Print from the File menu.'); 
	}
}

function openLegend() {
	var oLeg=window.open("Legend.aspx","oLeg","width=475,height=340,screenX=600,screenY=150,left=600,top=150","true");
   if (oLeg==null || typeof(oLeg)=="undefined"){ 
   alert("Park Attributes failed to open... Please disable your pop-up blockers");
   }
   oLeg.focus();
 }
 
 function openHelp() {
	var oHelp=window.open("Help.aspx","oHelp","width=900,height=550,scrollbars=yes,screenX=20,screenY=20,left=20,top=20","true");
   if (oHelp==null || typeof(oHelp)=="undefined"){ 
   alert("Park Attributes failed to open... Please disable your pop-up blockers");
   }
   oHelp.focus();
 }
 
 function openArea(){
 	var oArea=window.open("areaDisclaimer.htm","oArea","width=500,height=150,scrollbars=yes,screenX=20,screenY=20,left=20,top=20","true");
   if (oArea==null || typeof(oArea)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oArea.focus();
 }
 
 function openPrint() {
 var m_hvMapURL;
 var m_hvSelectID;
 var m_mapSize;
 m_hvMapURL = m_imgMapCanvas.src; 
 m_hvSelectID = document.getElementById("hvParcelHighlighted").value;
 m_mapSize = document.getElementById("hvImageSize").value;
 
var oPrint=window.open("Print.aspx?MapUrl=" + m_hvMapURL + "&ParkID=" + m_hvSelectID +"&MapSize=" + m_mapSize +"","oPrint");
   if (oPrint==null || typeof(oPrint)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oPrint.focus();
   m_hvMapURL = "";
   m_hvSelectID = ""
 }
 
 function printWarning(){
 alert("Please set your page layout to Landscape before printing.");
 }
 
 function openBird() {
 var m_LatLong;
 m_LatLong = document.getElementById("hvLatLon").value;
var oBirds=window.open("http://www.bing.com/maps/default.aspx?v=2&FORM=LMLTCP&cp=" + m_LatLong +"&style=b#","oBirds","status=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,titlebar=yes","true");
   if (oBirds==null || typeof(oBirds)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oBirds.focus();
   m_hvSelectID = "";
 }
 
  function openCommunity() {
 var m_PID;
 m_PID = document.getElementById("hvParcelHighlighted").value;
 
var oComm=window.open("Community.aspx?PID=" + m_PID +"","oComm","width=675,height=670,scrollbars=yes,screenX=20,screenY=20,left=20,top=20","true");
   if (oComm==null || typeof(oComm)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oComm.focus();
   m_hvSelectID = "";
 }
 
 function openHelp(qString) {
 var passQ;
 passQ = qString;
 
var oHelp=window.open("SearchTips.aspx#" + passQ +"","oHelp","width=500,height=200,scrollbars=yes,screenX=20,screenY=20,left=20,top=20","true");
   if (oHelp==null || typeof(oHelp)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oHelp.focus();
   m_hvSelectID = "";
 }
 
 function openVersion() {
    var oVer=window.open("version.htm","oVer","width=300,height=150,scrollbars=yes,screenX=20,screenY=20,left=20,top=20","true");
    oVer.focus();
   }
   
 function openPINS() {
 var m_PID;
 m_PID = document.getElementById("hvParcelHighlighted").value;
 
var oPins=window.open("http://www16.co.hennepin.mn.us/pins/pidresult.jsp?pid=" + m_PID +"&caller=link","oPins","width=1000,height=700,status=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,titlebar=yes,screenX=10,screenY=10,left=10,top=10","true");
   if (oPins==null || typeof(oPins)=="undefined"){ 
   alert("Please disable your pop-up blockers");
   }
   oPins.focus();
   m_hvSelectID = "";
 }




