function hover_nb(tableCell,hoverFlag)
{
	if (hoverFlag)
	{
		tableCell.style.backgroundImage = 'url("img/navbar_bg2.gif")';
	}
	else
	{
		tableCell.style.backgroundImage = 'url("img/navbar_bg.gif")';
	}
}


function pp(url,name)
{
	w = open(url,name,'scrollbars=1,width=640,height=480,left=80,top=60');
	if (w.opener == null) w.opener = self;
	w.focus();
}

function sm()
{
	if (document.getElementById('UserForm').cipher == 'strong')
	{
		document.getElementById('UserForm').action = 'https://www.aproposito.com/bin/aps/*dologin';
	}
	else if (document.getElementById('UserForm').cipher == 'weak')
	{
		document.getElementById('UserForm').action = 'https://www.aproposito.com:1443/bin/aps/*dologin';
	}
	return 0;
}

function hover_cb0(checkButton,hoverFlag)
{
	if (document.getElementById('UserForm').resolution.value == 'high')
	{
		if (hoverFlag)
		{
			checkButton.src='img/chkboxt3.gif';
		}
		else
		{
			checkButton.src='img/chkboxt1.gif';
		}
	}
	else
	{
		if (hoverFlag)
		{
			checkButton.src='img/chkboxt4.gif';
		}
		else
		{
			checkButton.src='img/chkboxt2.gif';
		}
	}
}

function toggle_cb0()
{
	if (document.getElementById('UserForm').resolution.value == 'low')
	{
		document.getElementById('chkbox0').src='img/chkboxt3.gif';
		document.getElementById('UserForm').resolution.value = 'high';
	}
	else
	{
		document.getElementById('chkbox0').src='img/chkboxt4.gif';
		document.getElementById('UserForm').resolution.value = 'low';
	}
}

function toggle_cb1()
{
	if (document.getElementById('UserForm').security.value == 'public')
	{
		document.getElementById('chkbox1').src='img/button1.gif';
		document.getElementById('UserForm').security.value = 'private';
	}
	else
	{
		document.getElementById('chkbox1').src='img/button2.gif';
		document.getElementById('UserForm').security.value = 'public';
	}
}

function hover_cb1(checkButton,hoverFlag)
{
	if (document.getElementById('UserForm').security.value == 'private')
	{
		if (hoverFlag)
		{
			checkButton.src='img/buttong.gif';
		}
		else
		{
			checkButton.src='img/button1.gif';
		}
	}
}

function toggle_rb(id)
{
	if (id)
	{
		if (document.getElementById('UserForm').cipher.value == 'strong')
		{
			document.getElementById('radio1').src='img/button1.gif';
			document.getElementById('radio2').src='img/button4.gif';
			document.getElementById('UserForm').cipher.value = 'weak';
		}
	}
	else
	{
		if (document.getElementById('UserForm').cipher.value == 'weak')
		{
			document.getElementById('radio1').src='img/button3.gif';
			document.getElementById('radio2').src='img/button1.gif';
			document.getElementById('UserForm').cipher.value = 'strong';
		}
	}
}

function hover_rb(id,checkButton,hoverFlag)
{
	if (id)
	{
		if (document.getElementById('UserForm').cipher.value == 'strong')
		{
			if (hoverFlag)
			{
				checkButton.src='img/buttono.gif';
			}
			else
			{
				checkButton.src='img/button1.gif';
			}
		}
	}
	else
	{
		if (document.getElementById('UserForm').cipher.value == 'weak')
		{
			if (hoverFlag)
			{
				checkButton.src='img/buttonr.gif';
			}
			else
			{
				checkButton.src='img/button1.gif';
			}
		}
	}
}

function hover_lb(logonButton,hoverFlag)
{
	if (hoverFlag)
	{
		logonButton.src='img/logon.gif';
	}
	else
	{
		logonButton.src='img/logon2.gif';
	}
}

