﻿function launchWS(winName) { myHeight = screen.height * .8; myWidth = 784; if (myHeight < 556) myHeight = 556; else if (myHeight > 700) myHeight = 700; var height = screen.height, width = screen.width, leftpos = width / 2 - myWidth / 2, toppos = height / 2 - myHeight / 2 - 40; msgWindow = window.open(winName, "ws_window", "toolbar=no,location=no,directories=no,resizable=yes,menubar=no,scrollbars=no,status=yes,width=" + myWidth + ",height=" + myHeight + ", left=" + leftpos + ",top=" + toppos); setTimeout("msgWindow.focus()", 1) }
