var PeeVeeObject = function(contenturl, usernumber, contentnumber, playsecond, width, height)
{
  this.contenturl = contenturl;
  this.usernumber = usernumber;
  this.contentnumber = contentnumber;
  this.playsecond = playsecond;
  this.width = width;
  this.height = height;
}

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="'+this.width+'" height="'+this.height+'" id="pluginplayer" align="middle">');
  document.write('<param name="allowScriptAccess" value="always" />');
  document.write('<param name="movie" value="http://movie.ozmall.co.jp/pluginplayerv3.swf?video_id='+this.contenturl+'" />');
  document.write('<param name="quality" value="high" />');
  document.write('<param name="bgcolor" value="#cccccc" />');
  document.write('<embed src="http://movie.ozmall.co.jp/pluginplayerv3.swf?video_id='+this.contenturl+'" quality="high" bgcolor="#cccccc" width="'+this.width+'" height="'+this.height+'" name="pluginplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
  document.write('</embed>');
  document.write('</object>');
  document.write('<img src="http://blog.peevee.tv/cgi-bin/ozmall2/acclog.cgi?');
  document.write('referrer='+document.referrer+'&');
  document.write('width='+screen.width+'&');
  document.write('height='+screen.height+'&');
  document.write('color='+screen.colorDepth+'">');
  document.write('<img src="http://movie.ozmall.co.jp/externalcounter.jspx?Usernumber='+this.usernumber+'&Contentnumber='+this.contentnumber+'">');
}

