if(typeof(Wc)=="undefined"){Wc={}}Wc.Home={init:function(){$("#homesidebox .accord:not(:first)").hide();$("#homesidebox h6").click(function(){if($.browser.msie&&$.browser.version.substr(0,1)<8){$(this).next(".accord").toggle()}else{$(this).next(".accord").toggle("normal")}return false});var a=$("div.tabhead a");var b=$("div.tabcontent .imagecarousel");var a=$("div.tabhead a");var b=$("div.tabcontent .imagecarousel");$.each(a,function(d,c){$(c).click(function(){if(!$(this).hasClass("selected")){$(b).hide();$(b[d]).show();$(".tabhead a").removeClass("selected");$(this).addClass("selected");if($("div.tabcontent .imagecarousel canvas").length<=0){$("div.tabcontent .imagecarousel img").reflect({height:0.6,opacity:0.3})}}})});$(b[0]).show();$("div.tabhead a").click(function(){$(".tabhead a").removeClass("selected");$(this).addClass("selected")});$("div.tabcontent .imagecarousel img").reflect({height:0.6,opacity:0.3})},Events:{}};$(document).ready(function(){Wc.Home.init()});