// Hover for IE 6
<!--//--><![CDATA[//><!--
	sfHover = function() {
		var sfEls = document.getElementById("primaryNav").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"), "");
			}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", sfHover);//--><!]]>

//Search Icons
$(document).ready(function(){
	
	$.localScroll();
	
	//email icon info
	$('#emailIcon').hover(function() {
		$('.emailText').removeClass('hideText');
		}, 
	function() {
		$('.emailText').addClass('hideText');
	});

	//az index icon info
	$('#azindexIcon').hover(function() {
		$('.azIndexText').removeClass('hideText');
		}, 
	function() {
		$('.azIndexText').addClass('hideText');
	});

	//directory icon info
	$('#directoryIcon').hover(function() {
		$('.directoryText').removeClass('hideText');
		}, 
	function() {
		$('.directoryText').addClass('hideText');
	});
});

//PNG Fix
if (navigator.userAgent.indexOf('MSIE 6.0')+1){
	DD_belatedPNG.fix('#logo, .slideShadow, #menu ul li a, #marketingcontent h4 a, #applyNow img');
}

//ClearFields
function clickclear(thisfield, defaulttext) {
	if (thisfield.value == defaulttext) {
		thisfield.value = "";
	}
}

function clickfill(thisfield, defaulttext) {
	if (thisfield.value == "") {
		thisfield.value = defaulttext;
	}
}


