//JavaScript Document to attach infobar css or not

function alertUser(loopCounter,delay) {
	for (i = 1; i <= (loopCounter) ; i++) {
		setTimeout('infobar.firstChild.style.backgroundColor="#f00"', (i*delay + 0) );
		setTimeout('infobar.firstChild.style.color="#fff"', (i*delay + 0) );
		setTimeout('infobar.firstChild.style.backgroundColor=""', (i*delay + 150) );
		setTimeout('infobar.firstChild.style.color=""', (i*delay + 150) );
		setTimeout('infobar.firstChild.style.backgroundColor="#f00"', (i*delay + 300) );
		setTimeout('infobar.firstChild.style.color="#fff"', (i*delay + 300) );
		setTimeout('infobar.firstChild.style.backgroundColor=""', (i*delay + 450) );
		setTimeout('infobar.firstChild.style.color=""', (i*delay + 450) );
	}
}

if (navigator.userAgent.search("MSIE") != -1) {
	document.write('<link rel="stylesheet" href="infobar.css" type="text/css" />');
	alertUser(5,5000);
}