<!-- 
//Browser Support Code
function newestChange(game_type){

	document.getElementById(game_type+'-new').innerHTML = "<img alt='"+game_type+"' name='"+game_type+"-new' border='0' src='newgamesnav/new-games-"+game_type+"-a.png' />";
	
	if (readCookie('last') != null)
	{

	var last =  readCookie('last');      
 
	document.getElementById(last+'-new').innerHTML = "<a href=\"javascript:newestChange('"+last+"');\" onmouseover=\"roll_over('"+last+"-new', 'newgamesnav/new-games-"+last+"-a.png')\" onmouseout=\"roll_over('"+last+"-new', 'newgamesnav/new-games-"+last+".png')\"><img alt='Action' name='"+last+"-new' border='0' src='newgamesnav/new-games-"+last+".png' /></a>";

	eraseCookie('last');

	}
	
var switchto = document.getElementById(game_type+'_new_switch').innerHTML;
	
document.getElementById('newgames').innerHTML = switchto;

createCookie('last',game_type,0);

}

function newestChangeall(){

	if (readCookie('last') != null)
	{

	var last =  readCookie('last');      
 
	document.getElementById(last+'-new').innerHTML = "<a href=\"javascript:newestChange('"+last+"');\" onmouseover=\"roll_over('"+last+"-new', 'newgamesnav/new-games-"+last+"-a.png')\" onmouseout=\"roll_over('"+last+"-new', 'newgamesnav/new-games-"+last+".png')\"><img alt='Action' name='"+last+"-new' border='0' src='newgamesnav/new-games-"+last+".png' /></a>";

	eraseCookie('last');

	}
	
var switchstart = document.getElementById('start_new').innerHTML;

document.getElementById('newgames').innerHTML = switchstart;
}

function hottestChange(game_type){

	document.getElementById(game_type+'-hot').innerHTML = "<img alt='"+game_type+"' name='"+game_type+"-hot' border='0' src='hotgamesnav/hot-games-"+game_type+"-a.png' />";

	if (readCookie('lasthot') != null)
	{

	var last =  readCookie('lasthot');      
 
	document.getElementById(last+'-hot').innerHTML = "<a href=\"javascript:hottestChange('"+last+"');\" onmouseover=\"roll_over('"+last+"-hot', 'hotgamesnav/hot-games-"+last+"-a.png')\" onmouseout=\"roll_over('"+last+"-hot', 'newgamesnav/new-games-"+last+".png')\"><img alt='Action' name='"+last+"-hot' border='0' src='newgamesnav/new-games-"+last+".png' /></a>";

	eraseCookie('lasthot');

	}

var switchto = document.getElementById(game_type+'_switch').innerHTML;
	
document.getElementById('hotgames').innerHTML = switchto;

createCookie('lasthot',game_type,0);

}

function hottestChangeall(){

	if (readCookie('lasthot') != null)
	{

	var last =  readCookie('lasthot');      
 
	document.getElementById(last+'-hot').innerHTML = "<a href=\"javascript:hottestChange('"+last+"');\" onmouseover=\"roll_over('"+last+"-hot', 'hotgamesnav/hot-games-"+last+"-a.png')\" onmouseout=\"roll_over('"+last+"-hot', 'newgamesnav/new-games-"+last+".png')\"><img alt='Action' name='"+last+"-hot' border='0' src='newgamesnav/new-games-"+last+".png' /></a>";

	eraseCookie('lasthot');

	}

var switchstart = document.getElementById('start').innerHTML;

document.getElementById('hotgames').innerHTML = switchstart;
}






function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

//-->