var CC = 'ChangeColours';                //cookie name
var CN = 'ChangeFont';                   //cookie name
var CS = 'ChangeFontSize';              //cookie name
var CLS = 'LineSpace';                   //cookie name
var CWS = 'WordSpace';                   //cookie name
var dCC = '32'                     //'32'        = default Colours
var dCN = 'Comic_Sans'             //'Comic_Sans' = default Font
var dCS = 'L'                 //'Medium'     = default FontSize
var dCLS = 'Normal'                 //'Normal'     = default Line Spacing


function cc(){

var Clrs = GetCookie(CC);
if (Clrs == null) {Clrs = dCC;}
document.write('<link rel="stylesheet" type"text/css" href="' +
"s_s/" + Clrs + ".css"+ '">')
var Clrs = ""; return Clrs;}

function cf(){
var Cf = GetCookie(CN);
if (Cf == null) {Cf = 'dCN';}
document.write('<link rel="stylesheet" type"text/css" href="' +
"s_s/" + Cf + ".css"+ '">')
var Cf = ""; return Cf;}

function cfs(){
var Cs = GetCookie(CS);
if (Cs == null) {Cs = 'dCS';}
document.write('<link rel="stylesheet" type"text/css" href="' +
"s_s/" + Cs + ".css"+ '">')
var Cs = ""; return Cs;}

function cls(){
var Cls = GetCookie(CLS);
if (Cls == null) {Cls = 'dCLS';}
document.write('<link rel="stylesheet" type"text/css" href="' +
"s_s/" + Cls + ".css"+ '">')
var Cls = ""; return Cls;}

function cws(){
var Cws = GetCookie(CWS);
if (Cws == null) {Cws = 'dCWS';}
document.write('<link rel="stylesheet" type"text/css" href="' +
"s_s/" + Cws + ".css"+ '">')
var Cws = ""; return Cws;}

function getCookieVal (offset) {
var ES = document.cookie.indexOf (";", offset);
if (ES == -1) ES = document.cookie.length;
return unescape(document.cookie.substring(offset, ES));}

function GetCookie (name) {
var CA = name + "=";
var AL = CA.length;
var CL = document.cookie.length;
var i = 0;
while (i < CL) {
var j = i + AL;
if (document.cookie.substring(i, j) == CA)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;}
return null;}
document.write(cc());
document.write(cf());
document.write(cfs());
document.write(cls());
document.write(cws());

