var isNav4 = false, isIE4 = false, isIE4 = false, isNC6 = false;
var cmx = 0, cmy = 0;

if (document.all) isIE4 = true;
else if (document.getElementById) isNC6 = true;
else if (document.layers) isNav4 = true;

if (isNav4) {
	window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN|Event.MOUSEMOVE);
	window.onmousedown=NNmouseDown;
	window.onmouseup=NNmouseUp;
	window.onmousemove=NNmouseMove;
	window.onresize=ReloadPage;
}
else if (isIE4){
	window.document.onmousedown=IEmouseDown;
	window.document.onmouseup=IEmouseUp;
	window.document.onmousemove=IEmouseMove;
	window.onresize=ReloadPage;
}
else if (isNC6){
	window.document.onmousedown=NNmouseDown;
	window.document.onmouseup=NNmouseUp;
	window.document.onmousemove=NNmouseMove;
	window.onresize=ReloadPage;
}
Version = 221;
mS = 1.0; 
mW = window.screen.width;
mH = window.screen.height;
ob     = new Array();
obRef  = new Array();
pObjLst= new Array;
Molst  = new Array();

pObjLst[0] = 81;
ob[81] = new Array();
if(isNav4) {
 ob[81].style = document.Oobj258; 
 ob[81].obj   = document.layers['Oobj258']; 
}
else if(isIE4) {
 ob[81].style = Oobj258.style;
 ob[81].obj		= Oobj258;
}
else if(isNC6) {
 ob[81].style = document.getElementById('Oobj258').style;
 ob[81].obj		= document.getElementById('Oobj258');
}
 ob[81].bdl   = 0;
 ob[81].bdr   = 0;

ob[81].flg  =96;
Molst[0]   = 81;

pObjLst[1] = 87;
ob[87] = new Array();
if(isNav4) {
 ob[87].style = document.Oobj377; 
 ob[87].obj   = document.layers['Oobj377']; 
}
else if(isIE4) {
 ob[87].style = Oobj377.style;
 ob[87].obj		= Oobj377;
}
else if(isNC6) {
 ob[87].style = document.getElementById('Oobj377').style;
 ob[87].obj		= document.getElementById('Oobj377');
}
 ob[87].bdl   = 0;
 ob[87].bdr   = 0;

ob[87].flg  =96;
Molst[1]   = 87;

pObjLst[2] = 88;
ob[88] = new Array();
if(isNav4) {
 ob[88].style = document.Oobj378; 
 ob[88].obj   = document.layers['Oobj378']; 
}
else if(isIE4) {
 ob[88].style = Oobj378.style;
 ob[88].obj		= Oobj378;
}
else if(isNC6) {
 ob[88].style = document.getElementById('Oobj378').style;
 ob[88].obj		= document.getElementById('Oobj378');
}
 ob[88].bdl   = 0;
 ob[88].bdr   = 0;

ob[88].flg  =96;
Molst[2]   = 88;

pObjLst[3] = 89;
ob[89] = new Array();
if(isNav4) {
 ob[89].style = document.Oobj379; 
 ob[89].obj   = document.layers['Oobj379']; 
}
else if(isIE4) {
 ob[89].style = Oobj379.style;
 ob[89].obj		= Oobj379;
}
else if(isNC6) {
 ob[89].style = document.getElementById('Oobj379').style;
 ob[89].obj		= document.getElementById('Oobj379');
}
 ob[89].bdl   = 0;
 ob[89].bdr   = 0;

ob[89].flg  =96;
Molst[3]   = 89;

pObjLst[4] = 90;
ob[90] = new Array();
if(isNav4) {
 ob[90].style = document.Oobj380; 
 ob[90].obj   = document.layers['Oobj380']; 
}
else if(isIE4) {
 ob[90].style = Oobj380.style;
 ob[90].obj		= Oobj380;
}
else if(isNC6) {
 ob[90].style = document.getElementById('Oobj380').style;
 ob[90].obj		= document.getElementById('Oobj380');
}
 ob[90].bdl   = 0;
 ob[90].bdr   = 0;

