function FreeSwf(path, ID_NAME)
{
	swfObjStr1 = ID_NAME;

	swfTag = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="380" height="380" id="flvplayer' + swfObjStr1 + '" align="middle"><param name="movie" value="flvplayer' + swfObjStr1 + '.swf' +location.search+ '"><param name="FlashVars" value="' + path + '" /><param name="wmode" value="transparent" /><param name="quality" value="high"><embed src="flvplayer' + swfObjStr1 + '.swf' +location.search+ '" FlashVars="' + path + '" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="380" height="380"></embed></object>';
	
	document.getElementById("mov"+ID_NAME).innerHTML = swfTag;
	
}

function getAgent() {
       return navigator.userAgent;
   }
   function getWindowSize() {
       if (window.innerWidth && window.innerHeight) {
           return [window.innerWidth, window.innerHeight];
       } else if (document.body) {
           return [document.body.clientWidth, document.body.clientHeight];
       } else if (document.documentElement && document.documentElement.clientWidth && document.documentElement.clientHeight) {
           return [document.documentElement.clientWidth, document.documentElement.clientHeight];
       }
       return 0;
}
