home *** CD-ROM | disk | FTP | other *** search
- // var dir
- // declare and assign this variable before including this script
- //
-
- if (!document.images) {}
- else {
- ok0 = new Image();
- ok0.src = dir+"ok2.gif";
- ok1 = new Image();
- ok1.src = dir+"ok2on.gif";
- apply0 = new Image();
- apply0.src = dir+"apply.gif";
- apply1 = new Image();
- apply1.src = dir+"applyon.gif";
- cancel0 = new Image();
- cancel0.src = dir+"cancel.gif";
- cancel1 = new Image();
- cancel1.src = dir+"cancelon.gif";
- }
-
- function change(Name,Image,No)
- {
- if (!document.images) {}
- else document[Name].src = eval(Image + No + ".src");
- }
-
- function onCancel(parms)
- {
- if (!checkModified())
- return;
-
- if (parms)
- window.location.href="index.fts?"+parms;
- else
- window.location.href="index.fts";
- }
-
- function onClose()
- {
- if (!isOK(document.ftgate))
- return;
-
- document.ftgate.redirect.value="index.fts"
- document.ftgate.submit();
- }
-
- function onApply()
- {
- if (!isOK(document.ftgate))
- return;
-
- document.ftgate.submit();
- }
-
- function onLaunch(href)
- {
- if (!checkModified())
- return;
-
- document.ftgate.config.value="2";
- document.ftgate.redirect.value=href;
- document.ftgate.submit();
- }
-