window.onload = function() {
P7_equalCols2(0,'lefter','DIV','middle','DIV','sidebar','DIV');
}

$(document).ready(function(){
	$.sifr({
		path: '/M/javascript/jquery/jquery.sifr/resources/',
		save: true
	});
	$('.specialfont2').sifr({font: 'policeav'});
	$('#content h1').sifr({font: 'policeav',color:'#5e78a9',fontSize:'36px',backgroundColor:'#d5e0f4',textAlign: 'center'});
	$('#content h2').sifr({font: 'policeav',color:'#5e78a9',fontSize:'32px',underline:'true'});
});

$(function() {
	$("#tabs").tabs();
});

$(function() {
	$("#accordion").accordion();
});

function hideShow()
{
	if(document.getElementById('slider1'))
		document.getElementById('slider1').style.visibility = "hidden";
}

function playShow()
{
	if(document.getElementById('slider1'))
		document.getElementById('slider1').style.visibility = "visible";
}
	
$(document).ready(function() {
    

				    // Open external links in a new window
					$('a[href^="http://"]').attr("target", "_blank");	
					// Rotate homepage images
					$('#featurePhoto').rotate();    
					// Setup the nav drop-downs
					$('#nav2').nmcDropDown({
					   submenu_selector: 'div',
					   show: {opacity: 'show', top: '-=10px'},
					   show_speed: 200,
					   hide: {opacity: 'hide', top: '+=10px'},
					   hide_speed: 400
					});	

});

$(document).ready(function(){
	$.sifr({
		path: 'core/javascript/jquery/jquery.sifr/resources/',
		save: true
	});
	$('.specialfont').sifr({font: 'policeav'});
});

  $(document).ready(function() {
  	   if(document.getElementById('slider1'))
    	{
	      $('#slider1').s3Slider({
	          timeOut: 5000 
	      });
	   }
  });

$(function() {    
$('.tooltip').tipsy({gravity: 'n'});    
});
