﻿function SetCaption(sel)
{
	if (sel.value=="Mail")
		document.getElementById("tdCaption").innerHTML="Email";
	else 
		document.getElementById("tdCaption").innerHTML="User ID";
}

function Submit(f)
{
	if (f.Option.value=="Mail")
	{
		f.action = "http://mail.ancbd.com/mail/login.html";
		f.username.value=f.user.value;
	}
	else
	{
		f.action = "https://cp.sineris.com/Default.aspx?pid=Login";
	}
}