
$(document).ready(function(){
	
	$(".lightbox").lightbox();
	
	$("table.tableFormat").each(function(){
		$(this).find("tr:odd").not("td table tr").addClass("lp");
		$(this).find("tr:last").css({borderBottom:"none"});
	});
	
	$("#Left .SterNext").click(function(){
		if(movBlock) {
			movBlock = false;
			var num = $(this).parent().attr("id").split("GalSter");
			MoveGal(num[1],'next')
		}
	})
	$("#Left .SterPrev").click(function(){
		if(movBlock) {
			movBlock = false;
			var num = $(this).parent().attr("id").split("GalSter");
			MoveGal(num[1],'prev')
		}
	})
	$("#Left .SterPrev").animate({opacity:0.2},1);
	
	$("#GalSterOf .SterNext").click(function(){
		if(movBlock) {
			movBlock = false;
			var num = $(this).parent().attr("id").split("GalSter");
			MoveGal(num[1],'next')
		}
	})
	$("#GalSterOf .SterPrev").click(function(){
		if(movBlock) {
			movBlock = false;
			var num = $(this).parent().attr("id").split("GalSter");
			MoveGal(num[1],'prev')
		}
	})
	$("#GalSterOf .SterPrev").animate({opacity:0.2},1);
	
	var flashvars = false;
	var params = {	'menu': 'false', 'wmode': 'transparent' };
	var attributes = false;
	swfobject.embedSWF("/flash/BannerTop.swf", "FlashBanner", "804", "391", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
	
})

