	window.addEvent('domready', function()
    {
        //select all anchor tags within the container div
        $('CssSwitch').getElements('a').addEvent('click', function(e){
			
            
            //stop the a-tag event
            e = new Event(e).stop();
			
			//Css path
			var stylepath = './Css/'; 
            
            //so I can always post to the same PHP script, but know which item was clicked
            new Asset.css(stylepath + this.name +'.css', {id: this.name});		            
        });
    }); 