var activeRowClass = "oddtablerow";
var inactiveRowClass = "tablerow";

function activateRow(oItem) {
	if(oItem) {
		oItem.className = activeRowClass;
	}
}

function deactivateRow(oItem) {
	if(oItem) {
		oItem.className = inactiveRowClass;
	}
}

function change (url1,url2)
{
parent.main_right.location.href = url1;
parent.main_left.location.href = url2;
}

function changeto(highlightcolor){
	source=event.srcElement
	if (source.tagName=="TR"||source.tagName=="TABLE")
	return
	while(source.tagName!="TD")
	source=source.parentElement
	if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
	source.style.backgroundColor=highlightcolor
	}
	
	function changeback(originalcolor){
	if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
	return
	if (event.toElement!=source)
	source.style.backgroundColor=originalcolor
	}


function makevisible(cur,which){
	strength=(which==0)? 1 : 0.6

	if (cur.style.MozOpacity)
	cur.style.MozOpacity=strength
	else if (cur.filters)
	cur.filters.alpha.opacity=strength*100
	}

