jQuery(document).ready(function($){
						
	$("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal"
	});

	/* Search Implementation */
    $("#dnn_dnnSEARCH_txtSearch")
		.val("Search the Site")
			.focus(function() {
				$(this).val("");
			})
		.blur(function() {
			if( $(this).val()==""){ 
				$(this).val("Search the site");
			}
		});


	/* remove box from links */		
	$("a").focus(function(){ this.blur(); });	
	
	if ($('#slider').length) {
		$("#slider").cycle();
	}
	/*Preload the menu backgrounds*/
	
	menuImage1 = new Image(); 
	menuImage1.src = DNN_skinPath + "images/abt_on.jpg";
	menuImage2 = new Image(); 
	menuImage2.src = DNN_skinPath + "images/cu_on.jpg";	
	menuImage3 = new Image(); 
	menuImage3.src = DNN_skinPath + "images/find_on.jpg";
	menuImage4 = new Image(); 
	menuImage4.src = DNN_skinPath + "images/go_on.jpg";
	menuImage5 = new Image(); 
	menuImage5.src = DNN_skinPath + "images/gp_on.jpg";
	menuImage6 = new Image(); 
	menuImage6.src = DNN_skinPath + "images/home_on.jpg";
	menuImage7 = new Image(); 
	menuImage7.src = DNN_skinPath + "images/leaders_on.jpg";
	menuImage8 = new Image(); 
	menuImage8.src = DNN_skinPath + "images/links_on.jpg";
	menuImage9 = new Image(); 
	menuImage9.src = DNN_skinPath + "images/mission_on.jpg";
	menuImage10 = new Image(); 
	menuImage10.src = DNN_skinPath + "images/news_on.jpg";
	menuImage11 = new Image(); 
	menuImage11.src = DNN_skinPath + "images/service_on.jpg";
	
});

//sIFR implementation
function pageScripts(){
	var Arial= {  src: DNN_skinPath + 'Arial.swf' };
	sIFR.activate(Arial);
	sIFR.replace(Arial, {
	  selector: 'h1', 
	  wmode: 'transparent', 
	  src:  DNN_skinPath +  'Arial.swf', 
	  css: [ '.sIFR-root {color:#00628b;font-size:24px;}'  ] 
	});
}
