function object_tag(url, width, height, wmode, type,vars){
	var tag_str;
	var trans_parent = "";
	var vars_str = "";
	if (height>10){
		h=" height='"+height+"'";
	}else{
		h="";
	}
	tag_str="<div id='Layer_bottom' style='position:relative;width:"+width+"px;height:"+height+"px;z-index:200;cursor:hand'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0'";
	tag_str+=" width='"+width+"' "+h+">";
	tag_str+="<param name=movie value='"+url+"'>";
	tag_str+="<param name=quality value=high>";
	if (vars){
	tag_str+="<param name='FlashVars' value='"+vars+"'>";
	vars_str =" FlashVars='"+vars+"'";
	}
	if (wmode){
	tag_str+="<param name='wmode' value='"+wmode+"'>";
	trans_parent=" wmode='"+wmode+"'";
	}
	tag_str+="<embed src='"+url+"' quality=high  pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'";
	tag_str+=" type='application/x-shockwave-flash' width='"+width+"' "+h+" "+trans_parent+" "+vars_str+">";
    tag_str+="</embed>"; 
    tag_str+="</object></div>";
	if (type==1)	{
		click_view.innerHTML = tag_str
	}else{
		document.write(tag_str);
	}
}