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 show_layer(show) {//meaning, show the layer cover
    if( document.getElementById ){
       showlayer = document.getElementById(show);
    }
    else if( document.all ){
       showlayer = document.all[show];
    }
    else if( document.layers ){
       showlayer = document.layers[show];
    }
if (showlayer.style.display!="block"){
	showlayer.style.display = "block";
}

}

function hide_layer(hide) { //meaning, hide the menu cover
    if( document.getElementById ){
       hidelayer = document.getElementById(hide);
    }
    else if( document.all ){
       hidelayer = document.all[hide];
    }
    else if( document.layers ){
       hidelayer = document.layers[hide];
    }
if (hidelayer.style.display!="none"){
	hidelayer.style.display = "none";
}

}



var menu1=new Array() //services
menu1[0]='<div id=\'servicessubnavid\' class=\'servicessubnavclass\'\"><table width=\'503\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>  <tr>    <td height=\'23\'><a href=\'media.html\'><img src=\'images/structure/media_norm.gif\' alt=\"Adwerx\'s Services - Advertising &amp; Media\" name=\'media_but\' width=\'131\' height=\'23\' border=\'0\' id=\'media_but\' onmouseover=\"MM_swapImage(\'media_but\',\'\',\'images/structure/media_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'print.html\'><img src=\'images/structure/print_norm.gif\' alt=\"Adwerx\'s Services - Print\" name=\'print_but\' width=\'43\' height=\'23\' border=\'0\' id=\'print_but\' onmouseover=\"MM_swapImage(\'print_but\',\'\',\'images/structure/print_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'design.html\'><img src=\'images/structure/design_norm.gif\' alt=\"Adwerx\'s Services - Design/Photograph\" name=\'design_but\' width=\'124\' height=\'23\' border=\'0\' id=\'design_but\' onmouseover=\"MM_swapImage(\'design_but\',\'\',\'images/structure/design_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'additional.html\'><img src=\'images/structure/additional_norm.gif\' alt=\"Adwerx\'s Services - Additional Services\" name=\'additional_but\' width=\'124\' height=\'23\' border=\'0\' id=\'additional_but\' onmouseover=\"MM_swapImage(\'additional_but\',\'\',\'images/structure/additional_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'giveaway.html\'><img src=\'images/structure/giveaway_norm.gif\' alt=\"Adwerx\'s Services - Giveaways\" name=\'giveaway_but\' width=\'81\' height=\'23\' border=\'0\' id=\'giveaway_but\' onmouseover=\"MM_swapImage(\'giveaway_but\',\'\',\'images/structure/giveaway_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a></td>  </tr></table></div>'

var menu2=new Array() //portfolio
menu2[0]='<div id=\'portfoliosubnavid\' class=\'portfoliosubnavclass\'\"><table width=\'293\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>  <tr>    <td height=\'23\'><a href=\'logos.html\'><img src=\'images/structure/logos_norm.gif\' alt=\"Adwerx\'s Portfolio - Logos\" name=\'logos_but\' width=\'53\' height=\'23\' border=\'0\' id=\'logos_but\' onmouseover=\"MM_swapImage(\'logos_but\',\'\',\'images/structure/logos_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'broch.html\'><img src=\'images/structure/broch_norm.gif\' alt=\"Adwerx\'s Portfolio - Brochures\" name=\'broch_but\' width=\'75\' height=\'23\' border=\'0\' id=\'broch_but\' onmouseover=\"MM_swapImage(\'broch_but\',\'\',\'images/structure/broch_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\'advert.html\'><img src=\'images/structure/advert_norm.gif\' alt=\"Adwerx\'s Portfolio - Advertisements\" name=\"advert_but\" width=\"103\" height=\"23\" border=\"0\" id=\"advert_but\" onmouseover=\"MM_swapImage(\'advert_but\',\'\',\'images/structure/advert_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a><a href=\"mailer.html\"><img src=\"images/structure/mailer_norm.gif\" alt=\"Adwerx\'s Portfolio - Mailers\" name=\"mailer_but\" width=\"61\" height=\"23\" border=\"0\" id=\"mailer_but\" onmouseover=\"MM_swapImage(\'mailer_but\',\'\',\'images/structure/mailer_roll.gif\',1)\" onmouseout=\"MM_swapImgRestore()\" /></a></td>  </tr></table></div>'