<!--

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}
// ----------------------------------------------------------------------------------------------------
function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}
// ----------------------------------------------------------------------------------------------------
function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// ----------------------------------------------------------------------------------------------------
function InitScreen()
{

// Adjust screen positioning to take into account the operating resolution
	  
   if (screen.height > 600)
      {
		document.getElementById("imPrevious").style.top = "87%";
		document.getElementById("ImNext").style.top = "87%";
		document.getElementById("imPrevious").style.left = "51%";
		document.getElementById("ImNext").style.left = "62%";		
	  }
}
// ----------------------------------------------------------------------------------------------------

function InitIndex()
{

// Adjust screen positioning to take into account the operating resolution
	  
   if (screen.height > 600)
      {
		document.getElementById("IndexTable").style.top = "20%";
		document.getElementById("IndexTable").style.left = "30%";
	  }
}
// ----------------------------------------------------------------------------------------------------
function InitSanitaryware()
{

// Set up the Next/Previous images onclick event handler to do what we want for the Sanitaryware pages

		InitScreen();

		var n = new Function("NextSanitaryware(0);");
		var p = new Function("NextSanitaryware(1);");
		
		document.getElementById("imNext").onclick = n;
		document.getElementById("imPrevious").onclick = p;
		NextSanitaryware(0);
}
// ----------------------------------------------------------------------------------------------------

function InitHC()
{

// Set up the Next/Previous images onclick event handler to do what we want for the Heavy Clay pages

		InitScreen();

		var n = new Function("NextHC(0);");
		var p = new Function("NextHC(1);");
		
		document.getElementById("imNext").onclick = n;
		document.getElementById("imPrevious").onclick = p;
		NextHC(0);
}
// ----------------------------------------------------------------------------------------------------

function InitTG()
{

// Set up the Next/Previous images onclick event handler to do what we want for the Table & Giftware pages

		InitScreen();

		var n = new Function("NextTG(0);");
		var p = new Function("NextTG(1);");
		
		document.getElementById("imNext").onclick = n;
		document.getElementById("imPrevious").onclick = p;
		NextTG(0);
}
// ----------------------------------------------------------------------------------------------------

function InitDec()
{

// Set up the Next/Previous images onclick event handler to do what we want for the Decorating pages

		InitScreen();

		var n = new Function("NextDec(0);");
		var p = new Function("NextDec(1);");
		
		document.getElementById("imNext").onclick = n;
		document.getElementById("imPrevious").onclick = p;
		NextDec(0);
}
// ----------------------------------------------------------------------------------------------------

function InitTechnical()
{

// Set up the Next/Previous images onclick event handler to do what we want for the Technical pages

		InitScreen();

		var n = new Function("NextTechnical(0);");
		var p = new Function("NextTechnical(1);");
		
		document.getElementById("imNext").onclick = n;
		document.getElementById("imPrevious").onclick = p;
		NextTechnical(0);
}
// ----------------------------------------------------------------------------------------------------


