
//var w2;var h2;
//var w=screen.width-296;var h=screen.height-318;
var w2;var h2;
var w=(screen.width-296);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="630" height="450" id="movie" ><param name="wmode" value="transparent" /><param name="movie" value="' + f + '"> <PARAM NAME="quality" VALUE="high"><PARAM NAME="scale" VALUE="exactfit"><PARAM NAME="menu" VALUE="true"><embed src="' + f + '" width="630" height="450" 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="630" height="450" id="movie" ><param name="wmode" value="transparent" /><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="630" height="450" 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!="zirveoyun.com"&&l!="www.zirveoyun.com"){window.location.href="http://www.zirveoyun.com";}

		
	var bar1 = document.getElementById("bar1");var bar = document.getElementById("bar");

	
var movie = getFlashMovieObject("mov");	
	

if(movie){
	if(movie.PercentLoaded()<100){bar1.innerHTML=" % " + movie.PercentLoaded() + " &nbsp; "}
  else{bar1.innerHTML="";}

 bar.style.width=(1.5*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)
