
//	Blowfish Restaurants 
//	Script by Shore Consulting Group
//	Miles Storey
//	April 2011


$(document).ready(function() {
	var newpos = 0;
	// set width of slider ul
	//$("#sliderHolder ul").css({width : ""})
	//
	$("li.bottomGalleryNav a").click(function(e){
		e.preventDefault();
		// change active link
		$("li.bottomGalleryNav a").removeClass("active")
		$(this).addClass("active")
		//
		newpos = $(this).attr("rel")
		$("#sliderHolder ul").stop().animate({left: newpos},"slow", "easeInOutCubic");
	})
	// menu links
	
	$("a[rel='external']").click(function(e){
		e.preventDefault();
		//
		var newUrl = $(this).attr("href");
		window.open(newUrl,"_blank","width=700,height=500");
	})
})
