var _W=window,_D=document;
function sniff(){
	var t=this,T=true,F=false,n=navigator,d=document,ua=n.userAgent.toLowerCase();
	t.ver=parseInt(n.appVersion);
	t.mac=ua.indexOf('mac')!=-1;
	t.win=!t.mac&&ua.indexOf('wind')!=-1||ua.indexOf('16bit')!=-1;
	t.linux=ua.indexOf('inux')!=-1;
	t.konq=ua.indexOf('konqueror')!=-1;
	t.safari=ua.indexOf('safari')!=-1&&t.mac;
	t.khtml=t.safari||t.konq;
	t.opera=_W.opera?T:F;
	t.opera5=ua.indexOf('opera 5')!=-1||ua.indexOf('opera/5')!=-1;
	t.opera6=ua.indexOf('opera 6')!=-1||ua.indexOf('opera/6')!=-1;
	t.opera7=t.opera&&d.createComment?T:F;
	t.ie5=t.ie55=t.ie6=F;
	t.ie=d.all&&!t.opera&&ua.indexOf('msie')!=-1?T:F;
	if(t.ie){
		t.ie5=!d.fireEvent?T:F;
		t.ie55=d.fireEvent&&!d.createComment?T:F;
		t.ie6=d.fireEvent&&d.createComment?T:F
	}
	t.gecko=!t.khtml&&!d.all&&!t.opera&&d.getElementById?T:F;
	t.ns4=n.appName=='Netscape'&&t.ver==4
}

var is=new sniff(),hasIframe=false,SD;

function gE(e,f){if(is.ns4){f=(f)?f:self;var V=f.document.layers;if(V[e])return V[e];for(var _W=0;_W<V.length;)t=gE(e,V[_W++]);return t}if(_D.all)return _D.all[e];return _D.getElementById(e)}
function sE(e){is.ns4?e.visibility='show':e.style.visibility='visible'}
function hE(e){is.ns4?e.visibility='hide':e.style.visibility='hidden'}
function sX(e,x){is.ns4?e.left=x:(is.opera5?e.style.pixelLeft=x:e.style.left=x+'px')}
function sY(e,y){is.ns4?e.top=y:(is.opera5?e.style.pixelTop=y:e.style.top=y+'px')}