<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<style type="text/css">
<!--
body {
padding: 0px;
margin: 0px;
font-family: Arial;
font-size: 10px;
background-color: #666666;
}
table, td {
font-size: 10px;
}
#inhoud {
position: relative;
background-color: #FAFAFA;
width: 0px;
height: 0px;
}
#size {
font-size: 18px;
color: #FAFAFA;
}
-->
</style>
<script type="text/javascript">
<!--
/*
.......
..&MMMMMMMMMMMMMMNa..
.MMMMMMMa&.. .JMMMMMMMMM""""""WMMMMMMMMN&. ..&MMMMMMMN.
JMMD!` .!?""MMa. .JMMMMMMMY^` ."WMMMMMMMa. ..MM#""!! !"MMF
.MF ."MMMMMMMMY' ?WMMMMMMM"^ JMF
JM. .TMMMD .YMM"^ J#
Th .N&.. .YN. ..#^ ..JNMp .#
?h .MMMMMMM 7N. .JD` JMMMMMMh .@
.N. .MMMMMM@ .Wx .M" .MMMMMMN .D
.W. dMMMMMF .Yx .#= WMMMMMh J^
JMMMMMF .Yx .#^ WMMMMMF
.MMMMMF T` "! MMMMMM
JMMMMM .MMMMMF
dMMMMF JMMa. .&MMr 4MMMMF
MMMMM MMMMMMa. ..MMMMMM .MMMMF
MMMMF MMMMMMMMNJ. ..MMMMMMMMM MMMMF
JMMMF JMMMMMMMMMMN&. ..MMMMMMMMMMMF JMMMF
JMMM TMMMMMMMMMM"""" """"MMMMMMMMMM" JMMM^
WMMF JMMF
.MMh MMM!
JMM, JMM5
JMM, JMMt
.MMN. ..MMM^
4MMMN&.. ..+MMMMD
.WMMMMMMMMMNN&&&&&&&&&&&&&&&NNMMMMMMMMM#'
.UMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMY!
?WMMMMMMMMMMMMMMMMMMMMMMMMMMM#^
J"WMMMMMMMMMMMMMMMMMMM#"!
.7"""""""""""^!
*/
var sizeSpeed = 30; // Snelheid van verkleinen of vergroten tussen 0 en 50 met 0 traag en 50 snel
// sizeSpeed standaard op 30
var fadeSpeed = 30; // Snelheid van in- en uitfaden van de afbeelding tussen 0 en 50 met 0 traag en 50 snel
// fadeSpeed standaard op 30
fotos[0] = new Image();
fotos[1] = new Image();
fotos[2] = new Image();
fotos[3] = new Image();
fotos[4] = new Image();
var loading = new Image();
loading.src = "loading.gif";
var fotosSource
= new Array(); fotosSource[0] = "fotos/foto1.jpg";
fotosSource[1] = "fotos/foto2.jpg";
fotosSource[2] = "fotos/foto3.jpg";
fotosSource[3] = "fotos/foto4.jpg";
fotosSource[4] = "fotos/foto5.jpg";
var fotosWidth
= new Array(); fotosWidth[0] = 640;
fotosWidth[1] = 350;
fotosWidth[2] = 500;
fotosWidth[3] = 500;
fotosWidth[4] = 640;
var fotosHeight
= new Array(); fotosHeight[0] = 480;
fotosHeight[1] = 233;
fotosHeight[2] = 279;
fotosHeight[3] = 375;
fotosHeight[4] = 480;
var fotosComment
= new Array(); fotosComment[0] = "Wat een prachtig uitzicht vanuit m'n kamer";
fotosComment[1] = "Wat een prachtig uitzicht langs de andere kant";
fotosComment[2] = "Hoezo kortbij?";
fotosComment[3] = "Ooooooooh hoe schattig";
fotosComment[4] = "WTF! 1,34Mb voor een foto! :/";
var width = 0;
var height = 0;
var opacity = 100;
var sizeTimer;
var fadeTimer;
function showPhoto(fotoId) {
document.getElementById("LoadingHolder").innerHTML = "";
document.getElementById('fotoHolder').innerHTML = " ";
document.getElementById('commentaar').innerHTML = "";
width = fotosWidth[fotoId]+20;
height = fotosHeight[fotoId]+80;
clearTimeout(sizeTimer);
clearTimeout(fadeTimer);
curOpacity = 0;
sizeTimer = setTimeout("photosizing("+fotoId+")",1);
}
curWidth = 0;
curHeight = 0;
curOpacity = 0;
function photosizing(imageId) {
var telHeight;
var telWidth;
var speedCounter = 50 - sizeSpeed;
if (speedCounter < 0) {
speedCounter = speedCounter * -1;
}
if (speedCounter == 0) {
speedCounter = 2;
}
telHeight = (height - curHeight) / speedCounter;
telWidth = (width - curWidth) / speedCounter;
curHeight += telHeight;
curWidth += telWidth;
if (Math
.round(curHeight
) == height
&& Math
.round(curWidth
) == width
) { // Fix Width
document.getElementById('inhoud').style.height = height;
document.getElementById('inhoud').style.width = width;
// Start loading
fotos[imageId].src = fotosSource[imageId];
document.getElementById("fotoHolder").innerHTML = "<img src=\"" + fotosSource[imageId] + "\" alt=\"\" border=\"0\" id=\"foto\" onload=\"placeImage(this);\" name=\"" + imageId + "\"/>";
document.getElementById('foto').style.width = fotosWidth[imageId];
document.getElementById('foto').style.height = fotosHeight[imageId];
// Place Loading Image
document.getElementById("LoadingHolder").innerHTML = "<img src=\"" + loading.src + "\" alt=\"\" />";
var object = document.getElementById('foto').style;
object.opacity = 0;
object.MozOpacity = 0;
object.KhtmlOpacity = 0;
object.filter = "alpha(opacity=0)";
return ;
}
document.getElementById('inhoud').style.height = curHeight;
document.getElementById('inhoud').style.width = curWidth;
sizeTimer = setTimeout("photosizing("+imageId+")",1);
}
function placeImage(imageObject) {
// Start Fade
document.getElementById("LoadingHolder").innerHTML = "";
// Set Photocomment
document.getElementById('commentaar').innerHTML = fotosComment[imageObject.name];
fadeTimer = setTimeout("changeOpac('foto')",1);
}
function changeOpac(objectId) {
var fadeCounter = 50 - fadeSpeed;
if (fadeCounter < 0) {
fadeCounter = fadeCounter * -1;
}
if (fadeCounter == 0) {
fadeCounter = 2;
}
telOpacity = (opacity - curOpacity) / fadeCounter;
curOpacity += telOpacity;
var object = document.getElementById(objectId).style;
object.opacity = curOpacity / 100;
object.MozOpacity = curOpacity / 100;
object.KhtmlOpacity = curOpacity / 100;
object.filter = "alpha(opacity="+ curOpacity +")";
if (Math
.round(curOpacity
) == 100) { curOpacity = 0;
return;
}
fadeTimer = setTimeout("changeOpac('foto')",1);
}
-->
</script>
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; height: 100%;">
<tr>
<td style="height: 120px;">
<div style="padding: 5px;">
<a href="javascript:showPhoto('0');"><img src="fotos/foto1_2.jpg" alt="" border="0" /></a> <a href="javascript:showPhoto('1');"><img src="fotos/foto2_2.jpg" alt="" border="0" /></a> <a href="javascript:showPhoto('2');"><img src="fotos/foto3_2.jpg" alt="" border="0" /></a> <a href="javascript:showPhoto('3');"><img src="fotos/foto4_2.jpg" alt="" border="0" /></a> <a href="javascript:showPhoto('4');"><img src="fotos/foto1_2.jpg" alt="" border="0" /></a>
</div>
</td>
</tr>
<tr>
<td valign="middle">
<div align="center">
<div id="inhoud">
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 10px; height: 10px; background-image: url(tl.gif); font-size: 1px;"></td>
<td style="height: 10px; font-size: 1px"></td>
<td style="width: 10px; height: 10px; background-image: url(tr.gif); font-size: 1px;"></td>
</tr>
<tr>
<td style="width: 10px;"></td>
<td>
<span id="LoadingHolder"></span><span id="fotoHolder"> </span>
</td>
<td style="width: 10px;"></td>
</tr>
<tr style="height: 60px;">
<td style="width: 10px;"></td>
<td style="vertical-align: top;"><span id="commentaar"></span></td>
<td style="width: 10px;"></td>
</tr>
<tr>
<td style="width: 10px; height: 10px; background-image: url(bl.gif); font-size: 1px;"></td>
<td style="height: 10px; font-size: 1px"></td>
<td style="width: 10px; height: 10px; background-image: url(br.gif); font-size: 1px;"></td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>