
d = document;
ie6 = !!(!window.opera && d.all && d.appendChild);
cssNum = "";

if (location.search)
    cssNum = location.search.match(/^\?([0-5])$/)? RegExp.$1: "";
else
    cssNum = '0';

if (cssNum != "") 
    d.write('<link rel="stylesheet" type="text/css" href="style0'+ cssNum+'.css" id="isCss">')

function changeCss(_fName)
{
    if (!_fName.match(/^(none|[0-5])$/)) return false;
    if (ie6)
    {
        d.styleSheets.isCss.href = _fName == "none"? "": "style0"+ _fName +".css";
        return false;
    }
    else
    {   var n;
        if ((n = location.pathname.indexOf("#") !=-1)) n = location.pathname.substring(0, n);
        else n = location.pathname
        location.href = location.pathname + "?"+ _fName;
    }
}



