<!--
function wui(s) {
	if (s == "on") {
		document.getElementById('wui-img').src = "/images/wui-on.gif";
	}
	else {
		document.getElementById('wui-img').src = "/images/wui.gif";
	}
}


var itemObjs;

function itemMouseOver(){
	this.className='on';
}
function itemMouseOut(){
	this.className='off';
}
function itemClick(){
	alert("In development.");
}
function items(){
	itemObjs = document.getElementById('left-col').getElementsByTagName("DIV");
	var exception_pointer;
	
	for(i = 0;i < itemObjs.length;i++){
		if(itemObjs[i].id == "item"){
			itemObjs[i].onmouseover = itemMouseOver;
			itemObjs[i].onmouseout = itemMouseOut;			
			exception_pointer = i;
		}
	}		
	itemObjs[exception_pointer].onmouseover = null;
	itemObjs[exception_pointer].onmouseout = null;
	itemObjs[exception_pointer].style.cursor = "auto";
}

function navchange(section) {
	// Turn off all subnavs
	document.getElementById('ex').className = "off";
	document.getElementById('su').className = "off";
	document.getElementById('co').className = "off";
	document.getElementById('ed').className = "off";
	document.getElementById('kc').className = "off";
	// Turn off all header highlights
	document.getElementById('exh').className = "off";
	document.getElementById('suh').className = "off";
	document.getElementById('coh').className = "off";
	document.getElementById('edh').className = "off";
	document.getElementById('kch').className = "off";
	// Turn on correct header highlight and subnav
	document.getElementById(section + "h").className = "on";
	document.getElementById(section).className = "on";
}

function highlight_section(section_title){
	var obj_ul = document.getElementById("tabbed-ul");
	var objs_a = obj_ul.getElementsByTagName("A");

	for(var i=0;i < objs_a.length;i++){
		if(objs_a[i].innerHTML.indexOf(section_title) != -1){
			obj_a = objs_a[i];
		}
	}

	obj_a.style.color = "#ffa200";
	obj_a.style.fontWeight = "bold";
	obj_a.onclick = function() { return false; }
}


var myArray = new Array();

myArray[0] = '<div id="head" style="background:url(/images/head-success.gif) top no-repeat;"><div id="masthead_onclick" title="Your Dating Spot" onclick="window.location=&quot;/&quot;"></div><div id="masthead_free" title="Your Dating Spot" onclick="window.location=&quot;/promos/success.php&quot;"></div>';
myArray[1] = '<div id="head" style="background:url(/images/head-matchme.gif) top no-repeat;"><div id="masthead_onclick" title="Your Dating Spot" onclick="window.location=&quot;/&quot;"></div><div id="masthead_free" title="Your Dating Spot" onclick="window.location=&quot;/promos/matchme.php&quot;"></div>';
myArray[2] = '<div id="head" style="background:url(/images/head-makeover.gif) top no-repeat;"><div id="masthead_onclick" title="Your Dating Spot" onclick="window.location=&quot;/&quot;"></div><div id="masthead_free" title="Your Dating Spot" onclick="window.location=&quot;/promos/makeover.php&quot;"></div>';
myArray[3] = '<div id="head" style="background:url(/images/head-upcoming.gif) top no-repeat;"><div id="masthead_onclick" title="Your Dating Spot" onclick="window.location=&quot;/&quot;"></div><div id="masthead_free" title="Your Dating Spot" onclick="window.location=&quot;/promos/upcoming.php&quot;"></div>';
//myArray[3] = '<div id="head" style="background:url(/images/head-upcoming.gif) top no-repeat;"><div id="masthead_onclick" title="Your Dating Spot" onclick="window.location=&quot;/&quot;"></div><div id="masthead_free" title="Your Dating Spot" onclick="window.location=&quot;/about/events.php&quot;"></div>';

function randomHead(){
			var total = myArray.length;
			var i = Math.floor(Math.random()*total);
			var content = myArray[i];
			document.write(content);
			
		}


-->