function PRtime () {
document.write('<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">');
document.write('<tr>');
document.write('<td><img src="http://www.yu-jyo.com/images/space.gif" width="2" height="200"></td>');
document.write('<td width="776" align="center" bgcolor="#000000"><iframe src="http://jp.vctp.com/video_banner/dti_ad_01.html" frameborder="0" width="750" height="200" scrolling="no"></iframe></td>');
document.write('<td><img src="http://www.yu-jyo.com/images/space.gif" width="2" height="200"></td>');
document.write('</tr>');
document.write('</table>');
}

function genpr() {
var pvw = document.getElementById('prview');
pvw.innerHTML = '<iframe src="http://jp.vctp.com/video_banner/dti_ad_01.html" frameborder="0" width="750" height="200" scrolling="no"></iframe>';
}

function gendx () {
document.write('<a href="http://www.dxlive-online.com/" target="_blank"><img src="images/prdxlive.jpg" width="213" height="74" border="0"></a>');
}

function setTopTen () {
for (var i=0; i<9; i++) {
document.write('<div class="toptenthumb">');
if(!online_performers.getPerformer(rankedPerformers[i])){
document.write('<img src="http://www.yu-jyo.com/images/icons/offline.gif"><br>');
}
else if (private_performers.getPerformer(rankedPerformers[i])) {
document.write('<img src="http://www.yu-jyo.com/images/icons/icon_private.gif"><br>');
}
else if (public_performers.getPerformer(rankedPerformers[i])) {
document.write('<img src="http://www.yu-jyo.com/images/icons/icon_public.gif"><br>');
}
else if (free_performers.getPerformer(rankedPerformers[i])) {
document.write('<img src="http://www.yu-jyo.com/images/icons/icon_free.gif"><br>');
}
document.write('<a href="javascript:void(0);" onClick="openAppWindow(\'previewpro.shtml?'+rankedPerformers[i]+'\',\'FreeView\',712,533);return false"><img src="http://aff-images.dxlive.com/WebArchive/'+rankedPerformers[i]+'/vctp/LinkedImage.jpg" width="120" height="90" alt="'+rankedPerformers[i]+'" border="0"></a><br>'+rankedPerformers[i]+'</div>');
}
}

function mailnum() {
if(mail_number > 0) {
document.write('<a href="http://aff-jp.dxlive.com/mailbox" target="_blank">'+mail_number+'<img src="../images/icons/icon_new.gif" border="0"></a>');
}
else {
document.write('0');
}
}

function enent() {
document.write('<a href="http://click.dtiserv2.com/Click2/1-354-101992" target="_blank">');
document.write('<img src="http://www.yu-jyo.com/images/btn_enter.jpg" width="215" height="55" border="0">');
document.write('</a>');
document.write('<br>');
document.write('<a href="http://click.dtiserv2.com/Click2/1-354-101992" target="_blank">');
document.write('English Enter');
document.write('</a>');
}

function hogosya() {
document.write('<a href="http://www.d2pass.com/hogosha" target="_blank">');
document.write('<img src="http://www.yu-jyo.com/images/hogosya.gif" width="200" height="25" border="0">');
document.write('</a>');
}

function vctp() {
document.write('<a href="http://affiliate.vctp.com/" target="_blank">');
document.write('<img src="http://www.yu-jyo.com/images/vcaf333x25_2.gif" width="333" height="25" border="0">');
document.write('</a>');
}

function usc() {
document.write('<a href="http://www.yu-jyo.com/usc2257.html" target="_blank">');
document.write('Compliance with 18 U.S.C. 2257');
document.write('</a>');
}

function comp() {
document.write('<iframe src="http://www.yu-jyo.com/comp.html" width="500" height="60"></iframe>');
}

function sys() {
document.write('<img src="http://www.yu-jyo.com/images/sys.jpg" width="310" height="16" border="0">');
}

function power() {
document.write('<a href="http://jp.dxlive.com/" target="_blank">');
document.write('<img src="http://www.yu-jyo.com/images/power.jpg" width="310" height="16" border="0">');
document.write('</a>');
}

function copyright() {
document.write('Copyright(C) 2004-2010 DTI Services Inc.');
}

function writeFlash( swf , width , height )
{
  var html = ""
  html+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
  html+="        codebase='http://download.macromedia.com/pub/shockwave/"
                    html+="cabs/flash/swflash.cab'"
  html+="        width   = " + width
  html+="        height  = " + height + ">"
  html+="<param  name    = movie value=" + swf + ">"
  html+="<param  name    = quality value=high>"
  html+="<embed  src     = " + swf + " "
  html+="        quality = high  "
  html+="        width   = "+ width
  html+="        height  = " + height
  html+="        type    = 'application/x-shockwave-flash' "
  html+="        pluginspage='http://www.macromedia.com/go/getflashplayer'>"
  html+="</embed>"
  html+="</object>"
  
  document.write(html)
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}