// VARIABLE DECLARATIONS // FUNCTIONS function init() { window.name="GeoNetwork"; window.focus(); } // New browser windows function popNew(a) { msgWindow=window.open(a,"displayWindow","location=no, toolbar=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=800, height=600") msgWindow.focus() } function openPage(what,type) { msgWindow=window.open(what,type,"location=yes, toolbar=yes, directories=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, width=800, height=600") msgWindow.focus() } function popFeedback(a) { msgWindow=window.open(a,"feedbackWindow","location=no, toolbar=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=800, height=600") msgWindow.focus() } function popWindow(a) { msgWindow=window.open(a,"popWindow","location=no, toolbar=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=800, height=600") msgWindow.focus() } function popInterMap(a) { msgWindow=window.open(a,"InterMap","location=no, toolbar=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=800, height=600") msgWindow.focus() } // Forms function goSubmit(form_name) { document.forms[form_name].submit(); } function goReset(form_name) { document.forms[form_name].reset(); } function entSub(form_name) { if (window.event && window.event.keyCode == 13) goSubmit(form_name); else return true; } // Navigation function goBack() { history.back(); } function processCancel() { document.close(); } function load(url) { document.location.href = url; } function doConfirm(url, message) { if(confirm(message)) { load(url); return true; } return false; }