var PeeVeeObject = function(contenturl, usernumber, contentnumber, playsecond)
{
  this.contenturl = contenturl;
  this.usernumber = usernumber;
  this.contentnumber = contentnumber;
  this.playsecond = playsecond;
}

var PVO = PeeVeeObject.prototype;

PVO.write = function()
{
  document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="320" height="286" id="pluginplayer" align="middle">');
  document.write('<param name="allowScriptAccess" value="sameDomain" />');
  document.write('<param name="movie" value="http://dogalog.excite.co.jp/pluginplayer.swf?video_id='+this.contenturl+'&l='+this.playsecond+'&u=dogalog.excite.co.jp/viewvideo.jspx?Movie='+this.contenturl+'" />');
  document.write('<param name="quality" value="high" />');
  document.write('<param name="bgcolor" value="#cccccc" />');
  document.write('<param name="wmode" value="transparent" />');
  document.write('<embed src="http://dogalog.excite.co.jp/pluginplayer.swf?video_id='+this.contenturl+'&l='+this.playsecond+'&u=dogalog.excite.co.jp/viewvideo.jspx?Movie='+this.contenturl+'" quality="high" wmode="transparent" bgcolor="#cccccc" width="320" height="286" name="pluginplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
  document.write('</embed>');
  document.write('</object>');
  document.write('<img src="http://dogalog.excite.co.jp/externalcounter.jspx?Usernumber='+this.usernumber+'&Contentnumber='+this.contentnumber+'">');
}
