function MM_findObj(n, d) { //v4.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);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

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_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_reloadPage(init) {  //reloads the window if Nav4 resized
  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 MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function mmLoadMenus() {
  if (window.mm_menu_1124164318_0) return;
  window.mm_menu_1124164318_0 = new Menu("root",80,24,"Arial, Helvetica, sans-serif",12,"#ffffff","#333366","#333366","#ffffff","left","middle",5,1,1000,0,0,true,false,true,0,false,false);
  mm_menu_1124164318_0.addMenuItem("UK","location='ukcourses.htm'");
  mm_menu_1124164318_0.addMenuItem("Europe","location='eucourses.htm'");
   mm_menu_1124164318_0.hideOnMouseOut=true;
   mm_menu_1124164318_0.menuBorder=0;
   mm_menu_1124164318_0.menuLiteBgColor='#ffffff';
   mm_menu_1124164318_0.menuBorderBgColor='#9c9ec6';
   mm_menu_1124164318_0.bgColor='#003366';
  window.mm_menu_1124164415_1 = new Menu("root",80,24,"Arial, Helvetica, sans-serif",12,"#ffffff","#333366","#333366","#ffffff","left","middle",5,1,1000,0,0,true,false,true,0,false,false);
  mm_menu_1124164415_1.addMenuItem("Q&nbsp;&amp;&nbsp;A","location='qa.htm'");
  mm_menu_1124164415_1.addMenuItem("Notices","location='notices.htm'");
  mm_menu_1124164415_1.addMenuItem("Newsletter","location='newsletter.htm'");
   mm_menu_1124164415_1.hideOnMouseOut=true;
   mm_menu_1124164415_1.menuBorder=0;
   mm_menu_1124164415_1.menuLiteBgColor='#ffffff';
   mm_menu_1124164415_1.menuBorderBgColor='#9c9ec6';
   mm_menu_1124164415_1.bgColor='#003366';
  window.mm_menu_1124164536_2 = new Menu("root",89,24,"Arial, Helvetica, sans-serif",12,"#ffffff","#333366","#333366","#ffffff","left","middle",5,1,1000,0,0,true,false,true,0,false,false);
  mm_menu_1124164536_2.addMenuItem("Our&nbsp;Services","location='services.htm'");
  mm_menu_1124164536_2.addMenuItem("Appointments","location='appointm.htm'");
  mm_menu_1124164536_2.addMenuItem("Energistics","location='energistics.htm'");
   mm_menu_1124164536_2.hideOnMouseOut=true;
   mm_menu_1124164536_2.menuBorder=0;
   mm_menu_1124164536_2.menuLiteBgColor='#ffffff';
   mm_menu_1124164536_2.menuBorderBgColor='#9c9ec6';
   mm_menu_1124164536_2.bgColor='#003366';
  window.mm_menu_1124164801_3 = new Menu("root",89,24,"Arial, Helvetica, sans-serif",12,"#ffffff","#333366","#333366","#ffffff","left","middle",5,1,1000,0,0,true,false,true,0,false,false);
  mm_menu_1124164801_3.addMenuItem("Books","location='books.htm'");
  mm_menu_1124164801_3.addMenuItem("CD's","location='cd-heartstar-products.htm'");
  <!--mm_menu_1124164801_3.addMenuItem("Essences","location='essences.htm'");-->
   mm_menu_1124164801_3.hideOnMouseOut=true;
   mm_menu_1124164801_3.menuBorder=0;
   mm_menu_1124164801_3.menuLiteBgColor='#ffffff';
   mm_menu_1124164801_3.menuBorderBgColor='#9c9ec6';
   mm_menu_1124164801_3.bgColor='#003366';
  window.mm_menu_1128122828_4 = new Menu("root",97,24,"Arial, Helvetica, sans-serif",12,"#ffffff","#333366","#333366","#ffffff","left","middle",5,1,1000,0,0,true,false,true,0,false,false);
  mm_menu_1128122828_4.addMenuItem("Essences","location='flowers.htm'");
  mm_menu_1128122828_4.addMenuItem("Flower&nbsp;Colours","location='colours.htm'");
  mm_menu_1128122828_4.addMenuItem("Case&nbsp;Notes","location='colournotes.htm'");
   mm_menu_1128122828_4.hideOnMouseOut=true;
   mm_menu_1128122828_4.menuBorder=0;
   mm_menu_1128122828_4.menuLiteBgColor='#ffffff';
   mm_menu_1128122828_4.menuBorderBgColor='#9c9ec6';
   mm_menu_1128122828_4.bgColor='#003366';

  mm_menu_1128122828_4.writeMenus();
}

//Disable right click both browsers
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

function P7_getWD(tDim){ //v2.6 by PVII
 var sh=0,sw=0,rt=0;if(window.innerWidth){sh=window.innerHeight;sw=window.innerWidth;
 }else if(document.body){sh=document.body.clientHeight;sw=document.body.clientWidth;
 if(document.body.offsetHeight==sh&&document.documentElement&&document.documentElement.clientHeight){
  sh=document.documentElement.clientHeight;}
 if(document.body.offsetWidth==sw&&document.documentElement&&document.documentElement.clientWidth) {
 sw=document.documentElement.clientWidth;}}rt=(tDim=="width")?sw:sh;return rt;
}

function P7_getLDims(el) { //v2.6 by PVII
 var x,ll=0,tl=0,hh=0,ww=0,wx,g,gg;
 if((g=MM_findObj(el))!=null){gg=(document.layers)?g:g.style;ll=parseInt(gg.left);
 tt=parseInt(gg.top);if(isNaN(ll)){if(g.currentStyle){ll=parseInt(g.currentStyle.left);
 }else if(document.defaultView&&document.defaultView.getComputedStyle){
 ll=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("left"));
 }if(isNaN(ll)){ll=0;}}if(isNaN(tt)){if(g.currentStyle){tt=parseInt(g.currentStyle.top);
 }else if(document.defaultView&&document.defaultView.getComputedStyle){
 tt=parseInt(document.defaultView.getComputedStyle(g,"").getPropertyValue("top"));}if(isNaN(tt)){tt=0;}}
 if(document.all||document.getElementById){ww=parseInt(g.offsetWidth);hh=parseInt(g.offsetHeight);
 if(!ww){ww=parseInt(g.style.pixelWidth);if(!ww){ww=parseInt(g.style.width);}}if(!hh){
 hh=parseInt(g.style.pixelHeight);}if(g.hasChildNodes&&g.childNodes){for(x=0;x<g.childNodes.length;x++){
 wx=parseInt(g.childNodes[x].offsetWidth);if(wx>ww){ww=wx;}}}}else if(document.layers){
 ww=parseInt(g.clip.width);hh=parseInt(g.clip.height);}}var aR=[ll,tt,hh,ww];return aR;
}

function P7_alignRR() { //v2.6 by PVII
 var i;if(!document.p7alignRR) {return;}if(document.layers){
 if(innerWidth!=document.p7RRiw || innerHeight!=document.p7RRih){location.reload();}
 }else{document.p7RR=1;for(i=0;i<p7aRR.length;i++){eval(p7aRR[i]);}document.p7RR=0;}
}

function P7_alignWD2() { //v2.6 by PVII
 var g,gg,lp=0,tp=0,aL,lh,lw,ww,wh,pa='px',args=P7_alignWD2.arguments;if(document.layers||window.opera){pa='';}
 for(var i=0;i<args.length;i+=4){if((g=MM_findObj(args[i]))!=null){gg=(document.layers)?g:g.style;
 mm=parseInt(args[i+1]);mr=parseInt(args[i+2]);ml=parseInt(args[i+3]);ww=parseInt(P7_getWD('width'));
 wh=parseInt(P7_getWD('height'));aL=P7_getLDims(args[i]);lh=aL[2];lw=aL[3];tp=aL[1];lp=aL[0];
 if(mm==1){lp=mr;}if(mm==2){lp=parseInt((ww-lw-mr)/2);if(lp<0){lp=0;}}if(mm==3){lp=ww-lw-mr;if(lp<ml){lp=ml;}}
 if(mm==4){tp=parseInt((wh-lh-mr)/2);if(tp<0){tp=0;}}if(mm==5){tp=parseInt((wh-lh)/2);lp=parseInt((ww-lw)/2);
 if((lp-mr)<=0){lp=mr;}if((tp-ml)<=0){tp=ml;}}if(mm==6){tp=wh-lh-mr;}gg.top=tp+pa;gg.left=lp+pa;
 if(!document.p7alignRR){p7aRR=new Array();document.p7alignRR=true;document.p7RR=0;
 if(document.layers){document.p7RRiw=innerWidth;document.p7RRih=innerHeight;}onresize=P7_alignRR;}
 if(document.p7RR==0){p7aRR[p7aRR.length]="P7_alignWD2('"+args[i]+"',"+mm+","+mr+","+ml+")";}}}
}
