var str = getCookie('language');var currUrl= document.location.href;if (str != null){    if (str == 'gb'){        if (currUrl.indexOf("http://ent.sina.com/bg/")!= -1){            document.location.href="http://ent.sina.com/gb/";        }    }    else {        if (currUrl.indexOf("http://ent.sina.com/gb")!=-1){            document.location.href="http://ent.sina.com/bg/";        }    }}