//Contents for menu 1 (Florida blueprint map)
var menu1=new Array()
menu1[0]='<p>That portion of this map lying within the lines colored green is the Official map of the Everglades covering the lands embraced in U.S. Patent No. 137 prepared under direction of don B. E. McLin, Commissioner of agriculture and adopted as official by the Trustees of the Internal Improvement fund of the State of Florida. January 2, 1905. and as amended by resolution of said trustees of June 10, 1907 and as amended June 4, 1907.</p><p>W.M. McIntosh, Jr.<br>N.B. Brauard, Governor<br>B.E. McLin, Commissioner of Agriculture<br>W.V. Kuatt, State Treasurer<br>W.K. Ellis, Attorney General</p><p>State of Florida, Dade County</p><p>I, L.T. Merritt, Clerk of the Circuit Court in and for Dade County, Florida, hereby certify that the within map was filed of record in my office, this the 28th day of June, 1907, and recorded in Plat Book B, of page 131</p><p>State of Florida<br>County of Dade</p><p>I hereby certify that the above and foregoing is a true and correct copy of a Plat as recorded in my office in Book B of Plats on page 131. Witness my hand and official seal this 1st day of September AD 1911; Z.T. Merritt, Clerk Circuit Court By N.E. Norton, D.C.</p>'

//Contents for menu 2 (Steven Perris categories)
var menu2=new Array()
menu2[0]='<a href="perris.html">Steven Perris Main Page</a>'
menu2[1]='<a href="perris_aero.html">Aeronautical</a>'
menu2[2]='<a href="perris_auto.html">Automotive</a>'
menu2[3]='<a href="perris_const.html">Construction / Utility</a>'
menu2[4]='<a href="perris_medical.html">Medical</a>'
menu2[5]='<a href="perris_nautical.html">Nautical</a>'
menu2[6]='<a href="perris_places.html">Places / Regional</a>'
menu2[7]='<a href="perris_sports.html">Sports</a>'
menu2[8]='<a href="perris_tropical.html">Tropical</a>'
menu2[9]='<a href="perris_various.html">Various</a>'
menu2[10]='<a href="perris_comm.html">Commissioned Artworks</a>'
menu2[11]='<a href="perris_jobsite.html">Perris on Location</a>'

//Contents for menu 3 (Steven Perris commissioned art categories)
var menu3=new Array()
menu3[0]='<a href="perris.html">Steven Perris Main Page</a>'
menu3[1]='<a href="perris_comm.html">Commissioned Art Main Page</a>'
menu3[2]='<a href="perris_comm_asa.html">Airline Spares America</a>'
menu3[3]='<a href="perris_comm_dnv.html">Det Norske Veritas</a>'
menu3[4]='<a href="perris_comm_sens.html">Sensormatic</a>'
menu3[5]='<a href="perris_comm_wig.html">Wiginton Fire Systems</a>'


var menuwidth='' //default menu width
var menubgcolor='#440b0b'  //menu bgcolor
var disappeardelay=150  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu