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);}}
}

function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}