// JavaScript Document

ChBoxOff = new Image();
ChBoxOn = new Image();
ChBoxOff2 = new Image();
ChBoxOn2 = new Image();
au_act = new Image();
au_innact = new Image();

ChBoxOff = 'images/check_box_gray_off.gif';
ChBoxOn = 'images/check_box_gray_on.gif';
ChBoxOff2 = 'images/check_box_orange_off.gif';
ChBoxOn2 = 'images/check_box_orange_on.gif';
au_act= 'images/au_active.gif';
au_innact = 'images/au_innactive.gif';


var chBox = new Array();

function doCheckBox(element, ind){
	if (chBox[ind] !=1 ) {element.src = ChBoxOn;
		chBox[ind] =1;	} else {
		element.src = ChBoxOff;	
		chBox[ind] =0;
		}
}

function doCheckBox2(element, ind){
	if (chBox[ind] !=1 ) {element.src = ChBoxOn2;
		chBox[ind] =1;	} else {
		element.src = ChBoxOff2;	
		chBox[ind] =0;
		}
}

function doAu(element, act){
if (act==1) element.style.backgroundImage="url(images/au_active.gif)"; else element.style.backgroundImage="url(images/au_innactive.gif)";
}
