//Start DropDown Menu
$(document).ready(function(){
    $("#menu ul li").hover(
        function(){ 
        	$(".dropdown", this).show();
        	$(this).addClass('sfHover');
        },
        function() { 
        	$(".dropdown", this).hide(); 
        	$(this).removeClass('sfHover');
    	}
    );
});

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
};
//End DropDown Menu
//Fields Clear Text
function clearText(input){
    if (input.defaultValue==input.value)
    input.value = ''
}

function restoreText(input){
if (input.value=='')
	input.value = input.defaultValue
}
//End Fields Clear Text	
/*
$(function() {	
	$('#menu ul li').mouseover(function() {		
		$('#menu ul li .dropdown').hide();
		$(this).find('.dropdown').show();
	}).mouseout(function() {
		$(this).find('.dropdown').hide();
	});		
});
*/