// Hover Menu Function

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}


// Pollen.com Function

if (window.attachEvent) window.attachEvent("onload", sfHover);

function PollenPopUp3() {
    var frm = document.getElementById('PollenForecast3');
    var URL;
    URL = "http://www.pollen.com/forecast_oneday.asp?AffiliateID="+frm.AffiliateID.value+"&zip="+frm.zip.value+"&ft=1&pop=1";
    var desktop = window.open(URL,"forecast","status,scrollbars,status,width=400,height=500");
  }
  
 //External Link 
 
 $(document).ready( function() {
   
    $('A[rel="external"]').click( function() {
        window.open( $(this).attr('href') );
        return false;
    });
   
});