function flash_goster(file,width,height){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#000000>");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#000000' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}
function flash_gostera(file,width,height){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#ffffff>");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}
function flash_gostert(file,width,height){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=wmode VALUE=transparent>");
document.writeln("<embed src='"+file+"' quality='high' wmode='transparent' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}

function flash(file,width,height,yazi,yol){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='contents' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"' />");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=wmode VALUE=transparent>");
document.writeln("<PARAM NAME=flashvars id=objflashvars VALUE=yazi="+yazi+"&yol="+yol+">");	
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain'wmode='transparent' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' flashvars='yazi="+yazi+"&yol="+yol+"' />");
document.writeln("</OBJECT>");
}

function flashney(file,width,height,ney){
document.writeln("<span style='position:absolute; z-index:99;'>");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='contents' align='middle' allowScriptAccess='sameDomain'wmode='transparent' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' flashvars='ney="+ney+"' style='position:relative; top:-62px;'/>");
document.writeln("</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}

function deget(git,gel)
   {
       document.getElementById(git).style.display = "none";
       document.getElementById(gel).style.top = "0px";
   }
   
function gizle(katman)
   {
       document.getElementById(katman).style.visibility = "hidden";
       document.getElementById(katman).style.overflow = "hidden";
       document.getElementById(katman).style.position = "absolute";
       document.getElementById(katman).style.width = "1px";
       document.getElementById(katman).style.height = "1px";
   }

function goster(katman)
 { document.getElementById(katman).style.visibility = "visible"; }



function ajaxsayfa(url, divid){
document.getElementById(divid).innerHTML="Sayfa Yükleniyor..."

var page_request = false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, divid)
}
page_request.open('GET', url, true)
page_request.send(null)
}

function loadpage(page_request, divid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(divid).innerHTML=page_request.responseText
}

function sakla(katman)
   {
       document.getElementById(katman).style.display = "none";
   }
function saklama(katman)
   {
       document.getElementById(katman).style.display = "block";
   }

function tut(katman)
   {
       document.getElementById(katman).style.left = "0px";
   }
function cek(katman)
   {
       document.getElementById(katman).style.left = "-2000px";
   }

function dil()
   {
document.writeln('<span class="dil"><a onmouseover=tut("tut1") onmouseout=cek("tut1")><img src="gorsel/es.gif"></a><a onmouseover=tut("tut2") onmouseout=cek("tut2")><img src="gorsel/de.gif"></a><a onmouseover=tut("tut3") onmouseout=cek("tut3")><img src="gorsel/en.gif"></a><a onmouseover=tut("tut4") onmouseout=cek("tut4")><img src="gorsel/fr.gif"></a><a onmouseover=tut("tut5") onmouseout=cek("tut5")><img src="gorsel/it.gif"></a><a onmouseover=tut("tut6") onmouseout=cek("tut6")><img src="gorsel/ru.gif"></a><a onmouseover=tut("tut7") onmouseout=cek("tut7")><img src="gorsel/cn.gif"></a><a onmouseover=tut("tut8") onmouseout=cek("tut8")><img src="gorsel/jp.gif"></a><a onmouseover=tut("tut9") onmouseout=cek("tut9")><img src="gorsel/in.gif"></a><a onmouseover=tut("tut10") onmouseout=cek("tut10")><img src="gorsel/sa.gif"></a></span>');
   }

