// jstemplate.js
//window.onload = function(){
//	jstemplate();
//	rolls();


//}

function jstemplate() {
	var includes = $$('div.jsinclude');
	for(var i=0; i<includes.length; i++) {
 		new Ajax.Updater(includes[i], includes[i].title);
 	}
}

function rolls() {
	var button = document.getElementsByTagName("div");
	for(var i=0; i<button.length; i++) {
		if(button[i].className.match(/nav_btn/i)) {
			button[i].onmouseover = function() {
				this.className += " hover";
			}
			button[i].onmouseout = function() {
				this.className = this.className.replace(/hover/i,'');
			}
		}
	}
}