
// Beginning of Popup window code -->
function NewWindow(mypage, myname, w, h, scroll, resize) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
 if (resize == 'yes') {
	resize = ',resizable';
 } else {
	resize = '';
 }
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+''+resize+'';
win = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End of Popup window code -->

function printpage() {
window.print();  
}

function hidetoggle (id)
{
    if (document.getElementById(id).style.display == 'none') {
		document.getElementById(id).style.display = 'block';
	} else {
		document.getElementById(id).style.display = 'none';
	}
	return false;
}

/*  jQuery Suckerfish Drop Downs*/ 
$(document).ready(function(){
	$("#nav-one li").hover(function(){
		$("ul", this).fadeIn("fast");},
		function() { }
	);
	if (document.all) {
		$("#nav-one li").hoverClass ("sfHover");
	}
	});

$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover(
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});
};  
