jQuery(document).ready(function() {
								
	// on the first time wait for 5 seconds before transitioning
	setTimeout(gallery_loop, 5000);
								
});

//Javascript for Index.html
//Thickbox
jQuery(function($){
$("#form_email_input").Watermark("Enter Email Address");
$("#beta_form_email_input").Watermark("Enter Email Address");
});

// Gallery Function
function gallery_loop()
{
	var cur = $("#index_feature_area_gallery_list li:visible");
	if (cur.is(":last-child") ) {
		cur.fadeOut('slow', function(){
		// run the loop function again when time is up, in this case 5seconds
			$("#index_feature_area_gallery_list li:first-child").fadeIn('slow', setTimeout(gallery_loop, 10000));
		});
	}
	else {
			cur.fadeOut('slow', function(){
			// run the loop function again when time is up, in this case 5seconds
			cur.next().fadeIn('slow', setTimeout(gallery_loop, 10000));
		});
	}
}