

// ------------------------------------------------
<!-- FIN DE ZONA DE MODIFICACIONES -->
// ------------------------------------------------


var marqueewidth=600;

var marqueeheight=35;

var speed=5;

var abreestilo='<center>';

var cierraestilo='</center>';



texto = '<a href="userforum/index.html" target="_blank" style="color:#8f1b3d;"><div style="font-size: 12pt; font-weight: bold; color: #8f1b3d; text-decoration: none;">User Forum "Implications of New Developments in Grid Technologies". February, 13<sup>th</sup></div></a>';

if (document.all)
    document.write('<marquee direction="left" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+abreestilo+texto+cierraestilo+'</marquee>');

function regenerate() {
    window.location.reload();
} 

function regenerate2() {
    isNS6 = (!document.all && document.getElementById) ? true : false;
    if (document.layers) {
        setTimeout("window.onresize=regenerate",450);
        intializemarquee();
    } else if (isNS6) {
        setTimeout("window.onresize=regenerate",450);
        intializemarquee6();
    }
}

function intializemarquee() {	// NETSCAPE 4
    document.cmarquee01.document.cmarquee02.document.write(abreestilo+texto+cierraestilo);
    document.cmarquee01.document.cmarquee02.document.close();
    thelength=document.cmarquee01.document.cmarquee02.document.width;
    scrollit();
}

function intializemarquee6() { 	// NETSCAPE 6
    marq=document.getElementById("dmarq");
    marq.innerHTML += abreestilo+texto+cierraestilo;
    thelength=marqueewidth;
//    scrollit6();
}

function scrollit() {		// NETSCAPE 4
    if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)) {
        document.cmarquee01.document.cmarquee02.left-=speed ;
        setTimeout("scrollit()",100);
    } else {
        document.cmarquee01.document.cmarquee02.left=marqueewidth;
        scrollit();
    }
}

function scrollit6() {		// NETSCAPE 6
    marq=document.getElementById("dmarq").style;
    if (parseInt(marq.left)>=thelength*(-1)) {
        marq.left = (parseInt(marq.left) - speed) + "px";
        setTimeout("scrollit6()",100);
    } else {
        marq.left=marqueewidth + "px";
        scrollit6();
    }
}

window.onload=regenerate2;

