
	function checkLine(theRow, theCheckBox){
		  // Getting theRow's Object
			theRow=document.getElementById(theRow);
			theCheckBox=document.getElementById(theCheckBox);
			
			// 3. Define color depending on checked status
			// alert( "Check.value="+theCheckBox.value+" selCid="+selCid );
			if (theCheckBox.checked==true) {
				newColor='#F4F7FC';
			} else {
				newColor='#E5EEF5';
			}
			theRow.style.backgroundColor = newColor;
			// end 3
	}
	
	function clickBox(theBox,p1,p2){
			if( theBox.checked==true ) {
				theBox.checked=false;
			} else {
				theBox.checked=true;
			}
			checkLine(p1,p2,document);		
	}