	
function changeColor(iddBg, bgg, iddTxt, txxt) {
	document.getElementById(iddBg).style.background=bgg;
	document.getElementById(iddTxt).style.color=txxt;


}


							function secToggle(menu, sec) {
							
							    menuLinks = document.getElementById(menu).style;
							
							  
							  if (menuLinks.display == "none") {
							  
							    menuLinks.display = "block" ;
								

								r_p = sec + '_r_p';
								document.getElementById(r_p).style.display = "none";
								

								r_m = sec + '_r_m';
								document.getElementById(r_m).style.display = "block";
								
								chunk_p = sec + '_chunk_p';
								chunk_m = sec + '_chunk_m';
								//document.getElementById(chunk_p).style.display = "none";
								//document.getElementById(chunk_m).style.display = "block";

							  } else {
							    menuLinks.display = "none";
								
								

								r_p = sec + '_r_p';
								document.getElementById(r_p).style.display = "block";
								

								r_m = sec + '_r_m';
								document.getElementById(r_m).style.display = "none";
								
								chunk_p = sec + '_chunk_p';
								chunk_m = sec + '_chunk_m';
								//document.getElementById(chunk_p).style.display = "block";
								//document.getElementById(chunk_m).style.display = "none";
								
								
							  }
							  lastMenu = menuLinks;
							}

							
							function switchPmColor(idd,hexx,pm){
							
									
									idL = idd + '_l_' + pm
								    iddd = document.getElementById(idL).style ;
							   		iddd.color = hexx ;
									
									idR = idd + '_r_' + pm
								    iddd = document.getElementById(idR).style ;
							   		iddd.color = hexx ;
									
							}
							
							
							
							
							function switchColor(idd,hexx){
								    iddd = document.getElementById(idd).style ;
							   		iddd.color = hexx ;
							}

							
							
							function switchPmColor(idd,hexx,pm){
							
									
									idL = idd + '_l_' + pm
								    iddd = document.getElementById(idL).style ;
							   		iddd.color = hexx ;
									
									idR = idd + '_r_' + pm
								    iddd = document.getElementById(idR).style ;
							   		iddd.color = hexx ;
									
							}

							
							
