function xGetElementById(e) { if (typeof (e) == 'string') { if (document.getElementById) e = document.getElementById(e); else if (document.all) e = document.all[e]; else e = null; } return e; };
function xGetElementsByTagName(t, p) { var list = null; t = t || '*'; p = xGetElementById(p) || document; if (typeof p.getElementsByTagName != 'undefined') { list = p.getElementsByTagName(t); if (t == '*' && (!list || !list.length)) list = p.all; } else { if (t == '*') list = p.all; else if (p.all && p.all.tags) list = p.all.tags(t); } return list || []; };
window.onload = function()
{
    xGetElementById(strPageID).style.background = "#efefef";
    xGetElementsByTagName("a", xGetElementById(strPageID))[0].style.color = "#db0707";
}
