$(document).ready(function() {
  
// Check Modernizer and patch older browsers for placeholder support
	if(!Modernizr.input.placeholder){
		$("input").each(
			function(){
				if($(this).val()=="" && $(this).attr("placeholder")!=""){
					$(this).val($(this).attr("placeholder"));
					$(this).focus(function(){
						if($(this).val()==$(this).attr("placeholder")) $(this).val("");
					});
					$(this).blur(function(){
						if($(this).val()=="") $(this).val($(this).attr("placeholder"));
					});
				}
		});
	}

// Since theres no good way to feature detect support of :hover just check for below IE7 with jQuery
if ($.browser.msie && $.browser.version.substr(0,1)<7) {
  // Patch IE6 to make the drop down navigation work
  $("ul.dropdown li").hover(function(){
      $(this).addClass("hover");
      $('ul:first',this).css('visibility', 'visible');
  
  }, function(){
  
      $(this).removeClass("hover");
      $('ul:first',this).css('visibility', 'hidden');

  });
  
}


});
