function writeMail (login, serv, subj, addons)
{
if (!subj) subj='';
var string='<nobr><a href="mailto:'+login+'@'+serv+'?subject='+subj+'" '+addons+' class=mail>'+login+'@'+serv+'</a></nobr>';
document.write (string);
}

function random_content(){
var mycontent=new Array()
mycontent[1]='_'
var ry=Math.floor(Math.random()*mycontent.length)
if (ry==0)
ry=1
document.write(mycontent[ry])
}

function random_content2(){
var mycontent=new Array()
mycontent[1]='_'
var ry=Math.floor(Math.random()*mycontent.length)
if (ry==0)
ry=1
document.write(mycontent[ry])
}



function random_content3(){
var mycontent=new Array()
mycontent[1]='<table align="center" border="1" cellspacing="0" cellpadding="0" class="main_top_block">  <tr> <td colspan="4" class="main_top_block1">Смотрите в других разделах</td>   </tr><tr>  <td class="main_top_block2"><img src="http://www.supermart.com.ua/images/main_top_block/troyana-poo.jpg" alt="Белорусские двери" title="Белорусские двери" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/premiere-po.jpg" alt="Белорусские двери" title="Белорусские двери" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/art-s-po.jpg" alt="Белорусские двери" title="Белорусские двери" width="29" height="70" border="0" class="item_photo" /> </td>    <td class="main_top_block2"><img src="http://www.supermart.com.ua/images/main_top_block/dveri-glazgo-venge.jpg" alt="Двери Глазго" title="Двери Глазго" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/dveri-glazgo-venge-1.jpg" alt="Двери Глазго" title="Двери Глазго" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/dveri-glazgo-venge-pg.jpg" alt="Двери Глазго" title="Двери Глазго" width="29" height="70" border="0" class="item_photo" /></td>  <td class="main_top_block2"><img src="http://www.supermart.com.ua/images/main_top_block/dveri-genri-14-venge-po.jpg" alt="Двери ТЕРМИНУС" title="Двери ТЕРМИНУС" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/dveri-verona-dub-po.jpg" alt="Двери ТЕРМИНУС" title="Двери ТЕРМИНУС" width="29" height="70" border="0" class="item_photo" /> <img src="http://www.supermart.com.ua/images/main_top_block/dveri-delta-venge-po.jpg" alt="Двери ТЕРМИНУС" title="Двери ТЕРМИНУС" width="29" height="70" border="0" class="item_photo" /> </td><td class="main_top_block2"><img src="http://www.supermart.com.ua/images/main_top_block/nestandartnie_dveri.jpg" alt="Двери нестандартных размеров" title="Двери нестандартных размеров" width="115" height="51" border="0" /> </td></tr> <tr>  <td class="main_top_block3"><script type="text/javascript"><!--google_ad_client = "ca-pub-7853933690189092";/* smart smart top_block 234x60 */google_ad_slot = "1262680847";google_ad_width = 234;google_ad_height = 60;//-->  </script>      <script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">    </script></td>  <td class="main_top_block3"><script type="text/javascript"><!--google_ad_client = "ca-pub-7853933690189092";/* smart smart top_block 234x60 */google_ad_slot = "1262680847";google_ad_width = 234;google_ad_height = 60;//-->  </script>      <script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">    </script></td>  <td class="main_top_block3"><script type="text/javascript"><!--google_ad_client = "ca-pub-7853933690189092";/* smart smart top_block 234x60 */google_ad_slot = "1262680847";google_ad_width = 234;google_ad_height = 60;//--></script>    <script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">  </script></td>  <td class="main_top_block3"><script type="text/javascript"><!--google_ad_client = "ca-pub-7853933690189092";/* smart smart top_block 234x60 */google_ad_slot = "1262680847";google_ad_width = 234;google_ad_height = 60;//-->  </script>      <script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">    </script></td></tr><tr>  <td class="main_top_block4">Скидки до 10% </td>        <td class="main_top_block4">Скидки до 10% </td>  <td class="main_top_block4">РЕКОМЕНДУЕМ!</td><td class="main_top_block4">под заказ </td></tr></table>'

var ry=Math.floor(Math.random()*mycontent.length)
if (ry==0)
ry=1
document.write(mycontent[ry])
}
