function change_image(iname) {
document['flipper'].src="images/album_rend1/photo"+iname+".jpg"
}

function iframe_change_image(iname) {
document.images['flipper'].src="images/album_rend1/photo"+iname+".jpg"
}

var thisImg = 0
		
		function newSlide(direction) {
			if (document.images) {
				thisImg = thisImg + direction
				if (thisImg == 47) {
					thisImg = 0
				}
				document['flipper'].src = "images/album_rend1/photo" + thisImg + ".jpg"
			}
		}
function image_count(count) {
parent.thisImg=count
}
		

function noclick(e) {

if (document.all) {

if (event.button==2||event.button==3) {

if (event.srcElement.tagName=="IMG"){

alert("Reproduction of images prohibited.");

return false;

}}}

else if (document.layers) {

if (e.which == 3) {

alert(returntrouble);

return false;

}}

else if (document.getElementById){

if (e.which==3&&e.target.tagName=="IMG"){

alert("Reproduction of images prohibited.")

return false

}}}



function associateimages(){

for(i=0;i<document.images.length;i++)

document.images[i].onmousedown=noclick;

}



function PleaseDoNotReproduceImages(){

if (document.all)

document.onmousedown=noclick

else if (document.getElementById)

document.onmouseup=noclick

else if (document.layers)

associateimages()

}

