function goVersion(ver)
{
	var base = "http:" + "//" + "www.ophoo.net/";
			 
	// body html name			 
	var temp = parent.main.location.href.split('/');	
	var currentDoc = temp[temp.length-1];					
	
	// top html name
	var top_temp = location.href.split('/');	
	var top_currentDoc = top_temp[temp.length-1];					
	
	if (ver == "c" )  {	
		newLocation = base + "chi/" + currentDoc;				
		top_newLocation = base + "chi/" + top_currentDoc;	
	} else if ( ver == "e") {
		newLocation = base + "eng/" + currentDoc;
		top_newLocation = base + "eng/" + top_currentDoc;
	} else if ( ver == "s") {
		newLocation = base + "sc/" + currentDoc;
		top_newLocation = base + "sc/" + top_currentDoc;			
	}		 
	
	parent.main.location.href = newLocation;
	location.href = top_newLocation;	
}