// exit gray
function log_out(B)
{
var A=document.getElementsByTagName("body")[0];
A.style.filter="progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if(confirm(B))
{
return true
}
else
{
A.style.filter="";
return false
}
}
// Leaving the kidnapping of frames
if (window != window.top)
top.location.href = location.href;
// out blur url
    	function prende() {
    	anclas=document.getElementsByTagName("a").length;
    	for (i=0;i<anclas;i++)
    	document.getElementsByTagName("a").item(i).onfocus=new Function("if(this.blur)this.blur()")
    	}
// scroll
function scrollit_r2l(seed)
{
        var m1  = "   Foro educativo...                    ";
        var m2  = "   Noticias... y más...!!!                 ";

        var msg=m1+m2;
        var out = "  EDUCACIONENRED.COM  ";
        var c   = 1;
       if (seed > 100) {
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        out+=" ";
                }
               out+=msg;
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
     else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scrollit_r2l(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }
        }
}

//

function setPointer(theRow, thePointerColor)
{
    if (thePointerColor == '' || typeof(theRow.style) == 'undefined') {
        return false;
    }
    if (typeof(document.getElementsByTagName) != 'undefined') {
        var theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        var theCells = theRow.cells;
    }
    else {
        return false;
    }

    var rowCellsCnt  = theCells.length;
    for (var c = 0; c < rowCellsCnt; c++) {
        theCells[c].style.backgroundColor = thePointerColor;
    }

    return true;
} // end of the 'setPointer()' function