<!--
window.defaultStatus = "  Content Copyright by AmericanDuct, Inc. | Website by Integrated MediaWorks | www.imworks.com";

function IMW_swapImgRestore() { 
  var i,x,a=document.IMW_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function IMW_preloadImages() { 
  var d=document; if(d.images){ if(!d.IMW_p) d.IMW_p=new Array();
    var i,j=d.IMW_p.length,a=IMW_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.IMW_p[j]=new Image; d.IMW_p[j++].src=a[i];}}
}

function IMW_findObj(n, d) { 
  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=IMW_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function IMW_swapImage() { 
  var i,j=0,x,a=IMW_swapImage.arguments; document.IMW_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=IMW_findObj(a[i]))!=null){document.IMW_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function IMW_goToURL() {
  var i, args=IMW_goToURL.arguments; document.IMW_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function IMW_popupMsg(msg) {
  alert(msg);
}

function IMW_displayStatusMsg(msgStr) {
  status=msgStr;
  document.IMW_returnValue = true;
}

function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function pdfConfirm() {
  document.PDF_returnVal = confirm("This link will open an informational PDF file.  If you do not\nhave the capacity to open PDF files, visit the following site\nto receive your free copy of the Adobe Acrobat PDF reader:\n\nwww.adobe.com/products/acrobat/readstep2.html\n\n");
}

function IMW_placeFocus() {
if (document.forms.length > 0) {
var field = document.forms[0];
for (i = 0; i < field.length; i++) {
if ((field.elements[i].type == "text") || (field.elements[i].type == "textarea") || (field.elements[i].type.toString().charAt(0) == "s")) {
document.forms[0].elements[i].focus();
break; } } } }
//-->


