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("İnternet Explorer kullanmıyorsunuz.\nLütfen Ctrl ve D tuşlarına aynı anda basın.");
	} 
}

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;

//Player
function oyun_playeri_kutu(d,i,h,g,y){
	if(h==''){ ip = d+'/'+i; }else{ ip=i; }
	document.write('<iframe width="'+g+'" height="'+y+'" src="'+ip+'" scrolling="no" border="0" frameborder="0" name="oyun_ekrani" align="center" marginheight="0" marginwidth="0" style="background:#000000"><\/iframe>');	
}

//Player End

