
var globalPrefix='';

var secs=5;
var delay=1000;


function StartTheTimer() {
if (secs==0) { changeExpoColor(); secs=10; StartTheTimer();}
else    {
secs = secs - 1;
timerRunning = true;
timerID = self.setTimeout("StartTheTimer()", delay);
}
	
}

function  menu(prefix) {
if (prefix==null) prefix='';
globalPrefix=prefix;
html='<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 style="border-collapse: collapse" bordercolor="#111111" background="../background.gif" height="100">';
html+='<TBODY><TR><TD vAlign=top width=337 bgColor="#0000ff" height=87>';
document.write(html);
topMap(prefix);
fwLoadMenus();
html='</TD></TR>';
html+='<TR><TD bgColor="black" colSpan="2" height="21">';
document.write(html);
topMenu(prefix);
html='</TD></TR></TBODY></TABLE>';
document.write(html);
}


function showMe(pic,caption,prefix) {
  if (prefix==null) prefix='';
  if (caption==null) caption='';
  var n=pic.indexOf('.');
  var v=pic.substr(0,n);
  eval('var ' + v + '=new Image()');
  eval(v + '.src=\'' + prefix + pic +'\''  );
  imgOn = eval(v+'.src');
  var xx='x';
  document [xx].src = imgOn;
 var p=document.getElementById('picCap');
  p.innerHTML=caption;
 }


function topMap(prefix) {
if (prefix==null) {prefix='';}
globalPrefix=prefix;
html='<IMG height=87    src="' + prefix + 'images/topleft2.gif" width=337 border=0 alt="Addcar Highwall Mining Systems">';
html+='</TD>';
html+='<TD vAlign=top align=left width="100%" bgColor=#000085 height=87>';
html+='<MAP   name=FPMap0_I1>';
html+='<AREA shape=RECT coords="53, 59, 84, 78"     href="' + prefix + 'faq.html">';
html+='<AREA shape=RECT     coords="194, 60, 231, 79"    href="' + prefix + 'news.html">';
html+='<AREA shape=RECT    target=_blank coords="371, 60, 514, 79" href="http://www.archcoal.com/">';
html+='<AREA     shape=RECT coords="257, 63, 343, 78"     href="' + prefix + 'links.html">';
html+='<area href="' + prefix + 'sitemap.html" shape="rect" coords="110, 59, 168, 80">';
html+='</MAP>';
html+='<IMG height=87    alt="Addcar - Safety is Everyone&#039;s Job - All the Time!" ';
html+='src="' + prefix + 'images/topright2.gif" width=526      useMap=#FPMap0_I1 border=0>';
document.write(html);  
}


