//  Author Xcellimark 2011 \\
// ####################### \\

$(document).ready(function(){
	var cookie = $.cookie('page_id');
	$('head').append('<!--[if IE 7]><link rel="stylesheet" type="text/css" href="http://www.chenegafederal.com/css/yourstyle_ie_7.css" /><![endif]-->');
	$('head').append('<!--[if IE 8]><link rel="stylesheet" type="text/css" href="http://www.chenegafederal.com/css/yourstyle_ie_8.css" /><![endif]-->');
						   
	// Slider on Our Services
	$( "#aSections" ).accordion({collapsible : true, active : 'none', navigation: true, autoHeight:false});
	// Tabs on Past Performance
	$( "#tSections" ).tabs();
	
	// Search Box
	$('input#keywords').bind({
		focus: function() {
			var v = $(this).attr("value");
			if(v == "Search Site"){
				$(this).attr("value", "");
			}
		},
		blur: function() {
			var v = $(this).attr("value");
			if((v=="")||(v==null)||(v==" ")){
				$(this).attr("value", "Search Site");
			}
		}
	});
	
});

