google.setOnLoadCallback(function()
{
    // Color changer
    $(".normal").click(function(){
        $("link").attr("href", "scripts-tools/styleswitcher/normal.css");
        createCookie('style', 'normal', 30);
        return false;
    });

    $(".xl").click(function(){
        $("link").attr("href", "scripts-tools/styleswitcher/xl.css");
        createCookie('style', 'xl', 30);
        return false;
    });

    $(".xxl").click(function(){
        $("link").attr("href", "scripts-tools/styleswitcher/xxl.css");
        createCookie('style', 'xxl', 30);
        return false;
    });

});
function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}
