// fx1

function MoEff_onm_over() {
	
	var colo_now = this.style.color;

	this.col_obj = new Object();
	this.col_obj.value = colo_now;

	//this.style.color="#"+mo_eff_col1;
	this.style.backgroundColor="#"+mo_eff_col2;
	
	//this.style.border="#"+mo_eff_col1+" solid 1px";
	//this.style.padding="2px 2px 2px 2px";
}

function MoEff_onm_out() {
	
		this.style.color=this.col_obj.value;
		this.style.backgroundColor="transparent";
		//this.style.border="transparent solid 0px";
		//this.style.padding="3px 3px 3px 3px";
		if (document.getElementById("hldiv")) {
			document.getElementById("hldiv").style.display = "none";
		}
}

function MoEff_init(e) {
	
	var txdiv = document.getElementById("txdiv");
	var child_id;
	var i=0;
	while(true) {
		
		child_id = "tag" + i;
		if (document.getElementById(child_id)) {
			document.getElementById(child_id).onmouseover = MoEff_onm_over;
			document.getElementById(child_id).onmouseout = MoEff_onm_out;
			i++;
		} else {
			break;
		}
	}
}

window.onload = MoEff_init;
