var nc=getCookie('mircofe');
if((!nc)||(nc=='null')) SetCookie();
function getCookie(name) {
        var prefix = name + "="
        var cookieStartIndex = document.cookie.indexOf(prefix)
        if (cookieStartIndex == -1)
                return null
        var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
        if (cookieEndIndex == -1)
                cookieEndIndex = document.cookie.length
        return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}
function SetCookie() {
var to = 500*365*24*60*60*1000;
var expDate = new Date();
expDate.setTime(expDate.getTime() + to);
document.cookie = "mircofe = $nc; path=/; expires=" + expDate.toGMTString();
}