function topMenu(prefix) {
if (prefix==null) {prefix='';}
globalPrefix=prefix;

html='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
html+='<a href="' + prefix + 'default.htm"><IMG height=21 src="' + prefix +'images/Top_home.gif" width=46 border=0></a>';
html+='<IMG height=21 src="' +prefix + 'images/line.gif" width=5     border=0>&nbsp; </A>';
html+='<IMG   onmouseover="window.FW_showMenu(window.fw_menu_1,92,111);';
html+='MM_swapImage(\'About Us\',\'\',\'' + prefix + 'images/tababout.gif\',1);"';
html+=' onmouseout=MM_swapImgRestore();FW_startTimeout(); height=21';
html+='  alt="AddCar Top Menu Products Link"    src="' + prefix + 'images/Top_products.gif" width=56 border=0    name=slope1> &nbsp;';
html+='<IMG height=21     src="' + prefix + 'images/line.gif" width=5 border=0>&nbsp;';
html+='<A    href="' + prefix + 'partservice.html">';
html+='<IMG height=21    src="' +prefix + 'images/Top_parts.gif" width=95   border=0></A>';
html+='&nbsp;<IMG height=21    src="' + prefix + 'images/line.gif" width=5 border=0>';
html+='<FONT     face="Arial Narrow" color=#ffffff size=2>&nbsp;</FONT>';
html+='<A   href="' +prefix + 'techleader.html">';
html+='<IMG height=21   src="'+prefix+'images/Top_techleader.gif" width=145   border=0></A>';
html+='<IMG height=21  src="' + prefix +'images/line.gif" width=5 border=0>&nbsp;';
html+='<A  href="' + prefix + 'satcustomer.html">';
html+='<IMG height=21   alt="Satisfied Customers"   src="' + prefix + 'images/Top_satcustomer.gif" width=118   border=0></A> ';
html+='<IMG height=21  src="' + prefix +'images/line.gif" width=5    border=0>&nbsp;';
html+='<IMG   onmouseover="window.FW_showMenu(window.fw_menu_3,559,111);MM_swapImage(\'Products\',\'\',\'' + prefix + 'images/tabproducts.gif\',1);"';
html+='  onmouseout=MM_swapImgRestore();FW_startTimeout(); height=21 alt="" ';
html+=' src="' + prefix + 'images/Top_development.gif" width=148    border=0 name=slope2>';
html+='<IMG height=21  src="' + prefix + 'images/line.gif" width=5 border=0>';
html+='<FONT  face="Arial Narrow" color=#ffffff size=2>&nbsp;';
html+='<IMG   onmouseover="window.FW_showMenu(window.fw_menu_4,716,111);MM_swapImage(\'Questions and Answers\',\'\',\'' + prefix + 'images/tabqa.gif\',1);"';
html+='      onmouseout=MM_swapImgRestore();FW_startTimeout(); height=21 alt=""   src="' +prefix+ 'images/Top_about.gif" width=61 border=0     name=slope5>&nbsp; </FONT>';
html+='<IMG height=21    src="' + prefix + 'images/line.gif" width=5 border=0> ';
html+='<A  href="' + prefix + 'contact.html"><IMG   onmouseover="window.FW_showMenu(window.fw_menu_5,790,111);MM_swapImage(\'Questions and Answers\',\'\',\'' + prefix + 'images/tabqa.gif\',1);"';
html+='      onmouseout=MM_swapImgRestore();FW_startTimeout(); height=21 alt=""   src="' + prefix + 'images/Top_contact.gif" width=67 border=0      name=slope5></A> ';
//html+='<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="expo" style="font-weight:bold;font-size:18px;color:yellow;">Visit us in the Central Hall - Booth 7985 – Mine Expo  September 22-24, 2008</span>';

document.write(html);


//StartTheTimer();


}


function changeExpoColor() {
if (expo.style.color=='yellow') {expo.style.color='blue';}
else if (expo.style.color=='blue') {expo.style.color='lime';}
else if (expo.style.color=='lime') {expo.style.color='yellow';}

}

function bottomMenu(prefix) {
if (prefix==null) {prefix='';}
globalPrefix=prefix;
html='&nbsp;<div style="text-align:center;background:#000085;width:100%;color:white;">';
html+='<img border="0" src="' + prefix + 'images/bottom.gif" width="600" height="27" alt="New Products - Results - Technological Leadership - Stability">';
html+='<br><br>';
html+='<span style="font-weight:bold;">ADDCAR Systems, LLC . <br>';
html+='No. 1 HWM Drive Ashland, KY 41102<br>';
html+='Phone: 606.928.7237&nbsp;&nbsp;&nbsp; Fax: ';
html+='606.928.7257&nbsp;&nbsp;&nbsp;';
html+='Email: <a class=light href="mailto:blewis@addcarsystems.com">';
html+='blewis@addcarsystems.com</a>';
html+='</span>';
html+='<br><br>';
html+='<div style="text-align:left;font-size:11px;margin:10px;">';
html+='Links to other companies contained within this site are neither';
html+=' endorsements of nor&nbsp;recommendations for their';
html+=' products and/or services.&nbsp; These links are';
html+=' provided solely for the convenience of our';
html+=' visitors to the site.&nbsp;Statistics quoting results';
html+=' are factual – however, they are not&nbsp;guarantees';
html+=' of performance.&nbsp; Variations in geologic';
html+=' conditions, mining methods and management';
html+=' practices can significantly alter individual';
html+=' results.<BR><br>';
html+=' </div></div>';


document.write(html);

}



