/***************************************************************************
* Create a photo object                                                    *
***************************************************************************/
function photo(id, galleries_id, photo_ref, section_code, src, width, height, caption, thumbnail, thumbnail_width, thumbnail_height, home, gallery, description, takendate, photographer, location, item_price, purchase_instruction) {
	this.id = id;
	this.galleries_id = galleries_id;
	this.photo_ref = photo_ref;
	this.section_code = section_code;
	this.src = src;
	this.width = width;
	this.height = height;
	this.caption = caption;
	this.thumbnail = thumbnail;
	this.thumbnail_width = thumbnail_width;
	this.thumbnail_height = thumbnail_height;
	this.home = home;
	this.gallery = gallery;
	this.description = description;
	this.takendate = takendate;
	this.photographer = photographer;
	this.location = location;
	this.item_price = item_price;
	this.purchase_instruction = purchase_instruction;
}
/***************************************************************************
* Create a gallery object                                                  *
***************************************************************************/

function gallery(id,featured_images,title,section_code) {
	this.id = id;
	this.featured_images = featured_images;
	this.title = title;
	this.section_code = section_code;}

/***************************************************************************
* Select a random value from a comma separated list                        *
***************************************************************************/
function randomListVal(list) {
	arrayVals = list.split(',');
	pos = Math.round(Math.random() * (arrayVals.length - 1));
	debug('Returning ' + arrayVals[pos] + ' as random image');
	return arrayVals[pos];
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('2366491,2366490,2366489,2366488,2366487,2366485,2366484,2366481,2366479,2366477,2366474,2366473,2366472,2366469,2366468,2366459,2366454,2366438,2366380,2366364,2366363,2366357,2366355,2366349,2366343,2359784,2359775,2359687,2359603,2359569,2359331,2359330,2359325,2359314,2359304,2359299,2359298,2359297,2359257,2359245,2359239,2359224,2359205,2359101,2359077,2358664,2358661,2358658,2358657,2358656,2358655,2358654,2358653,2358652,2358648,2358645,2352176,2352174,2352173,2352166,2352153,2352149,2352144,2352141,2352131,2352124,2352119,2352104,2352101,2352098,2352092,2352084,2352081,2352030,2351959,2351956,2351955,2351954,2351947,2351940,2351844,2351836,2351831,2351823,2347827,2347826,2347823,2347822,2347819,2347816,2347815,2347811,2347810,2347808,2347807,2347786,2347570,2347564,2347555,2346753,2346752,2346750,2346748,2346743,2346735,2346733,2346729,2346716,2346714,2346710,2346709,2346708,2346707,2346706,2346704,2346703');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if (!basic) {
			img.src = photos[j].src;
			img.width = photos[j].width;
			img.height = photos[j].height;
			}
			else {
				newImage = new Image(photos[j].width,photos[j].height);
				newImage.src = photos[j].src;
				document.images[img.name] = newImage;
				debug(newImage.src);
			}
			break;
		}
	}
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline() {
	
	imageID = randomListVal('2366491,2366490,2366489,2366488,2366487,2366485,2366484,2366481,2366479,2366477,2366474,2366473,2366472,2366469,2366468,2366459,2366454,2366438,2366380,2366364,2366363,2366357,2366355,2366349,2366343,2359784,2359775,2359687,2359603,2359569,2359331,2359330,2359325,2359314,2359304,2359299,2359298,2359297,2359257,2359245,2359239,2359224,2359205,2359101,2359077,2358664,2358661,2358658,2358657,2358656,2358655,2358654,2358653,2358652,2358648,2358645,2352176,2352174,2352173,2352166,2352153,2352149,2352144,2352141,2352131,2352124,2352119,2352104,2352101,2352098,2352092,2352084,2352081,2352030,2351959,2351956,2351955,2351954,2351947,2351940,2351844,2351836,2351831,2351823,2347827,2347826,2347823,2347822,2347819,2347816,2347815,2347811,2347810,2347808,2347807,2347786,2347570,2347564,2347555,2346753,2346752,2346750,2346748,2346743,2346735,2346733,2346729,2346716,2346714,2346710,2346709,2346708,2346707,2346706,2346704,2346703');
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			if ('gallery' != '') {
						if (photos[j].galleries_id != '') {
						document.write('<a href="' + photos[j].section_code + '_' + photos[j].galleries_id + '.html">');
						}
						else {
						document.write('<a href="gallery.html">');
						}
			}
			document.write('<img src="' + photos[j].src + '" width="' + photos[j].width + '" height="' + photos[j].height + '" class="mainhomepageimage" id="mainSample" name="mainSample" alt="' + photos[j].caption  + '" border="0">');
			if ('gallery' != '') {
				document.write('</a>');
			}
			break;
		}
	}
	
}

