

function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.v = parseInt(navigator.appVersion)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	if (this.ie5) this.v = 5
	this.min = (this.ns||this.ie)
	
}




is = new BrowserCheck()


if (!is.min) ad=-1


var sNavigator=navigator.appName;
var sVersion=navigator.appVersion;



if (( sNavigator == 'Netscape' ) && ( sVersion == '5.0 (Windows; en-US)' ) ) {

	document.write (sNetcape6Message)
}
else
{
	if (!is.min)
	{
		alert('old browser');
	}
	else
	{

		var iTop=85;
		var iLeft=0;
		var iWidth=200;
		var iHeight=25;
		var iSpeed=40;
		if ( sImageData == '' ) 
		{
		}
		else
		{
			var content=sImageData;
			var ns4=(document.layers)? true : false
			if (ns4)	{
				var t1= new Ticker(iTop,iLeft,innerWidth+iWidth,iHeight,iSpeed,1,innerWidth/2,content,'',''); //top,left,width,height,speed,step,content,color
			}
			else
			{
				var t1= new Ticker(iTop,iLeft,document.body.offsetWidth+iWidth,iHeight,iSpeed,1,document.body.offsetWidth/2,content,'',''); //top,left,width,height,speed,step,content,color
			}
			onresize = reDo
		}

	}


	if (is.ns4)
	{
		origWidth = innerWidth;
		origHeight = innerHeight;
	}

}




function reDo()



{
	if (is.ns4)
	{
		t1.resize(innerWidth-10,52);
		if (innerWidth != origWidth || innerHeight != origHeight) location.reload();
	}
	else
	{
		t1.resize(document.body.offsetWidth-10,52);
	}
}
