 
//////////////////////////////////////// START JQEURY ///////////////////////////////////////////////////////*/	

jQuery().ready(function(){


		
/************************************* Listing Block Hover ************************************************/

		jQuery(".newsListing>div").hover(function() {
				jQuery(this).addClass('hoverColor');
				jQuery(this).css('cursor','pointer');
			}, function() {
				jQuery(this).removeClass('hoverColor');
			});
		
			jQuery(".newsListing>div").click(function(){
    			window.location=jQuery(this).find("a").attr("href");return false;
			});
/************************************* Hover for Inout field *************************************************/	
	
		jQuery("#contactForm").find('input').hover(function() {
				jQuery(this).addClass('hoverInput');
			}, function() {
				jQuery(this).removeClass('hoverInput');
			});
		
/* *********************************** Drop Down ************************************************	*/
		jQuery("li#service_tab").hoverIntent(function(){
				jQuery(this).find("ul").slideDown();
				jQuery(this).addClass("current");
			}, function() {
				jQuery(this).find("ul").slideUp();
				jQuery(this).removeClass("current");

			}); 	
		

});
/************************************* Filed Focus for IE *************************************************/	

sfFocus = function() {
	var sfEls = document.getElementsByTagName("INPUT");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onfocus=function() {
			this.className+=" sffocus";
		}
		sfEls[i].onblur=function() {
			this.className=this.className.replace(new RegExp(" sffocus\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfFocus);


