		var hide = 0;
		var VisibleMenuIDs = new Array();
		var cursorX;
		var cursorY;
		var initialMenuItem = '';
		var menuPopulated = 0;

		function saveCursorLocation(X, Y)
		{
			cursorX = X;
			cursorY = Y;
		}

		function showMenu(source)
		{
			if(menuPopulated == 0)
			{
				return;
			}


			hide=0;
/*
			if(initialMenuItem != source.id && initialMenuItem != '')
			{
				cursorX = -100;
				cursorY = -100;
			}


			if(Math.abs(cursorX - event.clientX) + Math.abs(cursorY - event.clientY) < 50)
			{
				initialMenuItem = source.id;
				return;
			}
			else
			{
				cursorX = -100;
				cursorY = -100;
			}
*/
			var sourceid = source.id + '';
			setTimeout("displayMenu(" + getX(source) + ", " + getY(source) + "," + sourceid + ")", 200);
		}

		function displayMenu(X,Y,sourceid)
		{

			if(document.all.FillInnerHTML.innerHTML == '')
			{
				document.all.FillInnerHTML.innerHTML = document.all.MENUText.innerHTML;
			}

//Menu
//alert(document.all.MENUText.childNodes[0].childNodes[0].id);
var Menu = document.all.FillInnerHTML.childNodes[0].childNodes[0];
var MenuWidth = document.all.FillInnerHTML.childNodes[0].childNodes[0];

//OurService Menu
var OURSERVICEMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[0];
var ABOUTUSMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[1];
var SERVICEAREAMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[2];
var COMPLIANCEMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[3];
var INVESTORRELATIONSMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[4];

//alert(OURSERVICEMenu.childNodes[0]);

//MenuWidth
//document.write(document.all.MENUText.childNodes[0].childNodes[2].childNodes[2].innerHTML);
//alert(document.all.MENUText.childNodes[0].childNodes[2].childNodes[1].innerHTML);
//alert(document.all.MENUText.childNodes[0].childNodes[2].childNodes[2].innerHTML);
//alert(document.all.MENUText.childNodes[0].childNodes[2].childNodes[3].innerHTML);


//alert(document.all.MENUText.childNodes[0].childNodes[0].childNodes[0].childNodes[0].id);


//			alert(document.all.MENUText.value);


			//var X = getX(source);
			//var Y = getY(source);

			//VisibleMenuIDs[VisibleMenuIDs.length] = sourceid + 'Menu';

			Menu.style.visibility= "visible";
			Menu.style.position = "absolute";


//			if(Menu.style.left == '')
//			{
//				Menu.style.left = (getX(Menu) - 133) + 'px';
				Menu.style.left = X + 'px';
//				MenuWidth.style.left = getX(HeaderMenu) - X + 'px';

				MenuWidth.style.left = X + 'px';

//			}
//			Menu.style.top = "70px";
			//Menu.style.left = "0px";

//alert(getX(HeaderMenu));
//alert(MenuWidth.style.left);

//alert(Menu.style.left);

			var selectedMenu;

			if(sourceid.id == "OURSERVICE")
			{
				Menu.style.height = '125px';
				selectedMenu = OURSERVICEMenu;
			}

			if(sourceid.id == "ABOUTUS")
			{
				Menu.style.height = '125px';
				selectedMenu = ABOUTUSMenu;
			}

			if(sourceid.id == "SERVICEAREA")
			{
				Menu.style.height = '38px';
				selectedMenu = SERVICEAREAMenu;
			}

			if(sourceid.id == "COMPLIANCE")
			{
				Menu.style.height = '108px';
				selectedMenu = COMPLIANCEMenu;
			}

			if(sourceid.id == "INVESTORRELATIONS")
			{
				Menu.style.height = '90px';
				selectedMenu = INVESTORRELATIONSMenu;
			}


			//alert(Menu.style.left);
			OURSERVICEMenu.style.visibility = "hidden";
			ABOUTUSMenu.style.visibility = "hidden";
			SERVICEAREAMenu.style.visibility = "hidden";
			COMPLIANCEMenu.style.visibility = "hidden";
			INVESTORRELATIONSMenu.style.visibility = "hidden";

//alert(document.all[sourceid.id + 'Menu'].style.visibility);

			selectedMenu.style.visibility = "visible";
			selectedMenu.style.position = "absolute";
			selectedMenu.style.left = X + 'px';
			selectedMenu.style.top = Y + 20 + 'px';


/*
			document.all[sourceid.id + 'Menu'].style.visibility = "visible";
			document.all[sourceid.id + 'Menu'].style.position = "absolute";
			document.all[sourceid.id + 'Menu'].style.left = X + 'px';
			document.all[sourceid.id + 'Menu'].style.top = Y + 20 + 'px';

*/


		}

		function showMenuSave(source)
		{
			var X = getX(source);
			var Y = getY(source);

			//VisibleMenuIDs[VisibleMenuIDs.length] = source.id + 'Menu';

			Menu.style.visibility= "visible";
			Menu.style.position = "absolute";
			//Menu.style.left = "0px";
			//Menu.style.top = "0px";

//			alert(Menu.innerHTML);

			document.all.OURSERVICEMenu.style.visibility = "hidden";
			document.all.ABOUTUSMenu.style.visibility = "hidden";
			document.all.SERVICEAREAMenu.style.visibility = "hidden";
			document.all.COMPLIANCEMenu.style.visibility = "hidden";
			document.all.INVESTORRELATIONSMenu.style.visibility = "hidden";
			document.all[source.id + 'Menu'].style.visibility = "visible";
			document.all[source.id + 'Menu'].style.position = "absolute";
			document.all[source.id + 'Menu'].style.left = X + 'px';
			document.all[source.id + 'Menu'].style.top = Y + 20 + 'px';
		}

		function showSubMenu(source)
		{
			var X = getX(source);
			var Y = getY(source);

			//VisibleMenuIDs[VisibleMenuIDs.length] = source.id + 'Menu';

			document.all[source.id + 'Menu'].style.visibility = "visible";
			document.all[source.id + 'Menu'].style.position = "absolute";
			document.all[source.id + 'Menu'].style.left = X + 150 + 'px';
			document.all[source.id + 'Menu'].style.top = Y + 'px';
		}

