function setCookie(c_name,value,expiredays){    var exdate=new Date();    exdate.setDate(exdate.getDate()+expiredays);    document.cookie=c_name+ "=" +escape(value)+    ((expiredays==null) ? "" : ";expires="+exdate.toGMTString());}function getCookie(c_name) {    if (document.cookie.length>0) {        c_start=document.cookie.indexOf(c_name + "=");        if (c_start!=-1)        {            c_start=c_start + c_name.length+1;            c_end=document.cookie.indexOf(";",c_start);            if (c_end==-1) c_end=document.cookie.length;            return unescape(document.cookie.substring(c_start,c_end));        }    }    return "";}function fboost(id,desc) {    fboostdiv=document.getElementById('fboost1');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost2');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost3');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost4');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost5');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost6');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost7');    fboostdiv.className='fboostNO';    fboostdiv=document.getElementById('fboost'+id);    fboostdiv.className='fboostYES';    fboostDesc=document.getElementById('fboostTxt');    fboostDesc.innerHTML = desc;    setCookie("SL_fBoost",id,365);    redoXBoosts();}function redoXBoosts() {    for(i=8; i<20; i++) {        xboostdiv=document.getElementById('xboost'+i);        if(xboostdiv.className!='xboostFixed') {            if(getCookie("SL_xBoost"+i)=='Y') xboostdiv.className='xboostYES';            else xboostdiv.className='xboostNO';        }    }    selectedFBoost=getCookie("SL_fBoost");    if(selectedFBoost<1) selectedFBoost=1;    if(hasFixedBoosts==1) selectedFBoost=1;    if(selectedFBoost==1) xboostdiv=document.getElementById('xboost17');    if(selectedFBoost==2) xboostdiv=document.getElementById('xboost14');    if(selectedFBoost==3) xboostdiv=document.getElementById('xboost15');    if(selectedFBoost==4) xboostdiv=document.getElementById('xboost16');    if(selectedFBoost==5) xboostdiv=document.getElementById('xboost10');    if(selectedFBoost==6) xboostdiv=document.getElementById('xboost8');    if(selectedFBoost==7) xboostdiv=document.getElementById('xboost18');    if(xboostdiv.className!='xboostFixed') xboostdiv.className='xboostNA';}function xboost(id) {    if(getCookie("SL_xBoost"+id)=='Y') setCookie("SL_xBoost"+id,'N',365);    else setCookie("SL_xBoost"+id,'Y',365);    redoXBoosts();}function nada() {    }
