<!--
// Pre load spacer gif
if (document.images){
  menuImgs = new Array(1);
  menuImgs[0] = new Image();
  menuImgs[0].src = "/images/dot.gif";
}

// Detect browser
var browser;
if(document.getElementById){browser="NN6";}
if(document.all){browser="IE";}

// change cell & text colour function
function changeMenuColor(object, bgColor, txtClass, textIdx, menuIdx){
  textStr = eval("menu"+menuIdx+"Text["+textIdx+"]");
  if(browser=="NN6"){
    MM_findObj(object).style.backgroundColor=bgColor;
    MM_findObj(object).innerHTML = '<layer name="'+object+'" width="106" height="20" class="'+txtClass+'"><img src="images/dot.gif" width="2" height="1"><span style="padding-left: 5px;">'+textStr+'</span></layer>';
    }else if(browser=="IE"){
      MM_findObj(object).style.backgroundColor=bgColor;
      eval(object+'.className="'+txtClass+'"');
  }
  currBg = bgColor;
  window.setTimeout("if(currBg != '#E1081E'){closeMenus();}", 250);
}

var currMenu = 0;
var currBg = "";

function hideMenu(iMenu){
  MM_showHideLayers('menu'+iMenu+'Layer1','','hide','menu'+iMenu+'Layer2','','hide');
}

function setMenu(iMenu){
  MM_showHideLayers('menu'+iMenu+'Layer1','','show','menu'+iMenu+'Layer2','','show');
  currMenu = iMenu;
  closeMenus(iMenu);
  window.focus();
}

function closeMenus(){
  for(i=1; i<8; i++){
    if(currMenu != i && currBg != "#E1081E") hideMenu(i);
  }
}

function unSetMenu(iMenu){
  currMenu = 0;
  currBg = "";
  window.setTimeout("closeMenus()", 250);
}

// arrays conataining drop down menu data
// 'MMP' menu
var menu1Text = new Array()
menu1Text[0] = "Questionnaire";
menu1Text[1] = "Collect plan"

var menu1Link = new Array()
menu1Link[0] = "/marketingplan/questions.asp";
menu1Link[1] = "/marketingplan/viewplan.asp";

var menu1Title = new Array()
menu1Title[0] = "Complete My Marketing Plan questionnaire";
menu1Title[1] = "Collect your Marketing Plan";

// 'Data' menu
var menu2Text = new Array()
menu2Text[0] = "Audit";
menu2Text[1] = "Cleanse"
menu2Text[2] = "Purchase"

var menu2Link = new Array()
menu2Link[0] = "/dataclean/cleanlist.asp";
menu2Link[1] = "/dataclean/upload.asp"
menu2Link[2] = "/dataclean/purchdata.asp"

var menu2Title = new Array()
menu2Title[0] = "Collect cleansed files";
menu2Title[1] = "Upload files for data cleaning"
menu2Title[2] = "Purchase the correct data"

// 'Resources' menu
var menu4Text = new Array()
menu4Text[0] = "CRM Solutions";
menu4Text[1] = "Telemarketing"
menu4Text[2] = "Image Library"
menu4Text[3] = "Conferences"
menu4Text[4] = "Web Tools";
menu4Text[5] = "Network Branding"

var menu4Link = new Array()
menu4Link[0] = "/resources/crm_solutions.asp";
menu4Link[1] = "/resources/telemarket.asp"
menu4Link[2] = "/imagelib/images.asp"
menu4Link[3] = "/resources/conferences.asp"
menu4Link[4] = "/webtools/";
menu4Link[5] = "/resources/branding.asp"

var menu4Title = new Array()
menu4Title[0] = "Contact and customer managment tools";
menu4Title[1] = "Help with telemarketing from our selected partner"
menu4Title[2] = "Collection of downloadable images"
menu4Title[3] = "Book the Network conference stand"
menu4Title[4] = "Interactive modules for your web site";
menu4Title[5] = "Network Brand Guidelines"

// 'Communication Tools' menu
var menu5Text = new Array()
menu5Text[0] = "e-shot Generator";
menu5Text[1] = "Renewal Tools";
//menu5Text[2] = "Newsletter";
menu5Text[2] = "Fax Templates";

var menu5Link = new Array()
menu5Link[0] = "/v_offers/"
menu5Link[1] = "/renewals/"
//menu5Link[2] = "/newsletter/"
menu5Link[2] = "/fax/"

var menu5Title = new Array()
menu5Title[0] = "Create graphical emails to broadcast offers to your clients";
menu5Title[1] = "Create graphical emails to broadcast renewal notices to your clients";
//menu5Title[2] = "Create both PDF and HTML newsletters that you can send to your clients";
menu5Title[2] = "Word template documents for your fax broadcasts, amend and send";

// 'Marketing Guides' menu
var menu6Text = new Array()
menu6Text[0] = "Advertising";
menu6Text[1] = "Copywriting"
menu6Text[2] = "Marketing Tips"
menu6Text[3] = "Planning"
menu6Text[4] = "Prospecting"
menu6Text[5] = "PR"
menu6Text[6] = "Renewals"
menu6Text[7] = "Web Sites"
menu6Text[8] = "Consumer Credit"

var menu6Link = new Array()
menu6Link[0] = "/guides/advertising.asp";
menu6Link[1] = "/guides/copywriting.asp"
menu6Link[2] = "/guides/marketing.asp"
menu6Link[3] = "/guides/planning.asp"
menu6Link[4] = "/guides/prospecting.asp"
menu6Link[5] = "/guides/pr.asp"
menu6Link[6] = "/guides/renewals.asp"
menu6Link[7] = "/guides/websites.asp"
menu6Link[8] = "/guides/cc_assoc.asp"

var menu6Title = new Array()
menu6Title[0] = "How to create effective advertising";
menu6Title[1] = "How to write words that will generate more sales enquiries"
menu6Title[2] = "Low cost marketing tips"
menu6Title[3] = "Developing your marketing plan"
menu6Title[4] = "How to get new customers to come to you"
menu6Title[5] = "How to appeal to hearts and minds"
menu6Title[6] = "Making the most of customer renewal opportunities"
menu6Title[7] = "Make your website work harder for you"
menu6Title[8] = "Consumer Credit Act"

// write out navigation menu to page
// write base layer with visible elements
function writeMenuBase(iMenu, width){
  for(i=0;i<eval("menu"+iMenu+"Text.length");i++){
    document.writeln("<tr class='menugray'><td width='"+width+"' height='20' id='Cell"+i+"_"+iMenu+"' class='menLnk1'><ilayer><layer name='Cell"+i+"' width='"+width+"' height='20' class='menLnk1'><span style='padding-left: 5px;'>"+eval("menu"+iMenu+"Text["+i+"]")+"</span></layer></ilayer></td></tr>");
  }
}

// write transparent activation layer with links
function writeMenuLinks(iMenu, width){
  for(i=0;i<eval("menu"+iMenu+"Link.length");i++){
    document.writeln("<tr><td width=\""+width+"\" height=\"20\"><a href=\""+eval("menu"+iMenu+"Link["+i+"]")+"\" onMouseover=\"changeMenuColor('Cell"+i+"_"+iMenu+"', '#E1081E', 'menLnk2', "+i+", "+iMenu+");\" onMouseout=\"changeMenuColor('Cell"+i+"_"+iMenu+"', '#CCC', 'menLnk1', "+i+", "+iMenu+");\" title=\""+eval("menu"+iMenu+"Title["+i+"]")+"\"><img src=\"/images/dot.gif\" width=\""+width+"\" height=\"20\" border=\"0\"></a></td></tr>");
  }
}
//-->

