jQuery.noConflict();

jQuery(document).ready(function($)
{
	$(function(){
			   //on the document load, get the cookie 'bodyID' (our colour scheme of choice
			   var stylesheet = $.cookie('style_sheet');
			   //Set it as the id. If it's light it'll stay light!
			   
			   if(stylesheet == 'default')
			   {
				   	$('#skin').attr('href','skin/default.css');
			   }
			   else if(stylesheet == 'white')
			   {
				   	$('#skin').attr('href','skin/white.css');				   
			   }	
			   $('#switch_default').click(function(){
					   $.cookie('style_sheet', 'default');
					   //set the cookie to nothing if this is clicked
			   });
			   $('#switch_white').click(function(){
					   $.cookie('style_sheet', 'white');
					   //set the cookie to light if this is clicked!
			   });
	   });				
});		   		
		
