function startmove(myval) {
        if (myval == 0) {
                setTimeout("startmove(1)", 1000);
        }
        if (myval == 1) {
                document.getElementById("right").style.visibility = "visible";
/*                if (screen.width <= 1024) {
                        domove(90, 80);
                }
                if (screen.width > 1024) {
                        domove(90, 62);
                } */
                /* This is more for exact measures */
                domove((screen.width+10), (screen.width*.75));
        }
}

/* function domove(to, end) {
   if (to > end) {
           document.getElementById("right").style.left = to + "%";
           val = to-1; 
           endval = end;
           setTimeout("domove(val,endval)",40);
   }
} */
function domove(to, end) {
   if (to >= end) {
           document.getElementById("right").style.left = to + "px";
           val = to-5;
           endval = end;
           setTimeout("domove(val,endval)",1);
   }
}

function closeright() {
        document.getElementById("right").style.visibility = "hidden";
}

