function Browser() {
		var b=navigator.appName;
		if (b=="Netscape") this.b="ns";
		else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "opera";
		else if (b=="Microsoft Internet Explorer") this.b="ie";
		if (!b) alert('Unidentified browser./nThis browser is not supported,');
	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.ns6=(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.ie55=(this.version.indexOf('MSIE 5.5')>0);
	this.ie6=(this.version.indexOf('MSIE 6')>0);
	this.opera=(this.b=="opera");
	this.dom=(document.createElement && document.appendChild && document.getElementsByTagName)?true:false;
	this.def=(this.ie||this.dom); // most used browsers, for faster if loops
	var ua=navigator.userAgent.toLowerCase();
	if (ua.indexOf("win")>-1) this.platform="win32";
	else if (ua.indexOf("mac")>-1) this.platform="mac";
	else this.platform="other";
}

is = new Browser();


function mover(I) {
	document.getElementById(I).src='/en/i/tm_'+I+'_'+2+'.gif';
}

function mout(I) {
	document.getElementById(I).src='/en/i/tm_'+I+'_'+1+'.gif';
}

function movers(I) {
	document.getElementById(I).src='/en/i/tm_'+I+'_'+2+'.gif';
}

function mouts(I) {
	document.getElementById(I).src='/en/i/tm_'+I+'_'+3+'.gif';
}

function preload() {
	for(j=1;j<=5;j++){
		for (i=1;i<=2;i++) {
			x=new Image();
			x.src='/en/i/tm_'+j+'_'+i+'.gif';
		}
	}
}
preload();







function popNews(url,scrollbars){
	if(scrollbars){
		popWin = window.open("","news","toolbar=0,width=446,height=500,location=0,directories=0,status=0,scrollbars="+scrollbars+",menubar=0,resizable=0,copyhistory=0"); 
	}else{
		popWin = window.open("","news","toolbar=0,width=430,height=500,location=0,directories=0,status=0,scrollbars=0,menubar=0,resizable=0,copyhistory=0"); 
	}
		popWin.location.href = url;
		popWin.focus();
}




function alignBottom(divid){
	divHeight=82;
	if (is.ns6){
		if (parseInt(document.body.offsetHeight)>=parseInt(window.innerHeight)){	
			document.getElementById(divid).style.top=document.body.offsetHeight-divHeight+40;
		}else{
			document.getElementById(divid).style.top=window.innerHeight-divHeight+20;
		}
	}else{
		dist=divHeight;
		if(is.ie5 || is.ie55){
			dist=-divHeight;
		}
		if(document.body.scrollHeight>document.body.clientHeight){
			document.getElementById(divid).style.top=document.body.scrollHeight-dist-7;
		}else{
			document.getElementById(divid).style.top=document.body.clientHeight-dist-7;
		}
	}
}