function getX( oElement )
{
var iReturnValue = 0;
while( oElement != null ) {
iReturnValue += oElement.offsetLeft;
oElement = oElement.offsetParent;
}
return iReturnValue;
}

function getY( oElement )
{
var iReturnValue = 0;
while( oElement != null ) {
iReturnValue += oElement.offsetTop;
oElement = oElement.offsetParent;
}
return iReturnValue;
}

		function hideMenu(source)
		{
			if(menuPopulated == 0)
			{
				return;
			}

			hide=1;
			setTimeout("hideMenuTimeout()", 500);
		}

		function hideMenuTimeout()
		{
//Menu
//alert(document.all.MENUText.childNodes[0].childNodes[0].id);
var Menu = document.all.FillInnerHTML.childNodes[0].childNodes[0];
var MenuWidth = document.all.FillInnerHTML.childNodes[0].childNodes[0];

//OurService Menu
var OURSERVICEMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[0];
var ABOUTUSMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[1];
var SERVICEAREAMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[2];
var COMPLIANCEMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[3];
var INVESTORRELATIONSMenu = document.all.FillInnerHTML.childNodes[0].childNodes[2].childNodes[4];

//alert(ABOUTUSMenu.innerHTML);

			if(hide == 1)
			{
			//for(var i = VisibleMenuIDs.length - 1; i >= 0; i--)
			//{
				//if(VisibleMenuIDs[i] == source.id)
				//{
					Menu.style.visibility = "hidden";
			OURSERVICEMenu.style.visibility = "hidden";
			ABOUTUSMenu.style.visibility = "hidden";
			SERVICEAREAMenu.style.visibility = "hidden";
			COMPLIANCEMenu.style.visibility = "hidden";
			INVESTORRELATIONSMenu.style.visibility = "hidden";


				//}
			//}
			}


		}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
// layer delay
var timerID = "global"; 
function hideMenus() 
{
   MM_showHideLayers('AboutHCCLayer','','hide');
   MM_showHideLayers('ProductsSubLayer','','hide');
   MM_showHideLayers('CustomerSatisfactionLayer','','hide');
   MM_showHideLayers('ComplianceSubNavLayer','','hide');
   MM_showHideLayers('QuickLinksLayer','','hide');
}
function startTimer()
{
   stopTimer();
   
   // the number "1000" is the number of thousands-of-a-second

   timerID = setTimeout("hideMenus()", 500);
}
function stopTimer()
{
   clearTimeout(timerID);
} 

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

// random image and link loader

// image array
var theImages = new Array()
theImages[0] = 'http://www.crystal-clean.com/images/sidebars/cat_in_town_animation.gif';
theImages[1] = 'http://www.crystal-clean.com/images/sidebars/cat_w_1602.jpg';
theImages[2] = 'http://www.crystal-clean.com/images/sidebars/cat_pushing_dolly.jpg';
theImages[3] = 'http://www.crystal-clean.com/images/sidebars/cat_leaning_on_drums.jpg';
theImages[4] = 'http://www.crystal-clean.com/images/sidebars/hcc_logo.gif';

// link array
var theLinks = new Array()
theLinks[0] = 'http://www.crystal-clean.com/competition.asp';
theLinks[1] = 'http://www.crystal-clean.com/products_services/parts_cleaners.asp';
theLinks[2] = 'http://www.crystal-clean.com/products_services/waste_drum_disposal.asp';
theLinks[3] = 'http://www.crystal-clean.com/products_services/absorbents.asp';
theLinks[4] = 'http://www.crystal-clean.com/compliance/hcc_reuse_program.asp';