function MM_findObj(n, d) { //v3.0
  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); return x;
}
/* Functions that swaps images. */
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_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;
}

/* Functions that handle preload. */
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 fwLoadMenus() {

/*
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",123,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_0.addMenuItem("Hello","window.open('','_top');");
fw_menu_0.addMenuItem("How","window.open('','_top');");
fw_menu_0.addMenuItem("Are","window.open('','_top');");
fw_menu_0.addMenuItem("You","window.open('','_top');");
fw_menu_0.addMenuItem("Today","window.open('','_top');");
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
*/



window.fw_menu_1 = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_1.addMenuItem("Broad Bench System","window.open('" + globalPrefix + "broad.html','_top');");
fw_menu_1.addMenuItem("Narrow Bench System","window.open('" + globalPrefix + "narrow.html','_top');");
fw_menu_1.addMenuItem("Purchase, Lease, Contract Mine","window.open('" + globalPrefix +"plm.html','_top');");
fw_menu_1.addMenuItem("Product Improvement Notices","window.open('" + globalPrefix +"prodimpnotices.html','_top');");
fw_menu_1.fontWeight="bold";
fw_menu_1.hideOnMouseOut=true;

window.fw_menu_2 = new Menu("root",180,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_2.addMenuItem("MSHA","window.open('http://www.msha.gov/','_top');");
fw_menu_2.addMenuItem("National Mining Association","window.open('http://www.nma.org/','_top');");
fw_menu_2.addMenuItem("Wyoming Mining Association","window.open('http://lithium.vcn.com/~wma/index.html','_top');");
fw_menu_2.addMenuItem("Rocky Mountain CMA","window.open('http://www.rmcmi.org/page.asp?id=1','_top');");
fw_menu_2.addMenuItem("Society of Mining Engineers","window.open('http://www.smenet.org/','_top');");
fw_menu_2.addMenuItem("WV CMI","window.open('','_top');");
fw_menu_2.addMenuItem("No. Car. CMI","window.open('','_top');");
fw_menu_2.fontWeight="bold";
fw_menu_2.hideOnMouseOut=true;

window.fw_menu_3 = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_3.addMenuItem("Required Wall Calculator","window.open('" + globalPrefix + "highwallcalc2.htm','_top');");
fw_menu_3.addMenuItem("Highwall Mining Needs Analysis","window.open('"+globalPrefix+"needs.html','_top');");
fw_menu_3.addMenuItem("Your Results","window.open('"+globalPrefix+"results.html','_top');");
fw_menu_3.fontWeight="bold";
fw_menu_3.hideOnMouseOut=true;

window.fw_menu_4 = new Menu("root",175,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_4.addMenuItem("Message from the President","window.open('"+globalPrefix+"president.html','_top');");
fw_menu_4.addMenuItem("Management Team","window.open('"+globalPrefix+"manteam.html','_top');");
fw_menu_4.addMenuItem("Our Employees","window.open('"+globalPrefix+"ouremployees.html','_top');");
fw_menu_4.fontWeight="bold";
fw_menu_4.hideOnMouseOut=true;

window.fw_menu_5 = new Menu("root",100,17,"Verdana, Arial, Helvetica, sans-serif",10,"#000033","#ffffff","#99CCFF","#C0C0C0");
fw_menu_5.addMenuItem("Contact Us","window.open('" + globalPrefix+"contact.html','_top');");
fw_menu_5.addMenuItem("Visitor Survey","window.open('" + globalPrefix+"survey.html','_top');");
fw_menu_5.fontWeight="bold";
fw_menu_5.hideOnMouseOut=true;
fw_menu_5.writeMenus();}




function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

