document.write('<div id="RefDetay" style="position:absolute; z-index: 2; width: 380px; height: 505px; top: 90px; left: 470px; display: none;">');
document.write('<table id="tblRefDetay" width="380" height="505" border="0" cellpadding="4" cellspacing="0" background="Images/DivBG.jpg">');
document.write('<tr>');
document.write('<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">');
document.write('<tr>');
document.write('<td class="header_home2" align="left"><span id="lblRefAd"></span></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><table width="100%" border="0" cellspacing="0" cellpadding="4" style="border:solid 1px #F0F0F0">');
document.write('<tr>');
document.write('<td><img id="imgRefResim" border="0" width="351" height="311" /></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="text2">');
document.write('<table width="98%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td class="text2" align="left">');
document.write('<span id="lblRefMetin"></span>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="text2" height="35">');
document.write('<table width="98%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td class="text2" align="left">');
document.write('<strong><span id="lblAdres">Adres</span> :</strong>&nbsp;&nbsp;<a id="lnkRefURL" target="_blank" class="text2"></a>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="right"><img id="btnKapat" src="Images/Kapat.jpg" style="cursor: pointer;" onClick="RefGizle();" width="52" height="20">&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');