
				function changebg(color,st)
				{					
					for(i=1;i<document.frm.jml.value;i++)
					{					
						document.getElementById("bg"+i).style.backgroundColor="";
					}				
						document.getElementById(color).style.backgroundColor="#0878c1";	
					if(st!=0)
					{
						document.frm.curr.value=color
					}
				}
				function clearbg(color)
				{
					document.getElementById(color).style.backgroundColor="";	
					if(st!=0)
					{	
						document.frm.curr.value="";		
					}	
				}