|
NEW YEARS EVE start 2008PART ONE (please look at part 2)1
| | | | 2
| | | | 3
| | | | 4
| | | | 5
| | | | 6
| | | | 7
| | | | 8
| | | | 9
| | | | 10
| | | | 11
| | | | 12
| | | | 13
| | | | 14
| | | | 15
| | | | 16
| | | | 17
| | | | 18
| | |
| 19
| | | | 20
| | | | 21
| | | | 22
| | | | 23
| | | | 24
| | | | 25
| | | | 26
| | | | 27
| | | | 28
| | | | 29
| | | | 30
| | | | 31
| | | | 32
| | | | 33
| | | | 34
| | | | 35
| | | | 36
| | | | 37
| | | | 38
| | | | 39
| | | | 40
| | | | 41
| | | | 42
| | | | 43
| | | | 44
| | | | 45
| | | | 46
| | | | 47
| | | | 48
| | | | 49
| | | | 50
| | | | 51
| | | | 52
| | | | 53
| | | | 54
| | | | 55
| | | | 56
| | | | 57
| | | | 58
| | | | 59
| | | | 60
| | | | 61
| | | | 62
| | | | 63
| | | | 64
| | | | 65
| | | | 66
| | | | 67
| | | | 68
| | | | 69
| | | | 70
| | | | 71
| | | | 72
| | | | 73
| | | | 74
| | | | 75
| | | | 76
| | | | 77
| | | | 78
| | | | 79
| | | | 80
| | | | 81
| | | | 82
| | | | 83
| | | | 84
| | | | 85
| | | | 86
| | | | 87
| | | | 88
| | | | 89
| | | | 90
| | | | 100
| | | | 101
| | | | 102
| | | | 103
| | | | 104
| | | | 106
| | | | 107
| 108 | | | 108
| 1091 | | | 109
| | | | 110
| | | | 111
| | | | 112
| | | | 113
| | | | 114
| | | | 115
| | | | 116
| | | | 117
| |
var images = new Array();
var current = 0;
var addEvent = function() {
if ( window.addEventListener ) {
return function(el, type, fn) {
el.addEventListener(type, fn, false);
};
} else if ( window.attachEvent ) {
return function(el, type, fn) {
var f = function() {
fn.call(el, window.event);
};
el.attachEvent('on'+type, f);
};
} else {
return function(el, type, fn) {
element['on'+type] = fn;
}
}
}();
function nextImage(i)
{
if (current != images.length && images[current+1])
{
current++;
i.src = images[current];
}
}
function previousImage(i)
{
if (current != 0 && images[current-1])
{
current--;
i.src = images[current];
}
}
function loadThumb()
{
var imgs = document.getElementsByTagName( "img" );
for (var i = 0; i < imgs.length; i++)
{
if (imgs[i].src.search( ".thm.jpg") != -1)
{
var file = imgs[i].src.replace( ".thm", "" );
imgs[i].style.cursor = "pointer";
imgs[i].style.title = "Click for bigger image.";
imgs[i].count = i;
images[i] = imgs[i].src.replace( ".thm", "" );
addEvent( imgs[i], "click", function() { current = this.count; var img = this.src.replace( ".thm", "" ); window.open( "https://www.passionet.com.au/popup.php?img="+img, "popup", "width=600,height=600,status=yes,scroll=yes,resize=yes" ); } );
}
}
}
addEvent( window, "load", loadThumb );
|
|
|
|