/* function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars) { var iTop = (screen.height - iHeight) / 2 ; var iLeft = (screen.width - iWidth) / 2 ; var sOptions = "toolbar=no" ; sOptions += ",width=" + iWidth ; sOptions += ",height=" + iHeight ; sOptions += ",resizable=" + (bResizable ? "yes" : "no") ; sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var oWindow = window.open(sURL, sName, sOptions) oWindow.focus(); return oWindow ; } */ function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars) { var iTop = (screen.height - iHeight) / 2 ; var iLeft = (screen.width - iWidth) / 2 ; var sOptions = "toolbar=no" ; sOptions += ",width=" + iWidth ; sOptions += ",height=" + iHeight ; sOptions += ",resizable=" + (bResizable ? "yes" : "no") ; sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ; sOptions += ",left=" + iLeft ; sOptions += ",top=" + iTop ; var oWindow = window.open(sURL, sName, sOptions) oWindow.focus(); return oWindow ; } var MM_FlashCanPlay = false; // global var /** installing flash script, checks flash @param strMoviePath string - path to an .swf file @param strBGColor string - color like #121212 @param strAlternative string - alternative HTML @param width, height string - width and height for a movie @param contentVersion int - version of flash (6,7...) @par example InsertFlash('/download/pn_tr.swf','#666666','