function Show() {
	document.getElementById('loginPopup').style.display="block";
	}
function Hide() {
	document.getElementById('loginPopup').style.display="none";
}
	
var divs = {
'customer' : 'customerLogin' ,
'unifiedcom' : 'unifiedcomLogin' ,
'agent' : 'agentLogin'
}

function showHide(obj)
{
var el, v = obj.options[obj.selectedIndex].value;
for (var opt in divs)
if (el = document.getElementById(divs[opt]))
el.style.display = (opt != v) ? 'none' : 'block';
}

window.onload = function()
{
document.getElementById('loginSelector').onchange();
}