function InitServices()
{

		InitScreen();
}
// ----------------------------------------------------------------------------------------------------
function NextSanitaryware(d)
{

// Checks the currently displayed image and moves to the next ..
// d = 0 for forward, 1 for backward navigation..

  var fn = ProductImage.src.substring(ProductImage.src.lastIndexOf('/images/') + 8);
  var s = true; // Controls whether the image may be stretched (made bigger);
  
  if (d == 1)
  {
  	switch (fn)
  	{
  	case "1.jpg":
  		fn = "8.jpg";
  		break;
  		
  	case "3.jpg":
  		fn = "1.jpg";
  		break;
  		
  	case "4.jpg":
  		fn = "2.jpg";
  		break;
  		
  	case "6.jpg":
  		fn = "3.jpg";
  		break;
  		
  	case "7.jpg":
  		fn = "4.jpg";
  		break;

  	case "8.jpg":
  		fn = "6.jpg";
  		break;

  	case "99.jpg":
  		fn = "7.jpg";
  		break;
  		  		
  	default:
		fn = "xxx";
  		break;
  	}
  }

  switch (fn)
    {
  	case "1.jpg":
   		document.getElementById("ProductHead").innerText = "Single Deck Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For fireclay products";
  		document.getElementById("ProductText").innerText = 
  			'3.1m long taking 2 cars with a 5000mm wide 1000mm long 915mm setting. Output ' +
  			'60 pieces per firing on a 23 hour cold to cold cycle';
  		ProductImage.src = "images/2.jpg";
  		ProductImage.width = "260";
  		ProductImage.height = "205";
  		break;
  		
  	case "2.jpg":
   		document.getElementById("ProductHead").innerText = "2 Deck Envelope Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'11.8m long taking 6 cars with a 6000mm wide, 1500mm long, 1500mm (2 decks) high setting. ' +
  			'Output 600 pieces per firing on a 12 hour cycle';
  		ProductImage.src = "images/3.jpg";
  		ProductImage.width = "260";
  		ProductImage.height = "205";  		
  		break;
  		
  	case "3.jpg":
   		document.getElementById("ProductHead").innerText = "Single Deck Skate Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'9.7m long taking 6 cars, with a 4500mm wide, 1500mm long, 800mm high setting. Output 270 pieces ' +
  			'per firing on a 14 hour cycle.';
  		ProductImage.src = "images/4.jpg";
  		ProductImage.width = "260";
  		ProductImage.height = "205";
  		break;
  		
  	case "4.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'112.2m long with a 3050mm wide, 800mm long, 760mm high setting. Output 24,948 pieces per week on ' +
			'a 10 hour cycle.';
  		ProductImage.src = "images/6.jpg";
  		ProductImage.width = "265";
  		ProductImage.height = "200";  		
  		break;
  		
  	case "6.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'55m long with a 1980mm wide, 760mm long, 500mm high setting. Output 571,760 pieces per year ' +
  			'on a 9 hour cycle.';
  		ProductImage.src = "images/7.jpg";
    	ProductImage.width = "297";
  		ProductImage.height = "198";
  		break;
  		
  	case "7.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'71m long with a 3050mm wide, 760mm long, 510mm high setting. Output 20,706 pieces per week on ' +
  			'a 12 hour cycle.';
  		ProductImage.src = "images/8.jpg";
     	ProductImage.width = "293";
  		ProductImage.height = "194";
  		break;

  	case "8.jpg":
   		document.getElementById("ProductHead").innerText = "Conventional Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china sanitaryware";
  		document.getElementById("ProductText").innerText = 
  			'102m long with a 2500m wide, 1560m long, 780m high setting. Output 22,568 pieces per week on ' +
  			'a 10 hour cycle.';
  		ProductImage.src = "images/99.jpg";
     	ProductImage.width = "300";
  		ProductImage.height = "230";
  		break;
  		
  	default:
  	    document.getElementById("PageName").innerText = 'Sanitaryware';
   		document.getElementById("ProductHead").innerText = "2 Deck Envelope Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For vitreous china";
  		document.getElementById("ProductText").innerText = 
  			'7.9m long taking 4 cars, with a 5500mm wide, 1500mm long, 1500mm (2 decks) high setting. ' +
			'Output 392 pieces per firing on a 12 hour cycle.';
  		ProductImage.src = "images/1.jpg";
   		ProductImage.width = "206";
  		ProductImage.height = "260";
  		break;
  	}

	AdjustSize(s);
 
}
// ----------------------------------------------------------------------------------------------------
function NextHC(d)
{

// Checks the currently displayed image and moves to the next ..
// d = 0 for forward, 1 for backward navigation..

  var fn = ProductImage.src.substring(ProductImage.src.lastIndexOf('/images/') + 8);
  var s = true;
  
  if (d == 1)
  {
  	switch (fn)
  	{
  	case "32.jpg":
  		fn = "40.jpg";
  		break;
  		
  	case "34.jpg":
  		fn = "41.jpg";
  		break;
  		
  	case "31.jpg":
  		fn = "32.jpg";
  		break;
  		
  	case "36.jpg":
  		fn = "34.jpg";
  		break;
  		
  	case "37.jpg":
  		fn = "31.jpg";
  		break;

  	case "39.jpg":
  		fn = "36.jpg";
  		break;

  	case "40.jpg":
  		fn = "37.jpg";
  		break;

  	case "41.jpg":
  		fn = "39.jpg";
  		break;
  		  		
  	default:
		fn = "xxx";
  		break;
  	}
  }

  switch (fn)
    {
  	case "32.jpg":
   		document.getElementById("ProductHead").innerText = "Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing stock bricks";
  		document.getElementById("ProductText").innerText = 
  			'105m long with a 3900mm wide, 1900mm long, 1050mm high setting. Output 25,067,520 bricks per ' +
  			'48 weeks on a 64.22 hour cycle.';
  		ProductImage.src = "images/34.jpg";
  		ProductImage.width = "302";
  		ProductImage.height = "206";
  		break;
  		
  	case "34.jpg":
   		document.getElementById("ProductHead").innerText = "Modular Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing brick standards";
  		document.getElementById("ProductText").innerText = 
  			'117m long with a 6000mm wide, 2550mm long, 1567mm high setting. Output 35,000,000 bricks per ' +
  			'year on a 66 hour cycle.';
  		ProductImage.src = "images/31.jpg";
  		ProductImage.width = "302";
  		ProductImage.height = "237";  		
  		break;
  		
  	case "31.jpg":
   		document.getElementById("ProductHead").innerText = "Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing roof tiles in cassettes";
  		document.getElementById("ProductText").innerText = 
  			'90.6m long, normal firing temperature 1130°C (1150°C maximum) with a 3000mm wide, 3460mm long, ' +
  			'1130mm high setting. Output 403,200 tiles per week on a 36 hour cycle.';
  		ProductImage.src = "images/36.jpg";
  		ProductImage.width = "304";
  		ProductImage.height = "205";
  		break;
  		
  	case "36.jpg":
   		document.getElementById("ProductHead").innerText = "Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For clay pipes and fittings";
  		document.getElementById("ProductText").innerText = 
  			'With a 6432mm wide, 2000mm high setting. Output 144 tonnes pipes and fittings per firing.';
  		s = false; // Don't stretch
  		ProductImage.src = "images/37.jpg";
  		ProductImage.width = "266";
  		ProductImage.height = "181";  		
  		break;
  		
  	case "37.jpg":
   		document.getElementById("ProductHead").innerText = "Down Draught Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For brick specials and standards";
  		document.getElementById("ProductText").innerText = 
  			'With a 5050mm wide, 1860mm long, 1100mm high setting. Output 16,000 bricks per week ' +
			'(2 fires per week).';
  		ProductImage.src = "images/39.jpg";
    	ProductImage.width = "261";
  		ProductImage.height = "204";
  		break;
  		
  	case "39.jpg":
   		document.getElementById("ProductHead").innerText = "Moving Hood Kiln";
   		document.getElementById("ProductSubHead").innerText = "For brick special shapes";
  		document.getElementById("ProductText").innerText = 
  			'Normal firing temperature 1100°C (1200°C maximum). Output 37,760 brick specials on 2 fires per week.';
  		ProductImage.src = "images/40.jpg";
     	ProductImage.width = "244";
  		ProductImage.height = "162";
  		break;

  	case "40.jpg":
   		document.getElementById("ProductHead").innerText = "Fixed Hearth Kiln";
   		document.getElementById("ProductSubHead").innerText = "For brick standards";
  		document.getElementById("ProductText").innerText = 
  			'With a 900mm square x 954mm height dry brick pack, 2 packs high, 6 packs wide, 11 packs long. ' +
			'Output 104,544 bricks per week on 2 firings per week.';
  		ProductImage.src = "images/41.jpg";
     	ProductImage.width = "337";
  		ProductImage.height = "253";
  		break;
  		
  	default:
  	    document.getElementById("PageName").innerText = 'Heavy Clay';  	
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For floor and roof tiles";
  		document.getElementById("ProductText").innerText = 
  			'59m long with a 3180mm wide, 750mm long, 350mm high setting. Output 174,174 tiles per week on a ' +
  			'28 hour cycle.';
  		ProductImage.src = "images/32.jpg";
   		ProductImage.width = "304";
  		ProductImage.height = "226";
  		break;
  	}
  	
  		AdjustSize(s);
}
// ----------------------------------------------------------------------------------------------------

