jQuery.noConflict();
jQuery(document).ready(function()
{
//	jQuery("#helpForm :input[type=text]").each(function()
//	{
//		jQuery(this).click(function()
//		{
//			if (jQuery(this).css('backgroundColor')!=='rgb(255, 255, 255)')
//				jQuery(this).animate( { backgroundColor: '#ffffff' }, 500);
//		});
//	});
	
	// style button hover effect
	jQuery('.fg-button').hover(function()
	{ 
		jQuery(this).addClass("ui-state-hover"); 
	},
	function()
	{ 
		jQuery(this).removeClass("ui-state-hover"); 
	});
});

//function validateHelpForm()
//{
//	var proceed=true;
//	var fields= ["help_name","help_org","help_email","help_phone"];
//	jQuery("#helpForm :input[type=text]").each(function()
//	{
//		if (jQuery(this).val()=='' && jQuery.inArray(this.id,fields) !== -1)
//		{
//			jQuery(this).animate( { backgroundColor: '#ffe7f3' }, 500);
//			proceed=false;
//		}
//	});
//
//	if (proceed===false)
//	{
//		jQuery("#helpForm h3 span").animate( { color: '#ffc6d4', left: '-20px' }, 500).animate( { color: '#ff0000', left: '0px' }, 500);
//	}
//	
//	if (proceed) document.forms['helpForm'].submit();
//}
