var slideShow = new Array();
var slideShowText = new Array();

slideShow.push('images/gallery/DSCF0014 (2).JPG');
slideShowText.push('The Zoo Room - From start to finish!');
slideShow.push('images/gallery/aSL703119.JPG');
slideShowText.push('From this..........');
slideShow.push('images/gallery/SL703404.JPG');
slideShowText.push('And this............');
slideShow.push('images/gallery/SL703495.JPG');
slideShowText.push('...... and this');
slideShow.push('images/gallery/Edinburgh Zoo 018.JPG');
slideShowText.push('To this .............');
slideShow.push('images/gallery/Edinburgh Zoo 055.JPG');
slideShowText.push('And this!');
slideShow.push('images/gallery/IMGP0689.JPG');
slideShowText.push('It all starts in design & estimating');
slideShow.push('images/gallery/SL703113.JPG');
slideShowText.push('Then through to production...');
slideShow.push('images/gallery/SL703214.JPG');
slideShowText.push('...and the build of the credenza begins');
slideShow.push('images/gallery/SL703220.JPG');
slideShowText.push('Fitting the curved corners veneers');
slideShow.push('images/gallery/SL703224.JPG');
slideShowText.push('Top for credenza cut and veneered');
slideShow.push('images/gallery/SL703234.JPG');
slideShowText.push('Starting the walnut hardwood edging');
slideShow.push('images/gallery/SL703237.JPG');
slideShowText.push('Check to see a good fit');
slideShow.push('images/gallery/SL703251.JPG');
slideShowText.push('To mark hardwood to sample profile');
slideShow.push('images/gallery/SL703259.JPG');
slideShowText.push('Precision hand machining');
slideShow.push('images/gallery/SL703265.JPG');
slideShowText.push('Hardwood corner cut');
slideShow.push('images/gallery/SL703270.JPG');
slideShowText.push('Ready the top to fit the hardwood edging');
slideShow.push('images/gallery/SL703276.JPG');
slideShowText.push('Position into place');
slideShow.push('images/gallery/SL703282.JPG');
slideShowText.push('Now for the front edge');
slideShow.push('images/gallery/SL703285.JPG');
slideShowText.push('Perfect fit');
slideShow.push('images/gallery/SL703283.JPG');
slideShowText.push('Final corner placed');
slideShow.push('images/gallery/SL703288.JPG');
slideShowText.push('Sometimes the tricky bits need a hand!');
slideShow.push('images/gallery/SL703302.JPG');
slideShowText.push('Ready to remove the clamps');
slideShow.push('images/gallery/SL703317.JPG');
slideShowText.push('And shape the walnut edges');
slideShow.push('images/gallery/SL703318.JPG');
slideShowText.push('Even the underside receives the same attention to detail');
slideShow.push('images/gallery/SL703299.JPG');
slideShowText.push('Fitting internals');
slideShow.push('images/gallery/SL703323.JPG');
slideShowText.push('Final buff');
slideShow.push('images/gallery/SL703335.JPG');
slideShowText.push('Inlays complete');
slideShow.push('images/gallery/SL703338.JPG');
slideShowText.push('Ready for the polishing shop');
slideShow.push('images/gallery/SL703477.JPG');
slideShowText.push('Careful work to ensure and even smooth finish');
slideShow.push('images/gallery/SL703435.JPG');
slideShowText.push('First coat done');
slideShow.push('images/gallery/SL703548.JPG');
slideShowText.push('Final finish');
slideShow.push('images/gallery/SL703441.JPG');
slideShowText.push('Now the real depth can been seen');
slideShow.push('images/gallery/SL703388.JPG');
slideShowText.push('First table base done...');
slideShow.push('images/gallery/SL703393.JPG');
slideShowText.push('Second table base to start');
slideShow.push('images/gallery/SL703419.JPG');
slideShowText.push('Careful placement of the first panel');
slideShow.push('images/gallery/SL703432.JPG');
slideShowText.push('Preparing veneered panel');
slideShow.push('images/gallery/SL703450.JPG');
slideShowText.push('And the sub structure - to come together');
slideShow.push('images/gallery/SL703459.JPG');
slideShowText.push('Careful team work......');
slideShow.push('images/gallery/SL703465.JPG');
slideShowText.push('....to position......');
slideShow.push('images/gallery/SL703470.JPG');
slideShowText.push('And secure...');
slideShow.push('images/gallery/SL703472.JPG');
slideShowText.push('In perfect harmony!');
slideShow.push('images/gallery/SL703422.JPG');
slideShowText.push('Job done');
slideShow.push('images/gallery/SL703520.JPG');
slideShowText.push('Bases complete - core of top is shaped');
slideShow.push('images/gallery/IMGP0630.JPG');
slideShowText.push('Table top veneers to the press');
slideShow.push('images/gallery/IMGP0635.JPG');
slideShowText.push('Line up and cut to shape');
slideShow.push('images/gallery/IMGP0636.JPG');
slideShowText.push('Ensure perfect join');
slideShow.push('images/gallery/IMGP0641.JPG');
slideShowText.push('Attention to detail....');
slideShow.push('images/gallery/IMGP0642.JPG');
slideShowText.push('Ensures a good job');
slideShow.push('images/gallery/IMGP0644.JPG');
slideShowText.push('Machine shop meeting cabinet shop for hardwood fit up');
slideShow.push('images/gallery/IMGP0650.JPG');
slideShowText.push('Table top prepared for hardwood fitting');
slideShow.push('images/gallery/SL703527.JPG');
slideShowText.push('Hardwood present.....');
slideShow.push('images/gallery/IMGP0653.JPG');
slideShowText.push('And correct.');
slideShow.push('images/gallery/IMGP0655.JPG');
slideShowText.push('Final section to place');
slideShow.push('images/gallery/IMGP0658.JPG');
slideShowText.push('Spot on fit');
slideShow.push('images/gallery/IMGP0665.JPG');
slideShowText.push('Fitting the boxwood & black line inlay');
slideShow.push('images/gallery/IMGP0691.JPG');
slideShowText.push('Table finished and ready to polish');
slideShow.push('images/gallery/IMGP0680.JPG');
slideShowText.push('Out shines the natural beauty');
slideShow.push('images/gallery/IMGP0690.JPG');
slideShowText.push('Complete the paperwork...');
slideShow.push('images/gallery/DSC_0023.JPG');
slideShowText.push('Load up....');
slideShow.push('images/gallery/Edinburgh Zoo 016.JPG');
slideShowText.push('Install complete');
slideShow.push('images/gallery/Edinburgh Zoo 080.JPG');
slideShowText.push('The glory of the design in real wood veneers - nothing beats nature');
slideShow.push('images/gallery/Edinburgh Zoo 050.JPG');
slideShowText.push('Perfect polished sheen to bring out the best in the wood');
slideShow.push('images/gallery/Edinburgh Zoo 135.JPG');
slideShowText.push('The credenza .....');
slideShow.push('images/gallery/Edinburgh Zoo 110.JPG');
slideShowText.push('Internal wood veneers');
slideShow.push('images/gallery/Edinburgh Zoo 125.JPG');
slideShowText.push('Book matched veneers to perfection');
slideShow.push('images/gallery/DSC_0009 group2.jpg');
slideShowText.push('The men behind the furniture ....');
slideShow.push('images/gallery/Edinburgh Zoo 014.JPG');
slideShowText.push('... who ensure overall quality to the finish');
slideShow.push('images/gallery/cover6-20.jpg');
slideShowText.push('The End');


