
// This is an IE6 fix. 
// Internet Explorer 6 and below don't support the :hover pseudo-class on any element except <a>.

// buttonhoverclass plugin (public)
$.fn.buttonHover = function(options){
	var defaults = {
		class_normal: 'submit',
		class_hover: 'submit_hover_ie6'
	};

	// Extend our default options with those provided
	var param = $.extend(defaults, options);
	
	
	return this.each(function() { 
							  
		//set hover class for anything
		$(this).hover(function() {			   
			$(this).addClass(param.class_hover);
		}, function() {
			$(this).removeClass(param.class_hover);
		})	
		
	});  
}
