//Change ID : WICA040001 //Date : 11-Feb-2004 //Author : PrioritySupport //Comments : CA Deployment: Incorporate CA's county map to the WI in Staging California var mapWindow = null; function openMap() { var url = '/cgi/databrowsing/countyMap.asp'; //var url = 'https://www.labormarketinfo.edd.ca.gov/cgi/databrowsing/countyMap.asp'; var name = 'mapWindow'; //WICA040001 Starts here //var x = parseInt(window.screen.width - 400); //var y = parseInt((window.screen.height/2) - (256/2)); var x = parseInt(window.screen.width - 600); var y = parseInt((0)); var xCord = (document.all) ? 'left=' + x.toString():'screenX=' + x.toString(); var yCord = (document.all) ? 'top=' + y.toString():'screenY=' + y.toString(); //var features = 'width=390,height=275,' + xCord + ',' + yCord; var features = 'scrollbars=Yes,resizable=Yes,width=500,height=500,' + xCord + ',' + yCord; //WICA040001 Ends here if(!(mapWindow && !mapWindow.closed)) { mapWindow = window.open(url, name, features); mapWindow.focus(); } else if(mapWindow && !mapWindow.closed) { mapWindow.focus(); } } function closeMap() { if(mapWindow && !mapWindow.closed) { mapWindow.close(); mapWindow = null; } }