function switchme()
{
	if(document.getElementById('games').value != '')
	{
		window.location = document.getElementById('games').value;
	}
}

function bookmark(url, who) {
	var ver = navigator.appName;
	var num = parseInt(navigator.appVersion);
	if((ver == "Microsoft Internet Explorer") && (num >= 4)) {
		window.external.AddFavorite(url, who);
	} else{
		alert("You are not using Internet Explorer.\nPlease push Ctrl+D to bookmark our site.");
	} 
}

function snd_play()
{
	document.MediaPlayer1.controls.play();
}

function snd_stop()
{
	document.MediaPlayer1.controls.stop();
}

function popUp(URL, w, h){
	winpops = window.open(URL,"","width="+w+",height="+h+",left=50,top=50,status=0,scrollbars=0,resizable=1,menubar=0,location=0,toolbar=0");
}

function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function blurAnchors(){
  if(document.getElementsByTagName){
    var a = document.getElementsByTagName("a");
    for(var i = 0; i < a.length; i++){
      a[i].onfocus = function(){this.blur()};
    }
  }
}

window.onload = blurAnchors;

	document.onselectstart=new Function ("return false")
	if (window.sidebar){
		document.onmousedown=_disableselect
		document.onclick=_reEnable
	}

function ChangeURL(URL) {
  adz.location.href = URL;
}
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")