
function mOver(id){
if(isMemo==1&&id=="mem"){return}
if(LastID != id){
with(document.getElementById(id).style){
color = "#e4682a"
fontWeight="bold"
borderBottom="1px"
borderStyle="solid"
borderColor="#e4682a"
}
}
}


function mOut(id){
if(isMemo==1&&id=="mem"){return}
if(LastID != id){
with(document.getElementById(id).style){
color = "#000"
fontWeight="normal"
border="0px"
}
}
}

LastID = ""
function active(id){
with(document.getElementById(id).style){
color = "#b13507" // onclick 
fontWeight = "bold"
borderBottom = "1px"
borderStyle = "solid"
borderColor = "#e4682a"
}

if (LastID != id && LastID != ""){
with(document.getElementById(LastID).style){
color = ""
fontWeight = ""
border = "0"
}
}

LastID = id

// parent scrolls up because the anchor position from the end of the page is less than the window height
document.body.scrollTop=0 //  this repositions parent

}

isMemo=0
function memoLinkStatus(){
memEl=document.getElementById("mem")

if(isMemo==0){
isMemo=1
with(memEl.style){
color = "#b13507"
fontWeight = "bold"
borderBottom = "1px"
borderStyle = "solid"
borderColor = "#e4682a"
}
}
else{
isMemo=0
with(memEl.style){
color = "#000"
fontWeight = "normal"
border = 0
}
}
}


