
function OMover(a){
  a.style.color = "#336699";
  a.style.cursor = "pointer";
}

function OMout(b){
  b.style.color = "#333333";
}

function DP(c,d,e){
  if(document.getElementById(c) !== null){
    if(document.getElementById(c).style.display == "none"){
    document.getElementById(c).style.display = "block";
    document.getElementById(d).style.display = "none";
    document.getElementById(e).style.display = "inline";
    }
    else{
    document.getElementById(c).style.display = "none";
    document.getElementById(d).style.display = "inline";
    document.getElementById(e).style.display = "none";
    }
  }
}

function ST(f){
	var y1;
	var y2 = document.getElementById(f).offsetTop;
	for (y1 = 0; y1 < y2; y1 += 40) {
		scrollTo(0,y1);
	}
}

function ST2() {
	var y4 = y5 = y6 = 0;
	if (document.documentElement) {
		y4 = document.documentElement.scrollTop || 0;
	}else if (document.body) {
		y5 = document.body.scrollTop || 0;
	}
	y6 = window.scrollY || 0;
	var y = Math.max(y4, Math.max(y5, y6));
	window.scrollTo(0, Math.floor(y / 2));
	if (y > 0) {
		window.setTimeout("ST2()", 30);
	}
}
