// Nothing
function nothing(){}


// Get the current date
var cYear;
var today	= new Date();
var year	= "";

if (today.getFullYear()) {
	year = today.getFullYear();
}

cYear = new String (year);


// Slide Menus
// Right, Top, Width, Height
var menus = [
	new ypSlideOutMenu("menu1", "right", 175, 188, 152, 100),
	new ypSlideOutMenu("menu2", "right", 175, 264, 152, 200),
	new ypSlideOutMenu("menu3", "right", 175, 321, 152, 97)
];

for (var i = 0; i < menus.length; i++) {
	menus[i].onactivate = new Function("document.getElementById('act" + i + "').className='nav-option';");
	menus[i].ondeactivate = new Function("document.getElementById('act" + i + "').className='nav-option';");
}

var win = null;
function popWindow(url, name, width, height, toolbar, location, scrollbars) {
	var left = (screen.width ? ((screen.width - width) / 2) : 0);
	var top = (screen.height ? ((screen.height - height) / 2) : 0);
	var t = ((Prototype.Browser.IE && (navigator.appVersion.search(/MSIE\ 7\.0/) > -1) && (toolbar = 'yes')) ? 'no' : toolbar);
	var settings = 'height=' + height + ',width=' + width + ',top=' + top + ',left=' + left + ',toolbar=' + t + ',location=' + location + ',scrollbars=' + scrollbars;
	var win = window.open(url, name, settings);
}

/*
targetBlankNoChrome(this.href);return false;

// Popup Window
function targetBlankNoChrome(url, name, w, h){
	var left   = (screen.width ? ((screen.width - w) / 2) : 0);
	var top    = (screen.height ? ((screen.height - h) / 2) : 0);
	var params = 'width=' + width + ', height=' + height;
	params += ', top=' + top + ', left=' + left;
	params += ', directories=no';
	params += ', location=no';
	params += ', menubar=no';
	params += ', resizable=no';
	params += ', scrollbars=no';
	params += ', status=no';
	params += ', toolbar=no';
	
	newwin = window.open(url, name, params);
	if (window.focus) {
		newwin.focus();
	}
	
	return false;
}
*/