

	function openWin( windowURL, windowName, windowFeatures ) { 
		return window.open( windowURL, windowName, windowFeatures ) ; 
	}
	
	var active_color = '#000'; // Colour of user provided text
	var inactive_color = '#999'; // Colour of default text
$(document).ready(function() {
		$("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'overlayShow': true });
		$("input.default-value").css("color", inactive_color);
		  var default_values = new Array();
		  $("input.default-value").focus(function() {
			if (!default_values[this.id]) {
			  default_values[this.id] = this.value;
			}
			if (this.value == default_values[this.id]) {
			  this.value = '';
			  this.style.color = active_color;
			}
			$(this).blur(function() {
			  if (this.value == '') {
				this.style.color = inactive_color;
				this.value = default_values[this.id];
			  }
			});
		  });
		  $("#giveawaySignup").css("color", inactive_color);
		  var default_values_ = new Array();
		  $("#giveawaySignup").focus(function() {
			if (!default_values_[this.id]) {
			  default_values_[this.id] = this.value;
			}
			if (this.value == default_values_[this.id]) {
			  this.value = '';
			  this.style.color = active_color;
			}
			$(this).blur(function() {
			  if (this.value == '') {
				this.style.color = inactive_color;
				this.value = default_values_[this.id];
			  }
			});
		  });
		  $("#commentEmail").css("color", inactive_color);
		  var default_values_ = new Array();
		  $("#commentEmail").focus(function() {
			if (!default_values_[this.id]) {
			  default_values_[this.id] = this.value;
			}
			if (this.value == default_values_[this.id]) {
			  this.value = '';
			  this.style.color = active_color;
			}
			$(this).blur(function() {
			  if (this.value == '') {
				this.style.color = inactive_color;
				this.value = default_values_[this.id];
			  }
			});
		  });
		  
		 $('#rotate').cycle({
		    fx:     'fade', 
		    speed:  1500
		});
		
	});