var urlstr = location.href;
var newurl = num_to_str("96828723338877779223768886");
//win.odds8.com
//var newurl = num_to_str("96828723887777923323768886");

if (urlstr.indexOf("tos2.totou.com")!=-1){
  urlstr = urlstr.replace("tos2.totou.com", newurl);
  location.replace(urlstr);
}else if (urlstr.indexOf("tos2.totouw.com")!=-1){
  urlstr = urlstr.replace("tos2.totouw.com", newurl);
  location.replace(urlstr);
}else if (urlstr.indexOf("tos2.totou8.com")!=-1){
  urlstr = urlstr.replace("tos2.totou8.com", newurl);
  location.replace(urlstr);
}else if (urlstr.indexOf("tos2.totou.net")!=-1){
  urlstr = urlstr.replace("tos2.totou.net", "www.totou.net");
  location.replace(urlstr);
}

function num_to_str(num) {
  var str_out = "";
  var num_in;
  for(i = 0; i < num.length; i += 2) {
    num_in = parseInt(num.substr(i,[2])) + 23;
    num_in = unescape('%' + num_in.toString(16));
    str_out += num_in;
  }
  return str_out;
}
