function CheckCommand( selectObject)//	asks confirmation if selection is Resign//	if canceled, reverts the first choice of selectObject{	var choiceVal = selectObject.options[ selectObject.selectedIndex].value;	var choiceTxt = selectObject.options[ selectObject.selectedIndex].text;	if (choiceVal == "Resign" || choiceVal == "AcceptDraw")	{	if (!window.confirm( "Are you sure you want to " + choiceTxt + "?" +							"\n\nThere's no undo available after you've hit Submit!"))		{	selectObject.selectedIndex = 0;		}	}		return true;	}	//	CheckCommand()//	called from the appletfunction setMoveString( mvStr){	var moveBoxs = document.getElementsByName( 'MoveParam');	if (moveBoxs.length > 0)	{	//	we expect only one by that name		moveBoxs[0].value = mvStr;	}	}	//	setMoveString//	called from the appletfunction disableSubmitMove( doDisable){	var inputs = document.getElementsByTagName("input");	for (var i=0; i < inputs.length; i++)	{	   if (inputs[i].getAttribute('type') == 'submit')	   {//	it doesn't work on Christian's machines//		  inputs[i].disabled = doDisable;		  break;	   }	}	}	//	disableSubmitMovefunction isExplorerOnWin()//	returns true if the browser is Internet Explorer on 32-bit Windows{	var _info = navigator.userAgent;	var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0		&& _info.indexOf("Windows 3.1") < 0);	return _ie;}	//	isExplorerOnWinfunction writeContact( niamod, eman, sserdda)//	writes out the m-a-i-l-t-o tags; really usefull when niamod and sserdda are encoded{	var driht = 'to:';	var tsrif = 'ma';	var dnoces = 'il';	document.write('<a class="contentpagetitle" href="');	document.write(tsrif+dnoces+driht);	document.write(sserdda);	document.write('&#64;');	document.write(niamod);	document.write('">');	document.write(eman+'<\/a>');}	//	writeContact
