var txt='0'; function showphoto(newph,x,y) { if (oldph!='0') {document.getElementById(oldph).style.color='#000000';} document.getElementById(newph).style.color='#ff0000'; ph=newph; if (reg=='5') { document.getElementById('img1').src="maps/ph"+newph+"a.jpg"; document.getElementById('img2').src="maps/ph"+newph+"b.jpg"; switch (newph) { case '51': txt="Census records show GH LITTLE / EW SYKES lived in Bridlington in 1901 and 1911.
I lived there between 1965 and 1969."; break; case '52': txt="BS LITTLE / FE COVERDALE lived at 'The Cliffe', Hessle from 1936. A new housing estate now occupies the site very close to the Humber Bridge."; break; case '53': txt="Many of the HART family living in Wolverhampton in the 1800s had their births, marriages and deaths recorded in St Peters Church records."; break; case '54': txt="The HART Cycle Co. was in a workshop behind the shops down from the Methodist Church. The shops are now gone with a car park in their place."; break; case '55': txt="We've lived in Mildura for over 40 years. The old bridge is no longer there, but the paddlesteamers still cruise the river, though they too have changed."; break; } document.getElementById('txt').innerHTML=txt; document.getElementById('hist2').style.visibility='visible'; } else { document.getElementById('pht').src="maps/ph"+ph+".jpg"; document.getElementById('photo').style.visibility='visible'; } act(); oldph=newph; var pnt = document.getElementById('pointer'); pnt.style.left = x+"px"; pnt.style.top = y+"px"; pnt.style.visibility = "visible"; } function act() { if (onshow==1) { document.getElementById('img1').style.opacity=100; document.getElementById('img1').style.transition="opacity 2s"; document.getElementById('img2').style.opacity=0; document.getElementById('img2').style.transition="opacity 2s"; onshow=2; } else { document.getElementById('img2').style.opacity=100; document.getElementById('img2').style.transition="opacity 2s"; document.getElementById('img1').style.opacity=0; document.getElementById('img1').style.transition="opacity 2s"; onshow=1; } }