function NextTG(d)
{

// Checks the currently displayed image and moves to the next ..
// d = 0 for forward, 1 for backward navigation..

  var fn = ProductImage.src.substring(ProductImage.src.lastIndexOf('/images/') + 8);
  var s = true;
  
  if (d == 1)
  {
  	switch (fn)
  	{
  	case "9.jpg":
  		fn = "15.jpg";
  		break;
  		
  	case "10.jpg":
  		fn = "16.jpg";
  		break;
  		
  	case "11.jpg":
  		fn = "9.jpg";
  		break;
  		
  	case "12.jpg":
  		fn = "10.jpg";
  		break;
  		
  	case "13.jpg":
  		fn = "11.jpg";
  		break;

  	case "14.jpg":
  		fn = "12.jpg";
  		break;

  	case "15.jpg":
  		fn = "13.jpg";
  		break;

  	case "16.jpg":
  		fn = "14.jpg";
  		break;
  		  		
  	default:
		fn = "xxx";
  		break;
  	}
  }

  switch (fn)
    {
  	case "9.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln & Dryer";
   		document.getElementById("ProductSubHead").innerText = "For biscuit hotelware";
  		document.getElementById("ProductText").innerText = 
  			'Normal firing temperature 1235°C (1250°C maximum) with a 1800mm wide, 800mm long, 300mm ' +
			'high setting. Output 1,352 pieces on a 6 hour cycle.';
  		ProductImage.src = "images/10.jpg";
  		ProductImage.width = "283";
  		ProductImage.height = "205";
  		break;
  		
  	case "10.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing mixed earthenware";
  		document.getElementById("ProductText").innerText = 
  			'49m long with a 2000mm wide, 760mm long, 600mm high setting. Output 5197.5 tonnes of ware per ' +
  			'year on a 10 hour cycle.';
  		ProductImage.src = "images/11.jpg";
  		ProductImage.width = "291";
  		ProductImage.height = "198";  		
  		break;
  		
  	case "11.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing bone china";
  		document.getElementById("ProductText").innerText = 
  			'44.35m long with a 1830mm wide, 610mm long, 762mm high setting. Output 493 cubic metres of ware on a 20 ' +
  			'hour cycle';
  		ProductImage.src = "images/12.jpg";
  		ProductImage.width = "289";
  		ProductImage.height = "199";
  		break;
  		
  	case "12.jpg":
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing glost porcelain";
  		document.getElementById("ProductText").innerText = 
  			'70.2m long with a 1400°C maximum temperature with reducing atmosphere.';
  		ProductImage.src = "images/13.jpg";
  		ProductImage.width = "284";
  		ProductImage.height = "227";  		
  		break;
  		
  	case "13.jpg":
   		document.getElementById("ProductHead").innerText = "3 Car Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing biscuit and glost bone china giftware";
  		document.getElementById("ProductText").innerText = 
  			'With a 2590mm wide, 1295mm long, 1676mm high setting.';
  		ProductImage.src = "images/14.jpg";
    	ProductImage.width = "301";
  		ProductImage.height = "239";
  		break;
  		
  	case "14.jpg":
   		document.getElementById("ProductHead").innerText = "Envelope Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For stoneware";
  		document.getElementById("ProductText").innerText = 
  			'Normal firing temperature 1200°C (1250°C maximum) taking 3 cars with a 3048mm wide, ' +
			'1220mm long, 1524mm high setting.';
  		ProductImage.src = "images/15.jpg";
     	ProductImage.width = "300";
  		ProductImage.height = "242";
  		break;

  	case "15.jpg":
   		document.getElementById("ProductHead").innerText = "Cantilever Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For glost tableware";
  		document.getElementById("ProductText").innerText = 
  			'27m long, normal firing temperature 850/900°C - oxidising (1150°C maximum). With a 720mm wide, ' +
  			'1080mm long, 230mm high setting. Output 2,160 pieces per hour on a 50 minute cycle.';
  		ProductImage.src = "images/16.jpg";
     	ProductImage.width = "282";
  		ProductImage.height = "218";
  		break;
  		
  	default:
  	    document.getElementById("PageName").innerText = "Table & Giftware";
   		document.getElementById("ProductHead").innerText = "Skate Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing bone china cups and mugs";
  		document.getElementById("ProductText").innerText = 
  			'46.5m long with a 2000mm wide, 762mm long, 500mm high setting. Output 600,000 pieces per week.';
  		ProductImage.src = "images/9.jpg";
   		ProductImage.width = "258";
  		ProductImage.height = "204";
  		break;
  	}
  	
  		AdjustSize(s);
}
// ----------------------------------------------------------------------------------------------------

