Shadowbox.init({
    // skip the automatic setup, we'll do this later manually
    skipSetup: true,
    // include the quicktime and windows media player players for playing
    // movies (assuming we have some movies we want to show in either of
    // those formats)
    players: ["wmp"]
});

window.onload = function(){

    // set up all anchor elements with a "movie" class to work with Shadowbox
    Shadowbox.setup("a.movie", {
	handleOversize:     "drag",
        displayNav:         false,
        handleUnsupported:  "remove",
        autoplayMovies:     true
    });

};

function redirectTo(page)
{
	document.location.href=page;
}
