window.addEvent('domready', function(){

/* make all the pdf links into pdf links! */
$$('a[href$=pdf]').each(function(item){
	item.getParent().set('class', 'pdfLink');
});


/*
	// smooth scrolling
	var mySmoothScroll = new SmoothScroll({
    links: '.smoothAnchors',
    wheelStops: false
	});
	*/


/*

Ditching this ENTIRE thing! golly...

		// the load
		$$('#m1 ul li ul').setStyles({
			'height': '0',
			'overflow': 'hidden',
			'display': 'block'
		});
	
		// left menu accordion
		
		// getting the uls
		var m1uls = $$('#m1 ul li ul');
	
		// getting the list items based upon the uls! zomg.
		var m1 = new Array();
		
		for (var i = 0; i < m1uls.length; i++){
			m1[i] = m1uls[i].getParent();
		}

		m1.each(function(item){
			item.addEvent('click', function(item){
				// item.removeClass('on');
				return false;
				console.log(item);
			});
		});
		
		
		var myAccordion = new Accordion(m1, m1uls, {				
			display: null,
			alwaysHide: false,
			opacity: false,
			onActive: function(toggler, element){
				toggler.addClass('on');
				element.setStyle('padding-bottom', '10px');
			},
			onBackground: function(toggler, element){
				toggler.removeClass('m2active');
				element.setStyle('padding-bottom', '0');
			}
		});
	
*/
	
}); // end domload