// JavaScript Document

// Eng to others

function engtotra()  {

var temp = ""+location.href;

var str=(temp.replace(/eng/, "tra"));  // /eng/ <-- the page stay in here now.

window.location.href  = str;

}

function engtosim()  {

var temp = ""+location.href;

var str=(temp.replace(/eng/, "sim"));  // /eng/ <-- the page stay in here now.

location.href=str;

}

// Tra to others

function tratoeng()  {

var temp = ""+location.href;

var str=(temp.replace(/tra/, "eng"));  // /tra/ <-- the page stay in here now.

location.href=str;

}

function tratosim()  {

var temp = ""+location.href;

var str=(temp.replace(/tra/, "sim"));  // /tra/ <-- the page stay in here now.

location.href=str;

}

// Sim to others

function simtoeng()  {

var temp = ""+location.href;

var str=(temp.replace(/sim/, "eng"));  // /sim/ <-- the page stay in here now.

location.href=str;

}

function simtotra()  {

var temp = ""+location.href;

var str=(temp.replace(/sim/, "tra"));  // /sim/ <-- the page stay in here now.

location.href=str;

}