window.onload = init;

function init(){
	if ( navigator.userAgent.match(/MSIE.*Win/) && !navigator.userAgent.match(/Opera/) ) {
		ab2ac();
		quote();
	}
    if (document.layers) {
        window.onResize = reloadNow;
    }
}

function ab2ac(){
	ab = document.getElementsByTagName("abbr");
	while (m=ab.length) {
		abp = ab.item(m-1).parentNode;
		abp.innerHTML = abp.innerHTML.replace(/(<\/?)abbr/ig,'$1acronym');
	}
}

function quote(){
	before = "<span class=\"qmark\">\u201c</span>";
	after = "<span class=\"qmark\">\u201d</span>";
	q = document.getElementsByTagName("q");
	for (var i=0, n=q.length; i<n; i++) {
		q.item(i).innerHTML = before + q.item(i).innerHTML + after;
	}
}

/* JavaScript Resize function for NN4.x's Bug */
function reloadNow() {
    if (document.layers) {
        document.location = document.location;
    }
}

