var isjsx=0; var sitex=437; var iconx=1; var Banner_halts=0; var b2_total=2; var b2_currs=0; var arrs=new Array(b2_total); var ypsx = false; function counterMainx(iconx, sitex){ if(iconx >= 1 && iconx <= 5){ imgwidth = 90;imgheight=60; } else if(iconx == 6 || iconx == 7){ imgwidth = 90; imgheight=76; } else if(iconx == 9){ imgwidth = 120;imgheight=60; } var Banner_timeout=9000; var isIE4=false; var images = new Array(b2_total); //------------------------ 1. Images ------------------------------------------- arrs[0] = new Array(3); arrs[0][0]="http://www.gebze.org/default.asp?id="+ sitex; arrs[0][1]="http://www.gebze.org/image/uye.gif"; arrs[0][2]="Gebze.Org, en iyi toplist"; images[0] = new Image(); images[0].src = arrs[0][1]; //------------------------ 2. Images ------------------------------------------- arrs[1] = new Array(3); arrs[1][0]="http://www.natro.com/?id=gebze"; arrs[1][1]="http://www.gebze.org/image/natro.gif"; arrs[1][2]="NaTro Web Hosting"; images[1] = new Image(); images[1].src = arrs[1][1]; var shown = 0; if (navigator.userAgent.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.appVersion.substring(0,1) > 3) { isIE4 = true; if(typeof(this.parent.document) == "object") { var doc = this.parent.document; var coll = doc.all.tags("iframe"); for (i=0; i < coll.length; i++){ if(coll(i).src == document.location){ document.write(""); shown = 1; ypsx = true; } } } } if (isjsx==0 && shown != 1) { document.write("Gebze.org") } isjsx = 1; shown = 1; if(iconx < 6 && isIE4){ setInterval("GebzeImage_rotate()",Banner_timeout); } } function haltrotation(){ Banner_halts = 1; } function gorotation(){ Banner_halts = 0; } function GebzeImage_rotate(){ if (Banner_halts!=1 || !ypsx) { b2_currs++; if (b2_currs>b2_total-1) b2_currs=0; document.GebzeImage.src=arrs[b2_currs][1]; document.all("GebzeLink").href=arrs[b2_currs][0]; document.GebzeImage.title=arrs[b2_currs][2]; } } counterMainx(iconx, sitex);
Make your own free website on Tripod.com