
// browser check, if netscape, attach netscape stylesheet
if(navigator.appName == "Netscape")
{
	document.write("<LINK href='stylesheets/indigo_style_ns.css' rel='stylesheet'>");
} else {
 	document.write("<LINK href='stylesheets/indigo_style.css' rel='stylesheet'>");
}

var DHTML = (document.getElementById || document.all || document.layers);

function ap_getObj(name) {
	if (document.getElementById) {
		return document.getElementById(name).style;
	}
	else if (document.all) {
		return document.all[name].style;
	}
	else if (document.layers) {
		return document.layers[name];
	}
}

function showComments(div, flag) {
	
	var myArray = new Array("<a href='http://www.e-timsheetz.com' target='_blank'><img src='images/etimesheetz.jpg' border='0'></a><br><br>Enthusis provides us with a totally outsourced service that allows the focus of our key management to be dedicated on the growth of our business....<br><br>-- Mr. Nick Woodward, CEO.<br>", 
				"<a href='http://www.covigo.com/' target='_blank'><img src='images/covigo.gif' border='0'></a><br><br>The key things that have really attracted me when working with Enthusis is their sincerity, true willingness to be a partner and a true feeling of a win-win.<br><br>-- Mr. Krishna Vedati, CTO.<br>", 
				"<a href='http://www.pwcglobal.com/uk/eng/main/home/index.html' target='_blank'><img src='images/pwc.gif' border='0'></a><br><br>Enthusis brings three things to the table.<div align=left><ol><li> Technical expertise<li>Commitment to great customer service <li>The ability to be responsive.<br><br>-- Mr. Brian Meach, Project Manager.<br>",
				"<a href='http://www.e-timsheetz.com' target='_blank'><img src='images/etimesheetz.jpg' border='0'></a><br><br>Enthusis provides us with a totally outsourced service that allows the focus of our key management to be dedicated on the growth of our business....<br><br>-- Mr. Nick Woodward, CEO.<br>"); 

	if (div == 99) {
		// do something
		div = Math.round((Math.random() * 10)/3);
	} 

	if (flag > 0) {
		//document.all['client'].innerHTML = "";
		document.all['client'].innerHTML = myArray[div];
		ap_showWaitMessage('client', 1);
	}
}

function ap_showWaitMessage(div,flag)
{
	if (!DHTML) return;
	var x = ap_getObj(div);
	x.visibility = (flag) ? 'visible':'hidden'
	if(! document.getElementById)
	if(document.layers)
	x.left=280/2;
	return true;
}
	


// Image Rollover 
function roll(name,status)
{
	if(window.document.images) 
	{
		if (status)
			window.document.images[name].src = "images/" + name + "On.gif";
		else
			window.document.images[name].src =  "images/" + name + ".gif";
	}
}

