// This script is used along with mootools.js as part of the MooTools Framework.  Visit http://mootools.net/ for more info

window.addEvent('domready', function() {
	var path = '';
	var style_1, style_2;
	 
	/* Style 1 */
	$('s1').addEvent('click', function(e) {
		e = new Event(e).stop();
	 
		if (style_1) style_1.remove();
		new Asset.css(path + 'dash.css', {id: 'style1'});
		style_1 = $('style1');
	 
		$('log').setHTML('<a href="' + path + 'dash.css">White<\/a><\/span>');
	});
	 
	/* Style 2 */
	$('s2').addEvent('click', function(e) {
		e = new Event(e).stop();
	 
		if (style_2) style_2.remove();
		new Asset.css(path + 'dash-b.css', {id: 'style2'});
		style_2 = $('style2');
	 
		$('log').setHTML('<a href="' + path + 'dash-b.css">Black<\/a><\/span>');
	});
});