// from leibermenu 
// apparently needed

var timer = .8;
//Timer to show & hide in seconds

//Timer ID to clear timed hide of main menus
var timerID = null;



// set width to scroll and speed 
// can be overridden on page 

var colwidth =  176;
var speed = 4;

var numberofcolumns = 6;

// don't edit these
var left	= -1;
var right	=  1;
var scrollrate = 0;
//var target	= 0;
var current = 0;
var iframepos = 0;
var direction = 0;


// call this function from next/prev links
// onClick="scroll(left)" or onClick="scroll(right)"

function scroll(direction)
{
	current = (document.all)? iframe.document.body.scrollLeft : iframe.window.pageXOffset;
	target  = current + (colwidth * direction);
//	target  = int(target/colwidth) + colwidth);
}


function showbig(number){
//		hideicons();
	clearTimeout(timer);
		icon_id = "icon_num" + number;
//		alert("showing " + which)
		timer = setTimeout("doshow(icon_id)", 900);
}

function doshow(which){
	
	document.getElementById(which).style.visibility="visible";
}

function iconhide(number){
	icon_id = "icon_num" + number;
//	alert("hiding " + which)
	clearTimeout(timer);
//	document.getElementById(icon_id).style.visibility="hidden";
}

function hidebig(number){
	icon_id = "icon_num" + number;
//	alert("hiding " + which)
	clearTimeout(timer);
	document.getElementById(icon_id).style.visibility="hidden";
}


// double up links 
function goto(anchor){
//	document.location = anchor.href;
}

