function findLivePageWidth() {	if (window.innerWidth)		return window.innerWidth;	if (document.body.clientWidth)		return document.body.clientWidth;	return (null);}/*function findLivePageHeight() {	if (window.innerHeight)		return window.innerHeight;	if (document.body.clientHeight)		return document.body.clientHeight;	return (null);}*/function initSlides() {	objectSlide=document.getElementById('slide');	objectCover=document.getElementById('cover');	objectPhotoSlide=document.getElementById('photoSlide');}function showSlide(evt) {	objectPhotoSlide.innerHTML='<img src="' + evt.src +'" id="largePhoto" alt="Glenview Cottage - Photo" border="0" />';	objectPhotoSlide.innerHTML+='<p>' + evt.alt +'</p>';	objectLargePhoto=document.getElementById('largePhoto');	livePageWidth = findLivePageWidth();//	livePageHeight = findLivePageHeight();	if(evt.alt == "Glenelg")	newLeft = ((livePageWidth/4)-8) - (50)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else if(evt.alt == "Black Cuillin Hills, Isle of Skye")	newLeft = ((livePageWidth/4)-8) - (50)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else if(evt.alt == "The Lounge")	newLeft = ((livePageWidth/4)-8) - (50)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else if(evt.alt == "Plockton Sunset from Fernaig")	newLeft = ((livePageWidth/4)-8) - (-30)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else if(evt.alt == "Falls of Glomach")	newLeft = ((livePageWidth/4)-8) - (-40)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else if(evt.alt == "The Cottage")	newLeft = ((livePageWidth/4)-8) + (5)	//reposition for wide picture, increase number to move to right. Positive number moves more right	else newLeft = ((livePageWidth/2)-8) - (280); //was originally 200//	newTop = (livePageHeight/4) - (10);	objectSlide.style.left = newLeft + 'px';//	objectSlide.style.top = newTop + 'px';    window.scrollBy(-5000,-5000); //reset page to top	objectSlide.style.display = 'block';	objectCover.style.display = 'block'; //cover is opaque layer}function hideSlide() {	objectSlide.style.display = 'none';		objectCover.style.display = 'none';}