// JavaScript Documentvar 

window.addEvent('domready', function(){
//path = 'http://localhost/Ribeiro-Promotions/CSS/';
path = 'http://www.ribeiro-promotions.com/CSS/';
var style_1, style_2, style_base;
 
/* Style 1 */
$('medium').addEvent('click', function(e) {
	e = new Event(e).stop();
 
	if (style_1) style_1.remove();
	new Asset.css(path + 'medium.css', {id: 'medium'});
	style_1 = $('medium');
 
	//$('log').setHTML('<a href="' + path + 'style1.css">style1.css<\/a><\/span>');
});
 
/* Style 2 */
$('bigger').addEvent('click', function(e) {
	e = new Event(e).stop();
 
	if (style_2) style_2.remove();
	new Asset.css(path + 'bigger.css', {id: 'bigger'});
	style_2 = $('bigger');
 
	//$('log').setHTML('<a href="' + path + 'style2.css">style2.css<\/a><\/span>');
});
 
/* Style Base */
$('small').addEvent('click', function(e) {
	e = new Event(e).stop();
 
	if (style_base) style_base.remove();
	new Asset.css(path + 'master.css', {id: 'small'});
	style_base = $('small');
 
	//$('log').setHTML('<a href="' + path + 'master.css">style_base.css<\/a><\/span>');
});
	}); 