var loaded = new Array();

function F_loadRollover(image, imageName) {
    if (image && image.src &&
    (null == image.out || typeof (image.out) == typeof (void (0)))) {
        s = image.src;
        image.out = new Image();
        image.out.src = s;
        image.over = new Image();
        if (imageName.lastIndexOf('/') >= 0 || imageName.lastIndexOf('\\') >= 0) {
            s = imageName;
        } else {
            i = s.lastIndexOf('/');
            if (i < 0) i = s.lastIndexOf('\\');
            if (i < 0) { s = imageName; }
            else { s = s.substring(0, i + 1) + imageName; }
        }
        image.over.src = s;
        loaded[image.name] = image;
    }
}
function F_roll(imageName, over) {
    if (document.images) {
        if (over) { imageObject = "over"; }
        else { imageObject = "out"; }
        image = loaded[imageName];
        if (image) {
            ref = eval("image." + imageObject);
            if (ref) image.src = eval("image." + imageObject + ".src");
        }
        if (window.event)
            window.event.cancelBubble = true;
    }
}

function goLite(BTN) {
    BTN.style.color = "#ce6e19";
    BTN.style.backgroundColor = "#F1ECCF";
    //window.document.forms[FRM].elements[BTN].style.color = "#ce6e19";
    //window.document.forms[FRM].elements[BTN].style.backgroundColor = "#F1ECCF";
}

function goDim(BTN) {
    BTN.style.color = "#40403F";
    BTN.style.backgroundColor = "#F1ECCF";
    //window.document.forms[FRM].elements[BTN].style.color = "#40403F";
    //window.document.forms[FRM].elements[BTN].style.backgroundColor = "#F1ECCF";
}

function goToPage(page) {
    alert(page);
    window.location = page;
}

function closewindow() {
    window.close();
}