
tempLayer = ""
startVar = 0;
currentX=0;
currentY=0;
if (document.all || document.layers || document.getElementById)
	b = 1
else
	b = 0

if (document.layers) {
	document.captureEvents(Event.MOUSEMOVE) 
	document.onmousemove = locate 
} 
else if (document.getElementById || document.all)
	document.onmousemove = locate

var mousePosY, mousePosX
function locate(evt){
	if (document.all) {
		mousePosY = event.clientY;
		mousePosX = event.clientX;
	} 
	else if (document.getElementById || document.layers) {
		mousePosX = evt.pageX;
		mousePosY = evt.pageY;
	}
}

function hideLayer(y){
	if ((tempLayer != "" && startVar == 1) || y) {
		if (y)
			tempLayer = y;
		if (document.layers)
			eval("document.layers." + tempLayer + ".visibility='hide';");
		else if (document.getElementById)
			eval("document.getElementById('" + tempLayer + "').style.visibility='hidden';");
		else if (document.all)
			eval(tempLayer + ".style.visibility='hidden';");
		tempLayer = "";
		tempVar = 0;
	}
}


//watch mouse movements
function watchMouse(){
	if (tempLayer != "") {
		if (document.layers) {
			if ((mousePosX < currentX) || (mousePosX > currentX+eval("document.layers." + tempLayer + ".document.width")) || (mousePosY < currentY-tempHeight)|| (mousePosY > currentY + eval("document.layers." + tempLayer + ".document.height"))) { 
eval("document.layers." + tempLayer + ".visibility='hide';");
				tempLayer = ""
			}
		}

		else if (document.getElementById || document.all) {
			if (currentY > document.body.clientHeight && mousePosY < document.body.clientHeight)
				tempmousePosY = mousePosY + document.scrollTop
			else
				tempmousePosY = mousePosY

			if (document.all) {
				if ((mousePosX < currentX) || (mousePosX > currentX+parseInt(eval(tempLayer + ".style.width"))) || (tempmousePosY < currentY-tempHeight)) {
					eval(tempLayer + ".style.visibility='hidden';"); 
					tempLayer = ""
				}
			}
			else if (document.getElementById) {
				if ((mousePosX < currentX) || (mousePosX > currentX+parseInt(eval("document.getElementById('" + tempLayer + "').style.width"))) || (tempmousePosY < currentY-tempHeight)) {
					eval("document.getElementById('" + tempLayer + "').style.visibility='hidden';"); 
					tempLayer = ""
				}
			}
		}
	}
	setTimeout("watchMouse();",200);
}

watchMouse();

function showLayer(y,img){
	if (startVar == 1) {
		getPos(img);

		if (document.layers) {
			if (tempLayer != "")
				eval("document.layers." + tempLayer + ".visibility='hide';");
			moveDown = tempHeight
			moveLeft = 0
			eval("document.layers." + y + ".left=" + (tempLeft + moveLeft));
			eval("document.layers." + y + ".top=" + (tempTop + moveDown));
			eval("document.layers." + y + ".visibility='show';");
			tempLayer = y;
			currentX = tempLeft;
			currentY = tempTop+tempHeight;
		}
		else if (document.getElementById) {
			if (tempLayer != "")
				eval("document.getElementById('" + tempLayer + "').style.visibility='hidden';");
			moveDown = tempHeight
			moveLeft = 0
			eval("document.getElementById('" + y + "').style.left=" + (tempLeft + moveLeft));
			eval("document.getElementById('" + y + "').style.top=" + (tempTop + moveDown));
			eval("document.getElementById('" + y + "').style.visibility='visible';");
			tempLayer = y;
			currentX = tempLeft;
			currentY = tempTop+tempHeight;
		}
		else if (document.all) {
			if (tempLayer != "")
				eval(tempLayer + ".style.visibility='hidden';");
			moveDown = tempHeight
			moveLeft = 0
			eval(y + ".style.left=" + (tempLeft + moveLeft));
			eval(y + ".style.top=" + (tempTop + moveDown));
			eval(y + ".style.visibility='visible';");
			tempLayer = y;
			currentX = tempLeft;
			currentY = tempTop+tempHeight;
		}
	}
}

tempHeight = 0;
tempLeft = 0;
tempWidth = 0;
tempTop = 0;

