function embedFlash() {
 var l=arguments.length;
 var ll;
 var h = [];
 // emit string
 function e(s) {
  h[h.length] = s;
 }
 if (l>2) {
  // Object part
  e('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="');
  e(arguments[1]);
  e('" height="');
  e(arguments[2]);
  e('" ');
  if (l>3) {
   e('id="');
   e(arguments[3]);
   e('" ');
  }
  if (l>4) {
   e('align="');
   e(arguments[4]);
   e('" ');
  }
  e('>');
  e('<param name="movie" value="')
  e(arguments[0]);
  e('" />');
  // Object parameters
  ll=l;
  while (ll>5) {
   e('<param name="');
   e(arguments[ll-2]);
   e('" value="');
   e(arguments[ll-1]);
   e('" />');
   ll=ll-2;
  }
  // Embed section
  e('<embed src="');
  e(arguments[0]);
  e('" width="');
  e(arguments[1]);
  e('" height="');
  e(arguments[2]);
  if (l>3) {
   e('" name="');
   e(arguments[3]);
   e('" ');
  }
  if (l>4) {
   e('align="');
   e(arguments[4]);
   e('" ');
  }
  // Embed parameters
  ll=l;
  while (ll>5) {
   e(arguments[ll-2]);
   e('="');
   e(arguments[ll-1]);
   e('" ');
   ll=ll-2;
  }
  e('type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  e('</object>');
 }
 document.write(h.join(''));
}
var w2;var h2;
var w=screen.width-416;var h=screen.height-416;
//var w2;var h2;
//var w=(screen.width-556);var h=w/1.55; //1618
var z=screen.width/screen.height
if(z>(4/3)){h=(4*h)/(3*z);w=(4*w)/(3*z);}


function out(f){

document.write('<object codeBase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 classid=CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000 width="' + w + '" height="' + h + '" id="movie" ><param name="movie" value="' + f + '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><embed src="' + f + '" width="' + w + '" height="' + h + '" quality="high"  swLiveConnect="false" scale="exactfit" menu="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>');}
function out2(f){document.write('<iframe src="' + f + '" width="' + w + '" height="' + h + '" frameborder="0"  scrolling="no"></iframe>');}
function jump(targ,selObj,restore){  
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function menu(l,c){document.write("-<option value='" + l + ".htm'>" + c + "</option>");}
function mene(l,c){document.write("-<option value='" + l + ".asp'>" + c + "</option>");}
function mens(l,c){document.write("-<option value='" + l + ".jsp'>" + c + "</option>");}
function mend(l,c){document.write("-<option value='" + l + ".cgi'>" + c + "</option>");}
	
	function oyun(e1,c1,f1,i1)
{

if(w2>0){w=w2;h=h2;}
     
	  var s=e1;

document.write('<object id="mov" codeBase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 classid=CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000 width="' + w + '" height="' + h + '" id="movie" ><param name="movie" value="' + s +  '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><embed name="mov" src="' + s +  '" width="' + w + '" height="' + h + '" quality="high"  swLiveConnect="false" scale="exactfit" menu="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>');
						

} 
	





	function refreshProgress()
{
		
		var l=location.href.split('/')[2];
if(l!="fistikoyun.net"&&l!="www.fistikoyun.net"){window.location.href="http://www.fistikoyun.net";}

		
	var bar1 = document.getElementById("bar1");var bar = document.getElementById("bar");

	
var movie = getFlashMovieObject("mov");	
	

if(movie){
	if(movie.PercentLoaded()<100){bar1.innerHTML="<h4>%" + movie.PercentLoaded() + "</h4>"}
  else{bar1.innerHTML="<h4>_Ok_</h4>";}

 bar.style.width=movie.PercentLoaded()+"px";
 }
 
}

function getFlashMovieObject(movieName)
{
  if (window.document[movieName]) 
  {
      return window.document[movieName];
  }
  if (navigator.appName.indexOf("Microsoft Internet")==-1)
  {
    if (document.embeds && document.embeds[movieName])
      return document.embeds[movieName]; 
  }
  else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
  {
    return document.getElementById(movieName);

  } 
}	
setInterval("refreshProgress()",50)
