
function showImage(type) {
	if (document.getElementById) {
		if (document.images) {
		    if (type == "first") {
				imageNo = 0;
			}
			else if (type == "next") {
				imageNo++;
				if (imageNo >= imageLength) {
					imageNo = 0;
				}
			}
			else if (type == "previous") {
				imageNo--;
				if (imageNo < 0) {
					imageNo = imageLength - 1;
				}
			}
			document.getElementById('propertyimage').src = imageArray[imageNo];
			document.getElementById('propertyimage').alt = 'Image ' + ( imageNo + 1 );
			document.getElementById('imageCounter').innerHTML = 'Image ' + ( imageNo + 1 ) + ' of ' + imageLength;
	    }
		return false;
	}
	return true;
}

function showHelp(content,title) {
	if (document.getElementById) {
	    document.getElementById('helpTitle').innerHTML = '<strong>' + title + '</strong>';
			document.getElementById('helplabel').innerHTML = content;
	    }
		return false;
}
