
$(document).ready(function(){$('ul.sf-menu').superfish({delay:300,animation:{height:'show'},speed:'fast',autoArrows:true,dropShadows:false});});jQuery(document).ready(function(){$("img.a").hover(function(){$(this).stop().animate({"opacity":"0.7"},"slow");},function(){$(this).stop().animate({"opacity":"1"},"slow");});$("img.pthumb").hover(function(){$(this).stop().animate({"opacity":"0.7"},"slow");},function(){$(this).stop().animate({"opacity":"1"},"slow");});$("ul.tabs").tabs("div.panes > div");$("ul.css-tabs").tabs("div.css-panes > div");$(".scrollable").scrollable();$(".accordion").tabs(".pane",{tabs:'h2',effect:'slide'});$(".accordion-faq").tabs(".pane",{tabs:'span',effect:'slide'});});$(function(){$("a[rel='external']").bind("click.external",function(){window.open(this.href);return false;});});function hide(id){if(document.getElementById){obj=document.getElementById(id);obj.style.display="none";}}
function show(id){if(document.getElementById){obj=document.getElementById(id);obj.style.display="";}}
function ajaxshow(id){$(id).fadeIn("slow");}
function ajaxhide(id){$(id).fadeOut("slow");}
function toggle(id){$(id).slideToggle("fast");}
jQuery(document).ready(function($){var $data=$(".gallery-content .container").clone();$('.gallery-main li').click(function(e){$(".filter li").removeClass("current-cat");var filterClass=$(this).attr('class').split(' ').slice(-1)[0];if(filterClass=='all-items'){var $filteredData=$data.find('.gallery-item');}else{var $filteredData=$data.find('.gallery-item[data-type='+filterClass+']');}
$(".gallery-content .container").quicksand($filteredData,{duration:700,easing:'easeInOutQuad'},function(){$("img.pthumb").hover(function(){$(this).stop().animate({"opacity":"0.7"},"slow");},function(){$(this).stop().animate({"opacity":"1"},"slow");});$("a[rel^='prettyPhoto']").prettyPhoto();});$(this).addClass("current-cat");return false;});});Cufon.replace(' h1, h2, h3, h4, h5, .featured-top, .pack .button, .pack-last .button, .textbutton, .applyfont, ul.css-tabs a',{hover:true,fontFamily:'Museo'});Cufon.replace('.header h1, .header-alt h1, .header-alt-sec h1, .header-alt h4, .header-alt-sec h4, .header-inner h1, .subtitle h3',{hover:true,textShadow:'1px 1px 0 #444444',fontFamily:'Museo'});Cufon.replace('.btn-small, .btn-medium, .btn-big, .btn-big-light, .form-button, .accordion h2, .text-replace, .big-home-button',{hover:true,textShadow:'1px 1px 0 #ffffff',fontFamily:'Museo'});Cufon.replace('.btn-orange-small, .btn-orange-medium, .btn-orange-big',{hover:true,textShadow:'1px 1px 0 #cb6a20',fontFamily:'Museo'});Cufon.replace('.btn-green-small, .btn-green-medium, .btn-green-big',{hover:true,textShadow:'1px 1px 0 #588b11',fontFamily:'Museo'});Cufon.replace('.big-footer h4',{textShadow:'1px 1px 0 #555555',fontFamily:'Museo'});