function NextDec(d)
{

// Checks the currently displayed image and moves to the next ..
// d = 0 for forward, 1 for backward navigation..

  var fn = ProductImage.src.substring(ProductImage.src.lastIndexOf('/images/') + 8);
  var s = true;
  
  if (d == 1)
  {
  	switch (fn)
  	{
  	case "17.jpg":
  		fn = "23.jpg";
  		break;
  		
  	case "18.jpg":
  		fn = "24.jpg";
  		break;
  		
  	case "19.jpg":
  		fn = "17.jpg";
  		break;
  		
  	case "20.jpg":
  		fn = "18.jpg";
  		break;
  		
  	case "21.jpg":
  		fn = "19.jpg";
  		break;

  	case "22.jpg":
  		fn = "20.jpg";
  		break;

  	case "23.jpg":
  		fn = "21.jpg";
  		break;

  	case "24.jpg":
  		fn = "22.jpg";
  		break;
  		  		
  	default:
		fn = "xxx";
  		break;
  	}
  }

  switch (fn)
    {
  	case "17.jpg":
   		document.getElementById("ProductHead").innerText = "Alloy Belt Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For on-glaze decoration";
  		document.getElementById("ProductText").innerText = 
  			'29.7m long with a 1250mm wide, 26.2m long, 300mm high setting. Output 1,250 pieces per hour on a ' +
  			'60 minute cycle.';
  		ProductImage.src = "images/18.jpg";
  		ProductImage.width = "300";
  		ProductImage.height = "229";
  		break;
  		
  	case "18.jpg":
   		document.getElementById("ProductHead").innerText = "Cantilever Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For glost tableware";
  		document.getElementById("ProductText").innerText = 
  			'27m long, normal firing temperature 850/900°C - oxidising (1150°C maximum). With a 720mm wide, ' +
  			'1080mm long, 230mm high setting. Output 2,160 pieces per hour on a 50 minute cycle.';
  		ProductImage.src = "images/19.jpg";
  		ProductImage.width = "276";
  		ProductImage.height = "261";  		
  		break;
  		
  	case "19.jpg":
   		document.getElementById("ProductHead").innerText = "Twin Tunnel Cantilever Kiln";
   		document.getElementById("ProductSubHead").innerText = "For decoration";
  		document.getElementById("ProductText").innerText = 
  			'29.12m long with a 720mm wide, 1080mm long, 150mm high setting. Output 99,840 pieces per 5 ' +
  			'days on an 8 hour cycle.';
  		ProductImage.src = "images/20.jpg";
  		ProductImage.width = "292";
  		ProductImage.height = "198";
  		break;
  		
  	case "20.jpg":
   		document.getElementById("ProductHead").innerText = "Alloy Belt Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For decorated ware";
  		document.getElementById("ProductText").innerText = 
  			'25.9m long with a 690mm wide, 150mm high setting. Output 36 cubic metres per hour of ware on a 20 minute cycle.';
  		ProductImage.src = "images/21.jpg";
  		ProductImage.width = "285";
  		ProductImage.height = "195";  		
  		break;
  		
  	case "21.jpg":
   		document.getElementById("ProductHead").innerText = "Gas Fired Alloy Belt Kiln";
   		document.getElementById("ProductSubHead").innerText = "For decorated mugs";
  		document.getElementById("ProductText").innerText = 
  			'17m long, normal firing temperature 850°C (1000°C maximum). With a 915mm wide, 150mm high setting.';
  		ProductImage.src = "images/22.jpg";
    	ProductImage.width = "288";
  		ProductImage.height = "201";
  		break;
  		
  	case "22.jpg":
   		document.getElementById("ProductHead").innerText = "Semi Muffel Gas Fired Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For bone china flatware";
  		document.getElementById("ProductText").innerText = 
  			'32m long with a 750mm wide, 350mm high setting. Output 30,000 pieces per hour on a 34 minute cycle.';
  		ProductImage.src = "images/23.jpg";
     	ProductImage.width = "285";
  		ProductImage.height = "192";
  		break;

  	case "23.jpg":
   		document.getElementById("ProductHead").innerText = "Alloy Belt Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For tableware decoration";
  		document.getElementById("ProductText").innerText = 
  			'30m long, maximum firing temperature 1050°C. With a 762mm wide, 230mm high setting.';
  		ProductImage.src = "images/24.jpg";
     	ProductImage.width = "264";
  		ProductImage.height = "258";
  		break;
  		
  	default:
  	    document.getElementById("PageName").innerText = "Decorating";
   		document.getElementById("ProductHead").innerText = "Alloy Belt Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "For decorated ware";
  		document.getElementById("ProductText").innerText = 
  			'23.5m long with a 20m long, 1220mm wide, 300mm high setting. Output 1,313 pieces ' +
			'per hour on a 60 minute cycle.';
  		ProductImage.src = "images/17.jpg";
   		ProductImage.width = "334";
  		ProductImage.height = "258";
  		break;
  	}
  	
  		AdjustSize(s);
}
// ----------------------------------------------------------------------------------------------------

