	var sonuc=' ';
	var genislik,yukseklik;
	var reklamsayi;
	//Reklam text_image ise bunlardan birisi seēilecek
	if (boyut>=1 && boyut<=6) {tur="text";} //Baglanti türünde bir reklamsa illaki text olur zaten
	if (tur=="text_resim")
		{
		tur="text";
		var randomnumber=Math.floor(Math.random()*11);
		if (randomnumber>=8) {tur="resim";}
		}
	if (tur=="text")
	{
		if (boyut==7)	{genislik=728;yukseklik=90;sonuc = '<table cellspacing="0" cellpadding="0"><tr><td style="width:242px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=49&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td><td style="width:242px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=50&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Reklam vermek isteyen</font></b><font style="color: renk_metin; font-size: 8pt;"><br>T&#252;m par&#231;a kont&#246;rc&#252;lerin u&#287;rak yeri <br>kntr.org reklam verebilirsiniz.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td><td style="width:242px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=49&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}
		else if (boyut==8)	{genislik=468;yukseklik=60;sonuc = '<table cellspacing="0" cellpadding="0"><tr><td style="width:234px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=81&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Kont&#246;r para ile kendi</font></b><font style="color: renk_metin; font-size: 8pt;"><br>online &#246;deme sisteminizi kural&#305;m.<br>webmasterlar&#305; kont&#246;rc&#252;lerle bulu&#351;tu<br></font></td><td style="width:234px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=28&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">E&#351;arpte Ekol</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Birbirinden guzel Esarplar<br>Uygun Fiyatlarla mdeniz de.<br></font></td></tr></table>';}
		else if (boyut==9)	{genislik=234;yukseklik=60;sonuc = '<table cellspacing="0" cellpadding="0"><tr><td style="width:230px; cursor:pointer;" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=49&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font></td></tr></table>';}
		else if (boyut==10)	{genislik=120;yukseklik=600;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 120px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=80&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Web Sitesi olanlar</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Haz&#305;rkart &#351;ifrelerinizi nakite <br>cevrilir...<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kontorpara.com</font><br><br></td></tr><td valign="top" style="width: 120px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=78&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">COK UYGUN FIYATLARA ISIM</font></b><font style="color: renk_metin; font-size: 8pt;"><br>VEYA NUMARALI SMSLERINIZI<br>G&#214;NDER&#304;YORUZ.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">HEMEN TIKLAYIN SMS YOLLAYIN...</font><br><br></td></tr><td valign="top" style="width: 120px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=81&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Kont&#246;r para ile kendi</font></b><font style="color: renk_metin; font-size: 8pt;"><br>online &#246;deme sisteminizi kural&#305;m.<br>webmasterlar&#305; kont&#246;rc&#252;lerle bulu&#351;tu<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kontorpara.com</font><br><br></td></tr><td valign="top" style="width: 120px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=34&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Turkcell Avea Vodafone</font></b><font style="color: renk_metin; font-size: 8pt;"><br>H&#305;zl&#305;, G&#252;venilir, 7/24<br>Par&#231;a Kontor Y&#252;kleme Hizmeti<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">www.saglamiletisim.com</font><br><br></td></tr></table>';}			
		else if (boyut==11)	{genislik=160;yukseklik=600;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 160px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=81&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Kont&#246;r para ile kendi</font></b><font style="color: renk_metin; font-size: 8pt;"><br>online &#246;deme sisteminizi kural&#305;m.<br>webmasterlar&#305; kont&#246;rc&#252;lerle bulu&#351;tu<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kontorpara.com</font><br><br></td></tr><td valign="top" style="width: 160px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=28&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">E&#351;arpte Ekol</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Birbirinden guzel Esarplar<br>Uygun Fiyatlarla mdeniz de.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">www.mdenizesarp.com</font><br><br></td></tr><td valign="top" style="width: 160px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=50&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Reklam vermek isteyen</font></b><font style="color: renk_metin; font-size: 8pt;"><br>T&#252;m par&#231;a kont&#246;rc&#252;lerin u&#287;rak yeri <br>kntr.org reklam verebilirsiniz.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr><td valign="top" style="width: 160px; height:146px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=2&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}
		else if (boyut==12)	{genislik=120;yukseklik=240;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 120px; height:108px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=29&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Toptan kont&#246;rde Žok fiyat</font></b><font style="color: renk_metin; font-size: 8pt;"><br>7/24 online yukleme<br>Toptan Par&#231;a kontorde Žok fiyat.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">uygun birim fiyatlar...</font><br><br></td></tr><td valign="top" style="width: 120px; height:108px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=2&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}			
		else if (boyut==13)	{genislik=336;yukseklik=280;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 336px; height:86px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=29&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Toptan kont&#246;rde Žok fiyat</font></b><font style="color: renk_metin; font-size: 8pt;"><br>7/24 online yukleme<br>Toptan Par&#231;a kontorde Žok fiyat.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">uygun birim fiyatlar...</font><br><br></td></tr><td valign="top" style="width: 336px; height:86px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=50&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Reklam vermek isteyen</font></b><font style="color: renk_metin; font-size: 8pt;"><br>T&#252;m par&#231;a kont&#246;rc&#252;lerin u&#287;rak yeri <br>kntr.org reklam verebilirsiniz.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr><td valign="top" style="width: 336px; height:86px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=49&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}
		else if (boyut==14)	{genislik=300;yukseklik=250;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 300px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=29&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">Toptan kont&#246;rde Žok fiyat</font></b><font style="color: renk_metin; font-size: 8pt;"><br>7/24 online yukleme<br>Toptan Par&#231;a kontorde Žok fiyat.<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">uygun birim fiyatlar...</font><br><br></td></tr><td valign="top" style="width: 300px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=17&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">HIZLI 724 PAR&#199;A KONT&#214;R</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Turkcell  Avea  Vodafone Kont&#246;r<br>Uygun, G&#252;venilir, H&#305;zl&#305; Kont&#246;rler<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.siberkontor.com</font><br><br></td></tr></table>';}			
		else if (boyut==15)	{genislik=250;yukseklik=250;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 250px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=2&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr><td valign="top" style="width: 250px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=49&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}
		else if (boyut==16)	{genislik=245;yukseklik=200;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 245px; height:200px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=2&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr><td valign="top" style="width: 245px; height:200px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=17&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">HIZLI 724 PAR&#199;A KONT&#214;R</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Turkcell  Avea  Vodafone Kont&#246;r<br>Uygun, G&#252;venilir, H&#305;zl&#305; Kont&#246;rler<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.siberkontor.com</font><br><br></td></tr></table>';}			
		else if (boyut==17)	{genislik=180;yukseklik=150;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 180px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=17&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">HIZLI 724 PAR&#199;A KONT&#214;R</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Turkcell  Avea  Vodafone Kont&#246;r<br>Uygun, G&#252;venilir, H&#305;zl&#305; Kont&#246;rler<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.siberkontor.com</font><br><br></td></tr></table>';}
		else if (boyut==18)	{genislik=125;yukseklik=125;sonuc = '<table  cellspacing="0" cellpadding="0"><td valign="top" style="width: 125px; height:110px; cursor:pointer;"  onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=2&yid=_yayinci_\';"><b><font style="color: renk_baslik; font-size: 10pt;">En &#304;yi ve En G&#252;venli</font></b><font style="color: renk_metin; font-size: 8pt;"><br>Par&#231;a Kont&#246;r Sistemi Hemen aray&#305;n!<br>bilgi i&#231;in 0216 425 56 68 bekliyorz<br></font><font style="color: renk_url;  font-size: 8pt; font-weight:bold; text-decoration: underline;">http://www.kntr.org</font><br><br></td></tr></table>';}
        sonuc = sonuc.replace(/renk_baslik/g,renk_baslik); /*sonuc = sonuc.replace("renk_baslik",renk_baslik); seklinde kullaninca sadec bir tane yapar*/
        sonuc = sonuc.replace(/renk_metin/g,renk_metin);
        sonuc = sonuc.replace(/renk_url/g,renk_url);
        sonuc = sonuc.replace(/_yayinci_/g,yayinci);
        document.write ('<div style="overflow: hidden; height: ' + yukseklik+ 'px; width: ' +genislik+ 'px; border-color: ' + renk_sinir +'; border-width: 1px; border-style: solid;">');
        document.write ('<table height="' + yukseklik + '" width="' +genislik+ '" style="background-color:' + renk_arka +';" cellspacing="0" cellpadding="0">');
        document.write ('<tr><td valign="top" height="' +(yukseklik-14)+'" style="font:Geneva, Arial, Helvetica, sans-serif; font-size:12px;padding-left:3px; padding-top:1px;">');
        document.write (sonuc);
        document.write ('</td></tr>');
        document.write ('<tr><td height="15" style="font:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; color:#FFFFFF" align="right"><a href="http://www.kntr.org/reklam/"></a></td></tr>');  
        document.write ('</table></div>');         
	}
	else if (tur=='resim')
	{
		if (boyut==7) 	sonuc = '<div style="overflow: hidden; height: 90px; width: 728px; border-width: 1px;"><img style="cursor:pointer;" src="http://www.kntr.org/reklam/reklam/68_7.jpg" width="728" height="90" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=68&yid=_yayinci_\';"></div>';
		if (boyut==8) 	sonuc = '<div style="overflow: hidden; height: 60px; width: 468px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_8.jpg" width="468" height="60" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==9) 	sonuc = '<div style="overflow: hidden; height: 60px; width: 234px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_9.jpg" width="234" height="60" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==10) sonuc = '<div style="overflow: hidden; height: 600px; width: 120px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_10.jpg" width="120" height="600" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==11) sonuc = '<div style="overflow: hidden; height: 600px; width: 160px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_11.jpg" width="160" height="600" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==12) sonuc = '<div style="overflow: hidden; height: 240px; width: 120px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_12.jpg" width="120" height="240" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==13) sonuc = '<div style="overflow: hidden; height: 280px; width: 336px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_13.jpg" width="336" height="280" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==14) sonuc = '<div style="overflow: hidden; height: 250px; width: 300px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_14.jpg" width="300" height="250" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==15) sonuc = '<div style="overflow: hidden; height: 250px; width: 250px; border-width: 1px;"><img style="cursor:pointer;" src="http://www.kntr.org/reklam/reklam/84_15.jpg" width="250" height="250" onclick="document.location.href=\'http://www.kntr.org/reklam/click.php?rid=84&yid=_yayinci_\';"></div>';
		if (boyut==16) sonuc = '<div style="overflow: hidden; height: 200px; width: 200px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_16.jpg" width="200" height="200" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==17) sonuc = '<div style="overflow: hidden; height: 150px; width: 180px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_17.jpg" width="180" height="150" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
		if (boyut==18) sonuc = '<div style="overflow: hidden; height: 125px; width: 125px; border-width: 1px;"><img style="cursor:pointer;"  src="http://www.kntr.org/reklam/reklam/ab_18.jpg" width="125" height="125" onclick="location.href=\'http://www.kntr.org/reklam/\';"></div>';
        sonuc = sonuc.replace(/_yayinci_/g,yayinci);		
		document.write(sonuc);
	}

