!function(o){var i=function(i){var r=o("ul.navigationTabs a").removeClass("active").index(this);o(this).addClass("active").blur(),o("div.tab").hide().eq(r).show()};EYE.register(function(){var r=window.location.hash.replace("#",""),e=o("ul.navigationTabs a").bind("click",i).filter("a[rel="+r+"]");0==e.size()&&(e=o("ul.navigationTabs a:first")),i.apply(e.get(0)),o("#colorpickerHolder").ColorPicker({flat:!0}),o("#colorpickerHolder2").ColorPicker({flat:!0,color:"#00ff00",onSubmit:function(i,r,e){o("#colorSelector2 div").css("backgroundColor","#"+r)}}),o("#colorpickerHolder2>div").css("position","absolute");var c=!1;o("#colorSelector2").bind("click",function(){o("#colorpickerHolder2").stop().animate({height:c?0:173},500),c=!c}),o("#colorpickerField1, #colorpickerField2, #colorpickerField3").ColorPicker({onSubmit:function(i,r,e,c){o(c).val(r),o(c).ColorPickerHide()},onBeforeShow:function(){o(this).ColorPickerSetColor(this.value)}}).bind("keyup",function(){o(this).ColorPickerSetColor(this.value)}),o("#colorSelector").ColorPicker({color:"#0000ff",onShow:function(i){return o(i).fadeIn(500),!1},onHide:function(i){return o(i).fadeOut(500),!1},onChange:function(i,r,e){o("#colorSelector div").css("backgroundColor","#"+r)}})},"init")}(jQuery);