 function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}

var browserName = whichBrs();

 /***********************************************
www.burmees.nl/menu
************************************************/

	var NoOffFirstLineMenus=5;			// Number of main menu  items
    var LowBgColor="white";			// Background color when mouse is not over			
	var HighBgColor='black';        // Background color when mouse is over		
	var FontLowColor='#0066CC';	    // Font color when mouse is not over	
	var FontHighColor='white';			// Font color when mouse is over		
	var BorderColor='white';	// Border color				
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Borderwidth between elements
	var BorderBtwnSub=1;			// Borderwidth between elements sub items
	var FontFamily="arial,helvetica";	// Font family menu items
	var FontSize=11;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.3;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent	
    if (browserName == "Firefox")
	{
	    var StartTop=-15;
	}
	else
	{	
        var StartTop=-2;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight	
    }
	var StartLeft=0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=5;				// Left padding
	var TopPaddng=-1;		// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=400;			// delay before menu folds in
	var UnfoldDelay=0;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="MySpace";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
	var Arrws=['/images/tri.gif',5,5,'/images/tridown.gif',5,5,'/images/trileft.gif',5,10];	// Arrow source, width and height
	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var BuildOnDemand=1;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var OverFormElements=1;	
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0
	
	
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=0, transition=0)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=0, wipeStyle=0)";
	
	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=0, offY=0, positive=0)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=0, strength=0)";
	
	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Home","/","",3,15,40,"","","","","","",-1,-1,-1,"","");
    Menu1_1=new Array("Search","/search","",0,15,80,"0066cc","black","white","white","","",-1,-1,-1,"","");
    Menu1_2=new Array("Contact Us","/contact","",0,15,80,"0066cc","black","white","white","","",-1,-1,-1,"","");
    Menu1_3=new Array("Site Map","/sitemap.asp","",0,15,80,"0066cc","black","white","white","","",-1,-1,-1,"","");
Menu2=new Array("About DJJ","/about","",8,15,65,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("Environment","/about/environment.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu2_2=new Array("Fast Facts","/about/fastfacts.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu2_3=new Array("DJJ Profile","/profile","",4,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_3_1=new Array("DJJ News Library","/profile/articles/recentnews.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_3_2=new Array("Time-Line/History","/profile/timeline.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_3_3=new Array("DJJ Brand","/profile/djjbrand.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_3_4=new Array("Mission Statement","/profile/mission.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		
	Menu2_4=new Array("&nbsp;&nbsp;Management Team <b><i><font color=yellow>New</font></i></b>","/about/management.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu2_5=new Array("Want to do business?","/business","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
	Menu2_6=new Array("&nbsp;&nbsp;Locations/Directions <b><i><font color=yellow>Improved</font></i></b>","/locations.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
	Menu2_7=new Array("Affiliates","/affiliates","",9,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	    Menu2_7_1=new Array("Advantage Metals Recycling","javascript:NewWin=window.open('http://www.advantagerecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_7_2=new Array("Gemini Recycling","javascript:NewWin=window.open('http://www.geminirecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_7_3=new Array("Metal Recycling Services","javascript:NewWin=window.open('http://www.metalrecyclingservices.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_4=new Array("River Metals Recycling","javascript:NewWin=window.open('http://www.rmrecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_5=new Array("Nucor Corporation","javascript:NewWin=window.open('http://www.nucor.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_6=new Array("Texas Port Recycling","javascript:NewWin=window.open('http://www.texasportrecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_7=new Array("Trademark Metals Recycling","javascript:NewWin=window.open('http://www.tmrecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_8=new Array("Western Metals Recycling","javascript:NewWin=window.open('http://www.wmrecycling.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
		Menu2_7_9=new Array("U-Pull-&-Pay","javascript:NewWin=window.open('http://www.upullandpay.com','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");	
	Menu2_8=new Array("DJJ Internet Tools","/tools","",1,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu2_8_1=new Array("ScrapConnect.Net","javascript:NewWin=window.open('http://www.scrapconnect.net','NWin');window['NewWin'].focus();","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");		
Menu3=new Array("What We Do","/whatwedo/","",8,15,75,"","","","","","",-1,-1,-1,"","");
    Menu3_1 = new Array("Ferrous Brokerage", "/whatwedo/brokerage.asp", "", 0, 15, 140, "0066cc", "black", "white", "white", "", "", -1, -1, -1, "", "");
    Menu3_2 = new Array("Ferrous International Trading", "/international/", "", 0, 15, 140, "0066cc", "black", "white", "white", "", "", -1, -1, -1, "", "");
	Menu3_3=new Array("Ferro-Alloy","/whatwedo/ferro-alloy.asp","",0,15,140,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu3_4=new Array("Metals Group","/whatwedo/metals.asp","",0,15,140,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu3_5=new Array("Processing","/whatwedo/processing.asp","",6,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
	    Menu3_5_1=new Array("AMR","javascript:NewWin=window.open('http://www.advantagerecycling.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
	    Menu3_5_2=new Array("MRS","javascript:NewWin=window.open('http://www.metalrecyclingservices.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_5_3=new Array("RMR","javascript:NewWin=window.open('http://www.rmrecycling.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_5_4=new Array("TMR","javascript:NewWin=window.open('http://www.tmrecycling.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_5_5=new Array("TPR","javascript:NewWin=window.open('http://www.texasportrecycling.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_5_6=new Array("WMR","javascript:NewWin=window.open('http://www.wmrecycling.com','NWin');window['NewWin'].focus();","",0,15,50,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu3_6=new Array("Rail Equipment Group","/whatwedo/leasing.asp","",0,15,140,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu3_7=new Array("Self-Serve Auto Recycling","/whatwedo/upap.asp","",0,15,140,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu3_8=new Array("Services","/whatwedo/services.asp","",4,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_8_1=new Array("Railcar Dismantling","/whatwedo/rail.asp","",0,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_8_2=new Array("Mill Services","/millservices","",0,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_8_3=new Array("Industrial (Gemini)","/whatwedo/industrial.asp","",0,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
		Menu3_8_4=new Array("Private Fleet","/logistic/fleet.asp","",0,15,160,"0066cc","black","white","white","","",-1,-1,-1,"","");
Menu4=new Array("Industry","/industry","",7,15,52,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("About Recycling","/industry/aboutrecycling/","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu4_2=new Array("Calendar of Events","/industry/calendar.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	//Menu4_3=new Array("&nbsp;&nbsp;Cash For Clunkers <b><i><font color=yellow>NEW</font></i></b>","/industry/CashForClunkers.asp","",0,15,200,"green","black","white","white","","",-1,-1,-1,"","");
	Menu4_3=new Array("Glossary of Terms","/industry/glossary.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu4_4=new Array("Industry Schematic","/industry/schematic_new.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu4_5=new Array("Links to Trade Assoc.","/industry/associations.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu4_6=new Array("Links to Trade Pubs","/industry/pubs.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
	Menu4_7=new Array("Scrap Recap","/industry/scraprecap.asp","",0,15,200,"0066cc","black","white","white","","",-1,-1,-1,"","");
Menu5=new Array("Join Our Team","/teamwork","",1,15,82,"","","","","","",-1,-1,-1,"","");
Menu5_1 = new Array("Available Positions", "https://www9.ultirecruit.com/DAV1001/JobBoard/", "", 0, 15, 140, "0066cc", "black", "white", "white", "", "", -1, -1, -1, "", "");
//Menu5_2=new Array("Employment Application","/teamwork/EmploymentApplication.pdf","",0,15,140,"0066cc","black","white","white","","",-1,-1,-1,"","");	



