function includeSwf(movie,qs,width,height,wmode,imgSost,idFlash)
{ 
	var elementDiv=null;
	var strSost="";
	if (imgSost!=undefined)
	//	strSost = '<img src="' + imgSost + '" width="'+ width +'" height="' + height + '" />';
		strSost = '<img src="' + movie + '" width="'+ width +'" height="' + height + '" />';
	var objStr=	'<object type="application/x-shockwave-flash" data="'+movie+'" width="'+width+'" height="'+height+'" title="" id="'+idFlash+'">\n'+
	'<param name="allowScriptAccess" value="always" />\n'+
	'<param name="allowFullScreen" value="true" />\n'+
	'<param name="movie" value="'+movie+'" />\n'+
	'<param name="quality" value="high" />\n'+
	'<param name="scale" value="exactfit" />\n'+
	'<param name="FlashVars" value="'+qs+'" />\n'+
	'<param name="wmode" value="'+wmode+'" />\n'+
	strSost + '\n'+
	
	'</object>';

	if (elementDiv==null)
		document.write(objStr);
	else
		elementDiv.innerHTML = objStr;
}