function getPos(y) {
	if (document.layers) {
		tempHeight = eval("document.images." + y + ".height")
		tempWidth = eval("document.images." + y + ".width")
		tempTop = eval("document.images." + y + ".y");
		tempLeft = eval("document.images." + y + ".x");
	}
	else if (document.getElementById || document.all) {
		tempImg = eval("document.images." + y)
		tempHeight = eval("document.images." + y + ".height")
		tempWidth = eval("document.images." + y + ".width")
		tempTop = tempImg.offsetTop
		tempLeft = tempImg.offsetLeft + 2
		while (tempImg.tagName != "BODY") {
			tempImg = tempImg.offsetParent
			if (tempImg.tagName != "BODY") {
				tempTop = tempTop + tempImg.offsetTop
				tempLeft = tempLeft + tempImg.offsetLeft
			}
		}
	}
}



function writeTop(y,size){
	if (document.layers) 
		temptxt = '<layer onmouseout="watchMouse();" name="' + y + '" pageY=0 pageX=0 width=' + size + ' visibility=hidden>';
	else
		temptxt = '<div onmouseout="watchMouse();" id="' + y + '" style="left:0;top:0;position:absolute;width:120;visibility:hidden;">'
	temptxt += '<table width="' + size + '" border=0 cellpadding=0 cellspacing=0 bgcolor="white"><tr><td bgcolor="white"><table border="0" bgcolor="white" cellpadding="2" cellspacing="1" width="' + size + '">';
	document.write(temptxt)
}

function writeRow(y,w,u){
	document.write('<tr><td bgcolor="' + u + '"><a href="' + y + '" class="dhtml">' + w + '</a></td></tr>');
}

function noLink(w,u){
	document.write('<tr><td bgcolor="' + u + '">' + w + '</td></tr>');
}

function writeBot(){
	if (document.layers)
		document.write('</table></td></tr></table></layer>');
	else
		document.write('</table></td></tr></table><img src="pix/trans.gif" onMouseover="hideLayer();" width="120" height="30" alt="" border="0"></div>');
}

writeTop('ab','115');
writeRow('about_differences.htm','Our Differences','#565656');
writeRow('about_partners.htm','Partners','#565656');
writeRow('about_employment.htm','Employment','#565656');
writeRow('about_contact.htm','Contact Us','#565656');
writeRow('about_directions.htm','Directions','#565656');
writeBot();
			
writeTop('ser','115');
writeRow('services_project.htm','Project Management','#565656');
writeRow('services_systems.htm','Systems Analysis','#565656');
writeRow('services_solution.htm','Solution Design','#565656');
writeRow('services_integration.htm','Integration','#565656');
writeRow('services_implementation.htm','Implementation','#565656');
writeRow('services_training.htm','Training','#565656');
writeRow('services_support.htm','Support','#565656');
writeRow('services_conversion.htm','Conversion','#565656');
writeRow('services_services.htm','Flex.Serv','#565656');
writeBot();

writeTop('pro','115');
noLink('<b><font color="#FFFFFF">Software</font></b>','#990000');
writeRow('products_cms.htm','Content Management Suites','#565656');
writeRow('products_cold.htm','ERM / COLD','#565656');
writeRow('products_workflow.htm','Workflow','#565656');
writeRow('products_image.htm','Image Capture','#565656');
writeRow('products_data.htm','Data Capture','#565656');
writeRow('products_storage.htm','Storage Management','#565656');
writeRow('products_records.htm','Records Management','#565656');
noLink('<b><font color="#FFFFFF">Hardware</font></b>','#990000');
writeRow('products_scanners.htm','Scanners','#565656');
writeRow('products_optical.htm','Optical Storage','#565656');
writeBot();

writeTop('ind','115');
writeRow('industries_finance.htm','Financial','#565656');
writeRow('industries_gaming.htm','Gaming','#565656');
writeRow('industries_healthcare.htm','Healthcare','#565656');
writeRow('industries_insurance.htm','P&C/Health Insurance','#565656');
writeRow('industries_manufacturing.htm','Manufacturing','#565656');
writeRow('industries_utility.htm','Utility','#565656');
writeRow('industries_petrochemical.htm','Petrochemical','#565656');
writeRow('industries_publishing.htm','Publishing','#565656');
writeRow('industries_services.htm','Services','#565656');
writeRow('industries_other.htm','Other','#565656');
writeBot();

writeTop('sol','115');
writeBot();

writeTop('cli','115');
writeRow('clients_list.htm','Client List','#565656');
writeRow('clients_testimonials.htm','Client Testimonials','#565656');
writeRow('clients_caseStudies.htm','Case Studies','#565656');
writeBot();