function NextTechnical(d)
{

// Checks the currently displayed image and moves to the next ..
// d = 0 for forward, 1 for backward navigation..

  var fn = ProductImage.src.substring(ProductImage.src.lastIndexOf('/images/') + 8);
  var s = true;
  
  if (d == 1)
  {
  	switch (fn)
  	{
  	case "25.jpg":
  		fn = "29.jpg";
  		break;
  		
  	case "26.jpg":
  		fn = "30.jpg";
  		break;
  		
  	case "27.jpg":
  		fn = "25.jpg";
  		break;
  		
  	case "28.jpg":
  		fn = "26.jpg";
  		break;
  		
  	case "29.jpg":
  		fn = "27.jpg";
  		break;

  	case "30.jpg":
  		fn = "28.jpg";
  		break;
  		  		
  	default:
		fn = "xxx";
  		break;
  	}
  }

  switch (fn)
    {
  	case "25.jpg":
   		document.getElementById("ProductHead").innerText = "Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing colour pigment in saggers";
  		document.getElementById("ProductText").innerText = 
  			'Taking 4 cars with a 1315mm wide, 1435mm long, 1095mm high setting.';
  		ProductImage.src = "images/26.jpg";
  		ProductImage.width = "276";
  		ProductImage.height = "215";
  		break;
  		
  	case "26.jpg":
   		document.getElementById("ProductHead").innerText = "Twin Base Moving Hood Kiln";
   		document.getElementById("ProductSubHead").innerText = "For porcelain insulators";
  		document.getElementById("ProductText").innerText = 
  			'With a 1500mm wide, 7600mm long, 2105mm high setting, firing on a 66 hour cycle to 1280°C.';
  		ProductImage.src = "images/27.jpg";
  		ProductImage.width = "350";
  		ProductImage.height = "209";  		
  		break;
  		
  	case "27.jpg":
   		document.getElementById("ProductHead").innerText = "Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing alumina oxide ceramic shapes to 1650°C";
  		document.getElementById("ProductText").innerText = 
  			'With a 1080mm wide, 1975mm long, 1400mm high setting.';
  		ProductImage.src = "images/28.jpg";
  		ProductImage.width = "302";
  		ProductImage.height = "206";
  		break;
  		
  	case "28.jpg":
   		document.getElementById("ProductHead").innerText = "Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing refractory flowgates and fittings";
  		document.getElementById("ProductText").innerText = 
  			'Normal firing temperature 1380 / 1520°C (1600°C maximum). With a 2134mm wide, ' +
  			'2745mm long, 915mm high setting.';
  		ProductImage.src = "images/29.jpg";
  		ProductImage.width = "312";
  		ProductImage.height = "212";  		
  		break;
  		
  	case "29.jpg":
   		document.getElementById("ProductHead").innerText = "Tunnel Kiln";
   		document.getElementById("ProductSubHead").innerText = "Firing colour pigment in saggars";
  		document.getElementById("ProductText").innerText = 
  			'15.66m long with a 420mm wide, 900mm long, 260mm high setting. Output 375 tonnes per year ' +
  			'on a 20 hour cycle.';
  		ProductImage.src = "images/30.jpg";
    	ProductImage.width = "313";
  		ProductImage.height = "212";
  		break;
 		
  	default:
  	    document.getElementById("PageName").innerText = "Technical";
   		document.getElementById("ProductHead").innerText = "Envelope Shuttle Kiln";
   		document.getElementById("ProductSubHead").innerText = "For refractory shapes";
  		document.getElementById("ProductText").innerText = 
  			'4.14m long taking 2 cars with a 5040mm wide, 1500mm long, 1150mm high setting. Output ' +
			'21,750 tonnes of ware per 48 hour cycle.';
  		ProductImage.src = "images/25.jpg";
   		ProductImage.width = "338";
  		ProductImage.height = "227";
  		break;
  	}
  	
  		AdjustSize(s);
}
// ----------------------------------------------------------------------------------------------------

