var menuwidth = '150px'; //default menu width
var menubgcolor = '2F4F88';  //menu bgcolor 
var disappeardelay = 150  //menu disappear speed onMouseout (in miliseconds) 
var hidemenu_onclick = "yes" //hide menu when user clicks within menu? 
var menu531 = new Array();
var menu532 = new Array();
menu532[0] = '<a href="http://www.dotcommandcenter.com/services/requestadnschange.asp">Request a DNS Change</a>';
var menu571 = new Array();
menu532[1] = '<a href="http://www.dotcommandcenter.com/services/requestanemail.asp">Request a New Email </a>';
var menu570 = new Array();
menu532[2] = '<a href="http://www.dotcommandcenter.com/services/passwordchange.asp">Request a Password Change</a>';
var menu573 = new Array();
menu532[3] = '<a href="http://www.dotcommandcenter.com/services/requestftpaccess.asp">Request FTP Access</a>';
var menu572 = new Array();
menu532[4] = '<a href="http://www.dotcommandcenter.com/services/requestftpfolder.asp">Request FTP Folder</a>';
var menu574 = new Array();
var menu533 = new Array();
menu533[0] = '<a href="http://www.dotcommandcenter.com/tools/calendar.asp">Calendar</a>';
var menu563 = new Array();
menu533[1] = '<a href="http://www.dotcommandcenter.com/tools/contactmanagement.asp">Contact Management</a>';
var menu564 = new Array();
menu533[2] = '<a href="http://www.dotcommandcenter.com/tools/documents.asp">Documents</a>';
var menu562 = new Array();
menu533[3] = '<a href="http://www.dotcommandcenter.com/tools/dotcommandfeatures.asp">Dot Command Features</a>';
var menu612 = new Array();
menu533[4] = '<a href="http://www.dotcommandcenter.com/tools/networkdocumentation.asp">Network Documentation</a>';
var menu565 = new Array();
menu533[5] = '<a href="http://www.dotcommandcenter.com/tools/projectworkflow.asp">Project Workflow</a>';
var menu561 = new Array();
menu533[6] = '<a href="http://www.dotcommandcenter.com/tools/webbuilder.asp">Web Builder</a>';
var menu566 = new Array();
menu533[7] = '<a href="http://www.dotcommandcenter.com/tools/webbuilderfeatures.asp">Web Builder Features</a>';
var menu587 = new Array();
var menu534 = new Array();
menu534[0] = '<a href="http://www.dotcommandcenter.com/portfolio/corporate.asp">Corporate</a>';
var menu575 = new Array();
menu534[1] = '<a href="http://www.dotcommandcenter.com/portfolio/education.asp">Education</a>';
var menu576 = new Array();
menu534[2] = '<a href="http://www.dotcommandcenter.com/portfolio/entertainment.asp">Entertainment</a>';
var menu578 = new Array();
menu534[3] = '<a href="http://www.dotcommandcenter.com/portfolio/government.asp">Government</a>';
var menu581 = new Array();
menu534[4] = '<a href="http://www.dotcommandcenter.com/portfolio/medical.asp">Medical</a>';
var menu580 = new Array();
menu534[5] = '<a href="http://www.dotcommandcenter.com/portfolio/nonprofit.asp">Non Profit</a>';
var menu582 = new Array();
menu534[6] = '<a href="http://www.dotcommandcenter.com/portfolio/realestate.asp">Real Estate</a>';
var menu579 = new Array();
menu534[7] = '<a href="http://www.dotcommandcenter.com/portfolio/sports.asp">Sports</a>';
var menu577 = new Array();
var menu536 = new Array();
menu536[0] = '<a href="http://www.dotcommandcenter.com/support/dotcommandforum.asp">Dot Command Forum</a>';
var menu584 = new Array();
menu536[1] = '<a href="http://www.dotcommandcenter.com/support/emailissues.asp">Email Issues</a>';
var menu606 = new Array();
menu536[2] = '<a href="http://www.dotcommandcenter.com/support/knowledgebase.asp">Knowledge Base</a>';
var menu583 = new Array();
menu536[3] = '<a href="http://www.dotcommandcenter.com/support/reportaproblem.asp">Report a Problem</a>';
var menu586 = new Array();
menu536[4] = '<a href="http://www.dotcommandcenter.com/support/webbuilderforum.asp">Web Builder Forum</a>';
var menu585 = new Array();
var menu535 = new Array();
var menu537 = new Array();
var menu569 = new Array();
menu569[0] = '<a href="http://www.dotcommandcenter.com/aboutus/careers.asp">Careers</a>';
var menu588 = new Array();
menu569[1] = '<a href="http://www.dotcommandcenter.com/aboutus/communitysupport.asp">Community Support</a>';
var menu609 = new Array();
menu569[2] = '<a href="http://www.dotcommandcenter.com/aboutus/executivestaff.asp">Executive Staff</a>';
var menu608 = new Array();
/************************************************ AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit http://www.dynamicdrive.com/ for full source code***********************************************/
/////No further editting needed
var ie4 = document.all
var ns6 = document.getElementById && !document.all
if (ie4 || ns6)
    document.write('<div id="dropmenudiv" style="visibility:hidden;width:' + menuwidth + ';background-color:' + menubgcolor + '" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
function getposOffset(what, offsettype) {
    var totaloffset = (offsettype == "left") ? what.offsetLeft : what.offsetTop;
    var parentEl = what.offsetParent;
    while (parentEl != null) {
        totaloffset = (offsettype == "left") ? totaloffset + parentEl.offsetLeft : totaloffset + parentEl.offsetTop;
        parentEl = parentEl.offsetParent;
    }
    return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth) {
    if (ie4 || ns6)
        dropmenuobj.style.left = dropmenuobj.style.top = -500
    if (menuwidth != "") {
        dropmenuobj.widthobj = dropmenuobj.style
        dropmenuobj.widthobj.width = menuwidth
    }
    if (e.type == "click" && obj.visibility == hidden || e.type == "mouseover")
        obj.visibility = visible
    else if (e.type == "click")
        obj.visibility = hidden
}
function iecompattest() {
    return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge) {
    var edgeoffset = 0
    if (whichedge == "rightedge") {
        var windowedge = ie4 && !window.opera ? iecompattest().scrollLeft + iecompattest().clientWidth - 15 : window.pageXOffset + window.innerWidth - 15
        dropmenuobj.contentmeasure = dropmenuobj.offsetWidth
        if (windowedge - dropmenuobj.x < dropmenuobj.contentmeasure)
            edgeoffset = dropmenuobj.contentmeasure - obj.offsetWidth
    }
    else {
        var windowedge = ie4 && !window.opera ? iecompattest().scrollTop + iecompattest().clientHeight - 15 : window.pageYOffset + window.innerHeight - 18
        dropmenuobj.contentmeasure = dropmenuobj.offsetHeight
        if (windowedge - dropmenuobj.y < dropmenuobj.contentmeasure)
            edgeoffset = dropmenuobj.contentmeasure + obj.offsetHeight
    }
    return edgeoffset
}
function populatemenu(what) {
    if (ie4 || ns6)
        dropmenuobj.innerHTML = what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth) {
    if (window.event) event.cancelBubble = true
    else if (e.stopPropagation) e.stopPropagation()
    clearhidemenu()
    dropmenuobj = document.getElementById ? document.getElementById("dropmenudiv") : dropmenudiv
    populatemenu(menucontents)
    if (ie4 || ns6) {
        showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
        dropmenuobj.x = getposOffset(obj, "left")
        dropmenuobj.y = getposOffset(obj, "top")
        dropmenuobj.style.left = dropmenuobj.x - clearbrowseredge(obj, "rightedge") + "px"
        dropmenuobj.style.top = dropmenuobj.y - clearbrowseredge(obj, "bottomedge") + obj.offsetHeight + "px"
    }
    return clickreturnvalue()
}
function dropdownmenuVertical(obj, e, menucontents, menuwidth, thiswidth, thisheight) {
    if (window.event) event.cancelBubble = true
    else if (e.stopPropagation) e.stopPropagation()
    clearhidemenu()
    dropmenuobj = document.getElementById ? document.getElementById("dropmenudiv") : dropmenudiv
    populatemenu(menucontents)
    if (ie4 || ns6) {
        showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
        dropmenuobj.x = getposOffset(obj, "left") + thiswidth
        dropmenuobj.y = getposOffset(obj, "top") - thisheight
        dropmenuobj.style.left = dropmenuobj.x - clearbrowseredge(obj, "rightedge") + "px"
        //dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
        dropmenuobj.style.top = dropmenuobj.y - clearbrowseredge(obj, "bottomedge") + 0 + "px"
    }
    return clickreturnvalue()
}
function clickreturnvalue() {
    if (ie4 || ns6) return false
    else return true
}
function contains_ns6(a, b) {
    while (b.parentNode)
        if ((b = b.parentNode) == a)
        return true;
    return false;
}
function dynamichide(e) {
    if (ie4 && !dropmenuobj.contains(e.toElement))
        delayhidemenu()
    else if (ns6 && e.currentTarget != e.relatedTarget && !contains_ns6(e.currentTarget, e.relatedTarget))
        delayhidemenu()
}
function hidemenu(e) {
    if (typeof dropmenuobj != "undefined") {
        if (ie4 || ns6)
            dropmenuobj.style.visibility = "hidden"
    }
}
function delayhidemenu() {
    if (ie4 || ns6)
        delayhide = setTimeout("hidemenu()", disappeardelay)
}
function clearhidemenu() {
    if (typeof delayhide != "undefined")
        clearTimeout(delayhide)
}
if (hidemenu_onclick == "yes")
    document.onclick = hidemenu
