window.onload = init;

function init(){
	if ( navigator.userAgent.match(/MSIE.*Win/)  ) {
		abbr2acronym();
	}
    if (document.layers) {
        window.onResize = reloadNow;
    }
}

function abbr2acronym(){
	abtag = document.getElementsByTagName("abbr");
	while (m=abtag.length) {
		abpr = abtag.item(m-1).parentNode;
		abpr.innerHTML = abpr.innerHTML.replace(/(<\/?)abbr/ig,'$1acronym');
	}
}


/* JavaScript Resize function for NN4.x's Bug */
function reloadNow() {
    if (document.layers) {
        document.location = document.location;
    }
}

