<!--
var SERVER_IP = "79.115.207.19";
var SERVER_PORT = "80";

function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}

function initmove(sqlImg, ldapImg) {
	if (!bw.ns4)
	{
		objSql = document.getElementById(sqlImg)
		objLdap = document.getElementById(ldapImg)
		newHeight = 20
		mylayer = new DynLayer("divSQL");
		mylayer.parabola = new Parabola("mylayer","parabola");
		mylayer.parabola.play(objSql, newHeight, 1, -479, 115, 20, 1);
		mylayera = new DynLayer("divLDAP");
		mylayera.parabola = new Parabola("mylayera","parabola");
		mylayera.parabola.play(objLdap, newHeight, 1, -657, 218, 28, 1);
	}
	return true;
}

function ChangeImage(objImgName, strImgName)
{
	objImgName.src = strImgName;
	return true;
}

function MM_reloadPage(init) {
	if (init == true)
		with (navigator) {
			if ((appName=="Netscape") && (parseInt(appVersion)==4)) {
				document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
			}
		}
	else
		if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
			location.reload();
}

function RunEChartURL(url)
{
	if (SERVER_PORT=="80")
		url = "http://" + SERVER_IP + url;
	else
		url = "http://" + SERVER_IP + ":" + SERVER_PORT + url;
	RunURL(url)
}

// executes the given URL in a separate window
function RunURL(url)
{
	nWidth = window.screen.availWidth - 102
	nHeight = window.screen.availHeight - 220
	window.open(url, '_blank','menubar=yes,toolbar=yes,location=no,directories=yes,status=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=' + nWidth + ',height=' + nHeight + ',left=50,top=50');
}

// paints the navigation bar trail, whose length depends on the window height.
function setHeight(trail)
{
	if (bw.ie6 || bw.ie5)
	{
		objTrail = document.getElementById(trail)
		while (document.body.offsetHeight > document.body.scrollHeight)
			objTrail.height += document.body.offsetHeight - document.body.scrollHeight
	}
	else if (bw.ns5)
	{
		objTrail = document.getElementById(trail)
		while (window.innerHeight > document.height)
			objTrail.height += window.innerHeight - document.height
	}
}

// calls various functions, depending on the given values
function initDoc(move, sqlImg, ldapImg, nbTrail)
{
	if (move)
		initmove(sqlImg, ldapImg)
	if (nbTrail)
		setHeight(nbTrail)
}

// computes the page address linked to the image PEOPLE.GIF of the page SITEMAP.HTML
function goBack()
{
	window.history.back()
}

// makes the link to point to an email address based on the given user
function mailtoSimulator(link, user)
{
	link.href = "mailto:" + user + "@" + server
}

// returns an email address based on the given user
function getEmail(user)
{
	return user + "@" + server
}

// writes the hidden email related form fields
function getEmailFormFields(addr1, addr2, addr3)
{
	document.write('<INPUT type="hidden" name="FROM" value="' + getEmail(addr1) + '">')
	document.write('<INPUT type="hidden" name="TO" value="' + getEmail(addr1) + ';' + getEmail(addr2))
	if (addr3)
		document.write(';' + getEmail(addr3))
	document.write('">')

	document.write('<INPUT type="hidden" name="txtEmailEstwest" value="' + adminEmail + '">')

	document.write('<mailtoinput type="hidden" NAME="sendto" VALUE="' + getEmail(addr1) + '">')
	document.write('<mailtoInput type="hidden" NAME="email" Value="' + getEmail(addr1) + '">')
}
var adminEmail = "yscherman@echart-estwest.com";
//var adminEmail = "aserban@softinspire.com";
var server = "estwest.com";
bw=new checkBrowser()
MM_reloadPage(true);

// -->