// JavaScript Document

//
//  In my case I want to load them onload, this is how you do it!
// 


	
//
//	Set up all accordions
//

function loadAccordions() 
{
	var bottomAccordion = new accordion('vertical_container');
	bottomAccordion.activate($$('#vertical_container .accordion_toggle')[0]);
}
		
//BROWSER DETECT

if (window.screen) 
	{
		if (screen.width == 1600) {	
			document.write('<link rel="stylesheet" type="text/css" href="css/lightbox1600.css">');
		}
		
		else if (screen.width == 1280) {	
			document.write('<link rel="stylesheet" type="text/css" href="css/lightbox1280.css">');
		}
		
		else if (screen.width == 1024) {	
			document.write('<link rel="stylesheet" type="text/css" href="css/lightbox1024.css">');
		}
		
		else if (screen.width == 800) {	
			document.write('<link rel="stylesheet" type="text/css" href="css/lightbox800.css">');
		}
		
		else {
			document.write('<link rel="stylesheet" type="text/css" href="css/lightbox1024.css">');
		}
}
