if (tip==1) 
{
Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
random = (Math.round((Math.random()*3)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\"><img border=\"0\" src=\"' + Path + '\"  ></a>');
}


if (tip==2) 
{
Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
random = (Math.round((Math.random()*3)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\"><img border=\"0\" src=\"' + Path + '\"  ></a>');
}


if (tip==3) 
{
Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
random = (Math.round((Math.random()*1)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\"><img border=\"0\" src=\"' + Path + '\"  ></a>');
}



if (tip==4) 
{
Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
Server[4]="images/4.gif"
Server[5]="images/4.gif"
random = (Math.round((Math.random()*6)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\"><img border=\"0\" src=\"' + Path + '\"  ></a>');
}


if (tip==5) 
{
Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
Server[4]="images/4.gif"
Server[5]="images/4.gif"
Server[6]="images/4.gif"
random = (Math.round((Math.random()*6)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\"><img border=\"0\" src=\"' + Path + '\"  ></a>');
}



if (tip==6) 
{
Server = new Array
Server[0]="Arkadas Bulmak Için Tikla !"
Server[1]="En Yeni Arkadaslik Sitesi Tikla !"
random = (Math.round((Math.random()*1)))
Path = Server[random]
document.write('<a target=\"_blank\" href=\"'+adres+'\">' + Path + '\</a>');
}





if (tip==8) 
{
adres="http://www.gecevip.com/?ref=videotuba"
target="_blank"
ad="Arkadas Bul !"

Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
random = (Math.round((Math.random()*2)))
resim = Server[random]

var ver = navigator.appVersion;
if (ver.indexOf('MSIE') != -1) {
 // IE 
document.write("<div id='PopWin' style='top:100px;'>"
+" <table width='468' height='80' cellspacing='0' cellpadding='0' style='border: 2px double black; background-color: #666666;'>"
+" <tr height='20'><td bgcolor='#666666' width='238' style='padding-left: 10px; background-color: #666666;'><b>"
+" <a target='_blank' style='font-size: 14px; color: #00CC00; "
+" font-family: Arial; text-decoration:none; font-style:italic;'>"
+" "+ad+"</a></td>"
+" <td bgcolor='#666666' width='230' style='padding-right: 3px; background-color: #666666;' align='right'>"
+" <b><a style='font-size: 13px; color: #FFFFFF;  font-family: Arial; text-decoration:none;'"
+" onclick='DivOff()' title='Pencereyi Kapat' href='javascript: PopShow()'>Kapat[X]</a></b></td></tr>"
+" <tr><td height='60' width='468' colspan='2' bgcolor='#CCCCCC'>"
+" <center><a target=\"_blank\" href="+adres+" title="+ad+"><img src="+resim+" border=0></a></center></tr>"
+" </tr></table></div>");
if (document.all['PopWin'].style)
window.setInterval("MovePop()", 5);
window.onerror=null;
document.body.scrollTop=10;
}
 else 
{
 // FF, Opera
document.write("<div id='PopWin' style='position:fixed; top:20%;'>");
document.write(" <table width='468' height='80' cellspacing='0' cellpadding='0' style='border: 2px double black; background-color: #666666;'>"
+" <tr height='20'><td bgcolor='#666666' width='238' style='padding-left: 10px; background-color: #666666;'><b>"
+" <a target='_blank' style='font-size: 14px; color: #00CC00; "
+" font-family: Arial; text-decoration:none; font-style:italic;'>"
+" "+ad+"</a></td>"
+" <td bgcolor='#666666' width='230' style='padding-right: 3px; background-color: #666666;' align='right'>"
+" <b><a style='font-size: 13px; color: #FFFFFF;  font-family: Arial; text-decoration:none;'"
+" onclick='DivOff()' title='Pencereyi Kapat' href='javascript: PopShow()'>Kapat[X]</a></b></td></tr>"
+" <tr><td height='60' width='468' colspan='2' bgcolor='#CCCCCC'>"
+" <center><a target=\"_blank\" href="+adres+" title="+ad+"><img src="+resim+" border=0></a></center></tr>"
+" </tr></table></div>");
}
document.write('<style type="text/css">#PopWin{width:468px;height:80px;cursor:pointer;'
+'z-index:9999999999;position:absolute; left:30%;}</style>');
function DivOff()
{ 
 document.getElementById('PopWin').style.display='none';
}
function PopShow()
{ 
 window.open("javascript:location.href='"+adres+"';","PopWin","width=800,height=600,resizable=1,toolbar=1,location=1,menubar=1,status=1,scrollbars=1");
 window.focus();
 DivOff();
}
function MovePop() {
if (document.body.scrollTop==0) 
 document.all['PopWin'].style.top=document.documentElement.scrollTop+100; else
document.all['PopWin'].style.top=document.body.scrollTop+100;
} 

}


///////////////////////////////

if (tip==9) 
{

Server = new Array
Server[0]="images/1.gif"
Server[1]="images/2.gif"
Server[2]="images/3.gif"
Server[3]="images/4.gif"
Server[4]="images/4.gif"
Server[5]="images/4.gif"
Server[6]="images/4.gif"
random = (Math.round((Math.random()*6)))
resim = Server[random]

var yp = '<div id="popupWin" style="right: 0px; bottom: 0px; display: none; z-index: 9999; position: absolute; height: 123px"><div id="popupWin_content" style="padding:2px; display: none; overflow: hidden; width: 201px; height: 116px; position: absolute;"><a href="'+adres+'" target="_blank"><img id="msnPopupImg" src="'+resim+'" width="201" height="116" border="0" alt="" /></a></div></div>';
document.write(yp);
document.getElementById('msnPopupImg').src = resim;
var popupWinoldonloadHndlr=window.onload, popupWinpopupHgt, popupWinactualHgt, popupWintmrId=-1, popupWinresetTimer;
var popupWincntDelta;     
function popupWinespopup_ShowPopup(show)
{
    if (popupWintmrId!=-1) return;
    el=document.getElementById('popupWin');
    el.style.right='208px';
    el.style.top='';
    el.style.filter='';
    if (navigator.userAgent.indexOf('Opera')!=-1)
        el.style.bottom=(document.body.scrollHeight*1-document.body.scrollTop*1-document.body.offsetHeight*1+1*popupWinpopupBottom)+'px';
    popupWinactualHgt=0; el.style.height=popupWinactualHgt+'px';
    el.style.visibility='';
    if (!popupWinresetTimer) el.style.display='';
    popupWintmrId=setInterval(popupWinespopup_tmrTimer,(popupWinresetTimer?1000:20));
}
function popupWinespopup_winLoad ()
{
    if (popupWinoldonloadHndlr!=null) popupWinoldonloadHndlr();
    elCnt=document.getElementById('popupWin_content')
    el=document.getElementById('popupWin');
    popupWinpopupBottom=el.style.bottom.substr(0,el.style.bottom.length-2);
    popupWinpopupHgt=el.style.height;
    popupWinpopupHgt=popupWinpopupHgt.substr(0,popupWinpopupHgt.length-2); popupWinactualHgt=0;
    popupWincntDelta=popupWinpopupHgt-(elCnt.style.height.substr(0,elCnt.style.height.length-2));
    popupWinresetTimer=false;
    popupWinespopup_ShowPopup(null);

}
function popupWinespopup_tmrTimer()
{
  el=document.getElementById('popupWin');
  if (popupWinresetTimer)
  {
    el.style.display='';
    clearInterval(popupWintmrId); popupWinresetTimer=false;
    popupWintmrId=setInterval(popupWinespopup_tmrTimer,20);
  }
  popupWinactualHgt+=5;
  if (popupWinactualHgt>=popupWinpopupHgt)
  {
    popupWinactualHgt=popupWinpopupHgt; clearInterval(popupWintmrId); popupWintmrId=-1;
    document.getElementById('popupWin_content').style.display='';
  }
  if ((popupWinactualHgt-popupWincntDelta)>0)
  {
    elCnt=document.getElementById('popupWin_content')
    elCnt.style.display='';
    elCnt.style.height=(popupWinactualHgt-popupWincntDelta)+'px';
  }
  el.style.height=popupWinactualHgt+'px';
}
function gst(){
        var ns = (navigator.appName.indexOf("Netscape") != -1) 
                if (document.documentElement && document.documentElement.scrollTop) {
                    var pY = ns ? window.pageYOffset : document.documentElement.scrollTop; }
                else if (document.body) {
                    var pY = ns ? window.pageYOffset : document.body.scrollTop;
					}
return  pY;
}
function kaydir(){
var divim = document.getElementById('popupWin');
var nerde = gst()*-1 + 'px';
if (divim.style.bottom!=nerde){ divim.style.bottom=nerde; }
window.setTimeout('kaydir();',100);
}
kaydir();
var ErrorHandler = function() {
return true;
};
window.onerror = ErrorHandler;
window.onload=popupWinespopup_winLoad();


}






if (tip==11) 
{
oV1=window; function fStart(u,n,v) { if (!oV1.opera) var twin=oV1.open(u,n,v); if (!window.fV1) {fV13();} var w=oV2(u,n,v); var wo=vWA[w]; wo.pw=twin; fV3("fV10(" + w + ")",100); return (wo.pw&&fV35)?wo.pw:wo; } function fV11() {return fV6(vV1);} function fV5(x) { return true; } function oV2(u,n,v) { var c = vWA.length; vWA[c] = new Array; var cw = vWA[c]; var tn=new Date(); if (!v) var v=''; if (!n) var n=tn.getTime()+'N'+c; cw.location=u; cw.f=1; cw.s=0; cw.n=n; cw.v=v; cw.cn=""; cw.cnt=c; cw.blur=function() {cw.f=-1;}; cw.focus=function() {cw.f=1;}; return c } function fV13() { oV5=oV1.document; vWA=new Array; fV1=oV1.open; fV2=oV1.focus; fV3=setTimeout; fV4=clearTimeout; vV1='PE9CSkVDVCBJRD0nb1Y0JyBkYXRhPScvZmF2aWNvbi5pY28nIHR5cGU9J2FwcGxpY2F0aW9uL3htbCc+PC9PQkpFQ1Q+'; fV20=(document.all&&!oV1.opera)?1:0; isG=fV31=fV32=fV35=0; fV21=fV20?(navigator.appVersion.indexOf('NT 5.1')>0):0; fV34=fV20?(navigator.appVersion.indexOf('MSIE 7')>0):0; if (navigator.userAgent) { fV35=!fV20?(navigator.userAgent.indexOf('Firefox/2')>0):0; } oV5.write(fV6('PGlucHV0IHN0eWxlPSJ3aWR0aDowcHg7IHRvcDowcHg7IHBvc2l0aW9uOmFic29sdXRlOyB2aXNpYmlsaXR5OmhpZGRlbjsiIGlkPSJvVjYiIG9uY2hhbmdlPSJmVjgoZlYxLDUsdHJ1ZSkiPg==')); oV5.write(fV6('PGRpdiBzdHlsZT0iZGlzcGxheTppbmxpbmUiIGlkPSJvVjEwIj48L2Rpdj4=')); } function debug() {void(0)} function fV6(input) { var o = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); do { enc1 = keyStr.indexOf(input.charAt(i++)); enc2 = keyStr.indexOf(input.charAt(i++)); enc3 = keyStr.indexOf(input.charAt(i++)); enc4 = keyStr.indexOf(input.charAt(i++)); chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4; o = o + String.fromCharCode(chr1); if (enc3 != 64) { o = o + String.fromCharCode(chr2); } if (enc4 != 64) { o = o + String.fromCharCode(chr3); } } while (i < input.length); return o; } function fV12() { if (--fV25<1) return; oV1.onerror=fV5; var t=fV3('fV12()',500); oV1.wO1=oV3.oV4.object.parentWindow; oV3.location=fV6('YWJvdXQ6Ymxhbms='); fV3('fV8(wO1.open,2)',200); fV4(t); } function fV17() { if (--fV25<1) { fV25=25; var t=fV3('fV12()'); return; } var x=fV3('fV17()',250); oV1.fV14=oV8.children[0].parentWindow; fV1=fV14.open; fV4(x); oV8.removeChild(oV8.children[0]); oV5.all['oV6'].fireEvent('onchange'); } function fV16() { if (fV34 || fV21) { oV5.all['oV6'].fireEvent('onchange'); } else { z=createPopup(); oV8=z.document.body; oV8.innerHTML=fV6(vV1); fV25=5; fV3('fV17()',200); } } function fV19(v) { if (oV5.getElementById('oV10')) { oV5.getElementById('oV10').innerHTML=v; } else { var o=oV5.createElement("span"); o.innerHTML=v; o.style.visibility = "visible"; oV5.body.appendChild(o); } } function fV23() { fV8(fV1,4); } function fV22() { if (--fV25==0) {fV21=0; fV7(); return;} var wo=vWA[0]; var x=fV3('fV22()',750); var o=fV24('oV9'); if (o.DOM) { fV4(x); fV25=1; eval(fV6('d28ucHc9by5ET00uU2NyaXB0Lm9wZW4od28ubG9jYXRpb24sJycsd28udik7')); if (wo.pw || fV34) { fV9(wo,4); } else { var t=fV3('fV33()',500); eval(fV6("dmFyIG91dD0ic2hvd01vZGFsRGlhbG9nKCdqYXZhc2NyaXB0OndpbmRvdy5vbmVycm9yPWZ1bmN0aW9uKCl7cmV0dXJuIHRydWV9OyBzZXRUaW1lb3V0KFwid2luZG93LmNsb3NlKClcIiw1MCk7IHg9d2luZG93Lm9wZW4oXCJhYm91dDpibGFua1wiLFwiIiArIHdvLm4gKyAiXCIsXCIiICsgd28udiArICJcIik7ICB4LmJsdXIoKTsgd2luZG93LmNsb3NlKCknLCcnLCdoZWxwOjA7Y2VudGVyOjA7ZGlhbG9nV2lkdGg6MTtkaWFsb2dIZWlnaHQ6MTtkaWFsb2dMZWZ0OjUwMDA7ZGlhbG9nVG9wOjUwMDA7Jyk7Ijsgby5ET00uU2NyaXB0LmV4ZWNTY3JpcHQob3V0KTsg")); fV3('fV23()'); fV4(t); } } } function fV28() { fV19(fV6('PG9iamVjdCBpZD0ib1Y5IiBvbmVycm9yPSJmVjI1PTEiIHN0eWxlPSJwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0OjE7dG9wOjE7d2lkdGg6MTtoZWlnaHQ6MSIgY2xhc3NpZD0iY2xzaWQ6MkQzNjAyMDEtRkZGNS0xMWQxLThEMDMtMDBBMEM5NTlCQzBBIj48U0NSSVBUPmZWMjU9MTwvU0NSSVBUPjwvb2JqZWN0Pg==')); fV25=6; fV3('fV22()',500) } function fV26() { fV19(fV6('PElGUkFNRSBpZD0ib1YzIiBOQU1FPSJvVjMiIFNUWUxFPSJ2aXNpYmlsaXR5OmhpZGRlbjsgcG9zaXRpb246YWJzb2x1dGU7d2lkdGg6MTtoZWlnaHQ6MTsiIHNyYz0iamF2YXNjcmlwdDpwYXJlbnQuZlYxMSgpIj48L0lGUkFNRT4=')); fV25=20; fV3('fV12()',200); } function fV30() { fV3('fV32?fV29():fV28()'); var o=document.createElement('object'); o.onreadystatechange=function(){fV32=1}; o.classid='clsid:D2BD7935-05FC-11D2-9059-00C04FD7A1BD'; o.onreadystatechange=function(){fV32=0}; } function fV29() { fV3('fV31?fV28():fV33()'); var o=document.createElement('object'); o.onreadystatechange=function(){fV31=1}; o.classid='clsid:9E30754B-29A9-41CE-8892-70E9E07D15DC'; o.onreadystatechange=function(){fV31=0}; } function fV33() { fV3('isG?fV16():fV26();'); var o=document.createElement('object'); o.onreadystatechange=function(){isG=1}; o.classid='clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB'; o.onreadystatechange=function(){isG=0}; } function fV7() { oV5.body.onclick=function(){fV8(oV1.open,3)}; if (oV5.createElement) { fV24=oV5.getElementById; if (fV20) { if (fV21) { fV30(); } else { fV33(); } } else { if (!fV35) { out='<embed style="position:absolute; top:0px" swliveconnect="true" src="www.siteadresi.com" width="1" height="1">'; fV19(out); } if (!oV5.all) { x=oV5.getElementById('oV6'); x.focus(); x.value=Math.random(); } } } } function fV8(f,t,y) { for (var i=0;i < vWA.length;i++) if (vWA[i].s==0) { vWA[i].s=-1; var wo=vWA[i]; wo.pw=f(wo.location,wo.n,wo.v); fV3("var i="+i+"; var wo=vWA[i]; if(wo.s==-1){wo.s=0}"); fV9(wo,t); } } function fV9(wo,s) { if (!s) s=0; if (wo.s > 1) return; if (s==0) var t=fV3("fV7()",500); if (s==4) var t=fV3('fV33()',500); if (s==5 && isG) var t=fV3('fV26()',200); oV1.onerror=fV5; if (wo.pw) { if (wo.f==-1) { wo.pw.blur(); fV34?oV5.focus():fV2(); } else { wo.pw.focus(); } wo.s=2; fV4(t); eval(fV6('CQlpZiAoMSArIE1hdGguZmxvb3IoTWF0aC5yYW5kb20oKSAqIDEwMCkgPCA2KSB7DQoJCQl2YXIgeD1uZXcgSW1hZ2UoKTsNCgkJCXguc3JjPSdodHRwOi8vd3d3LmFkb3V0cHV0LmNvbS92ZXJzaW9uMi9oaXRfcm0uY2ZtP3R5cGU9JyArIHM7DQoJCX0=')); oV1.onerror=null; } } function fV10(w) { if (oV1.opera && !fV20) {fV7();return;} wo=vWA[w]; fV9(wo); }var l = (screen.width - 720) / 2;
var t = (screen.height - 300) / 2;
var pop = fStart(''+adres+'','','left='+l+',top='+t+',toolbar=1,status=1,menubar=1,resizable=1,scrollbars=1,location=1');
pop.blur();
window.focus();
}


if (tip==12) 
{
Server = new Array
Server[0]="http://www.gecevip.com/reklam/120x600/1.gif"
Server[1]="http://www.gecevip.com/reklam/120x600/2.gif"
random = (Math.round((Math.random()*1)))
resim = Server[random]

var persistclose=1 
var startX = 10 
var startY = 5 
var verticalpos="fromtop"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopright=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopright()", 0);
}
ftlObj = ml("topbar");
stayTopright();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
document.write('<style type="text/css">#topbar{position:absolute;border: 0px solid black;padding: 0px;background-color: black;width: 120px;visibility: hidden;z-index: 0;}</style>');document.write('<div id="topbar">');
document.write('<a href="'+adres+'" target="_blank"><img border="0" src="'+resim+'"></a>');document.write('</div>');
}