function rollover(object,preload)
{
    if (object.src)
    {
        image = object.src;
        imageDot = image.lastIndexOf('.');
        if (imageDot > -1)
        {
            imageName = image.substr(0,imageDot);
            imageExt = image.substr(imageDot+1);
            if (preload) object = new Image();
            if (imageName.substr(imageName.length-5)=='-over')
                imageName = imageName.substr(0, imageName.length-5);
            else
                imageName += '-over';
            object.src = imageName + '.' + imageExt;
        }
    }
}

function determinePosition(element)
{
    var bottomLeft = new Array(2);
    bottomLeft[0] = element.offsetHeight + element.offsetTop;
    bottomLeft[1] = element.offsetLeft;
    
    while ((element = element.offsetParent)!=document.body)
    {
        bottomLeft[0] += element.offsetTop;
        bottomLeft[1] += element.offsetLeft;
    }
    
    return(bottomLeft);
}


function fwLoadMenus() {
	
	// Collections
	window.fw_menu_1 = new Menu("root",100,22,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#000000","#f2a3ec","#f0d2ee",4);
	fw_menu_1.addMenuItem("Winter 07", "location='collections07.php';");
	fw_menu_1.addMenuItem("Summer 06", "location='collections06.php';");
	fw_menu_1.addMenuItem("Summer 05", "location='collections05.php';");
	
	fw_menu_1.writeMenus();
}