var ArrayLength = theImages.length;
var whichImage = Math.round(Math.random()*(ArrayLength-1));

function WriteImage(){
document.write('<a href="'+theLinks[whichImage]+'"><img src="'+theImages[whichImage]+'" width="148" height="209" border="0" alt="Find out more\!"><\/a>');
}


function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain a valid e-mail address \(name\@company\.com\).\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('You must include the following:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function populateMenu()
{

//document.all.MENUText.innerHTML = "<SPAN></SPAN>"

document.all.MENUText.innerHTML = "<DIV><DIV ID='Menu' style='cursor: hand; position:absolute; top: 58px; width:200px; overflow: hidden'><DIV ID='MenuWidth' style='position:relative'><TABLE CELLPADDING='0' CELLSPACING='0' style='cursor: hand'><TR><TD HEIGHT='0'><TABLE CELLPADDING='0' CELLSPACING='0' style='cursor: hand;font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt' width='100%' HEIGHT='0'><TR>	<TD style='background-color: white; filter:alpha(opacity=90)'>&nbsp;	</TD></TR></TABLE></TD></TR><TD><IMG ID='MenuImg' style='filter:alpha(opacity=90);' SRC='/images/layout/topmenuexpandedsmooth.gif'></IMG></TD></TR><TR><TD HEIGHT='100'>&nbsp;</TD></TR></TABLE></DIV></DIV><BR><DIV><DIV>		<TABLE ID='OURSERVICEMenu' onMouseOver='hide=0' onMouseOut='hideMenu(this)' style='cursor: hand; position:absolute; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt'>		<TR>			<TD NOWRAP><A HREF='/products_services/parts_cleaners.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Parts Cleaner</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/products_services/waste_drum_disposal.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Waste Drum Disposal</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/products_services/absorbents.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Crystal Cat Absorbants</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/products_services/oil_recovery.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Oil Recovery</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/products_services/vacuum_truck.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Vacuum Services</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/products_services/literature.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Literature</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/product_inquiries/index.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Product Inquiries</A></TD>		</TR>		</TABLE></DIV><DIV><TABLE ID='ABOUTUSMenu' onMouseOver='hide=0' onMouseOut='hideMenu(this)' style='position:absolute; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt;'>		<TR>			<TD NOWRAP><A HREF='/about/mission_statement.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Mission Statement</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/about/our_history.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Our History</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/about/who_we_are_today.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Who We Are Today</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/about/experience_leadership.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Experience and Leadership</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/about/corporate_accounts.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Corporate Accounts Program</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/compliance/hcc_reuse_program.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>HCC Reuse Program</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/about/press_releases.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Press Releases</A></TD>		</TR>		</TABLE></DIV><DIV><TABLE ID='SERVICEAREAMenu' onMouseOver='hide=0' onMouseOut='hideMenu(this)' style='position:absolute; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt;'>		<TR>			<TD NOWRAP><A HREF='/service_area/' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Coverage Map</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/contact/index.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Contact a Branch (Form)</A></TD>		</TR>		</TABLE></DIV><DIV><TABLE ID='COMPLIANCEMenu' onMouseOver='hide=0' onMouseOut='hideMenu(this)' style='position:absolute; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt;'>		<TR>			<TD NOWRAP><A HREF='/compliance/hcc_reuse_program.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>HCC Reuse Program</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/compliance/concurrence_letter.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Concurrent Letter Sample</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/compliance/states_agreeing.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>States Agreeing with Us</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/compliance/insurance.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Insurance Coverage</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/compliance/msds.asp' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Material Data Safety Sheets</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/waste_approval/' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Waste Approval</A></TD>		</TR>		</TABLE></DIV><DIV><TABLE ID='INVESTORRELATIONSMenu' onMouseOver='hide=0' onMouseOut='hideMenu(this)' style='position:absolute; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt;'>		<TR><TD NOWRAP><A HREF='/investor/FinancialReleases.asp?HeaderSection=2' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Financial Releases</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/investor/CorporateGovernance.asp?HeaderSection=3' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Corporate Governance</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/investor/SECFilings.asp?HeaderSection=4' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>SEC Filings</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/investor/StockInformation.asp?HeaderSection=5' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Stock Information</A></TD>		</TR>		<TR>			<TD NOWRAP><A HREF='/investor/ContactUs.asp?HeaderSection=6' style='cursor: hand; font-family: VERDANA; color: RGB(0,112,178); font-weight: bold; font-size: 8pt; text-decoration: none'>Investor Contacts</A></TD>		</TR>		</TABLE></DIV></DIV></DIV>";

menuPopulated = 1;

}

