jQuery(document).ready(function() {
	jQuery(':input[title]').each(function() {
		var $this = jQuery(this);
		if($this.val() === '') {
			$this.val($this.attr('title'));
		}
		$this.focus(function() {
			if($this.val() === $this.attr('title')) {
				$this.val('');
			}
		});
		$this.blur(function() {
			if($this.val() === '') {
				$this.val($this.attr('title'));
			}
		});
	});
	
	if(jQuery('#maincol_innerwrap').height() < jQuery('#rightcol').height()){
		var h = jQuery('#rightcol').height() - 49;
		jQuery('#maincol_innerwrap').css('min-height', h);
	}else{
		var h = jQuery('#maincol_innerwrap').height();
		jQuery('#rightcol').css('min-height', h);
	}
});