function AdjustSize(s)
{	

	var e = 0;
	
// If we're operating in a screen resolution of 600 then adjust the image size to make it fit.
		
  	   if (screen.height <= 600)
  	   {
			if (ProductImage.width > 276)
	   		{
	   			e = (276 / ProductImage.width);
	   			ProductImage.width = 276;
	  			ProductImage.height = ProductImage.height * e;
	  		}
	  		if (ProductImage.height > 260)
	  		{
	   			e = (260 / ProductImage.height);	  		
	   			ProductImage.height = 260;
	  			ProductImage.width = ProductImage.width * e;  		
	  		}
	   }
	   else // Make it bigger for higher resolution ..
	   {
			if (s) // If stretching is OK for this image
			{		
				if (ProductImage.width < 350)
	   			{
	   				e = (350 / ProductImage.width);
	   				ProductImage.width = 350;
	  				ProductImage.height = ProductImage.height * e;
	  			}
	  			if (ProductImage.height > 320)
	  			{
	   				e = (320 / ProductImage.height);	  		
	   				ProductImage.height = 320;
	  				ProductImage.width = ProductImage.width * e;
	  			}
	  		}	   
	   }
}
// ----------------------------------------------------------------------------------------------------

function ChangeMap(b)
{
    var fn = imMap.src.substring(imMap.src.lastIndexOf('/images/') + 8);
    
	if (b == 0)
	{
		if (fn = 'map1.gif')
		{
			imMap.src = 'images/map2.gif';
			imMap.style.width = "459";
			imMap.style.height = "299";
		}
	}
	else
	{
		if (fn = 'map2.gif')
		{
			imMap.src = 'images/map1.gif';
			imMap.style.width = "380";
			imMap.style.height = "317";	
		}
	}
}
// ----------------------------------------------------------------------------------------------------
//--