/***************************************************************************
* Show the next image in a gallery.  field = hidden field containing       *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function next(field,img) {

	debug('IN next');
	imageID = field.value;
	
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k= j + 1;
	while (nextImg < 0) {
		for (; k < photos.length; k++) {
			debug('testing image ' + k + ': gallery = ' + photos[k].galleries_id + '(existing: ' + photos[j].galleries_id + ')');
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				debug('setting  nextImg = ' + k);
				break;
			}
		}
		if (nextImg == -1) {
			k = 0;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);
	}


}


/***************************************************************************
* Set a new image on the gallery detail page given its array position      *
***************************************************************************/
function updateImage (nextImg, field,img) {
	debug('Updating image');
	if (!basic && !(0)) {
		debug('In updateImage');
		debug('setting  img src = ' + photos[nextImg].src);
		
					
			document.getElementById('imagePhoto').innerHTML = '<img class="mainphoto" src="' + photos[nextImg].src + ' " id="mainPic" name="mainPic" width="' + photos[nextImg].width + '" height="' + photos[nextImg].height + '" alt="' + photos[nextImg].caption + '" border="0">';
						field.value = photos[nextImg].id;
			document.getElementById('imageTitle').innerHTML = photos[nextImg].caption;
			document.title = photos[nextImg].caption;
			/* apply 'blank' classname to element where */			if ( photos[nextImg].caption == '') {
				document.getElementById('imageTitle').style.className = 'blank';
			}
			else {
				document.getElementById('imageTitle').style.className = 'normal';
			}
						temp = '';
			if (photos[nextImg].description != '') {
				temp = temp +  '<p id="imageDescription">' + photos[nextImg].description + '</p>';
			}
			if (photos[nextImg].photo_ref != '') {
				temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + photos[nextImg].photo_ref + '</p>';
			}
			if (photos[nextImg].takendate != '') {
				debug('Resetting taken date');
				temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + photos[nextImg].takendate + '</p>';
			}
			
			if (photos[nextImg].location != '') {
				debug('Resetting location');
				temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  photos[nextImg].location + '</p>';
			}
			
			if (photos[nextImg].photographer != '') {
				debug('Resetting photographer');
				temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + photos[nextImg].photographer + '</p>';
			}
			if (temp != '') {				temp = temp + '<div class="spacer"></div>';			}					if (temp == '') {
			document.getElementById('imageDetails').style.display = 'none';
		}
		else {
			document.getElementById('imageDetails').style.display = 'block';
		}
		document.getElementById('imageDetails').innerHTML =temp;	
		
	}
	else {
		debug('Redirecting to id ' + photos[nextImg].id);
		window.location = 'photo_' + photos[nextImg].id + '.html';
	}
}

/***************************************************************************
* Show the previous image for a gallery. field = hidden field containing   *
* image_id                                                                 *
*  img = reference to image object in which to show image                  *
***************************************************************************/
function previous(field,img) {


	imageID = field.value;
	for (j = 0; j < photos.length; j++) {
		if (photos[j].id == imageID) {
			break;
		}
	}
	debug('image is ' + j);
	nextImg = -1;
	k = j -1;
	while (nextImg < 0) {
		for (; k >= 0; k--) {
			if (photos[k].galleries_id == photos[j].galleries_id) {
				nextImg = k;
				break;
			}
		}
		if (nextImg == -1) {
			k = photos.length -1;
		}
	}
	if (nextImg != -1) {
		updateImage(nextImg, field,img);	
	}
}

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.
        *
* Gallery_id = id of gallery to choose                                     *
* 
 img = reference to html image                                       *
* in which to show image                                                   *
***************************************************************************/
function showGalleryImage(gallery_id, img) {
	debug('Gallery = ' + gallery_id);
	for (i = 0; i < galleries.length; i++) {
		if (galleries[i].id == gallery_id) {
			imageID = randomListVal(galleries[i].featured_images);
				for (j = 0; j < photos.length; j++) {
					if (photos[j].id == imageID) {
						
						img.src = photos[j].thumbnail;
						img.width = photos[j].thumbnail_width;
						img.height = photos[j].thumbnail_height;
						
						break;
					}
				}
			break;
		}
	} 
	}

