	//if (window != top){
	//	top.location.href = window.location.href;
	//}


	function popFullSize(url,width,height) {
	  popupWin = window.open(url,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=' + width + ',height=' + height);
	}

	function popWindow(url,width,height) {
	  popupWin = window.open(url,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=' + width + ',height=' + height);
			  
	 // window.open(url, '_blank',width=' + width + ',height=' + height);
	}

	function popWindowNS(url,width,height) {
	  popupWin = window.open(url,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=' + width + ',height=' + height);
			  
	 // window.open(url, '_blank',width=' + width + ',height=' + height);
	}	

	function addFace(txtFace) {
		document.PostTopic.Message.value = document.PostTopic.Message.value + txtFace;
	}

	/* function forumConfirm(txtDisclaim,strURL) {
		if (confirm(txtDisclaim)) {              
			window.location = strURL
			}
	} */

	// START IDENTIFY NAVIGATOR
		var bName = navigator.appName;
		var bVer = parseInt(navigator.appVersion);
		var bPlat = navigator.appVersion;
		var NS2 = (bName == "Netscape" && bVer == 2);
		var nojava = ((bName.indexOf("Explorer") != -1) && (bPlat.indexOf("Win") == -1) && (bVer == 3));
	// END IDENTIFY NAVIGATOR

	// START OF IMAGE ROLLOVER SCRIPTING

		var cellName = null;
		//images directory path:
	    var buttDir = "events_files/"; 
		//number of images:
		var n = 9;
		imgName = new Array(n);
		img_on = new Array(n);
		img_off = new Array(n);
	// define image names (without _on.gif or _off.gif)
		imgName[1] = "mmail";
		imgName[2] = "mnomail";
		imgName[3] = "monline";
		imgName[4] = "msearch";
		imgName[5] = "mlog";
		imgName[6] = "mlogoff";
		imgName[7] = "mhelp";
		imgName[8] = "mhome";		
		imgName[9] = "mback";		

	// pre-load images if "Image" is defined
	// this part is for changing buttons
		if(document.images) {
			for (var c=1; c<=n; c++) {
				img_off[c] = new Image();
				img_off[c].src = buttDir +  imgName[c] + "off.gif";
				img_on[c]  = new Image();
				img_on[c].src  = buttDir +  imgName[c] + "on.gif";
			}
		}

	// setting for onMouseOver
		function overbtn(i) {
			var dd = imgName[i];
			if (document.images) {
				document[dd].src = img_on[i].src;
			}
		}

	// settings for onMouseOut
		function outbtn(j) {
			var dd = imgName[j];
			if (document.images) {
				document[dd].src = img_off[j].src;
			}
		}

	// END OF IMAGE ROLLOVER SCRIPTING

	// Show an object
	var arrowoff = new Image();
	arrowoff.src = "events_files/marrowoff.gif";
	var arrowon = new Image();
	arrowon.src = "events_files/marrowon.gif";

	function arrowOver(area) {
		document[area].src = arrowon.src;
	}
	function arrowOut(area) {
		document[area].src = arrowoff.src;
	}
			
	function cb(thetable,col){
		if (!thetable.contains(event.fromElement)) {
			thetable.bgColor = col;
			thetable.style.cursor = "hand";  
		}
		else if (!thetable.contains(event.toElement)) {
			thetable.bgColor = col;
		}
	}
			
	// function:	stopMULTIPLEsubmit
	// parameters:	a form object
	// returns:		nothing
	// abstract:	This function disables the "submit" button once the
	//				button is pressed to disallow multiple submissions:
	//				<form method="POST" onSubmit="stopMULTIPLEsubmit(this)" id=form1 name=form1>
	function stopMULTIPLEsubmit(theform){
		if (document.all||document.getElementById){
		//find the "submit" button
		for (i=0;i<theform.length;i++){
			var tempobj=theform.elements[i]
			if(tempobj.type.toLowerCase()=="submit")
			//disable button
			tempobj.disabled=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 MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'block':(v='hide')?'none':v; }
    obj.display=v; }
}

function openMe(){
  if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
    document.all.civLayer.style.visibility = "visible";
    document.all.civLayer.style.width = available_width;
	document.all.civLayer.style.height = available_height/2;
  }
}
 
function runCloseMe(){
  document.all.civLayer.style.visibility = "hidden";
}
 
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function mumbosnail_DoFSCommand(command, args) {
  var mumbosnailObj = InternetExplorer ? mumbosnail : document.mumbosnail;
 if (command == "theCloseMe") {
  runCloseMe();
 }
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
 document.write('<SCRIPT LANGUAGE=VBScript\> \n');
 document.write('on error resume next \n');
 document.write('Sub mumbosnail_FSCommand(ByVal command, ByVal args)\n');
 document.write('  call mumbosnail_DoFSCommand(command, args)\n');
 document.write('end sub\n');
 document.write('</SCRIPT\> \n');
}

