function getEmbedPlayer(selected, usernumber, contentnumber, contentlocation, playsecond, width, height) {
	var tag;

	var domainURI = "http://video.monstar.fm";

	switch(selected) {
		case 1:
			tag = '<script language="JavaScript" src="' + domainURI  + '/img/pluginv3r1.js"></script><script language="JavaScript" type="text/JavaScript">var po = new PeeVeeObject("'+contentlocation+'", '+usernumber+', '+contentnumber+', '+playsecond+', '+width+', '+height+');  po.write();</script>';
			break;
		case 2:
			tag = '<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="'+width+'" height="'+height+'" id="pluginplayer" align="middle"><param name="allowScriptAccess" value="always" /><param name="movie" value="' + domainURI + '/pluginplayerv3.swf?video_id='+contentlocation+'" /><param name="quality" value="high" /><param name="bgcolor" value="#cccccc" /><embed src="' + domainURI + '/pluginplayerv3.swf?video_id='+contentlocation+'" quality="high" bgcolor="#cccccc" width="'+width+'" height="'+height+'" name="pluginplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>';
			break;
		case 3:
			tag = '<a href="' + domainURI + '/viewvideo.jspx?Movie='+contentlocation+'" target="_blank">動画はこちらへ</a>';
			break;
		case 4:
			tag = '[[embed(' + domainURI + '/pluginplayerv3.swf?video_id='+contentlocation+',1,'+width+','+height+')]]';
			break;
		case 5:
			tag = '<embed src="' + domainURI + '/pluginplayerv3.swf?video_id='+contentlocation+'" quality="high" bgcolor="#cccccc" width="'+width+'" height="'+height+'" name="pluginplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
			break;
		case 6:
	tag = '<a href="'+ domainURI + '/pmviewvideo.jspx?rt=1&p0=${friendsdisapproveurl} +"><img src="http://peevee.tv/img/userimg/${inv_name}peevee${friendsdisapproveurl}_1.jpg" width="100"　height="75" /></a><br /><a href="http://peevee.tv/pmviewvideo.jspx?rt=1&p0=${friendsdisapproveurl}">動画「${friendsapproveurl} 」はこちら&nbsp;&raquo;</a>';
			break;
		default:
			break;
	} 
	return tag;
}

