/* site wide javascript */
	
	// a list apart function... http://www.htmldog.com/articles/suckerfish/bones/
	function startList() {
		if (document.all&&document.getElementById) {
			navRoot = document.getElementById("navlist");
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
		
	// opening a page in popup window (w and h are optional)
	function newUrlWin( url, w, h ) {
		// set width
		if ( w ) {
			var width = w;
		} else {
			var width = 450;
		}
		
		// set height
		if ( h ) {
			var height = h;
		} else {
			var height = 325;
		}
		
		// center in screen
		var swidth = screen.availWidth;
		var sheight = screen.availHeight;
		var hpos = (swidth / 2) - (width / 2);
		var vpos = (sheight / 2) - height;
		
		// open new window
		var win = window.open(url, "saepopup" , "width=" + width + ",height=" + height + ",resizable=yes,toolbars=no,scrollbars=yes,left=" + hpos + ",top=" + vpos);		
	}
		
		
	// closes popup window and reloads opener to passed url
	function changeClose( url ) {
		opener.location.replace(url);
		window.close();
	}
	

	
//-->
