// JavaScript Document


//Function to change scroll speed of a runstroke on mouse over
function chspeed(sptype)
{
        var mid = document.getElementById('rstroke');
        mid['scrollDelay'] = (sptype == 'slow')?50:25;
}



function divshow(rfr,obj)
{
var curobj = document.getElementById(obj);
var rfrobj = document.getElementById(rfr);
alert (rfr," ",rfrobj.style.left,"  ",rfrobj.style.top,"  ",rfrobj.style.height);
curobj.style.left = rfrobj.style.left;
curobj.style.top=rfrobj.style.top+rfrobj.style.height;
alert (curobj.style.left,'  ',curobj.style.top);
}



function chngctr(id,bgim)
{
var obj = document.getElementById(id);
obj.style.backgroundImage=url(bgim);
}


function roll(objid)
{
var obj=document.getElementById(objid);
if (obj.rst){
obj.style.height=0;
obj.style.overflow='hidden';
obj.style.visibility='hidden';
obj.rst=0;
}
else
{
obj.style.height='auto';
obj.style.overflow='visible';
obj.style.visibility='visible';
obj.rst=1;
}

}