startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		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", "");
				}
			}
		}
	}
}

womAdd('startList()');
womAdd('init()');
womOn();



function SwapContent(d,c) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
document.getElementById(c).style.display = "block";
}


function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}



$(function() {
	$("#register").appendTo("#main_right_inside");
	$("#main_top_space").css("height","20px");
	$('.link').click(function() {
		document.location=$(this).attr('href');
	});
});
