var pic_width=592; //
var pic_height=220; //
var button_pos=20; //
var stop_time=5000; //
var show_text=100; //
var txtcolor="000000"; //
var bgcolor="FEAB06"; //
var imag=new Array();
var link=new Array();
var text=new Array();
imag[1]="http://www.diyeti.gen.tr/diyet-resim/beslenme.jpg";
link[1]="http://www.diyeti.gen.tr/diyet/beslenme";
text[1]="Beslenme";
imag[2]="http://www.diyeti.gen.tr/diyet-resim/yemekler.jpg";
link[2]="http://www.diyeti.gen.tr/diyet/diyet-yemekleri";
text[2]="Diyetler";
imag[3]="http://www.diyeti.gen.tr/diyet-resim/diyete.jpg";
link[3]="http://www.diyeti.gen.tr/diyet/diyete-baslarken";
text[3]="Diyetisyenler";
imag[4]="http://www.diyeti.gen.tr/diyet-resim/diyetisyenler.jpg";
link[4]="http://www.diyeti.gen.tr/diyet/diyetisyenler";
text[4]="Güzellik";
imag[5]="http://www.www.diyeti.net/diyet-resim/diyetler.jpg";
link[5]="http://www.diyeti.gen.tr/diyet/diyetler";
text[5]="Cilt Bakımı";
imag[6]="http://www.diyeti.gen.tr/diyet-resim/";
link[6]="http://www.diyeti.gen.tr/diyet/kalorilik-diyetler";
text[6]="Şifalı Bitkiler";
imag[7]="http://www.diyeti.gen.tr/diyet-resim/";
link[7]="http://www.diyeti.gen.tr/diyet/sifali-bitkiler";
text[7]="Egzersizler";
imag[8]="http://www.diyeti.gen.tr/diyet-resim/";
link[8]="http://www.diyeti.gen.tr/";
text[8]="Beslenme";
imag[9]="http://www.diyeti.gen.tr/diyet-resim/";
link[9]="http://www.diyeti.gen.tr/";
text[9]="Cinsellik";
imag[10]="http://www.diyeti.gen.tr/diyet-resim/";
link[10]="http://www.diyeti.gen.tr/";
text[10]="Estetik";
var swf_height=show_text==1?pic_height+20:pic_height;
var pics="", links="", texts="";
for(var i=1; i<imag.length; i++){
	pics=pics+("|"+imag[i]);
	links=links+("|"+link[i]);
	texts=texts+("|"+text[i]);
}
pics=pics.substring(1);
links=links.substring(1);
texts=texts.substring(1);
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cabversion=6,0,0,0" width="'+ pic_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="http://www.diyeti.gen.tr/diyet-resim.swf">');
document.write('<param name="wmode" value="transparent"><param name="quality" value="high">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'">');
document.write('<embed src="http://www.diyeti.gen.tr/diyet-resim.swf" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&pic_width='+pic_width+'&pic_height='+pic_height+'&show_text='+show_text+'&txtcolor='+txtcolor+'&bgcolor='+bgcolor+'&button_pos='+button_pos+'&stop_time='+stop_time+'" quality="high" wmode="transparent" width="'+ pic_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');