$(document).ready(function() {
   //alert($('body').css('font-size'));

  $('.slideShow').cycle({
	    fx: 'fade' 
    });
	//For drop down menu
/*
  $('#menu li ul').css({
    display: "none",
    left: "auto"
  });
  $('#menu li').hoverIntent(function() {
    $(this)
      .find('ul')
      .stop(true, true)
      .slideDown('fast');
  }, function() {
    $(this)
      .find('ul')
      .stop(true,true)
      .fadeOut('fast');
  });
*/

      //For text enlarge
  $('#txt_13px').bind('click',function(event){
      $('body').css("font-size", "13px");
   });
  $('#txt_20px').bind('click',function(event){
      $('body').css("font-size", "20px");
   });


      //For email hint
  if (jQuery('#Email').length > 0) {
	  defaultSearchValue = jQuery('#Email')[0].value;
	  jQuery('#Email').focus(function() {
		  if (jQuery(this)[0].value === defaultSearchValue) {
			  jQuery(this)[0].value = '';
		  }
	  });
	  jQuery('#Email').blur(function() {
		  if (jQuery(this)[0].value === '') {
			  jQuery(this)[0].value = defaultSearchValue;
		  }
	  });
  }


});

