// RollOvers
homeOut = new Image
homeRoll = new Image
creationOut = new Image
creationRoll = new Image
solutionOut = new Image
solutionRoll = new Image
supportOut = new Image
supportRoll = new Image
linkOut = new Image
linkRoll = new Image
contactOut = new Image
contactRoll = new Image

homeOut.src = root + "images/b-home.gif"
homeRoll.src = root + "images/b-homeRoll.gif"
creationOut.src = root + "images/b-creation.gif"
creationRoll.src = root + "images/b-creationRoll.gif"
solutionOut.src = root + "images/b-solution.gif"
solutionRoll.src = root + "images/b-solutionRoll.gif"
supportOut.src = root + "images/b-support.gif"
supportRoll.src = root + "images/b-supportRoll.gif"
linkOut.src = root + "images/b-link.gif"
linkRoll.src = root + "images/b-linkRoll.gif"
contactOut.src = root + "images/b-contact.gif"
contactRoll.src = root + "images/b-contactRoll.gif"

// Swap SubNav Icon 
iconOut = new Image
iconRoll = new Image

iconOut.src = root + "images/i-subNav.gif"
iconRoll.src = root + "images/i-subNavRoll.gif"

// Pop-Up Windows Creation
function openWindow(page,width,height,scroll) {
    x = (640 - width)/2, y = (480 - height)/2;

    if (screen) {
        y = (screen.availHeight - height)/2;
        x = (screen.availWidth - width)/2;
    }

   window.open(page,'popup','width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x+',scrollbars='+scroll);
}

// Pop-Up Windows Board/Support
function openWindowScroll(page,width,height,scroll) {
    x = (640 - width)/2, y = (480 - height)/2;

    if (screen) {
        y = (screen.availHeight - height)/2;
        x = (screen.availWidth - width)/2;
    }

   window.open(page,'view','width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x+',scrollbars='+scroll);
}
