function toggleDiv(divID, divID2, sw){
				    
	    /******** 	toggle the visibility of div and div2 **************
	    *
		* divID - div to show/hide
		* divID2 - optonal div to show/hide
		* sw - switch
	    *
		* if se if provided and true, then show div
		* div2 is useful when we want to hide div2 with div
		*/
		
			div = document.getElementById(divID);
			div2 = document.getElementById(divID2); 
					
			if (sw){
				div.style.display = ""; //alert('shitch on');
			}else{
				 
					if (div.style.display != ""){
					 	div.style.display = ""; //alert('on');
					
				}else{
						div.style.display="none"; //alert('off');
						if (div2)
						{
							div2.style.display="none"; 
								}
					}
				}
}
