/*
*	DPAC second level script
*	DPAC 2009
* UPDATED BY RYAN MORGAN
*/


window.addEvents({
	domready: function() {
		var contentFontSize = new Font($('contentCell'), [11, 13, 15, 17]);
		if ($('decreaseFontSize')) {
			$('decreaseFontSize').addEvent('click',
			function(e) {
				var e = new Event(e).stop();
				contentFontSize.decrease();
			});
		}
		if ($('increaseFontSize')) {
			$('increaseFontSize').addEvent('click',
			function(e) {
				var e = new Event(e).stop();
				contentFontSize.increase();
			});
		}
		var blacklist = ['this'];
	},
	load: function(){
		new SilkScroll({
			enableBack: false
		});
	}
});