//simple toggle script, click e, show hide targetId, if 'Show' or 'Hide' in the link label toggle also

function showHide(e, targetId){
   var toggleLabel= e.firstChild.nodeValue;
   var getClass = e.className;
   getClass=='plus'? e.className='minus' : e.className='plus';
	toggleLabel.match('Show')? toggleLabel = toggleLabel.replace(/Show/i,'Hide') : toggleLabel=toggleLabel.replace(/Hide/i,'Show');
   e.parentNode.getElementsByTagName('a')[0].firstChild.nodeValue = toggleLabel;
   var target=document.getElementById(targetId);
   target.style.display=='block'? target.style.display='none': target.style.display='block';
}