

function page_loaded()
{
	obj=document.getElementById('gallery_thumbs');
	if(obj)
	{
		obj.style.overflow='hidden';
		lastThumb=obj.getElementsByTagName("div")[0].getElementsByTagName("div")[0].getElementsByTagName("div")[0];
		
	}
}
var pos=0;
var lastMouse=0;
var actionThumbScroll=0;
var lastThumb=0;
function thumb_list_mousemove(obj)
{

	lastMouse=window.event.offsetX;
}

function scroll_thumb_list()
{
	scroller=document.getElementById('gallery_thumbs_list');
	pos+=lastMouse/100;
	window.status=lastMouse;
	scroller.style.left=pos+"px";
}
	

function thumb_list_mouseover(obj)
{
	window.clearInterval(actionThumbScroll);
	actionThumbScroll=window.setInterval("scroll_thumb_list()",100);
}
	

function thumb_list_mouseout(obj)
{
	window.clearInterval(actionThumbScroll);
}
function tog_vis()
{
}

function thumb_mouseover(obj,thumbs_min)
{
	lastThumb.style.width=thumbs_min+"px";
	obj.style.width="150px";
	lastThumb=obj;
}
function thumb_mouseout(obj)
{
	//obj.style.width="20px";
}

function thumb_mouseclick(obj, str)
{
	big_im=document.getElementById('img_big');
	big_im.src=str;
}
