function gallery(what){
who = document.getElementById;
var items = [           ["images/gallery/CarrumDownsDryGoods_th.jpg", "images/gallery/CarrumDownsDryGoods.jpg","Ritchies IGA Carrum Downs, Victoria, Australia", "Carrum Downs is Ritchies 4th ILID store with a further 10 stores to be rolled out."],
						["images/gallery/CarrumDownsFridge_th.jpg", "images/gallery/CarrumDownsFridge.jpg","Ritchies IGA, Victoria, Australia", "ILID ESL solutions continue to be rolled out in Ritchies IGA stores Australia wide. Fridges, freezers and shelf talkers all integrate smoothly with ILID labels."],
						["images/gallery/CarrumDownsHBA_th.jpg","images/gallery/CarrumDownsHBA.jpg","Ritchies IGA, Australia", "	A typical Ritchies store with approx 20,000 ILID labels in both the standard SJ and Mini variety. Promotional shelf talkers integrate smoothly with ILID’s unique StripGrabber™ design."],
                        ["images/gallery/CarrumDownsJam_th.jpg", "images/gallery/CarrumDownsJam.jpg","", "Label colours, shelf stripping and shelf talkers can be specifically chosen by a store to match their corporate colours."],
                        ["images/gallery/Mirrabooka_th.jpg", "images/gallery/Mirrabooka.jpg","Action Mirrabooka, Perth, Australia", "Mirrabooka is ILID’s first installation in Western Australia. The technology and the use of generic shelf talkers have resulted in significant time savings for Action."],
						["images/gallery/OrganicCafeDubai_th.jpg","images/gallery/OrganicCafeDubai.jpg","Organic Foods & Café, Satwa, Dubai", "Organic Foods & Cafés are boutique supermarkets in Dubai specialising in organic and health foods. ILID are perfect for raising the profile of a store at the shelf edge, offering a sleek design for any retailer."],
                        ["images/gallery/OSGCarterton_th.jpg", "images/gallery/OSGCarterton.jpg","OSG Co-operative Society, Carterton, UK", "Oxford, Swindon & Gloucester (OSG) Co-op is one of the largest independent food retailers in the UK. ILID has several stores already installed with many more planned in the near future."],
						["images/gallery/WellcomeHBA_th.jpg", "images/gallery/WellcomeHBA.jpg","", "Health & Beauty typically has the highest density of ILID labels. The MJ is perfect for narrow facings found in HBA and difficult pricing areas such as spices, sauces etc. ILID are able to customize labels and shelf talkers to match corporate colours and maintain dual language requirements."],
						["images/gallery/WMCSSedgley_th.jpg", "images/gallery/WMCSSedgley.jpg","WMCS, Sedgley, UK", "ILID also has several stores installed with West Midlands Co-operative Society in the UK. WMCS are an innovative retailer in the UK leading the way with new technology including ILID and Self Scanning."],						
						["images/gallery/Burwood_th.jpg","images/gallery/Burwood.jpg","Kmart Burwood, Victoria, Australia", "Burwood is Kmart's 24hr trading flagship store. Installed in 2000, it is the largest ILID installation with over 40,000 ILID labels in service."],
                        ["images/gallery/BurwoodPegHooks_th.jpg", "images/gallery/BurwoodPegHooks.jpg","Kmart Burwood, Victoria, Australia", "ILID labels integrate well with existing peg hooks and hangers."]
			 ]
			 
document.getElementById('thumb1').innerHTML = '<a href="#"><img src="' + items[0][0] + '" class="thumbs"></a>';
document.getElementById('thumb2').innerHTML = '<a href="#"><img src="' + items[1][0] + '"class="thumbs"></a>';
document.getElementById('thumb3').innerHTML = '<a href="#"><img src="' + items[2][0] + '"class="thumbs"></a>';
document.getElementById('thumb4').innerHTML = '<a href="#"><img src="' + items[3][0] + '"class="thumbs"></a>';
document.getElementById('thumb5').innerHTML = '<a href="#"><img src="' + items[4][0] + '" class="thumbs"></a>';
document.getElementById('thumb6').innerHTML = '<a href="#"><img src="' + items[5][0] + '"class="thumbs"></a>';
document.getElementById('thumb7').innerHTML = '<a href="#"><img src="' + items[6][0] + '"class="thumbs"></a>';
document.getElementById('thumb8').innerHTML = '<a href="#"><img src="' + items[7][0] + '"class="thumbs"></a>';
document.getElementById('thumb9').innerHTML = '<a href="#"><img src="' + items[8][0] + '"class="thumbs"></a>';
document.getElementById('thumb10').innerHTML = '<a href="#"><img src="' + items[9][0] + '"class="thumbs"></a>';
document.getElementById('thumb11').innerHTML = '<a href="#"><img src="' + items[10][0] + '"class="thumbs"></a>';

document.getElementById('photo_section').innerHTML = '<img src="' + items[what][1] + '">';
document.getElementById('heading_section').innerHTML = items[what][2];
document.getElementById('text_section').innerHTML = items[what][3];
}

function scrollUp(){
well =parseInt(document.getElementById('thumbHolder').style.top);
huh = well - 70 + 'px';
document.getElementById('thumbHolder').style.top = huh;

}
function scrollDown(){
well =parseInt(document.getElementById('thumbHolder').style.top);
huh = well + 70 + 'px';
document.getElementById('thumbHolder').style.top = huh;

}
// JavaScript Document