/** menus
 * numbers: (1)text color, (2)text color mouse-over, (3)background color, (4)background color mouse-over
 */
function mmLoadMenus() {
  if (window.mm_menu_0510155820_0) return;
/** visually speaking - porftolio */
  window.mm_menu_0510155820_0 = new Menu("root",123,18,"Helvetica, Arial, sans-serif",11,"#211E1C","#78062C","#E8E6E6","#D2CECD","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0510155820_0.addMenuItem("portfolio","window.open('http://www.mindsbehind.com/folio/', '_self');");
  mm_menu_0510155820_0.addMenuItem("case stuties","window.open('http://www.mindsbehind.com/casestudies.html', '_self');");
  mm_menu_0510155820_0.addMenuItem("web templates catalog","window.open('http://www.thewebheads.net/showtemplates/', '_self');");
   // mm_menu_0510155820_0.fontWeight="bold";
   mm_menu_0510155820_0.hideOnMouseOut=true;
   mm_menu_0510155820_0.bgColor='#D2CECD';
   mm_menu_0510155820_0.menuBorder=1;
   mm_menu_0510155820_0.menuLiteBgColor='#D2CECD';
   mm_menu_0510155820_0.menuBorderBgColor='#D2CECD';

/** how can we help you - services: unique for each site */
  window.mm_menu_0510162732_0 = new Menu("root",142,18,"Helvetica, Arial, sans-serif",11,"#211E1C","#78062C","#E8E6E6","#D2CECD","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0510162732_0.addMenuItem("strategy","window.open('http://www.thewebheads.net/webmbd/strategy.html', '_self');");
  mm_menu_0510162732_0.addMenuItem("design","window.open('http://www.thewebheads.net/webmbd/design.html', '_self');");
  mm_menu_0510162732_0.addMenuItem("branding","window.open('http://www.thewebheads.net/webmbd/branding.html', '_self');");
  mm_menu_0510162732_0.addMenuItem("marketing","window.open('http://www.thewebheads.net/webmbd/marketing.html', '_self');");
  mm_menu_0510162732_0.addMenuItem("copywriting","window.open('http://www.thewebheads.net/webmbd/copywriting.html', '_self');");  
  mm_menu_0510162732_0.addMenuItem("web + ecommerce","window.open('http://www.thewebheads.net/webmbd/web.html', '_self');")
  mm_menu_0510162732_0.addMenuItem("consulting rates","window.open('http://www.thewebheads.net/webmbd/pricing/customdesign.html', '_self');");
  mm_menu_0510162732_0.addMenuItem("email marketing","window.open('http://www.buzz-em.com/', '_self');");
   // mm_menu_0510162732_0.fontWeight="bold";
   mm_menu_0510162732_0.hideOnMouseOut=true;
   mm_menu_0510162732_0.bgColor='#D2CECD';
   mm_menu_0510162732_0.menuBorder=1;
   mm_menu_0510162732_0.menuLiteBgColor='#D2CECD';
   mm_menu_0510162732_0.menuBorderBgColor='#D2CECD';

/** help yourself (SVP) - resources */
  window.mm_menu_0510162829_0 = new Menu("root",135,18,"Helvetica, Arial, sans-serif",11,"#211E1C","#78062C","#E8E6E6","#D2CECD","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0510162829_0.addMenuItem("account manager (log in)","window.open('http://www.thewebheads.net/support/clientarea.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("online help desk (log in)","window.open('http://www.thewebheads.net/support/supporttickets.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("(huge)knowledge center","window.open('http://www.thewebheads.net/support/knowledgebase.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("flash tutorials","window.open('http://www.thewebheads.net/support/tutorials.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("domain name search","window.open('http://www.thewebheads.net/support/domainchecker.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("website validator","window.open('http://www.thewebheads.net/markupvalidator.html', '_self');");
  mm_menu_0510162829_0.addMenuItem("have a question? ask us","window.open('http://www.thewebheads.net/support/submitticket.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("announcements","window.open('http://www.thewebheads.net/support/announcements.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("downloads","window.open('http://www.thewebheads.net/support/downloads.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("check the server status","window.open('http://www.thewebheads.net/support/serverstatus.php', '_self');");
  mm_menu_0510162829_0.addMenuItem("place an order","window.open('http://www.thewebheads.net/support/order.php', '_self');");
   // mm_menu_0510162829_0.fontWeight="bold";
   mm_menu_0510162829_0.hideOnMouseOut=true;
   mm_menu_0510162829_0.bgColor='#D2CECD';
   mm_menu_0510162829_0.menuBorder=1;
   mm_menu_0510162829_0.menuLiteBgColor='#D2CECD';
   mm_menu_0510162829_0.menuBorderBgColor='#D2CECD';
   
/** minds behind - about us */
  window.mm_menu_0510162854_0 = new Menu("root",99,18,"Helvetica, Arial, sans-serif",11,"#211E1C","#78062C","#E8E6E6","#D2CECD","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0510162854_0.addMenuItem("approach","window.open('http://www.mindsbehind.com/approach.html', '_self');");
  mm_menu_0510162854_0.addMenuItem("principals","window.open('http://www.mindsbehind.com/approach.html', '_self');");
   // mm_menu_0510162854_0.fontWeight="bold";
   mm_menu_0510162854_0.hideOnMouseOut=true;
   mm_menu_0510162854_0.bgColor='#D2CECD';
   mm_menu_0510162854_0.menuBorder=1;
   mm_menu_0510162854_0.menuLiteBgColor='#D2CECD';
   mm_menu_0510162854_0.menuBorderBgColor='#D2CECD';

mm_menu_0510162854_0.writeMenus();
} // mmLoadMenus()

/** rollover images */

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];}
}

/** open popup window functions */

function openEmailWindow(url,name)
{
        popupEmailWin = window.open(url,name,"dependent,scrollbars=yes,resizable=yes,width=535,height=512,left=130,top=23");
        if (window.focus) {popupEmailWin.focus();}
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function MM_jumpMenu(targ,selObj,restore) { //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function popup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=yes,location=no,statusbar=no,menubar=no,resizable=yes,width=520,height=600,left = 10,top = 10');");
}

function popupGlossary(filename) {
	// Show glossary popup window based on features provided
	glossary_window = window.open( filename , "glossary_window", "left=110,top=90,width=571,height=489,resizable=1,scrollbars=1,toolbar=0,status=0,location=0,directories=0,menubar=0");
	glossary_window.focus();
}