var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");document.write("");var timer;
var current_location = 1;
var next_location = 1;
var pics_loaded = 0;
var onoff = 0;
var direction = 1;
var timeout_value;
var images = new Array;
var photo_urls = new Array;
var photo_captions = new Array;
var transitionNames = new Array;
var transitions = new Array;
var current_transition = 0;
var loop = 1;
photo_captions[1] = "11010001";
photo_captions[2] = "11010003";
photo_captions[3] = "11010004";
photo_captions[4] = "11010007";
photo_captions[5] = "11010009";
photo_captions[6] = "11010010";
photo_captions[7] = "11010011";
photo_captions[8] = "11010013";
photo_captions[9] = "11010014";
photo_captions[10] = "11010015";
photo_captions[11] = "11010018";
photo_captions[12] = "11010019";
photo_captions[13] = "11010020";
photo_captions[14] = "11010021";
photo_captions[15] = "11010022";
photo_captions[16] = "11010023";
transitions[0] = "progid:DXImageTransform.Microsoft.Fade(duration=1)";
transitions[1] = "progid:DXImageTransform.Microsoft.Blinds(Duration=1,bands=20)";
transitions[2] = "progid:DXImageTransform.Microsoft.Checkerboard(Duration=1,squaresX=20,squaresY=20)";
transitions[3] = "progid:DXImageTransform.Microsoft.Strips(Duration=1,motion=rightdown)";
transitions[4] = "progid:DXImageTransform.Microsoft.Barn(Duration=1,orientation=vertical)";
transitions[5] = "progid:DXImageTransform.Microsoft.GradientWipe(duration=1)";
transitions[6] = "progid:DXImageTransform.Microsoft.Iris(Duration=1,motion=out)";
transitions[7] = "progid:DXImageTransform.Microsoft.Wheel(Duration=1,spokes=12)";
transitions[8] = "progid:DXImageTransform.Microsoft.Pixelate(maxSquare=10,duration=1)";
transitions[9] = "progid:DXImageTransform.Microsoft.RadialWipe(Duration=1,wipeStyle=clock)";
transitions[10] = "progid:DXImageTransform.Microsoft.RandomBars(Duration=1,orientation=vertical)";
transitions[11] = "progid:DXImageTransform.Microsoft.Slide(Duration=1,slideStyle=push)";
transitions[12] = "progid:DXImageTransform.Microsoft.RandomDissolve(Duration=1,orientation=vertical)";
transitions[13] = "progid:DXImageTransform.Microsoft.Spiral(Duration=1,gridSizeX=40,gridSizeY=40)";
transitions[14] = "progid:DXImageTransform.Microsoft.Stretch(Duration=1,stretchStyle=push)";
transitions[15] = "special case";
var transition_count = 15;
var photo_count = 132;
var slideShowLow = "http://web.archive.org/web/20060503144729/http://foto.masterdef.net/slideshow_low.php?set_albumName=album01";
// Browser capabilities detection ---
// - assume only IE4+ and NAV6+ can do image resizing, others redirect to low
var is_ie4up=0;
var is_opera5up=0;
var is_nav6up=1;
var is_ie5_5up=0;
if (is_ie4up || is_opera5up || is_nav6up) {
//-- it's all good ---
} else {
//-- any other browser we go low-tech ---
document.location = slideShowLow;
}
// - IE5.5 and up can do the blending transition.
var browserCanBlend = (is_ie5_5up);
function stopOrStart() {
if (onoff) {
stop();
} else {
play();
}
}
function toggleLoop() {
if (loop) {
loop = 0;
} else {
loop = 1;
}
}
function changeElementText(id, newText) {
// element = document.getElementById(id);
// element.innerHTML = newText;
}
function stop() {
changeElementText("stopOrStartText", "play");
onoff = 0;
status = "The slide show is stopped, Click [play] to resume.";
clearTimeout(timer);
}
function play() {
changeElementText("stopOrStartText", "stop");
onoff = 1;
status = "Slide show is running...";
go_to_next_photo();
}
function changeDirection() {
if (direction == 1) {
direction = -1;
changeElementText("changeDirText", "forward");
} else {
direction = 1;
changeElementText("changeDirText", "reverse");
}
preload_next_photo();
}
function change_transition() {
current_transition = document.TopForm.transitionType.selectedIndex;
}
function preload_complete() {
}
function reset_timer() {
clearTimeout(timer);
if (onoff) {
timeout_value = 7 * 1000;
timer = setTimeout('go_to_next_photo()', timeout_value);
}
}
function wait_for_current_photo() {
/* Show the current photo */
if (!show_current_photo()) {
/*
* The current photo isn't loaded yet. Set a short timer just to wait
* until the current photo is loaded.
*/
status = "Picture is loading...(" + current_location + " of" + photo_count +
"). " + "Please Wait..." ;
clearTimeout(timer);
timer = setTimeout('wait_for_current_photo()', 500);
return 0;
} else {
status = "Slide show is running..." ;
preload_next_photo();
reset_timer();
}
}
function go_to_next_photo() {
/* Go to the next location */
current_location = next_location;
/* Show the current photo */
if (!show_current_photo()) {
wait_for_current_photo();
return 0;
}
preload_next_photo();
reset_timer();
}
function preload_next_photo() {
/* Calculate the new next location */
next_location = (parseInt(current_location) + parseInt(direction));
if (next_location > photo_count) {
next_location = 1;
if (!loop) {
stop();
}
}
if (next_location == 0) {
next_location = photo_count;
if (!loop) {
stop();
}
}
/* Preload the next photo */
preload_photo(next_location);
}
function show_current_photo() {
/*
* If the current photo is not completely loaded don't display it.
*/
if (!images[current_location] || !images[current_location].complete) {
preload_photo(current_location);
return 0;
}
/* transistion effects */
if (browserCanBlend){
var do_transition;
if (current_transition == (transition_count)) {
do_transition = Math.floor(Math.random() * transition_count);
} else {
do_transition = current_transition;
}
document.images.slide.style.filter=transitions[do_transition];
document.images.slide.filters[0].Apply();
}
document.slide.src = images[current_location].src;
setCaption(photo_captions[current_location]);
if (browserCanBlend) {
document.images.slide.filters[0].Play();
}
return 1;
}
function preload_photo(index) {
/* Load the next picture */
if (pics_loaded < photo_count) {
/* not all the pics are loaded. Is the next one loaded? */
if (!images[index]) {
images[index] = new Image;
images[index].onLoad = preload_complete();
images[index].src = document.getElementById("photo_urls_" + index).href;
pics_loaded++;
}
}
}
function setCaption(text) {
changeElementText("caption", "[" + current_location + " of " + photo_count + "] " + text);
}
preload_photo(1);
/* Start the show. */
play();
}
/*
FILE ARCHIVED ON 14:47:29 May 03, 2006 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 14:51:45 May 12, 2024.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
captures_list: 0.741
exclusion.robots: 0.08
exclusion.robots.policy: 0.069
esindex: 0.009
cdx.remote: 7.176
LoadShardBlock: 170.608 (3)
PetaboxLoader3.datanode: 80.069 (4)
PetaboxLoader3.resolve: 123.638 (3)
load_resource: 93.892
*/