        function newWindow(url, height, width, scrollbars, resizable, toolbar) {
        
 if (navigator.appVersion.indexOf('4') != -1) {
 xTop = screen.width/2 - (width/2);
 yTop = screen.height/2 - (height/2);
 newWin=window.open(url,'', 'height='+height+',width='+width+',scrollbars='+scrollbars+',resizable='+resizable+',menubar=0,toolbar='+toolbar+',status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
 } else {
 newWin=window.open(url,'', 'height='+height+',width='+width+',scrollbars=1,resizable=1,menubar=0,toolbar=1,status=0,location=0,directories=0,left=150,top=200');
 }
 newWin.focus()
}


