/*** begin ondomready ***/function loadEm() {    // quit if this function has already been called    if (arguments.callee.done) return;    // flag this function so we don't do the same thing twice    arguments.callee.done = true;    // kill the timer    if (_timer) clearInterval(_timer);    // do stuff    document.body.className = "withBehaviors";    activeDiv.initialize();    };/* for Mozilla/Opera9 */if (document.addEventListener) {    document.addEventListener("DOMContentLoaded", loadEm, false);}/* for Internet Explorer *//*@cc_on@*//*@if (@_win32)document.write("<script id=__ie_onload defer src=//0><\/script>");var script = document.getElementById("__ie_onload");script.onreadystatechange = function() {    if (this.readyState == "complete") {        loadEm(); // call the onload handler    }};/*@end@*//* for Safari */if (/WebKit/i.test(navigator.userAgent)) { // sniff    var _timer = setInterval(function() {        if (/loaded|complete/.test(document.readyState)) {            loadEm(); // call the onload handler        }    }, 10);}/* for other browsers */window.onload = loadEm;/*** end ondomready script***///Quick and dirtyvar activeDiv = {	initialize: function() {		if (document.getElementById) {			var sectionDivs = document.getElementById("content").getElementsByTagName("div");						for (i=0; i < sectionDivs.length; i++) {				var div = sectionDivs[i];				var firstLink = div.getElementsByTagName("a")[0];				if (firstLink.className == "full") {					this.addEvents(div, firstLink);				}			}		}		var that = this;		window.onunload = function () {			that.unhoverItem(that.selected);		}	},	selected: null,	addEvents: function(element, link) {		var that = this;		element.onmouseover = function() {			that.hoverItem(this, link);		}		element.onmouseout = function() {			that.unhoverItem(this);		}		link.onfocus = function() {			that.hoverItem(element);		}		link.onblur = function() {			that.unhoverItem(element);		}		element.onclick = function() {			window.location = link.href;		}	},	hoverItem: function(element, link) {		if (this.selected != null) {			this.unhoverItem(this.selected);		}		if (element.className != "hover") {			element.className +=" hover";			this.selected = element;			this.updateStatus(link.href);		}			},	updateStatus: function(str) {		window.status = str;	},	unhoverItem: function(element) {		if (element != null) {			if (element.className == "hover") {				element.className = "";			}			else {				element.className = element.className.replace(new RegExp(" hover\\b"), "");			}			this.updateStatus("");		}		}};