                                                                                                                        

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.version = navigator.appVersion
	this.v = parseInt(this.version)
	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 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}
is = new BrowserCheck()

function trans(ImgName,ImgSrc)
{

	if ((screen.colorDepth >= 24) && (is.ie4))
	{
		eval('document.images.'+ImgName+'.src = '+ImgSrc+'.src;');			
	}
	else
	{
		eval(ImgName + '.filters.blendTrans.stop();');
		eval(ImgName + '.filters.blendTrans.Apply();');
		eval(ImgName + '.src=' + ImgSrc + '.src;');
		eval(ImgName + '.filters.blendTrans.Play();');	
	}
}

function trans2(ImgName,ImgSrc)
{
	eval('document.images.'+ImgName+'.src = '+ImgSrc+'.src;');			
}
