function slideText(batch) {
	disappear([4-batch*3,5-batch*3,6-batch*3]);
	setTimeout('appear(['+(1+batch*3)+','+(2+batch*3)+','+(3+batch*3)+'])', 1000);
	setTimeout('slideText('+(1-batch)+')',3000);
}

function disappear(array) {
	for (i=0;i<3;i++) $('obj'+array[i]).fade();
}

function appear(array) {
	for (i=0;i<3;i++) $('obj'+array[i]).appear();
}

function getInternetExplorerVersion() {
	var rv = 8;
	if (navigator.appName == 'Microsoft Internet Explorer')	{
		var ua = navigator.userAgent;
		var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
		if (re.exec(ua) != null)
		rv = parseFloat( RegExp.$1 );
	}
	return rv;
}

function fixIE() {
	if (getInternetExplorerVersion()<8)
	{
		document.getElementById('first-line').style.marginTop="-15px";
		document.getElementById('www').style.top="-50px";
	}
}

fixIE();
slideText(1);
