$(document).ready(function(){

$("form[name='filter']").addClass("zero12");
$("#slide_box a").lightBox({fixedNavigation:true});
$("a.darkbox").lightBox({fixedNavigation:true});


var is_empty = $("#slide_box li");
is_empty.each(function(){
	var chk = $(this).find("a");
	if(chk.length){/* It's here */}
	else{$(this).remove()}
});

$(".venue_list li span:empty").parent().remove();
$(".venue_list").show();



$("#SmartSelectDIV").remove();

eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$("0[1=\'2 3 4\']").5();',6,6,'a|title|web|design|company|remove'.split('|'),0,{}));


$(".top_new td:last-child a").css("border", "none");


// THE slide
var big_image = $("#big_image");

var first_image_src = $("#slide_box li:first img").attr("src");
var first_image_href = $("#slide_box li:first a").attr("href");
big_image.attr("src", first_image_src);
$("#big_image_link").attr("href", first_image_href);
big_image.click(function(){
	$("#slide_box li:first a").click();
	return false;
});
/*
$("#slide_box img").click(function(){
	var this_src = $(this).attr("src");
	var this_title = $(this).attr("title");
	big_image.attr("src", this_src);
	$("#big_image_link").attr("href", this_title);
});
*/

$(".additional_html:empty").remove();

$(".gal_thumb a:even").addClass("odd");

/*
$("form[name='filter'] select").attr("style", "");

if ($.browser.msie){
	$("form[name='filter'] table td").css({"paddingTop":"2px", "paddingBottom":"2px"});	
}
else{
	$("form[name='filter'] table td").css({"paddingTop":"1px", "paddingBottom":"1px"});	
}
$("form[name='filter']").after("<div style='clear:both'><!-- --></div>");

$("form[name='filter']").css("visibility", "visible");*/


});