Force Browser to Fit Screen Resolution
JavaScript
function openwin(url) {
var popWin = "";
var screenWidth = screen.width;
var screenHeight = screen.height;
if (popWin != "") {popWin.close()}
windowProperties = "toolbar=no,menubar=no,scrollbars=no,statusbar=no,height="+screenHeight+",width="+screenWidth;
popWin = window.open(url,'newWin',windowProperties);
}
openwin("http://google.com");