//EAT SHIT EAT SHIT EAT SHIT
//jk i love u

function menu(num) {
	var a = new Array("Coming soon", "Main - Supportive - Minor - Quarternary", "Squall - Quistis - Selphie - Zell - Rinoa - Irvine", "Coming soon", "Coming soon", "Level 1 to 4 - 5 to 8 - 9 to 11");
	document.menuID.innerHTML = a[num - 1];
}

function vote(pollID, wut) {
	wut.firstChild.nodeValue='Voting...';
	var xmlhttp=false;
	try {
		xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
	} catch (e) {
		try {
			xmlhttp = new
			ActiveXObject('Microsoft.XMLHTTP');
		} catch (E) {
			xmlhttp = false;
		}
	}
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
		xmlhttp = new XMLHttpRequest();
	}
		xmlhttp.open('GET', 'vote.php?id=' + pollID, true);
		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState == 4) {
				var content = xmlhttp.responseText;
				if (content != 'n') {
					document.pollstuff.innerHTML = content.replace('y', '');
				}
				
		}
	}
	xmlhttp.send(null)
	return;
}
pollOption = 0;