function SetFocusRegister() 
	{
	document.RegisterForm.StrName.focus();
	}

function SetFocusReminder() 
	{
	document.ReminderForm.StrUserName.focus();
	}

function SetFocusEditorRegisterForm() 
	{
	document.EditorRegisterForm.StrEditorName.focus();
	}

function SetFocusEditorsLogin() 
	{
	document.EditorLoginForm.StrEditorUserName.focus();
	}

function SetFocusUpdate() 
	{
	document.UpdateForm.StrName.focus();
	}

function SetFocusAddComment() 
	{
	document.CommentForm.StrComment.focus();
	}

function SetFocusContact() 
	{
	document.ContactForm.StrName.focus();
	}

function SetFocusAddBanner() 
	{
	document.AddBannerForm.StrName.focus();
	}

function SetFocusAdvertisement() 
	{
	document.AdvertisementForm.StrAdvsUserName.focus();
	}

function SetFocusUpdateArticles() 
	{
	document.UpdateArticleForm.StrArticleSubject.focus();
	}

function SetFocusAddReplys() 
	{
	document.ReplyForm.StrBody.focus();
	}

function textchange(obj, myevent)
	{

	if ( myevent == 1 )
	{
		obj.style.background = '#E4E4E4';
	}
	if ( myevent == 0 ) 
	{
		obj.style.background = '#FFFFFF';
		prevVal = obj.value;
	}
	}

function SelectAll()
		{
			for (var x=0;x<document.DeleteForm.elements.length;x++)
			document.DeleteForm.elements[x].checked = document.DeleteForm.selectallcheckbox.checked;
		}