 $(document).ready(function(){ 
																												
	$("#CAT_Search").DefaultValue("Search");		
	
        $("ul.sf-menu").supersubs({ 
								
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // 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. 
																								


//email spam protection - Example Markup: <span class="email">name[at]domain[dot]com</span>
$('.email').each(function() {
	var $email = $(this);
	var address = $email.text()
	.replace(/\s*\[at\]\s*/, '@')
	.replace(/\s*\[dot\]\s*/g, '.');
	$email.html('<a href="mailto:' + address + '">'+ address +'</a>');
});

				$('#scrollMe').cycle({ 
				    fx:    'scrollRight', 
				    delay: 2000,
				    timeout: 9000,
				    random:  1,
				    pause:   1
				});

 });
	


 


