//Javascript document

// scrolling
var timer_id;

function scroll_div(d,s) {
 if (timer_id) clearTimeout(timer_id);
if (d<0)
 document.getElementById("personhold").scrollLeft -= s;
 else
 document.getElementById("personhold").scrollLeft += s;
    timer_id = setTimeout("scroll_div("+d+","+s+")", 5);
  
}

function stopScroll() { if (timer_id) clearTimeout(timer_id); }

// CSS change
var allPageTags = new Array(); 

function restoreBox()
{
	for (i=1; i<=5; i++)
	{
		document.getElementById("box"+i).style.width = "159px";
	}
}

function chgCl(id) {
	for (i=1; i<=5; i++)
	{
		if (i==id)
		{
			document.getElementById("box"+i).style.width = "383px";
		}
		else
		{
			document.getElementById("box"+i).style.width = "103px";
		}
	}
} 


