function land(ref, target)
{
if (target=="_self") {window.location=loc;}
else {if (target=="_top") {top.location=loc;}
else {if (target=="_blank") {window.open(loc);}
else {if (target=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("&");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000).toLowerCase();}
else {loc=ref; target="_self";}
if (ref != "") {land(loc,target);}
}

function imgpopup(path) {
path = 'http://www.customautotrim.com/dashkits/' + path;
popUpWindow = window.open(path, "openWin", "width=725,height=750,resizable,scrollbars");
window.popUpWindow.focus();
}

startHighlight = function() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("flatGrid");
		// Get a reference to the TBODY element
		tbody = navRoot.childNodes[0];
		for (i = 1; i < tbody.childNodes.length; i++) {
			node = tbody.childNodes[i];
			if (node.nodeName == "TR")	{
				node.onmouseover=function() {
					this.className = "over";
				}
				node.onmouseout=function()	{
					this.className = this.className.replace("over", "");
				}
			}
		}
      navRoot = document.getElementById("moldGrid");
		// Get a reference to the TBODY element
		t1body = navRoot.childNodes[0];

		for (i = 1; i < t1body.childNodes.length; i++){
			node = t1body.childNodes[i];
			if (node.nodeName == "TR")	{
				node.onmouseover=function() {
					this.className = "over";
				}
				node.onmouseout=function()	{
					this.className = this.className.replace("over", "");
				}
			}
		}
	}
}