ob[90].flg  =96;
Molst[4]   = 90;

pObjLst[5] = 91;
ob[91] = new Array();
if(isNav4) {
 ob[91].style = document.Oobj381; 
 ob[91].obj   = document.layers['Oobj381']; 
}
else if(isIE4) {
 ob[91].style = Oobj381.style;
 ob[91].obj		= Oobj381;
}
else if(isNC6) {
 ob[91].style = document.getElementById('Oobj381').style;
 ob[91].obj		= document.getElementById('Oobj381');
}
 ob[91].bdl   = 0;
 ob[91].bdr   = 0;

ob[91].flg  =96;
Molst[5]   = 91;

pObjLst[6] = 92;
ob[92] = new Array();
if(isNav4) {
 ob[92].style = document.Oobj382; 
 ob[92].obj   = document.layers['Oobj382']; 
}
else if(isIE4) {
 ob[92].style = Oobj382.style;
 ob[92].obj		= Oobj382;
}
else if(isNC6) {
 ob[92].style = document.getElementById('Oobj382').style;
 ob[92].obj		= document.getElementById('Oobj382');
}
 ob[92].bdl   = 0;
 ob[92].bdr   = 0;

ob[92].flg  =96;
Molst[6]   = 92;

pObjLst[7] = 93;
ob[93] = new Array();
if(isNav4) {
 ob[93].style = document.Oobj383; 
 ob[93].obj   = document.layers['Oobj383']; 
}
else if(isIE4) {
 ob[93].style = Oobj383.style;
 ob[93].obj		= Oobj383;
}
else if(isNC6) {
 ob[93].style = document.getElementById('Oobj383').style;
 ob[93].obj		= document.getElementById('Oobj383');
}
 ob[93].bdl   = 0;
 ob[93].bdr   = 0;

ob[93].flg  =96;
Molst[7]   = 93;

pObjLst[8] = 94;
ob[94] = new Array();
if(isNav4) {
 ob[94].style = document.Oobj384; 
 ob[94].obj   = document.layers['Oobj384']; 
}
else if(isIE4) {
 ob[94].style = Oobj384.style;
 ob[94].obj		= Oobj384;
}
else if(isNC6) {
 ob[94].style = document.getElementById('Oobj384').style;
 ob[94].obj		= document.getElementById('Oobj384');
}
 ob[94].bdl   = 0;
 ob[94].bdr   = 0;

ob[94].flg  =96;
Molst[8]   = 94;

pObjLst[9] = 95;
ob[95] = new Array();
if(isNav4) {
 ob[95].style = document.Oobj385; 
 ob[95].obj   = document.layers['Oobj385']; 
}
else if(isIE4) {
 ob[95].style = Oobj385.style;
 ob[95].obj		= Oobj385;
}
else if(isNC6) {
 ob[95].style = document.getElementById('Oobj385').style;
 ob[95].obj		= document.getElementById('Oobj385');
}
 ob[95].bdl   = 0;
 ob[95].bdr   = 0;

ob[95].flg  =96;
Molst[9]   = 95;
SetDimensions();

var MoLNo   = 10;
var pageObj = 0;
function SetDimensions()
{
	var scrW;
	var srcH;

	if(isNav4) {
		scrW		= window.innerWidth;
		scrH		= window.innerHeight;
	}
	else if(isIE4) {
		scrW		= document.body.offsetWidth-20;
		scrH		= document.body.offsetHeight;
	}
	else if(isNC6) {
		scrW		= document.body.offsetWidth;
		scrH		= document.body.offsetHeight;
	}

  getCurrentRect(ob[81]);
  getCurrentRect(ob[87]);
  getCurrentRect(ob[88]);
  getCurrentRect(ob[89]);
  getCurrentRect(ob[90]);
  getCurrentRect(ob[91]);
  getCurrentRect(ob[92]);
  getCurrentRect(ob[93]);
  getCurrentRect(ob[94]);
  getCurrentRect(ob[95]);
}


