if (document.all) type="IE"; 
if (document.layers) type="NN";
if (!document.all && document.getElementById) type="MO";

function ChangeObjBgColor(id, state){
	if ( state ) {
	 	if (type=="IE") document.all[id].style.backgroundColor='#2A426E';
	 	if (type=="NN") document.layer['id'].bgColor='#2A426E';
	 	if (type=="MO") document.getElementById(id).style.backgroundColor='#2A426E';
	}
	else {
	 	if (type=="IE") document.all[id].style.backgroundColor='#E5E9F1';
	 	if (type=="NN") document.layer['id'].bgColor='#E5E9F1';
	 	if (type=="MO") document.getElementById(id).style.backgroundColor='#E5E9F1';
	}
} 

function hover(obj, state)
{
  if (state)
    obj.src = eval(obj.name + 'x.src')
  else
    obj.src = eval(obj.name + '.src')
}


function top() {
  window.scrollTo(0, 0);
}

function back() {
  history.back();
}

