

var popbackground="white" //specify backcolor or background image for pop window

var windowtitle="FRIENDS OF HOWARD PARK & GARDEN"  //pop window title

//Disable right click script 
var message="No right click!";
///////////////////////////////////

function detectexist(obj){


return (typeof obj !="undefined")

}



function popimage(imgpath, popwidth, popheight, textdescription){



function getpos(){

leftpos=(detectexist(window.screenLeft))? screenLeft+document.body.clientWidth/2-popwidth/1 : detectexist(window.screenX)? screenX+innerWidth/2-popwidth/2 : 1

toppos=(detectexist(window.screenTop))? screenTop+document.body.clientHeight/2-popheight/2 : detectexist(window.screenY)? screenY+innerHeight/2-popheight/2 : 1

if (window.opera){

leftpos-=screenLeft

toppos-=screenTop

}

}



getpos()

var winattributes='width='+popwidth+',height='+popheight+',resizable=yes,left='+leftpos+',top='+toppos

var bodyattribute=(popbackground.indexOf(".")!=-1)? 'background="'+popbackground+'"' : 'bgcolor="'+popbackground+'"'

if (typeof popwin=="undefined" || popwin.closed)

popwin=window.open("","",winattributes)

else{

getpos() //uncomment these 2 lines if you wish subsequent popups to be centered too

popwin.moveTo(leftpos, toppos)

popwin.resizeTo(popwidth, popheight+90)

}

popwin.document.open()

popwin.document.write('<html><title>'+windowtitle+'</title><body '+bodyattribute+'><img src ="'+imgpath+'" style="margin-bottom: 0.1em"><br>'+textdescription+'<BR><A href="javascript: self.close ()">Close this window</A> <BR></body></html>')

popwin.document.close()

popwin.focus()
var message="No right click!";

function clickIE() {if (popwin.document.all) {(message);return false;}}
function clickNS(e) {if 
(popwin.document.layers||(popwin.document.getElementById&&!popwin.document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{popwin.document.captureEvents(Event.MOUSEDOWN);popwin.document.onmousedown=clickNS;}
else{popwin.document.onmouseup=clickNS;popwin.document.oncontextmenu=clickIE;}

popwin.document.oncontextmenu=new Function("return false")


}


//<a href="#" onClick="popimage('images/park1906031.jpg', 525, 450, 'Postcard of Norton Way South taken circa 1950'); return false"><span style="background-color: #FF0000"><img border="2" src="images/park1906031_small.jpg" width="100" height="72" align="right" alt="Norton Way South" vspace="12"></span></a></font></h3>

//		<p align="left">