function getCurrentRect(ob){
 el = ob.obj;
 if(isNav4){
  ob.left	 =  el.pageX + ob.bdl;
  ob.top    =  el.pageY + ob.bdl;
  ob.right  =  el.pageX + el.clip.width-ob.bdr;
  ob.bottom =  el.pageY + el.clip.height-ob.bdr;
	}
 else{
  ob.left   = el.offsetLeft+1;
  ob.top    = el.offsetTop +1;
  tempEl = el.offsetParent;
  while (tempEl != null) {
   ob.left  +=  tempEl.offsetLeft;
   ob.top   +=  tempEl.offsetTop;
   tempEl   =   tempEl.offsetParent;
  }
  ob.right  = ob.left+ el.offsetWidth-ob.bdr;
  ob.bottom = ob.top+ el.offsetHeight-ob.bdr;
  ob.left  += ob.bdl;
  ob.top   += ob.bdl;
 }
}
function ReloadPage() {
	SetDimensions();
}

function NNmouseMove(e) {
	cmx = e.pageX;
	cmy = e.pageY;
	if(MoLNo > 0) MoOvrTst();
}
function NNmouseDown(e) {
	cmx = e.pageX;
	cmy = e.pageY;
	if(MoLNo > 0) MouseDown();
}
function NNmouseUp(e) {
 cmx = e.pageX;
 cmy = e.pageY;
	if(MoLNo > 0) MouseUp();
}
function IEmouseMove() {
 cmx = window.event.clientX + document.body.scrollLeft;
 cmy = window.event.clientY + document.body.scrollTop;
 if(MoLNo > 0) MoOvrTst();
}
function IEmouseDown() {
	cmx = window.event.clientX + document.body.scrollLeft;
	cmy = window.event.clientY + document.body.scrollTop;
  if(MoLNo > 0) MouseDown();
}
function IEmouseUp() {
	cmx = window.event.clientX + document.body.scrollLeft;
	cmy = window.event.clientY + document.body.scrollTop;
 if(MoLNo > 0) MouseUp();
}
function MoOvrTst()
{
	var i;
	for(i=0; i < MoLNo; i++) {
		Cobj = Molst[i];
		if(ob[Cobj].flg) {
			if(ob[Cobj].flg & (1<<5)) {
				if(MouseOver() == 1) {
					if(ob[Cobj].flg & (1<<6)) {
						setVisibility("hidden");
					}
					else {
						setVisibility("visible");
					}
				}
				else {
					if(ob[Cobj].flg & (1<<7)) {
						setVisibility("hidden");
					}
					else {
						setVisibility("visible");
					}
				}
			}
			if(ob[Cobj].flg & (1<<8)) {
				if(!(ob[Cobj].flg & (1<<12)) && MouseOver() == 1) {
					ob[Cobj].flg = ob[Cobj].flg | (1<<12);
					if(ob[Cobj].flg & (1<<9) ) {
		 				if( (ob[Cobj].flg & (1<<15)) ) {
							setVisibility("hidden");
						}

						Cobj = ob[Cobj].trg;
						setVisibility("visible");
					}
					else if(ob[Cobj].flg & (1<<10)) {
						if( (ob[Cobj].flg & (1<<15)) ) {
							setVisibility("visible");
						}

						Cobj = ob[Cobj].trg;
						setVisibility("hidden");}
					}
					else if((ob[Cobj].flg & (1<<12)) && MouseOver() == 0) {
						if(!(ob[Cobj].flg & (1<<16))){
							if(ob[Cobj].flg & (1<<9)) {
								if( (ob[Cobj].flg & (1<<15)) ) {
									setVisibility("visible");
								}
								Cobj = ob[Cobj].trg;
								setVisibility("hidden");
							}
							else if(ob[Cobj].flg & (1<<10)) {
								if( (ob[Cobj].flg & (1<<15)) ) {
									setVisibility("hidden");
								}
								Cobj = ob[Cobj].trg;
								setVisibility("visible");
							}
						}
						ob[Molst[i]].flg = ob[Molst[i]].flg & ~(1<<12);
					}
				}
			}
		}
}

