function rand_adv(){
   document.write('<sc'+'ript language="javascript" type="text/javascript" src="http://dai.co.jp/phpAdsNew/adx.js"></script>');
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   var cid = Math.round(Math.random())+2;
   document.write ("<div style='text-align:center;margin:5px;'>");
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://dai.co.jp/adjs.php?n=" + phpAds_random);
   document.write ("&amp;clientid="+cid);
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
   document.write ("</div>");
}