document.documentElement.className+="js_on";Cufon.set("fontFamily","eurofurence");Cufon.replace("#slogan",{textShadow:"0 1px #FFF"});Cufon.replace("h1",{textShadow:"0 1px #FFF"});Cufon.replace("h2:not(.slide-desc h2)",{textShadow:"0 1px #FFF"});Cufon.replace("h3:not(.twtr-widget, .slide-desc h2)",{textShadow:"0 1px #FFF"});Cufon.replace("h3.bottom-col-title");Cufon.replace("h4:not(.twtr-widget, #bottom .latest_posts h4)",{textShadow:"0 1px #FFF"});Cufon.replace("h5",{textShadow:"0 1px #FFF"});Cufon.replace("h6",{textShadow:"0 1px #FFF"});Cufon.replace("#page-content #page-title h2",{textShadow:"0 1px #000"});jQuery(document).ready(function(b){b("p.signup-button a").css({backgroundPosition:"0 0"}).hover(function(){b(this).stop().animate({opacity:0},650)},function(){b(this).stop().animate({opacity:1},650)})});jQuery(document).ready(function(b){b("a[href=#top]").click(function(){b("html, body").animate({scrollTop:0},"slow");return false})});jQuery(document).ready(function(b){b.fn.coolinput=function(c){var a={hint:null,source:"value",blurClass:"blur",iconClass:false,clearOnSubmit:true,clearOnFocus:true,persistent:true};if(c&&typeof c=="object"){b.extend(a,c)}else{a.hint=c}return this.each(function(){var e=b(this);var f=a.hint||e.attr(a.source);var g=a.blurClass;function h(){if(e.val()==""){e.val(f).addClass(g)}}function d(){if(e.val()==f&&e.hasClass(g)){e.val("").removeClass(g)}}if(f){if(a.persistent){e.blur(h)}if(a.clearOnFocus){e.focus(d)}if(a.clearOnSubmit){e.parents("form:first").submit(d)}if(a.iconClass){e.addClass(a.iconClass)}h()}})}});jQuery(document).ready(function(b){b("#search_field").coolinput({blurClass:"inputbox",iconClass:"search_icon"});b("#signup-field").coolinput({blurClass:"inputbox",iconClass:"signup_icon"})});jQuery(document).ready(function(b){b("ul.sf-menu").supersubs({minWidth:12,maxWidth:32,extraWidth:1}).superfish({delay:500,autoArrows:false,dropShadows:false})});jQuery(document).ready(function(b){b(".portfolioImgThumb").hover(function(){var a=b(this).find(".hover-opacity");a.stop().animate({opacity:0.4},400)},function(){var a=b(this).find(".hover-opacity");a.stop().animate({opacity:1},400)});b(".postImage").hover(function(){var a=b(this).find(".hover-opacity");a.stop().animate({opacity:0.6},400)},function(){var a=b(this).find(".hover-opacity");a.stop().animate({opacity:1},400)})});jQuery(document).ready(function(b){b("#contactForm").validate({rules:{contact_name:{required:true,minlength:2},contact_email:{required:true,email:true},contact_message:"required"},messages:{contact_name:{required:"Please enter a name",minlength:"Your name must consist of at least 2 characters"},contact_email:"Please enter a valid email address",contact_message:"<br />Please enter your message"}})});jQuery(function(b){b("#contact_phone_NA_format").mask("(999) 999-9999");b("#contact_ext_NA_format").mask("? 99999")});