/* 1.3.0.0 [19.03.2010] */

function playFlash(path){var flashDiv=document.getElementById('fly_container');flashDiv.style.height='260px';flashDiv.style.display='block';var enter=new SWFObject("/upload/images/i/mpw_player.swf","enter","320","215","7","000000");enter.addParam("allowScriptAccess","sameDomain");enter.addParam("quality","high");enter.addParam("play","true");enter.addParam("wmode","transparent");enter.addParam("allowFullScreen","true");enter.addVariable("flv",path);enter.write('fly_flash');flashCenter();}
$(window).bind("resize",function(){flashCenter()});$(window).scroll(function(){flashCenter()});function flashCenter(){$("#fly_container").css("position","absolute");$("#fly_container").css("top",$(window).height()/2-$("#fly_container").outerHeight()/2+$(window).scrollTop()+'px');$("#fly_container").css("left",($(window).width()-$("#fly_container").outerWidth())/2+$(window).scrollLeft()+'px');}
function flashClose(){var playdiv=document.getElementById('fly_flash');for(var i=0;i<playdiv.childNodes.Count;i++){playdiv.removeChild(0);}
var flashDiv=document.getElementById('fly_container');flashDiv.style.display='none';playdiv.innerText="";playdiv.innerHTML="";}
