function windowOpen(sUrl) {
var iWindowWidth = $(window).width();
var iWindowHeight = $(window).height();
var iWidth = iWindowWidth - 200;
var iHeight = iWindowHeight - 100;
var iLeft = Math.floor((iWindowWidth - iWidth) / 2);
var iTop = Math.floor((iWindowHeight - iHeight) / 2);
var sParams = "width=" + iWidth + ",height=" + iHeight + ",left=" + iLeft + ",top=" + iTop + ",toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no, status=no";
window.open(ROOT_URL+sUrl, 'window-'.g_iWindowIndex++, sParams);
}