function Purauifla(Fid,w,t){
  m = 0, x = 0, y = 0;
  ad  = new Array();
  adv = new Array();
  hit = new Array();

  hit[0] = 1; adv[0] = '<img src="http://dl.asg.to/ad/blogadcm.jpg"  border="0" />';
  hit[1] = 1; adv[1] = '<img src="http://dl.asg.to/ad/blogadcm.jpg"  border="0" />';
  hit[2] = 1; adv[2] = '<img src="http://dl.asg.to/ad/blogadcm.jpg"  border="0" />';
  hit[3] = 1; adv[3] = '<img src="http://dl.asg.to/ad/blogadcm.jpg"  border="0" />';
  hit[4] = 1; adv[4] = '<img src="http://dl.asg.to/ad/blogadcm.jpg"  border="0" />';

  for(i=0; i<=hit.length - 1; i++) {
    m += hit[i];
  }
  n = Math.floor(Math.random() * m);
  n++;
  for(i=0; i<=hit.length - 1; i++) {
    x = y;
    y += hit[i];
    if(x<n && n<=y) ad = adv[i];
  }
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
        + 'width="'+ w +'" height="'+ t +'"'
        + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
        + '<param name="movie" value="http://asg.to/past_uraui.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />'
        + '<param name="FlashVars" value = "'+ Fid +'" /><param name="allowScriptAccess" value = "always" />'
        + '<embed src="http://asg.to/past_uraui.swf" FlashVars="'+ Fid +'" quality="high" bgcolor="#000000" '
        + 'width="'+ w +'" height="'+ t +'" name="movie" aligh="middle"'
        + 'play="true"'
        + 'loop="false"'
        + 'quality="high"'
        + 'allowScriptAccess="always"'
        + 'type="application/x-shockwave-flash"'
        + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
        + '<\/embed>'
        + '<\/object>'
		+ ad;
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
}

function _Purauifla(Fid,w,t){
    var oeTags = '<table width="'+w+'" height="'+t+'" valign="middle"><tr><td align="center"><a href="/" target="_blank">Now Maintenance...</a></td></tr></table>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
}


function viewclient(url){
	window.focus();
	(window.open(url,'adurl')).blur();
}

