function mailto(domain,user)
{
	document.location.href = "mailto:" + user + "@" + domain;
}

function outboundLink()
{
	return confirm("Are you sure?");
}

function checkAll(formId, cName, check )
{
    for (i=0,n=formId.elements.length;i<n;i++)
        if (formId.elements[i].className.indexOf(cName) !=-1)
            formId.elements[i].checked = check;
}

startList = function()
{
	if (document.all&&document.getElementById)
	{
		cssdropdownRoot = document.getElementById("cssdropdown");
		for (x=0; x<cssdropdownRoot.childNodes.length; x++)
		{
			node = cssdropdownRoot.childNodes[x];
			if (node.nodeName=="LI")
			{
				node.onmouseover=function()
				{
					this.className+=" over";
				}
				node.onmouseout=function()
				{
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

if (window.attachEvent)
window.attachEvent("onload", startList)
else
window.onload=startList;


function setToggleView(obj, bool)
{
	if(bool == false)
	{
  	document.getElementById(obj).style.display='none';
    document.getElementById(obj + "minus").style.display='none';
    document.getElementById(obj + "plus").style.display='inline';
  }
  else
  { 
  	document.getElementById(obj).style.display='table-header-group';
    document.getElementById(obj + "minus").style.display='inline';
    document.getElementById(obj + "plus").style.display='none';
  }
}

var xmlhttp
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
  try {
  xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
 } catch (e) {
  try {
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
   xmlhttp=false;
  }
 }
@else
 xmlhttp=false
 @end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	try {
		xmlhttp = new XMLHttpRequest();
	} catch (e) {
		xmlhttp=false;
	}
}
if (!xmlhttp && window.createRequest) {
	try {
		xmlhttp = window.createRequest();
	} catch (e) {
		xmlhttp=false;
	}
}