
/////////////////////////////////////////////////////////////////////////////////////

//POP UP WINDOW FUNCTION*******************************************************
function popupwindow(Type)
{
var page	

if (Type == "dryliningdiagramlarge")
	{
		page = "images/drylining1large.gif";
		window.open(page, "", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=530,height=691,screenX=10,left=10,screenY=10, top=10")
	}

if (Type == "shaftwalldiagramlarge")
	{
		page = "images/shaftwall2_large.jpg";
		window.open(page, "", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=600,height=700,screenX=10,left=10,screenY=10, top=10")
	}

if (Type == "fireapplicationsdiagramlarge")
	{
		page = "images/firehalt_blanket_curtain_large.gif";
		window.open(page, "", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=450,height=500,screenX=10,left=10,screenY=10, top=10")
	}


if (Type == "separatingpartywalldiagramlarge")
	{
		page = "images/separating_party_wall2_large.jpg";
		window.open(page, "", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=600,height=700,screenX=10,left=10,screenY=10, top=10")
	}

}

/////////////////////////////////////////////////////////////////////////////////////





/*
//FUNCTION TO PREVENT RIGHT-CLICKS ON SOURCE CODE*************************************
//USERS CAN STILL SEE CODE BY USING VIEW IN TOP MENU AND SELECTING SOURCE
function rightclick(){
if(event.button==2){warning()
alert("All images on this website are owned by French Holiday Let")
;}
}document.onmousedown=rightclick

  function warning(){
}
*/



//DISSOLVING IMAGE FUNCTION FOR LEFT SIDE MENU ON EACH PAGE ***************************
//REFERENCES: www.dynamicdrive.com, www.javascript-fx.com
/*****************************************/

//Generate transition CSS (transition=0 to 23)
document.write('<STYLE TYPE="text/css">.imgTrans{ filter:revealTrans(duration=0.4,transition=12) }</STYLE>');

//Uncomment the next line for fading rollovers instead of dissolving:
//document.write('<STYLE TYPE="text/css">.imgTrans{ filter:blendTrans(duration=0.4) }</STYLE>');

var onImages=new Array();
function Rollover(imgName, imgSrc)
{
	onImages[imgName] = new Image();
	onImages[imgName].src = imgSrc;
}

function turnOn(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].apply();
	document.images[imgName].offSrc = document.images[imgName].src;
	document.images[imgName].src    = onImages[imgName].src;
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].play();
}

function turnOff(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].stop();
	document.images[imgName].src = document.images[imgName].offSrc;
}

//Specify name of participating images, plus paths to their onMouseover replacements:
//change the reference names and image names as necessary
Rollover("back", "images/backbuttonover.jpg");
Rollover("back1", "images/backbuttonover.jpg");
Rollover("back2", "images/backbuttonover.jpg");
Rollover("back3", "images/backbuttonover.jpg");
Rollover("back4", "images/backbuttonover.jpg");
Rollover("back5", "images/backbuttonover.jpg");
Rollover("back6", "images/backbuttonover.jpg");
Rollover("back7", "images/backbuttonover.jpg");
Rollover("back8", "images/backbuttonover.jpg");
Rollover("back9", "images/backbuttonover.jpg");
//add more Rollover references if necessary

//<a href="building_services.html" onMouseOver="turnOn('back');" onMouseOut="turnOff('back');"><img name="back" class="imgTrans" src="images/backbutton.jpg" border="0"></a>




//FUNCTION TO PRINT WINDOW *******************************************************
function printWindow()
{
	window.print();
}



////////////////////////////////////////////////////////////////////////////////////////////

//BANNER AD FUNCTIONS*************************************************************
//*<!-- *** BANNER AD TO ROTATE IMAGES  AT TOP OF EACH PAGE *** -->
//*<script LANGUAGE="JavaScript">
//*<!-- // BannerAD1

   var imagearray1=new Array();
   var imagearray1nxt=new Array();
   var cnt=0;
   imagearray1[0]="images/plaster1small.jpg";
   imagearray1nxt[0]="plaster1large"; //user will be taken to this large image
   imagearray1[1]="images/plaster4small.jpg";
   imagearray1nxt[1]="plaster4large"; //user will be taken to this large image
   /*imagearray1[2]="images/farmhouse009verysmall.gif";
   imagearray1nxt[2]="farmhouse009large"; //user will be taken to this large image
   */
   
   

   var getimagearray1=new Array();
   for (i=1;i<imagearray1.length;i++){
      getimagearray1[i]=new Image();
      getimagearray1[i].src=imagearray1[i];
   }

function displayformat(){
   if (document.all){
      imagearray1display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray1display.filters.revealTrans.apply();
   }
}

function showdisplayformat(){
   if (document.all)
      imagearray1display.filters.revealTrans.play()
}

function moveimage1(){
   if(cnt<imagearray1.length-1)cnt++ ;
      else cnt=0;
   displayformat();
   document.images.imagearray1display.src=imagearray1[cnt];
   showdisplayformat();
   theTimer=setTimeout("moveimage1()", 9000);
}

function jump2url(){
   jumpUrl=imagearray1nxt[cnt];
   jumpTarget='';
   if (jumpUrl != ''){
      popupwindow(jumpUrl);
	  
	  //if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
	  //else location.href=jumpUrl;
		
   }
}


////////////////////////////////////////////////////////////////////////////////////////////



//*<!-- *** BANNER AD TO ROTATE IMAGES AT TOP OF EACH PAGE
//*<!-- // BannerAD2

   var imagearray2=new Array();
   var imagearray2nxt=new Array();
   var cnt2=0;
   	
   imagearray2[0]="images/building3small.jpg";
   imagearray2nxt[0]="building3large"; //user will be taken to this large image
   imagearray2[1]="images/building2small.jpg";
   imagearray2nxt[1]="building2large"; //user will be taken to this large image
   /*
   imagearray2[2]="images/farmhouse005verysmall.gif";
   imagearray2nxt[2]="farmhouse005large"; //user will be taken to this large image
   */
   
   var getimagearray2=new Array();
   for (i=1;i<imagearray2.length;i++){
      getimagearray2[i]=new Image();
      getimagearray2[i].src=imagearray2[i];
   }

function displayformat2(){
   if (document.all){
      imagearray2display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray2display.filters.revealTrans.apply();
   }
}

function showdisplayformat2(){
   if (document.all)
      imagearray2display.filters.revealTrans.play()
}

function moveimage2(){
   if(cnt2<imagearray2.length-1)cnt2++ ;
      else cnt2=0;
   displayformat2();
   document.images.imagearray2display.src=imagearray2[cnt2];
   showdisplayformat2();
   theTimer=setTimeout("moveimage2()", 9000);
}

function jump2url2(){
   jumpUrl2=imagearray2nxt[cnt2];
   jumpTarget2='';
   if (jumpUrl2 != ''){
      popupwindow(jumpUrl2);
	  //if (jumpTarget2 != '')window.open(jumpUrl2,jumpTarget2);
      //else location.href=jumpUrl2;
   }
}

////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES
//*<!-- // BannerAD3

   var imagearray3=new Array();
   var imagearray3nxt=new Array();
   var cnt3=0;
   	
   imagearray3[0]="images/home_penthouse2_small.jpg";   
   imagearray3nxt[0]="drywall_services.html";

   imagearray3[1]="images/home_penthouse3_small.jpg"; 
   imagearray3nxt[1]="drywall_services.html";
	
	imagearray3[2]="images/home_penthouse_small.jpg"; 
	imagearray3nxt[2]="drywall_services.html";
	

   

   var getimagearray3=new Array();
   for (i=1;i<imagearray3.length;i++){
      getimagearray3[i]=new Image();
      getimagearray3[i].src=imagearray3[i];
   }

function displayformat3(){
   if (document.all){
      imagearray3display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray3display.filters.revealTrans.apply();
   }
}

function showdisplayformat3(){
   if (document.all)
      imagearray3display.filters.revealTrans.play()
}

function moveimage3(){
   if(cnt3<imagearray3.length-1)cnt3++ ;
      else cnt3=0;
   displayformat3();
   document.images.imagearray3display.src=imagearray3[cnt3];
   showdisplayformat3();
   theTimer=setTimeout("moveimage3()", 9000);
}

function jump2url3(){
   jumpUrl3=imagearray3nxt[cnt3];
   /* THIS IS IF WE WANT A POPUP WINDOW
   jumpTarget3='';
   if (jumpUrl3 != ''){
      popupwindow(jumpUrl3);
   }
   */
   jumpTarget3='';
   if (jumpUrl3 != ''){
      if (jumpTarget3 != '')window.open(jumpUrl3,jumpTarget3);
      else location.href=jumpUrl3;
   }

}


////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES
//*<!-- // BannerAD4

   var imagearray4=new Array();
   var imagearray4nxt=new Array();
   var cnt4=0;
   	
   imagearray4[0]="images/home_building_title_pic.jpg";
   imagearray4nxt[0]="building_services.html";

   imagearray4[1]="images/home_front_page_montage_small.jpg";
   imagearray4nxt[1]="building_services.html";

	imagearray4[2]="images/home_loft2_small.jpg";
	imagearray4nxt[2]="building_services.html";


  

   var getimagearray4=new Array();
   for (i=1;i<imagearray4.length;i++){
      getimagearray4[i]=new Image();
      getimagearray4[i].src=imagearray4[i];
   }

function displayformat4(){
   if (document.all){
      imagearray4display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray4display.filters.revealTrans.apply();
   }
}

function showdisplayformat4(){
   if (document.all)
      imagearray4display.filters.revealTrans.play()
}

function moveimage4(){
   if(cnt4<imagearray4.length-1)cnt4++ ;
      else cnt4=0;
   displayformat4();
   document.images.imagearray4display.src=imagearray4[cnt4];
   showdisplayformat4();
   theTimer=setTimeout("moveimage4()", 9000);
}

function jump2url4(){
   jumpUrl4=imagearray4nxt[cnt4];
   /* THIS IS IF WE WANT A POPUP WINDOW
   jumpTarget4='';
   if (jumpUrl4 != ''){
      popupwindow(jumpUrl4);
	}
	*/
   jumpTarget4='';
   if (jumpUrl4 != ''){
      if (jumpTarget4 != '')window.open(jumpUrl4,jumpTarget4);
      else location.href=jumpUrl4;
   }

}



////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES FOR FARMHOUSE PAGE
//*<!-- // BannerAD5

   var imagearray5=new Array();
   var imagearray5nxt=new Array();
   var cnt5=0;
   	
   imagearray5[0]="images/cement_small_leftside.jpg"; //inside pic
   imagearray5nxt[0]="building_services.html";

   imagearray5[1]="images/render_small_leftside.jpg";
   imagearray5nxt[1]="building_services.html";

/*
   imagearray5[2]="images/farmhouse007medium.gif"; //inside pic
   imagearray5nxt[2]="farmhouse007large";

   imagearray5[3]="images/farmhouse010medium.gif";
   imagearray5nxt[3]="farmhouse010large";

*/
   var getimagearray5=new Array();
   for (i=1;i<imagearray5.length;i++){
      getimagearray5[i]=new Image();
      getimagearray5[i].src=imagearray5[i];
   }

function displayformat5(){
   if (document.all){
      imagearray5display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray5display.filters.revealTrans.apply();
   }
}

function showdisplayformat5(){
   if (document.all)
      imagearray5display.filters.revealTrans.play()
}

function moveimage5(){
   if(cnt5<imagearray5.length-1)cnt5++ ;
      else cnt5=0;
   displayformat5();
   document.images.imagearray5display.src=imagearray5[cnt5];
   showdisplayformat5();
   theTimer=setTimeout("moveimage5()", 9000);
}

function jump2url5(){
   jumpUrl5=imagearray5nxt[cnt5];
   jumpTarget5='';
   if (jumpUrl5 != ''){
      popupwindow(jumpUrl5);
	  
   }
}

////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES FOR GITE PAGE
//*<!-- // BannerAD6

   var imagearray6=new Array();
   var imagearray6nxt=new Array();
   var cnt6=0;
   	
  	
   imagearray6[0]="images/drywall1_leftside.jpg"; //inside pic of gite
   imagearray6nxt[0]="drywall_services.html";

   imagearray6[1]="images/drywall2_leftside.jpg"; //inside pic of gite
   imagearray6nxt[1]="drywall_services.html";


   var getimagearray6=new Array();
   for (i=1;i<imagearray6.length;i++){
      getimagearray6[i]=new Image();
      getimagearray6[i].src=imagearray6[i];
   }

function displayformat6(){
   if (document.all){
      imagearray6display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray6display.filters.revealTrans.apply();
   }
}

function showdisplayformat6(){
   if (document.all)
      imagearray6display.filters.revealTrans.play()
}

function moveimage6(){
   if(cnt6<imagearray6.length-1)cnt6++ ;
      else cnt6=0;
   displayformat6();
   document.images.imagearray6display.src=imagearray6[cnt6];
   showdisplayformat6();
   theTimer=setTimeout("moveimage6()", 9000);
}

function jump2url6(){
   jumpUrl6=imagearray6nxt[cnt6];
   jumpTarget6='';
   if (jumpUrl6 != ''){
      popupwindow(jumpUrl6);
	  
   }
}




////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES FOR GITE PAGE
//*<!-- // BannerAD7

   var imagearray7=new Array();
   var imagearray7nxt=new Array();
   var cnt7=0;
   	
  	
   imagearray7[0]="images/home_office1_small.jpg"; //inside pic of gite
   imagearray7nxt[0]="office_fit_outs.html";

   imagearray7[1]="images/home_office2_small.jpg"; //outside pic of gite
   imagearray7nxt[1]="office_fit_outs.html";
	
	//imagearray7[2]="images/home_loft2_small.jpg";
	//imagearray7nxt[2]="office_fit_outs.html";


   var getimagearray7=new Array();
   for (i=1;i<imagearray7.length;i++){
      getimagearray7[i]=new Image();
      getimagearray7[i].src=imagearray7[i];
   }

function displayformat7(){
   if (document.all){
      imagearray7display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray7display.filters.revealTrans.apply();
   }
}

function showdisplayformat7(){
   if (document.all)
      imagearray7display.filters.revealTrans.play()
}

function moveimage7(){
   if(cnt7<imagearray7.length-1)cnt7++ ;
      else cnt7=0;
   displayformat7();
   document.images.imagearray7display.src=imagearray7[cnt7];
   showdisplayformat7();
   theTimer=setTimeout("moveimage7()", 9000);
}

function jump2url7(){
   jumpUrl7=imagearray7nxt[cnt7];
   jumpTarget7='';
   /* if (jumpUrl7 != ''){
      popupwindow(jumpUrl7);
	  
   }*/
	if (jumpUrl7 != ''){
		if (jumpTarget7 != '')window.open(jumpUrl7,jumpTarget7);
		else location.href=jumpUrl7;
	}

}



////////////////////////////////////////////////////////////////////////////////////////////


//*<!-- *** BANNER AD TO ROTATE IMAGES FOR GITE PAGE
//*<!-- // BannerAD8

   var imagearray8=new Array();
   var imagearray8nxt=new Array();
   var cnt8=0;
   	
  	
   imagearray8[0]="images/building_home_leftside2.jpg"; //inside pic of gite
   imagearray8nxt[0]="building_services.html";

   imagearray8[1]="images/decorating1_leftside.jpg"; //inside pic of gite
   imagearray8nxt[1]="building_services.html";


   var getimagearray8=new Array();
   for (i=1;i<imagearray8.length;i++){
      getimagearray8[i]=new Image();
      getimagearray8[i].src=imagearray8[i];
   }

function displayformat8(){
   if (document.all){
      imagearray8display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray8display.filters.revealTrans.apply();
   }
}

function showdisplayformat8(){
   if (document.all)
      imagearray8display.filters.revealTrans.play()
}

function moveimage8(){
   if(cnt8<imagearray8.length-1)cnt8++ ;
      else cnt8=0;
   displayformat8();
   document.images.imagearray8display.src=imagearray8[cnt8];
   showdisplayformat8();
   theTimer=setTimeout("moveimage8()", 9000);
}

function jump2url8(){
   jumpUrl8=imagearray8nxt[cnt8];
   jumpTarget8='';
   if (jumpUrl8 != ''){
      popupwindow(jumpUrl8);
	  
   }
}



////////////////////////////////////////////////////////////////////////////////////////////





//*<!-- *** BANNER AD TO ROTATE IMAGES FOR GITE PAGE
//*<!-- // BannerAD9

   var imagearray9=new Array();
   var imagearray9nxt=new Array();
   var cnt9=0;
   	
  	
   imagearray9[0]="images/house1_leftside.jpg"; //tapejoint1_leftside
   imagearray9nxt[0]="drywall_services.html";

   imagearray9[1]="images/tapejoint2_leftside.jpg"; 
   imagearray9nxt[1]="drywall_services.html";


   var getimagearray9=new Array();
   for (i=1;i<imagearray9.length;i++){
      getimagearray9[i]=new Image();
      getimagearray9[i].src=imagearray9[i];
   }

function displayformat9(){
   if (document.all){
      imagearray9display.filters.revealTrans.Transition=Math.floor(Math.random()*10);
      imagearray9display.filters.revealTrans.apply();
   }
}

function showdisplayformat9(){
   if (document.all)
      imagearray9display.filters.revealTrans.play()
}

function moveimage9(){
   if(cnt9<imagearray9.length-1)cnt9++ ;
      else cnt9=0;
   displayformat9();
   document.images.imagearray9display.src=imagearray9[cnt9];
   showdisplayformat9();
   theTimer=setTimeout("moveimage9()", 9000);
}

function jump2url9(){
   jumpUrl9=imagearray9nxt[cnt9];
   jumpTarget9='';
   if (jumpUrl9 != ''){
      popupwindow(jumpUrl9);
	  
   }
}



////////////////////////////////////////////////////////////////////////////////////////////





//****************************************************************************
//*<!--CODE FOR MENU OPTIONS AND SUB MENU CASCADE DROP DOWN OPTIONS-->
//*<SCRIPT LANGUAGE="JavaScript">
//Reference javascript.internet.com
//http://gusnz.cjb.net 
//*<!-- Begin 

var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
function getRef(id) {
if (isDOM) return document.getElementById(id);
if (isIE4) return document.all[id];
if (isNS4) return document.layers[id];
}
function getSty(id) {
return (isNS4 ? getRef(id) : getRef(id).style);
} 
// Hide timeout.
var popTimer = 0;
// Array showing highlighted menu items.
var litNow = new Array();
function popOver(menuNum, itemNum) {
clearTimeout(popTimer);
hideAllBut(menuNum);
litNow = getTree(menuNum, itemNum);
changeCol(litNow, true);
targetNum = menu[menuNum][itemNum].target;
if (targetNum > 0) {
thisX = parseInt(menu[menuNum][0].ref.left) + parseInt(menu[menuNum][itemNum].ref.left);
thisY = parseInt(menu[menuNum][0].ref.top) + parseInt(menu[menuNum][itemNum].ref.top);
with (menu[targetNum][0].ref) {
left = parseInt(thisX + menu[targetNum][0].x);
top = parseInt(thisY + menu[targetNum][0].y);
visibility = 'visible';
      }
   }
}
function popOut(menuNum, itemNum) {
if ((menuNum == 0) && !menu[menuNum][itemNum].target)
hideAllBut(0)
else
//TIME MENUS STAY SHOWING AFTER CURSOR MOVES AWAY
popTimer = setTimeout('hideAllBut(0)', 500);
}
function getTree(menuNum, itemNum) {

// Array index is the menu number. The contents are null (if that menu is not a parent)
// or the item number in that menu that is an ancestor (to light it up).
itemArray = new Array(menu.length);

while(1) {
itemArray[menuNum] = itemNum;

if (menuNum == 0) return itemArray;
itemNum = menu[menuNum][0].parentItem;
menuNum = menu[menuNum][0].parentMenu;
   }
}

// Pass an array and a boolean to specify colour change, true = over colour.
function changeCol(changeArray, isOver) {
for (menuCount = 0; menuCount < changeArray.length; menuCount++) {
if (changeArray[menuCount]) {
newCol = isOver ? menu[menuCount][0].overCol : menu[menuCount][0].backCol;
// Change the colours of the div/layer background.
with (menu[menuCount][changeArray[menuCount]].ref) {
if (isNS4) bgColor = newCol;
else backgroundColor = newCol;
         }
      }
   }
}
function hideAllBut(menuNum) {
var keepMenus = getTree(menuNum, 1);
for (count = 0; count < menu.length; count++)
if (!keepMenus[count])
menu[count][0].ref.visibility = 'hidden';
changeCol(litNow, false);
}

// *** MENU CONSTRUCTION FUNCTIONS ***

function Menu(isVert, popInd, x, y, width, overCol, backCol, borderClass, textClass) {
// True or false - a vertical menu?
this.isVert = true; //isVert;
// The popout indicator used (if any) for this menu.
this.popInd = popInd
// Position and size settings.
this.x = x;
this.y = y;
this.width = width;
// Colours of menu and items.
this.overCol = overCol;
this.backCol = backCol;
// The stylesheet class used for item borders and the text within items.
this.borderClass = borderClass;
this.textClass = textClass;
// Parent menu and item numbers, indexed later.
this.parentMenu = null;
this.parentItem = null;
// Reference to the object's style properties (set later).
this.ref = null;
}

function Item(text, href, frame, length, spacing, target) {
this.text = text;
this.href = href;
this.frame = frame;
this.length = length;
this.spacing = spacing;
this.target = target;
// Reference to the object's style properties (set later).
this.ref = null;
}


function writeMenus() {
if (!isDOM && !isIE4 && !isNS4) return;

for (currMenu = 0; currMenu < menu.length; currMenu++) with (menu[currMenu][0]) {
// Variable for holding HTML for items and positions of next item.
var str = '', itemX = 0, itemY = 0;

// items start from 1 in the array (0 is menu object itself, above).
// Also use properties of each item nested in the other with() for construction.
for (currItem = 1; currItem < menu[currMenu].length; currItem++) with (menu[currMenu][currItem]) {
var itemID = 'menu' + currMenu + 'item' + currItem;

// The width and height of the menu item - dependent on orientation!
var w = (isVert ? width : length);
var h = (isVert ? length : width);

// Create a div or layer text string with appropriate styles/properties.
if (isDOM || isIE4) {
str += '<div id="' + itemID + '" style="position: absolute; left: ' + itemX + '; top: ' + itemY + '; width: ' + w + '; height: ' + h + '; visibility: inherit; ';
if (backCol) str += 'background: ' + backCol + '; ';
str += '" ';
}
if (isNS4) {
str += '<layer id="' + itemID + '" left="' + itemX + '" top="' + itemY + '" width="' +  w + '" height="' + h + '" visibility="inherit" ';
if (backCol) str += 'bgcolor="' + backCol + '" ';
}
if (borderClass) str += 'class="' + borderClass + '" ';

// Add mouseover handlers and finish div/layer.
str += 'onMouseOver="popOver(' + currMenu + ',' + currItem + ')" onMouseOut="popOut(' + currMenu + ',' + currItem + ')">';

// Add contents of item (default: table with link inside).
// If a target frame is specified, also add that to the <a> tag.

str += '<table width="' + (w - 8) + '" border="0" cellspacing="0" cellpadding="' + (!isNS4 && borderClass ? 3 : 0) + '"><tr><td align="left" height="' + (h - 7) + '">' + '<a class="' + textClass + '" href="' + href + '"' + (frame ? ' target="' + frame + '">' : '>') + text + '</a></td>';

if (target > 0) {

// Set target's parents to this menu item.
menu[target][0].parentMenu = currMenu;
menu[target][0].parentItem = currItem;

// Add a popout indicator.
if (popInd) str += '<td class="' + textClass + '" align="right">' + popInd + '</td>';
}
str += '</tr></table>' + (isNS4 ? '</layer>' : '</div>');
if (isVert) itemY += length + spacing;
else itemX += length + spacing;
}

if (isDOM) {
var newDiv = document.createElement('div');
document.getElementsByTagName('body').item(0).appendChild(newDiv);
newDiv.innerHTML = str;
ref = newDiv.style;
ref.position = 'absolute';//**** causes problems with gap at bottom of page ****
ref.visibility = 'hidden';
}


// Insert a div tag to the end of the BODY with menu HTML in place for IE4.
if (isIE4) {
document.body.insertAdjacentHTML('beforeEnd', '<div id="menu' + currMenu + 'div" ' + 'style="position: absolute; visibility: hidden">' + str + '</div>');
ref = getSty('menu' + currMenu + 'div');
}


// In NS4, create a reference to a new layer and write the items to it.
if (isNS4) {
ref = new Layer(0);
ref.document.write(str);
ref.document.close();
}

for (currItem = 1; currItem < menu[currMenu].length; currItem++) {
itemName = 'menu' + currMenu + 'item' + currItem;
if (isDOM || isIE4) menu[currMenu][currItem].ref = getSty(itemName);
if (isNS4) menu[currMenu][currItem].ref = ref.document[itemName];
   }
}
with(menu[0][0]) {
ref.left = x;
ref.top = y;
ref.visibility = 'visible';
   }
}

//***************************************************************************
//*****FOLLOWING FUNCTION IS BLANK BUT ONLY USED TO CALL AND EXECUTE THE
//*****LINES OF CODE FOLLOWING THIS FUNCTION TO DISPLAY TOP MENU
function DisplayMenu() //CALL THIS FUNCTION IN THE TOP TEMPLATE PAGE
{
	
}
//*************************************************************************************************
//*********************************** THE TOP MENU ************************************************
//Reference javascript.internet.com
//Original:  Angus Turnbull -->
//Web Site:  http://gusnz.cjb.net -->

//GENERAL INFO
// menu[menuNumber][0] = new Menu(Vertical menu? (true/false), 'popout indicator', left, top,
// width, 'mouseover colour', 'background colour', 'border stylesheet', 'text stylesheet');
//
// Left and Top are measured on-the-fly relative to the top-left corner of its trigger, or
// for the root menu, the top-left corner of the page.
//
// menu[menuNumber][itemNumber] = new Item('Text', 'URL', 'target frame', length of menu item,
//  additional spacing to next menu item, number of target menu to popout);
//
// If no target menu (popout) is desired, it is set to 0. Because site does not use
// frames, pass an empty string as a frame target.
//
// Most menus below are 'true', that is they are vertical, except for the first root menu. 
// The 'length' and 'width' of an item depends on its orientation -- length is how long 
// the item runs for in the direction of the menu, and width is the lateral dimension of the menu. 


var menu = new Array();


// SUB MENU COLOURS *******************************************************
//(defOver is colour if mouse is moved over sub menu option, defBack is normal colour)
var defOver = '#B4B4B4', defBack = '#262670';

// Default 'length' of menu items - item height if menu is vertical, width if horizontal.
var defLength = 22;

// Menu 0 is the 'root' menu from which everything else arises.
menu[0] = new Array();


// *** ROOT MENU ***********************************************************  
//4 from the left, 180 down from the top, 179 width, mouseover bgcolor, standard bgcolor
menu[0][0] = new Menu(false, '', 4, 190, 179, '#B4B4B4', '#262670', 'crazyBorder', 'crazyText'); //180 down from top with Testimonials option, 190 without.
										//mouseover color  standard color
// NB the targets are all set to nonzero values...
// The 'length' is represented by the third number from the right, and there is spacing of 5 to the next item.

menu[0][1] = new Item('Home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'default.html', '', 28, 2, 0);
menu[0][2] = new Item('Contact Us&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'contact.html', '', 28, 2, 0);
menu[0][3] = new Item('Drywall Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services.html', '', 28, 2, 1);
menu[0][4] = new Item('Building Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services.html', '', 28, 2, 2); 
menu[0][5] = new Item('Office Fit-Outs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs.html', '', 28, 2, 6);   
menu[0][6] = new Item('Project Management&nbsp;&nbsp;&nbsp;', 'project_management.html', '', 28, 2, 0); 
menu[0][7] = new Item('Portfolio of Work&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'gallery.html', '', 28, 2, 0); 
//menu[0][8] = new Item('Testimonials&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'testimonials.html', '', 28, 2, 0); 



//***************************************************************************
//SUB MENUS
// *** DRYWALL SUB-MENU***

menu[1] = new Array();
menu[1][0] = new Menu(true, '>', 179, 0, 215, defOver, defBack, 'itemBorder', 'itemText');
menu[1][1] = new Item('Residential&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services.html', '', 28, 0, 3); 
menu[1][2] = new Item('Industrial and Commercial&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services.html', '', 28, 0, 4);
//menu[1][3] = new Item('Commercial&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services.html', '', 28, 0, 5);

// *** BUILDING SUB-MENU***
menu[2] = new Array();
menu[2][0] = new Menu(true, '>', 179, 0, 130, defOver, defBack, 'itemBorder', 'itemText');
menu[2][1] = new Item('Residential&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services.html', '', 28, 0, 5); 




//SUB SUB MENUS
// *** DRYWALL SERVICES RESIDENTIAL SUB SUB MENU***

menu[3] = new Array();
// first num is left right positioning and second num is how far down or up sub menu is from its trigger, third num is the width of the sub menu 
//(in this example -2px to the left and 22px down and 195px wide)
// All text in this menu has the stylesheet class 'item' -- see the <style> section.
// 'greater-than' sign '>' represents a popout indicator
menu[3][0] = new Menu(true, '>', 214, 0, 195, defOver, defBack, 'itemBorder', 'itemText');
menu[3][1] = new Item('Dry Lining&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_drylining.html', '', 28, 0, 0); //defLength was 3rd from right
menu[3][2] = new Item('Metal Stud Partitioning&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_metal_stud_partitioning.html', '', 28, 0, 0); 
menu[3][3] = new Item('MF and Suspended Ceilings', 'drywall_services_mf_ceilings.html', '', 28, 0, 0); 
menu[3][4] = new Item('Plastering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_plastering.html', '', 28, 0, 0); 
menu[3][5] = new Item('Screeding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_screeding.html', '', 28, 0, 0); 
menu[3][6] = new Item('Rendering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_rendering.html', '', 28, 0, 0); 
menu[3][7] = new Item('Tape and Jointing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_tape_jointing.html', '', 28, 0, 0); 
menu[3][8] = new Item('Specialist Finishes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_specialist_finishes.html', '', 28, 0, 0); 

// *** DRYWALL SERVICES INDUSTRIAL AND COMMERCIAL SUB SUB MENU***
menu[4] = new Array();
menu[4][0] = new Menu(true, '>', 214, 0, 250, defOver, defBack, 'itemBorder', 'itemText');
menu[4][1] = new Item('Dry Lining&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_drylining.html', '', 28, 0, 0); //defLength was 3rd from right
menu[4][2] = new Item('Shaft Wall&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_shaftwall.html', '', 28, 0, 0); 
menu[4][3] = new Item('Metal Stud Partitions & Jumbo Stud', 'drywall_services_metal_stud_partitions_jumbo_stud.html', '', 28, 0, 0); 
menu[4][4] = new Item('Lay in Grid/ Industrial Ceilings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_lay_in_grid_ceilings.html', '', 28, 0, 0); 
menu[4][5] = new Item('Metsec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_metsec.html', '', 28, 0, 0); 
menu[4][6] = new Item('Fire Applications / Fire Stopping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_fire_applications.html', '', 28, 0, 0); 
menu[4][7] = new Item('Tape and Jointing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_tape_jointing.html', '', 28, 0, 0); 
menu[4][8] = new Item('Acoustic Applications&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_acoustic_applications.html', '', 28, 0, 0); 
menu[4][9] = new Item('Separating/Party Walls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_separating_party_walls.html', '', 28, 0, 0); 
menu[4][10] = new Item('Specialist Finishes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'drywall_services_specialist_finishes.html', '', 28, 0, 0); 




// *** BUILDING SERVICES RESIDENTIAL SUB SUB MENU ***
menu[5] = new Array();
menu[5][0] = new Menu(true, '>', 129, -56, 140, defOver, defBack, 'itemBorder', 'itemText');
menu[5][1] = new Item('New Builds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_new_builds.html', '', 28, 0, 0); //defLength was 3rd from right
menu[5][2] = new Item('Extensions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_extensions.html', '', 28, 0, 0); 
menu[5][3] = new Item('Conversions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_conversions.html', '', 28, 0, 0); 
menu[5][4] = new Item('Renovations&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_renovations.html', '', 28, 0, 0); 
menu[5][5] = new Item('Kitchens&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_kitchens.html', '', 28, 0, 0); 
menu[5][6] = new Item('Bathrooms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_bathrooms.html', '', 28, 0, 0); 
menu[5][7] = new Item('Conservatories&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_conservatories.html', '', 28, 0, 0); 
menu[5][8] = new Item('Driveways&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_driveways.html', '', 28, 0, 0); 
menu[5][9] = new Item('Landscaping&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_landscaping.html', '', 28, 0, 0); 
menu[5][10] = new Item('Fencing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_fencing.html', '', 28, 0, 0); 
menu[5][11] = new Item('Patios&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_patios.html', '', 28, 0, 0); 
menu[5][12] = new Item('Decorating&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_decorating.html', '', 28, 0, 0); 
menu[5][13] = new Item('Roofing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'building_services_roofing.html', '', 28, 0, 0); 



// *** OFFICE FIT-OUTS SUB SUB MENU***
menu[6] = new Array();
menu[6][0] = new Menu(true, '>', 179, 0, 350, defOver, defBack, 'itemBorder', 'itemText');
menu[6][1] = new Item('Design Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#designservices', '', 28, 0, 0); //defLength was 3rd from right
menu[6][2] = new Item('Building Fit-Out&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#building', '', 28, 0, 0); 
menu[6][3] = new Item('Building Maintenance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#buildingmaintenance', '', 28, 0, 0); 
menu[6][4] = new Item('Office Furniture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#officefurniture', '', 28, 0, 0); 
menu[6][5] = new Item('Bespoke Furniture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#bespokefurniture', '', 28, 0, 0); 
menu[6][6] = new Item('Partitioning, Ceilings and De-mountable Walls&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#partitioning', '', 28, 0, 0); 
menu[6][7] = new Item('Kitchens and Toilets&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#kitchensandtoilets', '', 28, 0, 0); 
menu[6][8] = new Item('Lighting, Electrical & Networks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', 'office_fit_outs_subsections.html#lighting', '', 28, 0, 0); 
menu[6][9] = new Item('Communication Systems, Voice and Data Solutions', 'office_fit_outs_subsections.html#communication', '', 28, 0, 0); 




//EXTRA CODE ********
// These two lines handle the window resize bug in NS4. See <body onResize="...">.

var popOldWidth = window.innerWidth;
nsResizeHandler = new Function('if (popOldWidth != window.innerWidth) location.reload()');


if (isNS4) document.captureEvents(Event.CLICK);
document.onclick = clickHandle;



function clickHandle(evt)
{
 if (isNS4) document.routeEvent(evt);
 hideAllBut(0);
}

// ****************************** END OF TOP MENU *********************************************








//functions to expand an image using onmouseover
// JDStiles.com
function selectAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
}

function expand() {
	if (smallslot.width<=110) {
		x=window.setTimeout('expand()', 10)
		smallslot.width=smallslot.width + 5
		smallslot.height=smallslot.height + 5
	}
	else {
		setTimeout('reduce()', 0)
}
	}

function reduce() {
	if (smallslot.width>99) {
		x=window.setTimeout('reduce()', 10)
		smallslot.width=smallslot.width - 5
		smallslot.height=smallslot.height - 5
	}
}
