var Show_Palang = 0;

function popupCenter(theURL,winName,w,h) {
// set properties for the editace window
var lp = (screen.width) ? (screen.width-w)/2 : 0;
var tp = (screen.height) ? (screen.height-h)/2 : 0;
var OpenWindow;
attrs = 'height=' + h + ',width=' + w + ',top=' + tp + ',left=' + lp + ', resizable=yes, toolbar=no , scrollbars=no , status=no';
OpenWindow = window.open( theURL , winName , attrs);
OpenWindow.focus();
}

function popupCenter(theURL,winName,w,h) {
// set properties for the editace window
var lp = (screen.width) ? (screen.width-w)/2 : 0;
var tp = (screen.height) ? (screen.height-h)/2 : 0;
var OpenWindow;
attrs = 'height=' + h + ',width=' + w + ',top=' + tp + ',left=' + lp + ', resizable=yes, toolbar=no , scrollbars=no , status=no';
OpenWindow = window.open( theURL , winName , attrs);
OpenWindow.focus();
}

function popupCenter(theURL,winName,w,h) {
// set properties for the editace window
var lp = (screen.width) ? (screen.width-w)/2 : 0;
var tp = (screen.height) ? (screen.height-h)/2 : 0;
var OpenWindow;
attrs = 'height=' + h + ',width=' + w + ',top=' + tp + ',left=' + lp + ', resizable=yes, toolbar=no , scrollbars=no , status=no';
OpenWindow = window.open( theURL , winName , attrs);
OpenWindow.focus();
}
