function changelang() {
	oldurl = parent.window.location.toString()
	newurl1 = oldurl.substring (0, oldurl.indexOf("i-kiln.org.hk")+14);
	newurl2 = oldurl.substring (oldurl.indexOf("i-kiln.org.hk")+14, oldurl.indexOf("i-kiln.org.hk")+17);
	newurl3 = oldurl.substring (oldurl.indexOf("i-kiln.org.hk")+17,oldurl.length);

	if (newurl2 == "chi")
		newurl2 = "eng"
	else
		newurl2 = "chi"

	parent.window.location = newurl1+newurl2+newurl3
}
