
function fGoToChi(){
	var oldurl;
	var newurl;
	var i;
	i = 30;

	oldurl = new String(parent.location);
	newurl = oldurl.substr(0,i);
	newurl += '/chi';
	newurl += oldurl.substr(i,oldurl.length-i);
	parent.location = newurl;
}

function fGoToEng(){
	var oldurl;
	var newurl;
	var i;
	i = 30;

	oldurl = new String(parent.location);
	newurl = oldurl.substr(0,i);
	newurl += oldurl.substr(i+4,oldurl.length-i);
	parent.location = newurl;
}

