
	function flash(object_id, embed_name, url, bgcolor, wmode, width, height,links)
	{
		document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + width + '" height="' + height + '" id="' + object_id + '" align="middle">');
		document.write ('<param name="allowScriptAccess" value="sameDomain">');
		document.write ('<param name="movie" value="' + url + '">');
		document.write ('<param name="quality" value="high">');
		if (wmode == 1 || wmode == "1")
		{
		document.write ('<param name="wmode" value="transparent">');
	   }
		document.write ('<param name="bgcolor" value="' + bgcolor + '">');
		document.write ('<embed src="' + url + '" width="' + width + '" height="' + height + '" name="' + embed_name + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer " ');
		if (wmode == 1 || wmode == "1")
		{
			document.write (' wmode="transparent">');
	   }
		document.write ('</embed>');
		document.write ('</object>');
	}

	function embed(embed_name, url, width, height, etc)
	{
		document.write ('<embed src="' + url + '" width="' + width + '" height="' + height + '" name="' + embed_name + '" ' + etc + '>');
		document.write ('</embed>');
	}
	function picList(path,id){
		flash("", "", "swf/pic_list.swf?path="+path+"&id="+id, "#1484de", 1, "430", "360","");
		
	}
	function videoPlay(path,title,w,h){
		if(w==""){
			w=440;
		}
		if(h==""){
			w=330;
		}
		flash("", "", "flash/video.swf?xmlPath="+path+"&title="+title+"&fw="+w+"&fh="+h+"", "", 1, w, h,"");
	}				 

//-->