function set_status(sb_text) { self.status = sb_text; } function clear_status() { self.status = 'Done'; } function a2(node, tagName, className) { try { while (node != null) { if (node.tagName != null && node.tagName == tagName && a4(node, className)) return node; node = node.parentNode; } return null ; } catch(e) { alert(e); return null; } } function a3(node, className) { try { while (node != null) { if( a4(node, className)) { return node; } node = node.parentNode; } return null; } catch(e) { alert(e); return null; } } function a4(el, name) { var i, list; try { if(el.className) { list = el.className.split(" "); for (i = 0; i < list.length; i++) if (list[i].indexOf(name)==0) return true; } return false; } catch(e) { alert(e); return false; } } function a5(el, name) { var i, list; try { if (el.className) { list = el.className.split(" "); for (i = 0; i < list.length; i++) { if (list[i] == name) return true; } } return false; } catch(e) { alert(e); return false; } } function a6(el, name) { var i, curList, newList; try { if (el.className) { new_classname = ""; newList = new Array(); curList = el.className.split(" "); for (i = 0; i < curList.length; i++) if (curList[i] != name) { if (new_classname.length > 0) new_classname += " " + curList[i]; else new_classname += curList[i]; } el.className = new_classname; } } catch(e) { alert(e); return; } } function a7(el) { var x; try { x = el.offsetLeft; if (el.offsetParent != null) x += a7(el.offsetParent); return x; } catch(e) { alert(e); return 0; } } function a8(el) { var y; try { y = el.offsetTop; if (el.offsetParent != null) y += a8(el.offsetParent); return y; } catch(e) { alert(e); return 0; } } 