function getXCoord(imgID) {
        if (NS4 == (document.layers)) xPos = document.images[imgID].x;
        else xPos = getIEXCoord(imgID)
        return xPos;
}

function getYCoord(imgID) {
  if (NS4 == (document.layers)) yPos = document.images[imgID].y;
  else yPos = getIEYCoord(imgID);
  return yPos;
}

function getIEXCoord(imgElem) {
        xPos = eval(imgElem).offsetLeft;
        tempEl = eval(imgElem).offsetParent;
        while (tempEl != null) {
                xPos += tempEl.offsetLeft;
                tempEl = tempEl.offsetParent;
        }
        return xPos;
}
function getIEYCoord(imgElem) {
        yPos = eval(imgElem).offsetTop;
        tempEl = eval(imgElem).offsetParent;
        while (tempEl != null) {
                yPos += tempEl.offsetTop;
                tempEl = tempEl.offsetParent;
        }
        return yPos;
}

// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
<!--
	arMenu1 = new Array(	200,getXCoord("products"),getYCoord("products")+document.images["products"].height,"","","#00cccc","#CCCCFF","#000066","#000066",
	"Oil & Gas Forms","",1,
	"Oil & Gas Production","",1,
	"Correct Volumes","product.php?pid=8",0
	)
	arMenu1_1 = new Array(
	"Texas Forms","product.php?pid=0",0,
	"New Mexico Forms","product.php?pid=1",0,
	"Louisiana Forms","product.php?pid=2",0
        )
	arMenu1_2 = new Array(
	"Texas Production","product.php?pid=3",0
        )

	arMenu2 = new Array(	200,getXCoord("sales"),getYCoord("sales")+document.images["sales"].height,"","","#00cccc","#CCCCFF","#000066","#000066",
	"Catalog","catalog.php",0,
	"Return Policy","returns.php",0
	)

	arMenu3 = new Array(	200,getXCoord("support"),getYCoord("support")+document.images["support"].height,"","","#00cccc","#CCCCFF","#000066","#000066",
	"Downloads","dbcdownloads.php",0,
	"Frequently Asked Questions","",0,
	"Knowledge Base","",0,
	"Submit a Question to Technical Support","",0
	)

	arMenu4 = new Array(	200,getXCoord("about"),getYCoord("about")+document.images["about"].height,"","","#00cccc","#CCCCFF","#000066","#000066",
	"Company Information","about.php",0
	)


//	if (isMenu) {
//		document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='/jsfiles/dbcMenus.js'><\/SCRIPT>");
//	}

-->