var currentPrint = 1;

window.onload = WindowLoad;

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	
function WindowLoad() { 
	
	if (window.location.hash != '') {
		showPrint(window.location.hash.substr(6));
	}
			
} 

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

function showPrint(num) {
	
	if (document.getElementById) {

		document.getElementById("print"+currentPrint).style.display = "none";
		document.getElementById("print"+num).style.display = "inline";
		
		currentPrint = num;
		
		window.location.hash = '#image'+currentPrint;
	}
	
	return false;
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

function showThumb(num) {

	if (document.getElementById) {
	
		document.getElementById("thumb"+num).style.display = "none";
	}
	
	return false;

}

function hideThumb(num) {

	if (document.getElementById) {
	
		document.getElementById("thumb"+num).style.display = "block";
	}
	
	return false;

}
