		var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID starting at 1 (id="sub1", id="sub2", etc)
		var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this page only
		var k=0;
		if (document.getElementById){ 		
		document.write('<style type="text/css">\n')
		document.write('.submenu{display: none;}\n')
		document.write('</style>\n')						
		}
		
		function SwitchMenu(obj,txtid,bgimg){
	
			if(document.getElementById){
			var el = document.getElementById(obj);
			var txt = document.getElementById(txtid);
            var txtimg = document.getElementById("bckimg"+bgimg);
			var imgid=obj+"img";
			k=0;
			var img=document.getElementById(imgid);
			var ar = document.getElementById("masterdiv").getElementsByTagName("div");	
				
				if(el.style.display != "block"){
				for(var j=1;j<=5;j++)
				{
					if(obj!="sub"+j)
					{
					}
				}				
					for (var i=0; i<ar.length; i++){
						if (ar[i].className=="submenu")
						{ //DynamicDrive.com change
							var imgid1="sub"+(++k)+"img";													
							document.getElementById(imgid1).src="./images/faq-plus.gif";
							ar[i].style.display = "none";
											
						}
											
					}
					
					for (var a=1; a<=ar.length; a++){
					
					if(a<=5)
					{				
					if(document.getElementById("txt"+a)!=null)
    				document.getElementById("txt"+a).className="ltorg";
    				if(document.getElementById("bckimg"+a)!=null)
						document.getElementById("bckimg"+a).className="faqbg"+a;
						
					}
					else
					{
					//
						if(a==bgimg)
						{
					    document.getElementById("bckimg"+bgimg).className="faqbg6";
					    //
					    }
					}
						}
						
					el.style.display = "block";
						
					if(txt!=null)		
					txt.className="litorg";						
					if(txtimg!=null)
					{
					
					    if(bgimg<=5)
					    {					        
					        txtimg.className="actfaqbg"+bgimg;	
					     }
					    else					        
					        txtimg.className="actfaqbg6";
					}
							
					document.getElementById(imgid).src="./images/faq-minus.gif";
					
				}else{
					document.getElementById(imgid).src="./images/faq-plus.gif";
					if(bgimg>5)
					{
					
					    document.getElementById("bckimg"+bgimg).className="faqbg6";		
					    }
					else
					{
				
					    if(txtimg!=null)
			            txtimg.className="faqbg"+bgimg;	
					}			
					el.style.display = "none";
					if(txt!=null)
			        txt.className="ltorg";	
									
				}
			}
		}
			
