function check_browser()
{
if (document.getElementsByTagName)
	{
	var middle = document.getElementById("middle");middle.style.height = "300px"
	
	//var head	= document.getElementById("header")
	//var amenu	= document.getElementById("amenu")
	//var	menu 	= document.getElementById("menu")
	//var	rmenu 	= document.getElementById("rmenu")
		
		//Resize
		//a=middle.scrollHeight + amenu.scrollHeight
		//a=middle.scrollHeight
		//b=menu.scrollHeight
		//c=rmenu.scrollHeight
		//t=head.scrollHeight
		
		//if (a<b || a<c)
		//	{if (b<c){h=c}else{h=b}}
		//else
		//	{h=a}
			
		//menu.style.height=h+"px";middle.style.height=h+"px";rmenu.style.height=h+"px"
		//menu.style.top=(t+15)+"px";rmenu.style.top=(t+15)+"px"
	
	
	
	
	}
else if (document.all)
	{location.href="http://www.siko-uk.com/old_browser.asp"}
else if (document.layers)
	{location.href="http://www.siko-uk.com/old_browser.asp"} 
menu_colours()
}

function menu_colours()
	{
	var a = document.getElementsByTagName("TD")
	for (var b=0;b<a.length;b++)
		{
		if (a[b].className=="hdr")
			{
			a[b].onmouseover 	= function(){this.className="hover";if(this.style.num){me(this.style.num,this)}}
			a[b].onmouseout  	= function(){so();this.className="hdr"}
			a[b].onclick  		= function(){num=this.id.replace(/l/,'');u=eval('document.getElementById("u'+num+'")');location.href=u.href}
			}
		if (a[b].className=="tab")
			{
			a[b].onmouseover=function(){this.className="tab2";this.style.cursor="hand";if(this.style.num){me(this.style.num,this)}else{ha()}}
			a[b].onmouseout =function(){sa();this.className="tab"}
			a[b].onclick  	=function(){n=this.id.replace(/l/,'');u=eval('document.getElementById("u'+n+'")');if(n==99){window.open(u.href,'log')}else{location.href=u.href}}
			}
		}		
	}
	
var ti=null;var to=false;	
function show(a,t){var layer=eval('document.getElementById("sub'+a+'").style');layer.left=(t.offsetLeft+5)+"px";layer.display=""}
function sa(){if(to==false){ti=setTimeout("ha()",1000);to=true}}
function so(){if(to){clearTimeout(ti);ti=null;to=false;}}
function me(a,t){ha();show(a,t);so()}
function ha(){for (var a=1;a<=1;a++){var layer=document.getElementById("sub1");if (layer){layer.style.display="none"}}}
		
window.onresize = function refresh(){check_browser()}