function swf(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="menu" value="false">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function VR(uri, w, h){
	html  = "";
	html += "<OBJECT ID='PLUGIN1' style=\"WIDTH: "+w+"px; HEIGHT: "+h+"px\"    codeBase=http://www.devalvr.com/instalacion/plugin/devalocx.cab#version=0,3,1,4 width="+w+"  height="+h+" classid=clsid:5D2CF9D0-113A-476B-986F-288B54571614>";
	html += "	<PARAM NAME=\"src\"				VALUE=\""+uri+"\">";
	html += "	<PARAM NAME=\"rotationx\"       VALUE=\"0\">";
	html += "	<PARAM NAME=\"rotationy\"       VALUE=\"100\">";
	html += "	<PARAM NAME=\"zoom\"            VALUE=\"0.6\">";
	html += "	<PARAM NAME=\"minzoom\"         VALUE=\"0.4\">";
	html += "	<PARAM NAME=\"maxzoom\"         VALUE=\"1.3\">";
	//html += "	<PARAM NAME=\"grayscale\"       VALUE=\"1\">";
	html += "	<PARAM NAME=\"language\"		VALUE=\"korean\">";
	html += "	<PARAM NAME=\"abouturl\"		VALUE=\"http://www.design-boom.com\">";
	html += "	<EMBED NAME=\"PLUGIN1\"   TYPE='application/x-devalvrx' 	PLUGINSPAGE='http://www.devalvr.com/instalacion/plugin/install.html' src='"+uri+"'	width='"+w+"' height='"+h+"'></EMBED>";
	html += "</OBJECT>";
	
	document.write(html);
}

function AutoPlayVR(){
     document.PLUGIN1.Commands("menu","play");
}