var user_agent=navigator.userAgent;var isOpera=user_agent.indexOf("Opera")>=0;var isFirefox=user_agent.indexOf("Firefox")>=0;var isWin32up=user_agent.indexOf("Win32")>=0||user_agent.indexOf("Win64")>=0||user_agent.indexOf("Windows NT")>=0;var isIE=!isOpera&&user_agent.indexOf("MSIE")>=0;var isIE55up=isIE&&isWin32up&&user_agent.match(/MSIE ((5\.5)|[6789])/);var isIE70up=isIE&&isWin32up&&user_agent.match(/MSIE ([789])/);var isIE55dn=isIE&&!isIE55up;var browser="other";if(isFirefox)browser="firefox";else if(isOpera)browser="opera";else if(isIE55up)browser="ie55p";else if(isIE55dn)browser="ie55d";
var ft_dys;var ft_dyi=0;var ft_dyda=6;var ft_dyimg=new Array();var ft_dyio=new Array();var ft_dyilo=new Array();var ft_dytm=null;var ft_dypos=0;var ft_dytrg=0;var ft_dysmul=1.5;var ft_dystim=120;var ft_slcont=null;var ft_ilk=1;var ft_slconstm=3000;function imgFon(baslik,spot,header,link,bgcolor,fontcolor){this.baslik=baslik;this.spot=spot;this.header=header;this.link=link;this.bgcolor=bgcolor;this.fontcolor=fontcolor}function fth_kls(){var fth_anadv=document.getElementById("fthslid");ft_dys=anaDosyalar.length;fth_anadv.style.width=(ft_dyya*ft_dys-ft_dyda)+"px";while(fth_anadv.firstChild!=null){fth_anadv.removeChild(fth_anadv.firstChild)}for(var i=0;i<ft_dys;i++){fth_anadv.appendChild(CreateDosya(anaDosyalar,i,i<=ft_dygo))}}function fth_klsStatic(){var fth_anadv=document.getElementById("fthslid");ft_dys=anaDosyalar.length;fth_anadv.style.width=(ft_dyya*ft_dys-ft_dyda)+"px";for(var i=0;i<ft_dys;i++){ft_dyimg[i]=document.getElementById("ft_img"+i);ft_dyilo[i]=(i<=ft_dygo)}}function fth_tmzTimer(){if(ft_dytm!=null)clearTimeout(ft_dytm);ft_dytm=null}function fth_fonslds(){var ft_ger=ft_dytrg-ft_dypos;var sign=(ft_ger<0)?-1:1;if(Math.abs(ft_ger)>12){ft_ger/=ft_dysmul;ft_dypos=ft_dytrg-ft_ger}else if(Math.abs(ft_ger)>4){ft_dypos+=4*sign}else{ft_dypos=ft_dytrg}var fth_anadv=document.getElementById("fthslid");fth_anadv.style.left=parseInt(ft_dypos)+"px";if(ft_dypos!=ft_dytrg)ft_dytm=setTimeout("fth_fonslds();",ft_dystim);else fth_tmzTimer()}function fth_go(ft_ger,ftotom){if(ft_ger!=-1)ft_ger=1;if(ftotom!=null&&ftotom){if(ft_dyi+ft_ger<0){ft_ilk=1}else if(ft_dyi+ft_ger+ft_dygo>ft_dys){ft_ilk=-1}ft_ger=ft_ilk;clearTimeout(ft_dytm)}else{ft_tmzcon();if(ft_dyi+ft_ger<0||ft_dyi+ft_ger+ft_dygo>ft_dys)return}fth_tmzTimer();ft_dyi+=ft_ger;for(var i=0;i<=ft_dygo;i++){var index=ft_dyi+i;if(index<ft_dys){if(!ft_dyilo[index]){ft_dyilo[index]=true;ft_dyio[index]=new Image();ft_dyio[index].src=anaDosyalar[index].header;ft_dyimg[index].src=ft_dyio[index].src}}}ft_dytrg=-ft_dyi*ft_dyya;fth_fonslds()}function ft_tmzcon(){if(ft_slcont!=null)clearTimeout(ft_slcont);ft_slcont=null}function slide_fth(){fth_go(ft_ilk,true);ft_slcont=setTimeout("slide_fth();",ft_slconstm)}setTimeout("slide_fth();",ft_slconstm);