jQuery(document).ready(function(){
	jQuery("#sysMsg").fadeOut(2000);
	jQuery("#errMsg").fadeOut(2000);
	
if (jQuery.browser.msie) {	
	jQuery("div.pic").hover(function() {
		jQuery(this.childNodes[1]).animate({
			height: "toggle",
			opacity: "toggle"
		},{
			duration: "slow",
			easing: "linear"
		});
		jQuery(this.childNodes[2]).fadeIn('slow');
	}, function(){
		jQuery(this.childNodes[1]).animate({
			height: "toggle",
			opacity: "toggle"
		},{
			duration: "slow",
			easing: "linear"
		});
		jQuery(this.childNodes[2]).fadeOut('slow');
	});
} else {
	jQuery("div.pic").hover(function() {
		jQuery(this.childNodes[2]).animate({
			height: "toggle",
			opacity: "toggle"
		},{
			duration: "slow",
			easing: "linear"
		});
		jQuery(this.childNodes[4]).fadeIn('slow');
	}, function(){
		jQuery(this.childNodes[2]).animate({
			height: "toggle",
			opacity: "toggle"
		},{
			duration: "slow",
			easing: "linear"
		});
		jQuery(this.childNodes[4]).fadeOut('slow');
	});
};

	jQuery('#PostName')
    .blur(function(){
      var $$=jQuery(this);
      if($$.val()=='' || $$.val()==$$.attr('title')){
        $$.css('color', '#999')
          .val($$.attr('title'));
      }
    })
    .focus(function(){
      var $$=jQuery(this);
      if($$.val()==$$.attr('title')){
        jQuery(this).css('color', '#000')
               .val('');
      }
    })
    .parents('form:first').submit(function(){
      var $$=jQuery('#PostName');
      if($$.val()==$$.attr('title')){
        $$.triggerHandler('focus');
      }
    }).end()
    .blur();
	
	jQuery('#PostEmail')
    .blur(function(){
      var $$=jQuery(this);
      if($$.val()=='' || $$.val()==$$.attr('title')){
        $$.css('color', '#999')
          .val($$.attr('title'));
      }
    })
    .focus(function(){
      var $$=jQuery(this);
      if($$.val()==$$.attr('title')){
        jQuery(this).css('color', '#000')
               .val('');
      }
    })
    .parents('form:first').submit(function(){
      var $$=jQuery('#PostEmail');
      if($$.val()==$$.attr('title')){
        $$.triggerHandler('focus');
      }
    }).end()
    .blur();
	
	jQuery('#PostTitle')
    .blur(function(){
      var $$=jQuery(this);
      if($$.val()=='' || $$.val()==$$.attr('title')){
        $$.css('color', '#999')
          .val($$.attr('title'));
      }
    })
    .focus(function(){
      var $$=jQuery(this);
      if($$.val()==$$.attr('title')){
        jQuery(this).css('color', '#000')
               .val('');
      }
    })
    .parents('form:first').submit(function(){
      var $$=jQuery('#PostTitle');
      if($$.val()==$$.attr('title')){
        $$.triggerHandler('focus');
      }
    }).end()
    .blur();
	
	jQuery('#PostBody')
    .blur(function(){
      var $$=jQuery(this);
      if($$.val()=='' || $$.val()==$$.attr('title')){
        $$.css('color', '#999')
          .val($$.attr('title'));
      }
    })
    .focus(function(){
      var $$=jQuery(this);
      if($$.val()==$$.attr('title')){
        jQuery(this).css('color', '#000')
               .val('');
      }
    })
    .parents('form:first').submit(function(){
      var $$=jQuery('#PostBody');
      if($$.val()==$$.attr('title')){
        $$.triggerHandler('focus');
      }
    }).end()
    .blur();
	
	jQuery('#PostComment')
    .blur(function(){
      var $$=jQuery(this);
      if($$.val()=='' || $$.val()==$$.attr('title')){
        $$.css('color', '#999')
          .val($$.attr('title'));
      }
    })
    .focus(function(){
      var $$=jQuery(this);
      if($$.val()==$$.attr('title')){
        jQuery(this).css('color', '#000')
               .val('');
      }
    })
    .parents('form:first').submit(function(){
      var $$=jQuery('#PostComment');
      if($$.val()==$$.attr('title')){
        $$.triggerHandler('focus');
      }
    }).end()
    .blur();	
});