var oldKey="";function showKey(allStr,keyStr){ if(oldKey!=""){ allStr.replace(""+oldKey+"",oldKey); } if(keyStr!=""){ allStr.replace(keyStr,""+keyStr+""); } oldKey = keyStr;}