function sendContactForm(evt) {
	Event.stop(evt);
	formData = $('contactformsend').serialize();
	new Ajax.Request($('contactformsend').action, {
		method: 'post',
		postBody: formData,
		onComplete: function(resp) {
			txt = resp.responseText;
			if(txt=="Error")
				$('contactError').innerHTML="Error,Missing details";
			else 
			{
				if(txt=="Sent")
					$('contactError').innerHTML="Msg sent";
			}
		}
	});
}
function allGames(action){
	if(action=="open"){
		$('allGames').style.display="block";
	}
	if(action=="close"){
		$('allGames').style.display="none";
	}
}
function zoom(action,what){
	if(what!="")
		$('zoompic').innerHTML="<img src='"+eval(what)+"' />";
	if(action=="open"){
		$('zoom').style.display="block";
	}
	if(action=="close"){
		$('zoom').style.display="none";
	}
}
function swf(action){
	if(action=="open"){
		$('swf').style.display="block";
	}
	if(action=="close"){
		$('swf').style.display="none";
	}
}