function MouseOver() 
{
	if( cmx >= ob[Cobj].left && cmx <= ob[Cobj].right && cmy >= ob[Cobj].top && cmy <= ob[Cobj].bottom) {
		 return 1;
	}
	else {
		return 0;
	}
}

function setVisibility(code)
{
	var i;
	if((ob[Cobj].flg & (1<<24))&& (ob[Cobj].flg &(~(1<<24)))) {
		ob[Cobj].style.visibility = code;
		for(i = 0; i < ob[Cobj].gsz; i++) {
      ob[ob[Cobj].grp[i]].style.visibility = code;
		}
	}
	else {
		ob[Cobj].style.visibility = code;
	}
}

InitVisibility();

function InitVisibility()
{
 var i;
	obTriggered = new Array();
	nCount=0;

	obGroup = new Array();
	for(i=0; i < MoLNo; i++) {
		obGroup[i]=0;
	}

	for(i=0; i < MoLNo; i++) {
		bHidden=0;
		if(ob[Molst[i]].flg & (1<<4)) {
			bHidden=1;
		}
		else if(ob[Molst[i]].flg & (1<<8)) {
			if( (ob[Molst[i]].flg & (1<<9)) ||(ob[Molst[i]].flg & (1<<13)) ) {
				obTriggered[nCount]= ob[Molst[i]].trg;
				nCount+=1;
			}
			else if( (ob[Molst[i]].flg & (1<<15)) ) {
				if( (ob[Molst[i]].flg & (1<<10)) ||(ob[Molst[i]].flg & (1<<14)) ) {
					bHidden=1;
				}
			}
		}
		else {
			bHidden=0;
		}

		if(bHidden==1) {
			code = "hidden";
		}
		else {
			code = "visible";
		}

		Cobj=Molst[i];
		if(obGroup[Cobj]!=1){
			setVisibility(code);
		}

		var j;
		if((ob[Molst[i]].flg & (1<<24)) && (ob[Molst[i]].flg & (~(1<<24)))) {
			for(j = 0; j < ob[Molst[i]].gsz; j++) {
				obGroup[ob[Molst[i]].grp[j]] =1;
			}
		}
	}

	for(i=0; i < nCount; i++) {
		Cobj =obTriggered[i];
		code = "hidden";
		setVisibility(code);
	}
}

function MouseUp()
{
	var i;
	for(i=0; i < MoLNo; i++) {
		Cobj = Molst[i];
		if(MouseOver() == 1) {
			if( (ob[Cobj].flg & (1<<14)) ) {
				if(!(ob[Cobj].flg & (1<<16))) {
					if( (ob[Cobj].flg & (1<<15))) {
						setVisibility("hidden");
					}
					Cobj = ob[Cobj].trg;
					setVisibility("visible");
				}
			}
			else if( (ob[Cobj].flg & (1<<13))) {
				if(!(ob[Cobj].flg & (1<<16))) {
		 			if( (ob[Cobj].flg & (1<<15)) ) {
						setVisibility("visible");
					}
						Cobj = ob[Cobj].trg;
						setVisibility("hidden");
				}
			}
		}
	}
}

function MouseDown()
{
	var i;
	for(i=0; i < MoLNo; i++) {
		Cobj = Molst[i];
		if(MouseOver() == 1) {
		 	if( (ob[Cobj].flg & (1<<13))) {
		 		if( (ob[Cobj].flg & (1<<15)) ) {
  				setVisibility("hidden");
				}
				Cobj = ob[Cobj].trg;
				setVisibility("visible");
			}
			else if( (ob[Cobj].flg & (1<<14))) {
				if( (ob[Cobj].flg & (1<<15)) ) {
  				setVisibility("visible");
				}
				Cobj = ob[Cobj].trg;
				setVisibility("hidden");
			}
		}
 	}
}