var ActiveMenu = null;
var tmrMenu = null;

function hideIt(object) {
	if(object)
   		object.style.visibility="hidden";
}

function showIt(object) {
   object.style.visibility="visible";
   if(tmrMenu)
       window.clearTimeout(tmrMenu);
   tmrMenu=window.setTimeout("hideIt(ActiveMenu);",8000);
}
  
function hideActive() {
	 if (ActiveMenu !== null) {
	 	hideIt(ActiveMenu);
	 	ActiveMenu = null;
	}
}

function oMn(td,M) {
	hideActive();
    ActiveMenu = document.getElementById(M);
	ActiveMenu.style.left = td.offsetParent.offsetParent.offsetLeft+td.offsetLeft-9;
	ActiveMenu.style.top = td.offsetParent.offsetTop+td.offsetHeight+2;
    if (ActiveMenu.filters) ActiveMenu.filters[0].apply();
    	showIt(ActiveMenu);
    if (ActiveMenu.filters) ActiveMenu.filters[0].play(0.5);
}

var dv_='<div class="Menu" id="';
var _dv='</div>\n\n';
var a_='\t<a href="';
var _a='</a>\n';
var _hr='\t<hr class="hrMenu" />\n';

var mnID=['AboutUsMenu','FAQsMenu','FormsMenu','LocationsMenu'];
var subMns=
[ [ ['neurologist.html','What is a Neurologist?'],
    ['profiles.html','Provider Profiles'],
    ['infusion.html','Infusion Center'],
    ['botox.html','Botulinum Toxin Treatment'],
    ['pkdcenter.html','Parkinson Disease and Movement Disorder Center'],
    ['contactus.html','Contact Info'],
    ['jobs.html','Job Opportunities'] 
  ],
  [ ['faqs_1.html','About our Practice'],
    ['faqs_2.html','Insurance and Billing'],
    ['faqs_3.html','Medical Records'] 
  ],
  [ ['newpt.html','New Patients'],
    ['returnpt.html','Follow-up Patients'],
    ['medrec.html','Request Medical Records'],
    ['disability.html','Disability Forms'] 
  ],
  [ ['fairfax_directions.html','Fairfax'],
    ['reston_directions.html','Reston'],
    ['contactus.html','Contact Us'] 
  ] 
];
//Botulinum Toxin Treatment 
//Parkinson Disease and Movement Disorder Center 

var hidMenus=""; 
try{

for(var x=0;x<mnID.length;++x) {
	hidMenus+=dv_+mnID[x]+'">\n';
	hidMenus+=a_+subMns[x][0][0]+'">'+subMns[x][0][1]+_a;
	for(var y=1;y<subMns[x].length;++y) {
	 	hidMenus+=_hr+a_+subMns[x][y][0]+'">'+subMns[x][y][1]+_a;
        }
        hidMenus+=_dv;
}
}catch(err){
   
}
document.open;
//alert(hidMenus);
document.write(hidMenus);

