function login(baseUrl,strUrl,tk,account){
	// Create a form
	loginForm = document.createElement('FORM');
	loginForm.method = 'post';
	loginForm.action = baseUrl + '/SecuredLogin/multi-site.asp';
	loginForm.setAttribute('name', 'secureLoginForm')
	loginForm.target = "_blank";
			
	textField = document.createElement('INPUT');
	textField.type = 'hidden';
	textField.setAttribute('value',tk);
	textField.setAttribute('name', 'tk');
	loginForm.appendChild(textField);
		
	textField = document.createElement('INPUT');
	textField.type = 'hidden';
	textField.setAttribute('value',account);
	textField.setAttribute('name', 'account');
	loginForm.appendChild(textField);

	textField = document.createElement('INPUT');
	textField.type = 'hidden';
	textField.setAttribute('value',strUrl);
	textField.setAttribute('name', 'goto');
	loginForm.appendChild(textField);
			
	textField = document.createElement('INPUT');
	textField.type = 'hidden';
	textField.setAttribute('value','LOGIN');
	textField.setAttribute('name', 'action');
	loginForm.appendChild(textField);

	document.body.appendChild(loginForm);
			
	loginForm.submit();
}
