function IFrameMgr(){};IFrameMgr.Add=function(_sId,_sSrc){var oFrm=document.createElement("IFRAME");oFrm.frameBorder="no";oFrm.id=_sId;oFrm.setAttribute("src",_sSrc);document.body.appendChild(oFrm)};IFrameMgr.Move=function(_sId,_iX,_iY,_iW,_iH){var oFrm=document.getElementById(_sId);if(oFrm){oFrm.style.left=_iX+"px";oFrm.style.top=_iY+"px";oFrm.style.width=_iW+"px";oFrm.style.height=_iH+"px"}};IFrameMgr.Delete=function(_sId){var oFrm=document.getElementById(_sId);if(oFrm&&oFrm.parentNode){oFrm.parentNode.removeChild(oFrm)}};JS2EngineSupported=function(){var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||0},searchString:function(data){for(var i=0;i<data.length;i++){var dataString=data[i].string;var dataProp=data[i].prop;this.versionSearchString=data[i].versionSearch||data[i].identity;if(dataString){if(dataString.indexOf(data[i].subString)!=-1)return data[i].identity}else if(dataProp)return data[i].identity}},searchVersion:function(dataString){var index=dataString.indexOf(this.versionSearchString);if(index==-1)return;return parseFloat(dataString.substring(index+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},]};BrowserDetect.init();var bRes=true;switch(BrowserDetect.browser){case"Explorer":bRes=BrowserDetect.version>8;break;case"Firefox":bRes=BrowserDetect.version>3.5;break;case"Opera":bRes=false;break;case"Safari":bRes=BrowserDetect.version>3;break}return bRes}