var slideshowIndex = 0;
var slideshowTimer = false;

function slideshowNext() {
	if(slideshowIndex == slideShow.length -1) {
		slideshowStop();
		return;
	}
	slideshowIndex = slideshowIndex + 1;
	document.getElementById('slideshowImage').src = slideShow[slideshowIndex];
	preload_image_from_array(slideShow, slideshowIndex + 1);
	document.getElementById('slideshowLabel').innerHTML = slideShowText[slideshowIndex];
}

function slideshowPrevious() {
	if(slideshowIndex == 0) {
		slideshowStop();
		return;
	}
	slideshowIndex = slideshowIndex - 1;
	document.getElementById('slideshowImage').src = slideShow[slideshowIndex];
	document.getElementById('slideshowLabel').innerHTML = slideShowText[slideshowIndex];
}

function slideshowStart(){
	slideshowTimer = setInterval('slideshowNext()', 5000);
	document.getElementById('ssPlay').style.display = 'none';
	document.getElementById('ssPause').style.display = 'inline';
}

function slideshowStop() {
	clearInterval(slideshowTimer);
	slideshowTimer = false;
	document.getElementById('ssPause').style.display = 'none';
	document.getElementById('ssPlay').style.display = 'inline';
}

function slideshowToggle() {
	if(slideshowTimer) {
		slideshowStop();
	} else {
		slideshowStart();
	}
}

function preload_image_from_array(image_array, index_position) {
	if (document.images) {
		preload_image_object = new Image();
		preload_image_object.src = image_array[index_position];
	}
}

window.onload = slideshowStart;


