

// FONT REPLACEMENT
// Replace all tags with cufon equivalant 
Cufon.replace('h1,h2,.widget h3, h3.sidebartitle,h4,h5,h6,#commentform label,.menu-horizontal ul:has(ul) > li a',{hover: true});
//







// JQUERY
jQuery(function(){
		
	
		// Dropdown Menu config
		jQuery("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.
	

});// end jquery

// JQUERY
jQuery(function(){
		   
	   // Clear searchform on click
		jQuery("#searchform #s").click(function(){
			jQuery(this).val("");   
		});
		
	
	
	
	// Fix applied so menu appears OVER cycled images
	// Reverse the default z-index stacking order of the elements
//	var startIndex = 1500;
//	jQuery('div').each(function() {
//		jQuery(this).css('zIndex', startIndex);
//		startIndex -= 5;
//	});
//	jQuery('#wpadminbar').css('zIndex', 1505);
//	jQuery('#lbOverlay').css('zIndex', 1506);
//	jQuery('#lbCenter').css('zIndex', 1507);
//	jQuery('#lbBottomContainer').css('zIndex', 1508);
	

});// end jquery
