var www = "/";

function removeChildren(el) { if (el != null) while (el.hasChildNodes()) el.removeChild(el.firstChild); }
function getText(parent, name) { var el = parent.getElementsByTagName(name)[0]; if (el.firstChild) return el.firstChild.nodeValue; else return ""; }
