<!-- hide from non-js browsers

// News Ticker	  
var current=0;
var currentheight=1;
function newsSlider () {
	var i=1;
	for (i=1; i<[storymax]; i++)	{new Effect.Move('nd'+[i], { x: 0 , y: -82, mode: 'relative' });}
	current++;
	if (current==storymax) {current=1};
	currentheight=(82*(storymax -(current+1)));
	window.setTimeout ("document.getElementById('nd'+[current]).style.top = [currentheight]+'px';", 2000);
}

// Slide Show

var imoneb=Math.round(4*Math.random());
var imonea=imoneb+1;
var imtwob=Math.round(4*Math.random());
var imtwoa=imtwob+1;
var imthreeb=Math.round(4*Math.random());
var imthreea=imthreeb+1;
var ttf=1;

var imshowl = new Array ()
	imshowl[0] = "Images/slides/BigDrive_1.jpg"
	imshowl[1] = "Images/slides/2007-EarlySpringtimeInMontanaMarch9-10-013.jpg"
	imshowl[2] = "Images/slides/Hathaway_12262008b.jpg"
	imshowl[3] = "Images/slides/IMG_0014.jpg"
	imshowl[4] = "Images/slides/Abbott_20081103_3.jpg"

var imshowc = new Array ()
	imshowc[0] = "Images/slides/Big_Drive__05_026.jpg"
	imshowc[1] = "Images/slides/Jess_Dean_Keiffer_and_Dr_Vontungeln.jpg"
	imshowc[2] = "Images/slides/DSC04261.jpg"
	imshowc[3] = "Images/slides/23_George, Dad, and Me.jpg"
	imshowc[4] = "Images/slides/DSC05107.jpg"
		
var imshowr = new Array ()
	imshowr[0] = "Images/slides/MTTreeinDC.jpg"
	imshowr[1] = "Images/slides/Cap_sec.jpg"
	imshowr[2] = "Images/slides/JeffersonAlone.jpg"
	imshowr[3] = "Images/slides/LincolnsaysYo.jpg"
	imshowr[4] = "Images/slides/Smithsonian.jpg"
	
function slideStart() {
	
	checkimagenum ();
	document.getElementById('slide1b').src= imshowl[imoneb] ;
	document.getElementById('slide1a').src= imshowl[imonea] ;
	document.getElementById('slide2b').src= imshowc[imtwob] ;
	document.getElementById('slide2a').src= imshowc[imtwoa] ;
	document.getElementById('slide3b').src= imshowr[imthreeb] ;
	document.getElementById('slide3a').src= imshowr[imthreea] ;
	window.setTimeout ("new Effect.Opacity('slide1b', { from: 1, to: 0, duration: [ttf] })", 5000);
	window.setTimeout ("new Effect.Opacity('slide2b', { from: 1, to: 0, duration: [ttf] })", 5000);
	window.setTimeout ("new Effect.Opacity('slide3b', { from: 1, to: 0, duration: [ttf] })", 5000);
	window.setTimeout ("faderin ()", 10000);
}

function faderin () {
	imoneb=imoneb+2;
	imtwob=imtwob+2;
	imthreeb=imthreeb+2;
	checkimagenum ();
	
	document.getElementById('slide1b').src= imshowl[imoneb] ;
	new Effect.Opacity('slide1b', { from: 0, to: 1, duration: [ttf] });

	document.getElementById('slide2b').src= imshowc[imtwob] ;
	new Effect.Opacity('slide2b', { from: 0, to: 1, duration: [ttf] });

	document.getElementById('slide3b').src= imshowr[imthreeb] ;
	new Effect.Opacity('slide3b', { from: 0, to: 1, duration: [ttf] });
}

function faderout (){
	imonea=imonea+2;
	imtwoa=imtwoa+2;
	imthreea=imthreea+2;
	checkimagenum ();
	
	document.getElementById('slide1a').src= imshowl[imonea] ;
	new Effect.Opacity('slide1b', { from: 1, to: 0, duration: [ttf] });
	
	document.getElementById('slide2a').src= imshowc[imtwoa] ;
	new Effect.Opacity('slide2b', { from: 1, to: 0, duration: [ttf] });
	
	document.getElementById('slide3a').src= imshowr[imthreea] ;
	new Effect.Opacity('slide3b', { from: 1, to: 0, duration: [ttf] });
}

function imageShow () {
	window.setTimeout ("faderout ()", 5000);
	window.setTimeout ("faderin ()", 10000);
}

function checkimagenum() {
	if (imonea==(imshowl.length))
	{imonea=0};	
	if (imonea==(1+imshowl.length))
	{imonea=1};
	if (imoneb==(imshowl.length))
	{imoneb=0};	
	if (imoneb==(1+imshowl.length))
	{imoneb=1};
	
	if (imtwoa==(imshowc.length))
	{imtwoa=0};	
	if (imtwoa==(1+imshowc.length))
	{imtwoa=1};	
	if (imtwob==(imshowc.length))
	{imtwob=0};
	if (imtwob==(1+imshowc.length))
	{imtwob=1};
	
	if (imthreea==(imshowr.length))
	{imthreea=0};	
	if (imthreea==(1+imshowr.length))
	{imthreea=1};
	if (imthreeb==(imshowr.length))
	{imthreeb=0};	
	if (imthreeb==(1+imshowr.length))
	{imthreeb=1};
}
// end hide from non-js browsers -->