// JavaScript Document

$(document).ready(function(){
			//Examples of how to assign the ColorBox event to elements
			$("a[rel='weddings']").colorbox({transition:"fade"});
			$("a[rel='sweet-tables']").colorbox({transition:"fade"});
			$("a[rel='mitzvahs']").colorbox({transition:"fade"});
			$("a[rel='events']").colorbox({transition:"fade"});
			
			
			//Example of preserving a JavaScript event for inline calls.
			$("#click").click(function(){ 
				$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
				return false;
			});
		});
		
$(document).ready(function(){
	$("ul#gallery").wslide({
		width: 410,
		height: 375,
		pos: 1,
		horiz: true,
		duration: 1000,
		effect: 'easeOutExpo',
		autolink: false
	});
});
