function wJAR(code,archive,wt,ht){
	var str = "<OBJECT classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" ";
	str += "width=\""+wt+"\" height=\""+ht+"\" align=\"right\" ";
	str += "codebase=\"http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0\">";
	str += "<PARAM name=\"code\" value=\""+code+"\">";
	str += "<PARAM name=\"type\" value=\"application/x-java-applet;jpi-version=1.4.2\">";
	str += "<PARAM name=\"scriptable\" value=\"true\">";
	str += "<PARAM NAME=\"archive\" VALUE=\""+archive+"\">";
	str += "</OBJECT>";
	//prompt("fds",str);
	document.write(str);
}

function wSWFT(swf,width,height,id){
	var str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" ';
	str += 'id="'+id+'" ';
	str += 'width="'+width+'" height="'+height+'" align="right">';
	str += '<param name="quality" value="high">';
	str += '<param name="movie" value="'+swf+'">';
	str += '<embed src="'+swf+'" quality="high" width="'+width+'" height="'+height+'" ';
	str += 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="right">';
	str += '</embed></object>';
	document.write(str);
}

function wQWT(mov,width,height,id){
	var str = '<object id="'+id+'" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" height="165" width="200" align="right">';
	str += '<param name="autoplay" value="true">';
	str += '<param name="controller" value="true">';
	str += '<param name="loop" value="false">';
	str += '<param name="src" value="'+mov+'">';
	str += '<embed loop="false" src="'+mov+'" id="'+id+'" backgroundcolor="#FFFFFF" width="'+width+'" controller="true" height="'+height+'"  pluginspage="http://www.apple.com/quicktime/download/" autoplay="true" align="right">';
	str += '</embed></object>';
	document.write(str);
}
