<!---

function validate( form ) {
        if ( form.email.value == "" || form.email.value.indexOf('@',0) == -1)
        { alert("Invalid e-mail address!");
           return false;
        }
        if ( form.admin.value == "" || form.port.value == "" || form.host.value == "" || form.name.value == "")
        { alert("Please complete all fields.");
           return false;
        }
        else return true;
}


if (document.images) {
    img1on = new Image();
    img1on.src = "images/btndownhome.gif";   
    img2on = new Image();
    img2on.src = "images/BtnDownBotnetLinking.gif";
    img3on = new Image();
    img3on.src = "images/btndownbottree.gif";
    img4on = new Image();
    img4on.src = "images/btndownhelp.gif";
    img5on = new Image();
    img5on.src = "images/btndownlinks.gif";
    img6on = new Image();
    img6on.src = "images/btndownabout.gif";
    img7on = new Image();
    img7on.src = "images/btndownforum.gif";
    img8on = new Image();
    img8on.src = "images/BtnDownTclScripts.gif";
    img9on = new Image();
    img9on.src = "images/btndowndownloads.gif";
    img10on = new Image();
    img10on.src = "images/btndownconfig.gif";
    img11on = new Image();
    img11on.src = "images/btndowntcl.gif";
    img12on = new Image();
    img12on.src = "images/btndowncontact.gif";
    img13on = new Image();
    img13on.src = "images/BtnDownunixcommands.gif";
    img14on = new Image();
    img14on.src = "images/BtnDownBotCommands.gif";
    img15on = new Image();
    img15on.src = "images/BtnDownModules.gif";
    img16on = new Image();
    img16on.src = "images/BtnDownShells.gif";
    img17on = new Image();
    img17on.src = "images/BtnDownMsgCommands.gif";
    img18on = new Image();
    img18on.src = "images/BtnDownPastebin.gif";
    img19on = new Image();
    img19on.src = "images/BtnDownGreetGenerator.gif";
    img1off = new Image();
    img1off.src = "images/btnuphome.gif"; 
    img2off = new Image();
    img2off.src = "images/BtnUpBotnetLinking.gif";
    img3off = new Image();
    img3off.src = "images/btnupbottree.gif";
    img4off = new Image();
    img4off.src = "images/btnuphelp.gif";
    img5off = new Image();
    img5off.src = "images/btnuplinks.gif";
    img6off = new Image();
    img6off.src = "images/btnupabout.gif";
    img7off = new Image();
    img7off.src = "images/btnupforum.gif";
    img8off = new Image();
    img8off.src = "images/BtnUpTclScripts.gif";
    img9off = new Image();
    img9off.src = "images/btnupdownloads.gif";
    img10off = new Image();
    img10off.src = "images/btnupconfig.gif";
    img11off = new Image();
    img11off.src = "images/btnuptcl.gif";
    img12off = new Image();
    img12off.src = "images/btnupcontact.gif";
    img13off = new Image();
    img13off.src = "images/BtnUpunixcommands.gif";
    img14off = new Image();
    img14off.src = "images/BtnUpBotCommands.gif";
    img15off = new Image();
    img15off.src = "images/BtnUpModules.gif";
    img16off = new Image();
    img16off.src = "images/BtnUpShells.gif";
    img17off = new Image();
    img17off.src = "images/BtnUpMsgCommands.gif";
    img18off = new Image();
    img18off.src = "images/BtnUpPastebin.gif";
	img19off = new Image();
    img19off.src = "images/BtnUpGreetGenerator.gif";

  }
    function imgOn(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "on.src");
            }
    }
    function imgOff(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "off.src");        
            }
    }
    function nowyouseeit(txt){
            window.status = txt;
            setTimeout("nowyoudonot()",6000); // You can change the 500 to a greater number if you want it to stay longer
            }

    function nowyoudonot(){
            window.status="";
            }

//-->

function clickButton1()
{
  document.config.target ='_blank';
  document.config.action = "makeconfig.php";
  document.config.submit();
  return true;
}




<!--

function clickButton2()
{
    valid = true;

    if ( document.config.botnick.value == "" || document.config.realname.value == "" || document.config.ownernick.value == "" || document.config.port.value == "" || document.config.network.value == "" || document.config.server1.value == "" || document.config.channel.value == "")
    {
  document.config.target ='_blank';
  document.config.action = "makeconfig.php";
  document.config.submit();
        valid = false;
    }
else if ( document.config.hostname.value == "" && document.config.botip.value == "" ) 
{
  document.config.target ='_blank';
  document.config.action = "makeconfig.php";
  document.config.submit();
        valid = false;
}
else {
  document.config.target ='_self';
  document.config.action = "cgi-bin/eggdrop.cgi/egg.conf";
  document.config.submit();
}
    return valid;
}

//-->
