function openPopUp(url,popW,popH,winName,scrollStat)
{                  
		var w = popW, h = popH, ss = scrollStat;
		w = screen.width;
    		h = screen.height;


	if (document.all || document.layers) 
	{
		w = parent.screen.width;
    		h = parent.screen.height;
 	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;


        window.open(url,winName,'status=no,toolbar = no, menubar = no, scrollbars=auto, top=' + topPos + ',left=' + leftPos +',width=' + popW + ',height=' + popH);

}
