/******************************************************************************** Script that includes al the required scripts from this database Author: Eugen Cretu/RO/SOBIS Creation date: 29.09.2005 *********************************************************************************/ // Place here the required .js files. DO NOT USE PATH to the database $import("actionbar.js"); $import("viewtemplate.js"); $import("validation.js"); $import("iframes.js"); $import("fastselect.js"); $import("popup_calendar.js"); $import("portlet/navigation_tabs.js"); function $import(path){ var i, base='/'+getPath0()+'/Setari.nsf/'; document.write("<" + "script src=\"" + base + path + "\">"); } function ShowHelp(id){ var strJump="/"+getPath0()+'/Help.nsf/vwHelpCap/'+id+'?OpenDocument' window.open(strJump,'Ajutor','status=no,resizable=yes,scrollbars=yes,top=10,left=10,width=700,height=500'); } var strUser="" var strNivel=""; var strShort=""; var strFunctie=""; function updateParent(){ aCtrl=parent.document.getElementById("Action"); if(aCtrl!=null){ f=parent.document.forms[0]; f.RAdresa.value=strUser; f.RNivel.value=strNivel; f.RNivele.value=strNivele; f.RNume.value=strShort; f.RFunctie.value=strFunctie; aCtrl.click(); } } function updateAlegeDestinatar(){ aCtrl=parent.document.getElementById("Action"); if(aCtrl!=null){ f=parent.document.forms[0]; f.RNivel.value=strNivel; f.REMail.value=strMail; f.RFunctie.value=strFunctie; f.RFirma.value=strFirma; f.RNume.value=strNume; aCtrl.click(); } }