$(document).ready(function(){

	$('#logo').css('display','none');
	
	window.setTimeout(function() {
		$('#logo').fadeIn('fast', function() {
			if ($.browser.msie)
			this.style.removeAttribute('filter');
		});
		}, 200);
	
	
	$('a').focus(function() {this.blur();});

	$('a.linkimage img').hover(
		function(){
			$(this).stop().animate({"opacity": .67});
	}, function(){
			$(this).stop().animate({"opacity": 1});
	});
});

function var_dump(obj) {
	if(typeof obj == "object") {
		return "Type: "+typeof(obj)+((obj.constructor) ? "\nConstructor: "+obj.constructor : "")+"\nValue: " + obj;
	} else {
		return "Type: "+typeof(obj)+"\nValue: "+obj;
	}
}

// form value
	$.fn.toggleVal = function(focusClass) {
 		this.each(function() {
 			$(this).focus(function() {
 				// clear value if current value is the default
 				if($(this).val() == this.defaultValue) { $(this).val(""); }
 				
 				// if focusClass is set, add the class
 				if(focusClass) { $(this).addClass(focusClass); }
 			}).blur(function() {
 				// restore to the default value if current value is empty
 				if($(this).val() == "") { $(this).val(this.defaultValue); }
 				
 				// if focusClass is set, remove class
 				if(focusClass) { $(this).removeClass(focusClass); }
 			});
 		});
	}
