// JavaScript Document

function init_dw_Scroll() {
    var wndo2 = new dw_scrollObj('wn5', 'lyr15');
    wndo2.setUpScrollbar("dragBar5", "track5", "v", 1, 1);
	wndo2.setUpScrollControls('scrollbar5', true, 'v');
    wndo2.setUpScrollControls('wn5');
	
	
}

// if code supported, link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    dw_writeStyleSheet('css/scrollbar.css')
    dw_Event.add( window, 'load', init_dw_Scroll);
}

function showHidden() { 
		document.getElementById("third").style.display="none";
		document.getElementById("second").style.display="block";
		document.getElementById('first').style.display='none';
		document.getElementById('eventGallery').className='albumButton1b';
		document.getElementById('eventGallery').style.border='1px solid #8c8b8b';
		document.getElementById('eventGallery').style.borderBottom='none';
		document.getElementById('dailyGallery').className='albumButton2';
		document.getElementById('dailyGallery').style.border='1px solid #09F';
		document.getElementById('dailyGallery').style.borderBottom='none';
		document.getElementById('thirdGallery').className='albumButton3b';
		document.getElementById('thirdGallery').style.border='1px solid #8c8b8b';
		document.getElementById('thirdGallery').style.borderBottom='none';
		 var wndo1 = new dw_scrollObj('wn6', 'lyr16');
    	wndo1.setUpScrollbar("dragBar6", "track6", "v", 1, 1);
    	wndo1.setUpScrollControls('scrollbar6');
		
	}
	
function showHidden3() { 
		document.getElementById("third").style.display="block";
		document.getElementById("second").style.display="none";
		document.getElementById('first').style.display='none';
		document.getElementById('eventGallery').className='albumButton1b';
		document.getElementById('eventGallery').style.border='1px solid #8c8b8b';
		document.getElementById('eventGallery').style.borderBottom='none';
		document.getElementById('dailyGallery').className='albumButton2b';
		document.getElementById('dailyGallery').style.border='1px solid #8c8b8b';
		document.getElementById('dailyGallery').style.borderBottom='none';
		document.getElementById('thirdGallery').className='albumButton3';
		document.getElementById('thirdGallery').style.border='1px solid #09F';
		document.getElementById('thirdGallery').style.borderBottom='none';
		 var wndo1 = new dw_scrollObj('wn8', 'lyr18');
    	wndo1.setUpScrollbar("dragBar8", "track8", "v", 1, 1);
    	wndo1.setUpScrollControls('scrollbar8');
		
	}	
	
	function showHidden2() { 
		document.getElementById("third").style.display="none";
		document.getElementById("second").style.display="none";
		document.getElementById("first").style.display="block";
		document.getElementById('eventGallery').className='albumButton1';
		document.getElementById('eventGallery').style.border='1px solid #09F';
		document.getElementById('eventGallery').style.borderBottom='none';
		document.getElementById('dailyGallery').className='albumButton2b';
		document.getElementById('dailyGallery').style.border='1px solid #8c8b8b';
		document.getElementById('dailyGallery').style.borderBottom='none';
		document.getElementById('thirdGallery').className='albumButton3b';
		document.getElementById('thirdGallery').style.border='1px solid #8c8b8b';
		document.getElementById('thirdGallery').style.borderBottom='none';
	}