var IE4 = (document.all) ? 1 : 0;       // browser is Internet Explorer 4
var NS4 = (document.layers) ? 1 : 0;    // browser is Netscape 4

function bannerVisibility(status) {

	if (status == true) 
	    vis = 'visible';
	else 
		vis = 'hidden';

	// checking which browser
	if (IE4)
		document.all['myBanner'].style.visibility=vis;
	else if (NS4)
    	document.myBanner.visibility=vis; 
	else
		document.getElementById('myBanner').style.visibility = vis;
} // end bannerVisibility

/*
function bannerAnimation(startY, endY) {
	moveToY(startY, endY);	
}

function moveToY(cur, endr) {
	var pointer = '';
	if (IE4)
		pointer = document.all['myBanner'].style;
	else if (NS4)
		pointer = document.myBanner;
	else 
		pointer = document.getElementById('myBanner').style;

	pointer.top = cur;
	if (cur < endr) 
		window.setTimeout("moveToY(" + (cur + 5) + "," + endr + ")", 1);
}
*/

function startAnimation() {
	window.setTimeout("bannerVisibility(true)", 0);
//	window.setTimeout("bannerAnimation(0, 170)", 3200);	
}