function openInfoWindow (path,window_name,window_width,window_height,toolbar_value) { var hWnd = window.open(path,window_name,"width=" + window_width + ",height="+window_height+",toolbar="+toolbar_value+",location=no,resizable=no,scrollbars=yes"); hWnd.focus(); if ((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; } function openInfoWindowFull (path,window_name,window_width,window_height,toolbar_value,location_value,scrollbar_value,resizeable_value) { var hWnd = window.open(path,window_name,"width=" + window_width + ",height="+window_height+",toolbar="+toolbar_value+",location="+location_value+",resizable="+resizeable_value+",scrollbars="+scrollbar_value); hWnd.focus(); if ((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; } function leavingSiteWindow () { var hWnd = window.open ('/wdwi/es_US/genPage?id=LeavingSitePopupConfirmation','LeavingSiteWindow',"scrollbars=no,height=350,width=450"); hWnd.focus(); if ((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; } function MapPopUp(pageID, layout) { strMode = "html"; if (pageID == "null" || pageID == null || pageID == ""){ pageID = "WDWMapPage"; } if (strMode == "enhanced"){ height = 600; width = 650; url = "/wdwi/es_US/parks/maps/zoomifyMap"; if(pageID != null && pageID != '') { url += "?park=" + pageID; } } else { height = 600; width = 650; url = "/wdwi/es_US/parks/maps/mappopup"; if(pageID != null && pageID != ''){ url += "?id=" + pageID; } } openInfoWindow(url,'MapPopup',width,height,false,false,'yes',false); }