var sebImages = new Array();

function preload() {
    var args = preload.arguments; 
    for(x=0; x < args.length; x++) {
        sebImages[x]=new Image();
        sebImages[x].src=args[x];
    }
}

function showit(path) {
    if (document.getElementById) {
        c = document.getElementById('preview-container');
        t = document.getElementById('thumbs');
        i = document.getElementById('preview');
        n = document.getElementById('navigation');
    } else {
        c = document.preview-container;
        t = document.thumbs;
        i = document.preview;
        n = document.navigation;
    };
	// alert(i.src);
    i.src = path;
    t.style.display = 'none';
    n.style.display = 'none';
    c.style.display = 'block';
}

function hideit() {
    if (document.getElementById) {
        c = document.getElementById('preview-container');
        t = document.getElementById('thumbs');
        i = document.getElementById('preview');
        n = document.getElementById('navigation');
    } else {
        c = document.preview-container;
        t = document.thumbs;
        i = document.preview;
        n = document.navigation;
    }
    i.src = 'http://sebastiangollings.com/ui/blank.jpg'
    t.style.display = 'block';
    n.style.display = 'block';
    c.style.display = 'none';
}

function getPrevious() {
    return;
}

function getNext() {
    return;
}

function next() {
    alert('Next');
}

function prev() {
    alert('Prev');
}

// window.onload = alert(eval(window.location.hash));