$(document).ready(function () {   
	  
	$('.top_nav_left li').hover(  
		function () {  
			// Show Sub-Menu  
			$('ul', this).slideDown(400);  
  
		},   
		function () {  
			// Hide Sub-Menu    
			$('ul', this).slideUp(400);           
		}  
	);
	
	$('.top_nav_right li').hover(  
		function () {  
			// Show Sub-Menu  
			$('ul', this).slideDown(400);  
  
		},   
		function () {  
			// Hide Sub-Menu    
			$('ul', this).slideUp(400);           
		}  
	);  
	  
});  

$(function() {
	$('#header_frame').cycle({ 
		fx:		'fade',
		prev:   'a.prev', 
		next:   'a.next', 
		timeout: 5000,
		speed:   2000
	});
 
	$('.ExpanderTitle').parent().children('.ExpanderBox').slideUp(0);
	$('.ExpanderTitle').click( function(){
		$(this).parent().children('.ExpanderBox').slideToggle("slow");
	});
});

$(document).ready(function() {
$(".content_tabs").tabs();
});

$(document).ready(function() {
$(".content_tabs_sidebar").tabs();
});

function clearText(thefield){if(thefield.defaultValue==thefield.value)thefield.value=""}

// reCAPTCHA Theme
 var RecaptchaOptions = {
    theme : 'white'
};
