function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function tmt_findObj(n){
	var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
	x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
	}else{x=document.getElementById(n)}return x;
}

function tmt_divSplitVertOut(tl,dur,incr){
	var nn4=(document.layers)?true:false;transNo=parseInt(14);arHidden=new Array(1,3,14,16);
	var t=(document.getElementById)?tmt_findObj(tl):MM_findObj(tl);if(document.all&&t){
	t.style.filter="revealTrans(duration=" + dur + ",transition=14)";endState="hidden";
	for(i=0;i<arHidden.length;i++){if(arHidden[i]==transNo){endState="visible";t.style.visibility="hidden";}}
	t.filters.revealTrans.apply();t.style.visibility=endState;t.filters.revealTrans.play();return;}
	if(navigator.appName=='Netscape'&&t){intval=100;if(incr==0){
	if(nn4){t.origLeft=t.Left=t.clip.left;t.origTop=t.clip.top;t.origRight=t.Right=t.clip.right;
	t.origBottom=t.clip.bottom;t.Width=t.clip.width;}else{
	t.style.overflow='hidden';t.Width=t.Right=t.offsetWidth;t.Left=0;}
	mSecs=dur*1000;visits=(mSecs/intval);fullW=t.Width;halfW=fullW/2;
	increment=Math.round(halfW/visits);t.Left+=halfW;t.Right-=halfW;
	if(nn4){t.clip.left=t.Left;t.clip.right=t.Right;t.visibility="show";}else{
	t.style.clip="rect(auto "+t.Right+"px auto "+t.Left+"px)";
	t.style.visibility='visible';}t.Left-=increment;t.Right+=increment;
	if(nn4){t.clip.left=t.Left;t.clip.right=t.Right;}else{
	t.style.clip="rect(auto "+t.Right+"px auto "+t.Left+"px)";}}else{
	t.Left-=increment;t.Right+=increment;
	if(nn4){t.clip.left=t.Left;t.clip.right=t.Right;}else{
	t.style.clip="rect(auto "+t.Right+"px auto "+t.Left+"px)";}}
	if((t.Left-t.origLeft)<=increment){
	if(nn4){t.clip.left=t.origLeft;t.clip.right=t.origRight;}else{
	t.style.clip="rect(auto)";}}else{
	setTimeout('tmt_divSplitVertOut("'+tl+'",'+dur+','+increment+')',intval);}}
}