/***************************************************************************
* If we have dynamic HTML                                                  *
*  replace the galleries link with a list that                             *
* doesn't include the current gallery                                      *
***************************************************************************/
function showGalleries(gallery_id) {
	debug('Showing links for gallery ' + gallery_id);
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
			debug('Testing gallery ' + galleries[i].id);
			
			if (galleries[i].id != gallery_id) {
				debug('Adding link');
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="gallery_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}
/***************************************************************************
* Create the array of Photo objects                                        *
***************************************************************************/
photos = new Array();
photos[0] = new photo(2346753,'152930','ASdA006','gallery','http://www2.clikpic.com/davidwall/images/ASdA006.jpg',301,450,'Sydney Opera House, Sydney, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA006_thumb.jpg',87, 130,1, 1,'','','','','','');
photos[1] = new photo(2346752,'152930','ASdA003','gallery','http://www2.clikpic.com/davidwall/images/ASdA003.jpg',450,303,'Sydney Opera House & Sydney Harbour Bridge, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA003_thumb.jpg',130, 88,1, 0,'','','','','','');
photos[2] = new photo(2347555,'152930','ASdA071','gallery','http://www2.clikpic.com/davidwall/images/ASdA071.jpg',302,450,'Sydney Opera House & Sydney Harbour Bridge, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA071_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[3] = new photo(2347570,'152930','ASdA020','gallery','http://www2.clikpic.com/davidwall/images/ASdA020.jpg',302,450,'Pitt St & Sydney CBD, Sydney, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA020_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[4] = new photo(2352153,'152930','ASdA018','gallery','http://www2.clikpic.com/davidwall/images/ASdA018.jpg',450,300,'Hyde Park & Sydney CBD, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA018_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[5] = new photo(2347564,'152930','ASdA044','gallery','http://www2.clikpic.com/davidwall/images/ASdA044.jpg',301,450,'Manly Beach, Sydney, Australia - aerial #ASdA044','http://www2.clikpic.com/davidwall/images/ASdA044_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[6] = new photo(2358645,'152930',' ASdA014','gallery','http://www2.clikpic.com/davidwall/images/ASdA014.jpg',450,304,'Sydney Opera House & Sydney Harbour, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA014_thumb.jpg',130, 88,1, 0,'','','','','','');
photos[7] = new photo(2352149,'152930','ASdA013','gallery','http://www2.clikpic.com/davidwall/images/ASdA013.jpg',450,303,'Bridge Climbers, Sydney Harbour Bridge and Harbour, Sydney, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA013_thumb.jpg',130, 88,1, 0,'','','','','','');
photos[8] = new photo(2358648,'152930',' ASdA024','gallery','http://www2.clikpic.com/davidwall/images/ASdA024.jpg',305,450,'Sydney Opera House & Sydney Harbour Bridge, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA024_thumb.jpg',88, 130,1, 0,'','','','','','');
photos[9] = new photo(2358652,'152930','ASydA010','gallery','http://www2.clikpic.com/davidwall/images/ASdA010.jpg',450,302,'Sydney Opera House & Sydney Harbour, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA010_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[10] = new photo(2358647,'152930','ASdA038','gallery','http://www2.clikpic.com/davidwall/images/ASdA038.jpg',450,307,'Bondi Beach, Sydney, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA038_thumb.jpg',130, 89,0, 0,'','','','','','');
photos[11] = new photo(2358653,'152930','ASdA016','gallery','http://www2.clikpic.com/davidwall/images/ASdA016.jpg',450,303,'Ferry Terminal, Circular Quay, Sydney, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASdA016_thumb.jpg',130, 88,1, 0,'','','','','','');
photos[12] = new photo(2346703,'152935','AONT050','gallery','http://www2.clikpic.com/davidwall/images/AONT050.jpg',450,300,'Last Light on Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT050_thumb.jpg',130, 87,1, 1,'','','','','','');
photos[13] = new photo(2346704,'152935','AONT015','gallery','http://www2.clikpic.com/davidwall/images/AONT015.jpg',450,300,'Late Afternoon Light on Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT015_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[14] = new photo(2346706,'152935','AONT028','gallery','http://www2.clikpic.com/davidwall/images/AONT028.jpg',450,300,'Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT028_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[15] = new photo(2346707,'152935','AOSA320','gallery','http://www2.clikpic.com/davidwall/images/AOSA320.jpg',450,299,'Painted Hills, near William Creek, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA320_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[16] = new photo(2358654,'152935','AONT019','gallery','http://www2.clikpic.com/davidwall/images/AONT019.jpg',300,450,'Late Afternoon Light on Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT019_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[17] = new photo(2346708,'152935','AOSA409','gallery','http://www2.clikpic.com/davidwall/images/AOSA409.jpg',450,299,'Shadow of Plane on Lake Eyre Salt Lake (15m below sea level), Lake Eyre National Park, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA409_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[18] = new photo(2346714,'152935','AONT023','gallery','http://www2.clikpic.com/davidwall/images/AONT023.jpg',450,300,'Dune Patterns near Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT023_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[19] = new photo(2346709,'152935','AOSA425','gallery','http://www2.clikpic.com/davidwall/images/AOSA425.jpg',450,299,'Oodnadatta Track, and Old Ghan Train Line, near William Creek, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA425_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[20] = new photo(2346710,'152935','AONT064','gallery','http://www2.clikpic.com/davidwall/images/AONT064.jpg',450,300,'Kata Tjuta (The Olgas) , Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT064_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[21] = new photo(2358655,'152935','AONT037','gallery','http://www2.clikpic.com/davidwall/images/AONT037.jpg',450,300,'Late Afternoon Light on Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT037_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[22] = new photo(2358656,'152935','AOSA324','gallery','http://www2.clikpic.com/davidwall/images/AOSA324.jpg',299,450,'Painted Hills, near William Creek, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA324_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[23] = new photo(2358657,'152935','AOSA385','gallery','http://www2.clikpic.com/davidwall/images/AOSA385.jpg',299,450,'Island, Lake Eyre Salt Lake (15m below sea level), Lake Eyre National Park, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA385_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[24] = new photo(2358658,'152935','AOSA372','gallery','http://www2.clikpic.com/davidwall/images/AOSA372.jpg',450,299,'Desert Patterns near William Creek, Outback, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/AOSA372_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[25] = new photo(2358661,'152935','AONT036','gallery','http://www2.clikpic.com/davidwall/images/AONT036.jpg',450,300,'Late Afternoon Light on Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT036_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[26] = new photo(2358664,'152935','AONT001','gallery','http://www2.clikpic.com/davidwall/images/AONT001.jpg',450,300,'Yulara Village and Uluru / Ayers Rock, Uluru - Kata Tjuta National Park, World Heritage Area, Northern Territory, Australia - aerial','http://www2.clikpic.com/davidwall/images/AONT001_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[27] = new photo(2346716,'152938','AQCA169','gallery','http://www2.clikpic.com/davidwall/images/AQCA169.jpg',450,299,'Low Isles (reef in shape of map of Australia), Great Barrier Reef Marine Park, near Port Douglas, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA169_thumb.jpg',130, 86,1, 1,'','','','','','');
photos[28] = new photo(2346750,'152938','AQCA210','gallery','http://www2.clikpic.com/davidwall/images/AQCA2101.jpg',299,450,'Arlington Reef, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA2101_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[29] = new photo(2346735,'152938','AQCA159','gallery','http://www2.clikpic.com/davidwall/images/AQCA159.jpg',450,299,'Tongue Reef and Yacht, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA159_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[30] = new photo(2346748,'152938','AQCA217','gallery','http://www2.clikpic.com/davidwall/images/AQCA217.jpg',450,299,'Green Island, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA217_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[31] = new photo(2346733,'152938','AQCA250','gallery','http://www2.clikpic.com/davidwall/images/AQCA250.jpg',450,299,'Fitzroy Island, near Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA250_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[32] = new photo(2346743,'152938','AQCA134','gallery','http://www2.clikpic.com/davidwall/images/AQCA134.jpg',450,299,'Regal Princess Cruise Ship near Cape Tribulation, Great Barrier Reef, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA134_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[33] = new photo(2346729,'152938','AQCA129','gallery','http://www2.clikpic.com/davidwall/images/AQCA129.jpg',450,299,'Regal Princess Cruise Ship near Cape Tribulation, Great Barrier Reef, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA129_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[34] = new photo(2359077,'152938','AQCA235','gallery','http://www2.clikpic.com/davidwall/images/AQCA235.jpg',450,299,'Fitzroy Island, near Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA235_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[35] = new photo(2359101,'152938','AQCA186','gallery','http://www2.clikpic.com/davidwall/images/AQCA186.jpg',299,450,'Tourist Boats, Low Isles, Great Barrier Reef Marine Park, near Port Douglas, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA186_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[36] = new photo(2359205,'152938','AQCA201','gallery','http://www2.clikpic.com/davidwall/images/AQCA201.jpg',299,450,'Upolu Cay and Dive Boats, Upolu Cay National Park, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA201_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[37] = new photo(2359224,'152938','AQCA162','gallery','http://www2.clikpic.com/davidwall/images/AQCA162.jpg',450,299,'Tongue Reef, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA162_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[38] = new photo(2359226,'152938','AQCA183','gallery','http://www2.clikpic.com/davidwall/images/AQCA183.jpg',299,450,'Snorkeling, Low Isles, Great Barrier Reef Marine Park, near Port Douglas, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA183_thumb.jpg',86, 130,0, 0,'','','','','','');
photos[39] = new photo(2359239,'152938','AQCA221','gallery','http://www2.clikpic.com/davidwall/images/AQCA221.jpg',299,450,'Green Island, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA221_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[40] = new photo(2359245,'152938','AQCA181','gallery','http://www2.clikpic.com/davidwall/images/AQCA181.jpg',299,450,'Wavedancer, Low Isles, Great Barrier Reef Marine Park, near Port Douglas, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA181_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[41] = new photo(2359257,'152938','AQCA142','gallery','http://www2.clikpic.com/davidwall/images/AQCA142.jpg',299,450,'Undine Reef, Great Barrier Reef Marine Park, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA142_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[42] = new photo(2352081,'152939','AQCA121','gallery','http://www2.clikpic.com/davidwall/images/AQCA121.jpg',299,450,'Cape Tribulation, Daintree National Park (World Heritage Area), North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA121_thumb.jpg',86, 130,1, 1,'','','','','','');
photos[43] = new photo(2352098,'152939','AQCA090','gallery','http://www2.clikpic.com/davidwall/images/AQCA090.jpg',450,299,'Daintree River Mouth, Daintree National Park (World Heritage Area), North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA090_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[44] = new photo(2352084,'152939','AQCA087','gallery','http://www2.clikpic.com/davidwall/images/AQCA087.jpg',450,299,'Port Douglas, near Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA087_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[45] = new photo(2352144,'152939','AQCA104','gallery','http://www2.clikpic.com/davidwall/images/AQCA104.jpg',450,299,'Daintree River, Daintree National Park (World Heritage Area), North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA104_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[46] = new photo(2352104,'152939','AQCA260','gallery','http://www2.clikpic.com/davidwall/images/AQCA260.jpg',450,299,'Pier Marina, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA260_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[47] = new photo(2352101,'152939','AQCA006','gallery','http://www2.clikpic.com/davidwall/images/AQCA006.jpg',299,450,'Kuranda Scenic Railway at Red Bluff, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA006_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[48] = new photo(2352092,'152939','AQCA270','gallery','http://www2.clikpic.com/davidwall/images/AQCA270.jpg',450,299,'Cairns Esplanade Lagoon, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA270_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[49] = new photo(2359297,'152939','AQCA041','gallery','http://www2.clikpic.com/davidwall/images/AQCA041.jpg',299,450,'Palm Cove, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA041_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[50] = new photo(2359298,'152939','AQCA020','gallery','http://www2.clikpic.com/davidwall/images/AQCA020.jpg',450,299,'Skyrail, Barron Gorge National Park, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA020_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[51] = new photo(2359299,'152939','AQCA034','gallery','http://www2.clikpic.com/davidwall/images/AQCA034.jpg',450,299,'Yorkeys Knob, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA034_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[52] = new photo(2359304,'152939','AQCA086','gallery','http://www2.clikpic.com/davidwall/images/AQCA086.jpg',299,450,'Port Douglas, near Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA086_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[53] = new photo(2359314,'152939','AQCA039','gallery','http://www2.clikpic.com/davidwall/images/AQCA039.jpg',450,299,'Palm Cove, Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA039_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[54] = new photo(2359325,'152939','AQCA031 ','gallery','http://www2.clikpic.com/davidwall/images/AQCA031.jpg',299,450,'Road to Kuranda, near Cairns, North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA031_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[55] = new photo(2359330,'152939','AQCA069','gallery','http://www2.clikpic.com/davidwall/images/AQCA069.jpg',450,299,'Sheraton Mirage Resort, Four Mile Beach, Port Douglas, near Cairns, North Queensland, Australia - aerial AQCA069','http://www2.clikpic.com/davidwall/images/AQCA069_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[56] = new photo(2359331,'152939','AQCA116','gallery','http://www2.clikpic.com/davidwall/images/AQCA116.jpg',450,299,'Cape Tribulation, Daintree National Park (World Heritage Area), North Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AQCA116_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[57] = new photo(2347810,'152936','AGdA010','gallery','http://www2.clikpic.com/davidwall/images/AGdA010.jpg',500,333,'Surfers Paradise, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA010_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[58] = new photo(2347808,'152936','AGdA069','gallery','http://www2.clikpic.com/davidwall/images/AGdA069.jpg',299,450,'Main Beach, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA069_thumb.jpg',86, 130,1, 1,'','','','','','');
photos[59] = new photo(2347786,'152936','AGdA086','gallery','http://www2.clikpic.com/davidwall/images/AGdA086.jpg',450,299,'The Broadwater, Gold Coast, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA086_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[60] = new photo(2347807,'152936','AGdA034','gallery','http://www2.clikpic.com/davidwall/images/AGdA034.jpg',299,450,'Coolangatta, Queensland (and Tweed Heads, New South Wales), Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA034_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[61] = new photo(2359569,'152936','AGdA078','gallery','http://www2.clikpic.com/davidwall/images/AGdA078.jpg',450,299,'Runaway Bay, Gold Coast, Queensland, Australia - aerial AGdA078','http://www2.clikpic.com/davidwall/images/AGdA078_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[62] = new photo(2359603,'152936','AGdA039','gallery','http://www2.clikpic.com/davidwall/images/AGdA039.jpg',450,299,'Tweed River and Tweed Heads, New South Wales (and Coolangatta, Queensland), Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA039_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[63] = new photo(2359623,'152936','AGdA052','gallery','http://www2.clikpic.com/davidwall/images/AGdA052.jpg',450,299,'Jupiters Casino, Broadbeach, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA052_thumb.jpg',130, 86,0, 0,'','','','','','');
photos[64] = new photo(2359687,'152936','AGdA089','gallery','http://www2.clikpic.com/davidwall/images/AGdA089.jpg',299,450,'The Broadwater, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA089_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[65] = new photo(2359775,'152936','AGdA073','gallery','http://www2.clikpic.com/davidwall/images/AGdA073.jpg',450,299,'Palazzo Versace, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA073_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[66] = new photo(2359784,'152936','AGdA075','gallery','http://www2.clikpic.com/davidwall/images/AGdA075.jpg',450,299,'The Broadwater, Gold Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AGdA075_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[67] = new photo(2352119,'152937','ASuA052','gallery','http://www2.clikpic.com/davidwall/images/ASuA052.jpg',299,450,'Nossa Head and Alexandria Bay, Noosa National Park, Sunshine Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA052_thumb.jpg',86, 130,1, 1,'','','','','','');
photos[68] = new photo(2352124,'152937','ASuA027','gallery','http://www2.clikpic.com/davidwall/images/ASuA027.jpg',450,299,'Mooloolaba, Sunshine Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA027_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[69] = new photo(2352131,'152937','ASuA047','gallery','http://www2.clikpic.com/davidwall/images/ASuA047.jpg',299,450,'Mouth of Noosa River, Noosa Heads, Sunshine Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA047_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[70] = new photo(2352141,'152937','ASuA006','gallery','http://www2.clikpic.com/davidwall/images/ASuA006.jpg',299,450,'Beach at Cotton Tree, Maroochydore, Sunshine Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA006_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[71] = new photo(2366343,'152937','ASuA051','gallery','http://www2.clikpic.com/davidwall/images/ASuA051.jpg',450,299,'Teatree Bay (and Granite Bay), Noosa Heads, Noosa National Park, Sunshine Coast, Queensland, Australia - aerial ASuA051','http://www2.clikpic.com/davidwall/images/ASuA051_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[72] = new photo(2366349,'152937','ASuA048','gallery','http://www2.clikpic.com/davidwall/images/ASuA048.jpg',450,299,'Mouth of Noosa River, Noosa Heads, Sunshine Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA048_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[73] = new photo(2366351,'152937','ASuA013','gallery','http://www2.clikpic.com/davidwall/images/ASuA013.jpg',450,299,'Lighthouse, Point Cartwright, and beach at Buddina, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASuA013_thumb.jpg',130, 86,0, 0,'','','','','','');
photos[74] = new photo(2366355,'152937','ASuA012','gallery','http://www2.clikpic.com/davidwall/images/ASuA012.jpg',450,299,'Mooloolah River Mouth, Mooloolaba, Sunshine Coast, Queensland, Australia - aerial ASuA012','http://www2.clikpic.com/davidwall/images/ASuA012_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[75] = new photo(2347815,'152940','AFsA133','gallery','http://www2.clikpic.com/davidwall/images/AFsA133.jpg',450,299,'Big Woody Island and Great Sandy Straits, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA133_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[76] = new photo(2347811,'152940','AFsA098','gallery','http://www2.clikpic.com/davidwall/images/AFsA098.jpg',450,299,'Wreck of the Maheno, Seventy Five Mile Beach, Fraser Island, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA098_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[77] = new photo(2347816,'152940','AFsA042','gallery','http://www2.clikpic.com/davidwall/images/AFsA042.jpg',450,299,'Lake McKenzie, Fraser Island, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA042_thumb.jpg',130, 86,1, 1,'','','','','','');
photos[78] = new photo(2347819,'152940','AFsA002','gallery','http://www2.clikpic.com/davidwall/images/AFsA002.jpg',450,299,'Boat Harbour, Urangan, Hervey Bay, Fraser Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA002_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[79] = new photo(2366357,'152940','AFsA081','gallery','http://www2.clikpic.com/davidwall/images/AFsA081.jpg',299,450,'Seventy Five Mile Beach, Fraser Island, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA081_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[80] = new photo(2366363,'152940','AFsA106','gallery','http://www2.clikpic.com/davidwall/images/AFsA106.jpg',299,450,'Wreck of the Maheno, Seventy Five Mile Beach, Fraser Island, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA106_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[81] = new photo(2366364,'152940','AFsA010','gallery','http://www2.clikpic.com/davidwall/images/AFsA010.jpg',450,299,'Urangan Pier, Hervey Bay, Fraser Coast, Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA010_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[82] = new photo(2366380,'152940','AFsA127','gallery','http://www2.clikpic.com/davidwall/images/AFsA127.jpg',299,450,'Great Sandy Straits and Fraser Island , Queensland, Australia - aerial','http://www2.clikpic.com/davidwall/images/AFsA127_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[83] = new photo(2351940,'152934','ASth003','gallery','http://www2.clikpic.com/davidwall/images/ASth003.jpg',450,300,'Wilpena Pound, Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth003_thumb.jpg',130, 87,1, 1,'','','','','','');
photos[84] = new photo(2351947,'152934','ASth021','gallery','http://www2.clikpic.com/davidwall/images/ASth021.jpg',300,450,'ABC Range (left), Heysen Range (right) and Wilpena Pound (top), Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth021_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[85] = new photo(2352174,'152934','ASth030','gallery','http://www2.clikpic.com/davidwall/images/ASth030.jpg',450,300,'Wilpena Pound (left), Bunbinyunna Range (centre), Elder Range (right) , Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth030_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[86] = new photo(2352173,'152934','ASth068','gallery','http://www2.clikpic.com/davidwall/images/ASth068.jpg',300,450,'Hawker - Parachilna Road, Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth068_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[87] = new photo(2366438,'152934','ASth010','gallery','http://www2.clikpic.com/davidwall/images/ASth010.jpg',300,450,'Wilpena Pound, Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth010_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[88] = new photo(2366454,'152934','ASth020','gallery','http://www2.clikpic.com/davidwall/images/ASth020.jpg',450,300,'ABC Range (left), Heysen Range (right) and Wilpena Pound (top right), Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth020_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[89] = new photo(2366459,'152934','ASth017','gallery','http://www2.clikpic.com/davidwall/images/ASth017.jpg',450,300,'Wilpena Pound, Flinders Ranges, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASth017_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[90] = new photo(2347822,'152933','ASAA003','gallery','http://www2.clikpic.com/davidwall/images/ASAA003.jpg',300,450,'River Torrens and CBD, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA003_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[91] = new photo(2347823,'152933','ASAA061','gallery','http://www2.clikpic.com/davidwall/images/ASAA061.jpg',450,300,'West Lakes, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA061_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[92] = new photo(2347826,'152933','ASAA010','gallery','http://www2.clikpic.com/davidwall/images/ASAA010.jpg',300,450,'Adelaide Oval, River Torrens and CBD, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA010_thumb.jpg',87, 130,1, 1,'','','','','','');
photos[93] = new photo(2347827,'152933','ASAA037','gallery','http://www2.clikpic.com/davidwall/images/ASAA037.jpg',450,300,'Pier, Glenelg, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA037_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[94] = new photo(2352176,'152933','ASAA018','gallery','http://www2.clikpic.com/davidwall/images/ASAA018.jpg',300,450,'Sir Donald Bradman Drive and Grote Street, CBD, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA018_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[95] = new photo(2366468,'152933','ASAA004','gallery','http://www2.clikpic.com/davidwall/images/ASAA004.jpg',450,300,'Golf Course, River Torrens and CBD, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA004_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[96] = new photo(2366472,'152933','ASAA063','gallery','http://www2.clikpic.com/davidwall/images/ASAA063.jpg',450,300,'West Lakes, AAMI Stadium, and West Lakes Mall, Adelaide, South Australia, Australia - aerial ASAA063','http://www2.clikpic.com/davidwall/images/ASAA063_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[97] = new photo(2366469,'152933','ASAA025','gallery','http://www2.clikpic.com/davidwall/images/ASAA025.jpg',300,450,'Railway Yards, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA025_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[98] = new photo(2366473,'152933','ASAA013','gallery','http://www2.clikpic.com/davidwall/images/ASAA013.jpg',450,300,'River Torrens and CBD, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA013_thumb.jpg',130, 87,1, 0,'','','','','','');
photos[99] = new photo(2366474,'152933','ASAA038','gallery','http://www2.clikpic.com/davidwall/images/ASAA038.jpg',300,450,'Pier, Glenelg, Adelaide, South Australia, Australia - aerial','http://www2.clikpic.com/davidwall/images/ASAA038_thumb.jpg',87, 130,1, 0,'','','','','','');
photos[100] = new photo(2351823,'152931','AMeA007','gallery','http://www2.clikpic.com/davidwall/images/AMeA007.jpg',450,299,'Melbourne CBD and Yarra River, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA007_thumb.jpg',130, 86,1, 1,'','','','','','');
photos[101] = new photo(2352166,'152931','AMeA041','gallery','http://www2.clikpic.com/davidwall/images/AMeA041.jpg',450,299,'Car Park and Queen Victoria Market, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA041_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[102] = new photo(2351831,'152931','AMeA027','gallery','http://www2.clikpic.com/davidwall/images/AMeA027.jpg',288,450,'St. Kilda Road and Albert Park, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA027_thumb.jpg',83, 130,1, 0,'','','','','','');
photos[103] = new photo(2351836,'152931','AMeA048','gallery','http://www2.clikpic.com/davidwall/images/AMeA048.jpg',450,299,'Catani Gardens, St Kilda, Port Phillip Bay, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA048_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[104] = new photo(2351844,'152931','AMeA025 ','gallery','http://www2.clikpic.com/davidwall/images/AMeA025.jpg',450,299,'Albert Park Lake and Port Phillip Bay, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA025_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[105] = new photo(2366477,'152931','AMeA082','gallery','http://www2.clikpic.com/davidwall/images/AMeA082.jpg',299,450,'World War One Submarine Wreck (centre of marina), Picnic Point, Sandringham, Port Phillip Bay, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA082_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[106] = new photo(2366479,'152931','AMeA046','gallery','http://www2.clikpic.com/davidwall/images/AMeA046.jpg',299,450,'Catani Gardens, St Kilda, Port Phillip Bay, Melbourne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA046_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[107] = new photo(2366481,'152931','AMeA030','gallery','http://www2.clikpic.com/davidwall/images/AMeA030.jpg',299,450,'Swanston Street, Melbourne CBD, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA030_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[108] = new photo(2366484,'152931','AMeA016','gallery','http://www2.clikpic.com/davidwall/images/AMeA016.jpg',450,299,'Melbourne CBD and Yarra River, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA016_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[109] = new photo(2366485,'152931','AMeA005','gallery','http://www2.clikpic.com/davidwall/images/AMeA005.jpg',299,450,'Melbourne CBD and Yarra River, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AMeA005_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[110] = new photo(2351954,'152932','AVcG257','gallery','http://www2.clikpic.com/davidwall/images/AVcG257.jpg',299,450,'Great Ocean Road near Lorne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG257_thumb.jpg',86, 130,1, 1,'','','','','','');
photos[111] = new photo(2351956,'152932','AVcG309','gallery','http://www2.clikpic.com/davidwall/images/AVcG309.jpg',450,299,'Tiger Moth Biplane, Torquay, Victoria, Australia AVcG309','http://www2.clikpic.com/davidwall/images/AVcG309_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[112] = new photo(2351955,'152932','AVcG039','gallery','http://www2.clikpic.com/davidwall/images/AVcG039.jpg',450,299,'Muttonbird Island and Loch Ard Gorge, Port Campbell National Park, Great Ocean Road, Victoria, Australia - aerial AVcG039','http://www2.clikpic.com/davidwall/images/AVcG039_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[113] = new photo(2351959,'152932','AVcG266','gallery','http://www2.clikpic.com/davidwall/images/AVcG266.jpg',450,299,'Lorne, Great Ocean Road, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG266_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[114] = new photo(2352030,'152932','AVcG076','gallery','http://www2.clikpic.com/davidwall/images/AVcG076.jpg',299,450,'Twelve Apostles, Port Campbell National Park, Great Ocean Road, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG076_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[115] = new photo(2366487,'152932','AVcG057','gallery','http://www2.clikpic.com/davidwall/images/AVcG057.jpg',299,450,'Loch Ard Gorge and The Island Archway, Port Campbell National Park, Great Ocean Road, Victoria, Australia - aerial AVcG057','http://www2.clikpic.com/davidwall/images/AVcG057_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[116] = new photo(2366488,'152932','AVcG238','gallery','http://www2.clikpic.com/davidwall/images/AVcG238.jpg',299,450,'Great Ocean Road near Lorne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG238_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[117] = new photo(2366489,'152932','AVcG270','gallery','http://www2.clikpic.com/davidwall/images/AVcG270.jpg',299,450,'Lorne, Great Ocean Road, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG270_thumb.jpg',86, 130,1, 0,'','','','','','');
photos[118] = new photo(2366490,'152932','AVcG053','gallery','http://www2.clikpic.com/davidwall/images/AVcG053.jpg',450,299,'The Island Archway and Loch Ard Gorge, Port Campbell National Park, Great Ocean Road, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG053_thumb.jpg',130, 86,1, 0,'','','','','','');
photos[119] = new photo(2366491,'152932','AVcG253 ','gallery','http://www2.clikpic.com/davidwall/images/AVcG253.jpg',450,299,'Great Ocean Road near Lorne, Victoria, Australia - aerial','http://www2.clikpic.com/davidwall/images/AVcG253_thumb.jpg',130, 86,1, 0,'','','','','','');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
galleries = new Array();
galleries[0] = new gallery(152930,'2346753','Sydney Aerial','gallery');
galleries[1] = new gallery(152935,'2346703','Outback Aerial','gallery');
galleries[2] = new gallery(152938,'2346716','Great Barrier Reef Aerial','gallery');
galleries[3] = new gallery(152939,'2352081','Cairns and North Queensland Aerial','gallery');
galleries[4] = new gallery(152936,'2347808','Gold Coast Aerial','gallery');
galleries[5] = new gallery(152937,'2352119','Sunshine Coast Aerial','gallery');
galleries[6] = new gallery(152940,'2347816','Fraser Island Aerial','gallery');
galleries[7] = new gallery(152934,'2351940','South Australia Aerial','gallery');
galleries[8] = new gallery(152933,'2347826','Adelaide Aerial','gallery');
galleries[9] = new gallery(152931,'2351823','Melbourne Aerial','gallery');
galleries[10] = new gallery(152932,'2351954','Victoria Aerial','gallery');

