// CSW Verlag jQuery;

$(document).ready(function() {

	$("div.col-1 label, div#logo label").hide();
	
	$.fn.valueChange = function() {
		return this.focus(function() {
			if (this.value == this.defaultValue) {
				this.value = "";
				$(this).css({ color: "#333" });
			}
		}).blur(function() {
			if (!this.value.length) {
				this.value = this.defaultValue;
				$(this).css({ color: "#aaa" });
			}
		});
	};

	$("input.jq-valueChange").valueChange();
	
	// Fancybox
	$("a.fancy").fancybox({
		"hideOnContentClick": true,
		"zoomSpeedIn": 200,
		"zoomSpeedOut": 200,
		"overlayShow": true 
	});
});

