//expand content
function toggleContent(name,n) {
	var i,t='',el = document.getElementById(name);
	if (!el.origCont) el.origCont = el.innerHTML;
	
	for (i=0;i<n;i++) t += el.origCont;
	el.innerHTML = t;
	}
//End expand content	

// Contact Email 
var xHost1 = "infomaxium.com"; 
var xName1 = "Manjit.sidhu"; 
var xName2 = "Robert.lei"; 
var xName3 = "Sanjiv.purba"; 
var xName4 = "info";
var xName5 = "general";
var xname6 = "hr";

function writeContact_Manjit() {
	document.write('<a href="' + 'mail' + 'to:' + xName1 + '&#64;' + xHost1 + '" title="Contact Info">&raquo;&nbsp; Contact this individual</a>');
	return true;
}

function writeContact_Robert() {
	document.write('<a href="' + 'mail' + 'to:' + xName2 + '&#64;' + xHost1 + '" title="Contact Info">&raquo;&nbsp; Contact this individual</a>');
	return true;
}

function writeContact_Sanjiv() {
	document.write('<a href="' + 'mail' + 'to:' + xName3 + '&#64;' + xHost1 + '" title="Contact Info">&raquo;&nbsp; Contact this individual</a>');
	return true;
}

function writeContact_info() {
	document.write('<a href="' + 'mail' + 'to:' + xName4 + '&#64;' + xHost1 + '" title="Contact Info">info@infomaxium.com</a>');
	return true;
}

function writeContact_general() {
	document.write('<a href="' + 'mail' + 'to:' + xName5 + '&#64;' + xHost1 + '" title="Contact Info">general@infomaxium.com</a>');
	return true;
}

function writeContact_hr() {
	document.write('<a href="' + 'mail' + 'to:' + xName6 + '&#64;' + xHost1 + '" title="Contact Our Human Resources">hr@infomaxium.com</a>');
	return true;
}
// End Contact Email 

//Menu Load
startList = function() {

	//code only for IE
	if(!document.body.currentStyle) return;
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseover = function() {
				this.lastChild.style.visibility = 'visible';
			}
			li.onmouseout = function() {
				this.lastChild.style.visibility = 'hidden';
			}
		}
	}
}
window.onload=startList;
//End Menu Load