Cufon.replace('h1, h2, h3, .upcoming h5, .img-title span', { hover: true, 'fontFamily' : 'Times New Roman'});



$(document).ready(function(){
	$('#agency-nav li').hover(function(){
		$(this).children('ul').show();
	},function(){
		$(this).children('ul').hide();
	  }
	);
	
	$('<span></span>').appendTo('.tabs-list li a');
	$('.gen-foot-list li').last().addClass('bg-none');
	
	$('#hightSchoolNav li').first().addClass('hsn-first');
	$('#hightSchoolNav li').last().addClass('hsn-last');
	
	
});




$(function() {

$(".tabs-list").tabs(".panes-tabs > div", {

	// enable "cross-fading" effect
	fadeOutSpeed: "slow",


	// start from the beginning after the last tab
	rotate: true

}).slideshow({autoplay: true, speed: 2000});

//$(".slidetabs").data("slideshow").play();
});


$(function() {

$(".slidetabs").tabs(".tabsShow > div", {

	// enable "cross-fading" effect
	effect: 'fade',
	fadeOutSpeed: "slow",


	// start from the beginning after the last tab
	rotate: true

}).slideshow({autoplay: true});

//$(".slidetabs").data("slideshow").play();
});


function focusText(thefield){
 if (thefield.defaultValue==thefield.value){
  thefield.value = "";
 }
}
function blurText(thefield){
 if (thefield.value == ""){
  thefield.value = thefield.defaultValue;
 }
}
