function langSwitch(from, to) {
	for (var i = 0; i < parent.frames.length; i++) {
		var path = parent.frames[i].location.href;
		// replace e.g.   .../de/...   with   .../en/...
		path = path.replace(new RegExp("\/"+from+"\/"), "/" + to + "/");		
		parent.frames[i].location.href = path;
	}
}