home *** CD-ROM | disk | FTP | other *** search
- // var dir
- // declare and assign this variable before including this script
- //
-
- if (!document.images) {}
- else {
- back0 = new Image();
- back0.src = dir+"back.gif";
- back1 = new Image();
- back1.src = dir+"backon.gif";
- next0 = new Image();
- next0.src = dir+"next2.gif";
- next1 = new Image();
- next1.src = dir+"next2on.gif";
- cancel0 = new Image();
- cancel0.src = dir+"cancel.gif";
- cancel1 = new Image();
- cancel1.src = dir+"cancelon.gif";
- finish0 = new Image();
- finish0.src = dir+"finish.gif";
- finish1 = new Image();
- finish1.src = dir+"finishon.gif";
- }
-
- function change(Name,Image,No)
- {
- if (!document.images) {}
- else document [Name].src = eval(Image + No + ".src");
- }
-
- function onCancel(domain, mailbox)
- {
- change('cancelA', 'cancel', 0);
-
- if (!window.confirm("The mailbox will not be created\n\r\n\rAre you sure?"))
- return;
-
- window.location.href="cancel.fts?domain="+domain+"&mailbox="+mailbox;
- }
-
- function onFinish()
- {
- if (!isOK(document.ftgate))
- return;
-
- document.ftgate.command.value="3";
- document.ftgate.submit();
- }
-
- function onNext()
- {
- if (!isOK(document.ftgate))
- return;
-
- document.ftgate.submit();
- }
-
- function onBack()
- {
- document.ftgate.command.value="2";
- document.ftgate.submit();
- }