function loadPictures() {
//medium
	imagea = new Image();	imagea.src = "gifs/handy_angle_medium.jpg";
	imageb = new Image();	imageb.src = "gifs/pallet_accessories_medium.jpg"; 
	imagec = new Image();	imagec.src = "gifs/rack_end_protectors_medium.jpg"; 
	imaged = new Image();	imaged.src = "gifs/column_guards_medium.jpg"; 
	imagee = new Image();	imagee.src = "gifs/upright_guards_medium.jpg"; 
	imagef = new Image();	imagef.src = "gifs/fork_entry_bars_medium.jpg"; 
	imageg = new Image();	imageg.src = "gifs/pallet_support_bars_medium.jpg"; 
	imageh = new Image();	imageh.src = "gifs/shelf_panels_medium.jpg"; 
	imagei = new Image();	imagei.src = "gifs/collapse_mesh_medium.jpg"; 
	imagei = new Image();	imagei.src = "gifs/safety_surveys_medium.jpg"; 
//large
	imagej = new Image();	imagej.src = "gifs/handy_angle_large.jpg";
	imagek = new Image();	imagek.src = "gifs/pallet_accessories_large.jpg"; 
	imagel = new Image();	imagel.src = "gifs/rack_end_protectors_large.jpg"; 
	imagem = new Image();	imagem.src = "gifs/column_guards_large.jpg"; 
	imagen = new Image();	imagen.src = "gifs/upright_guards_large.jpg"; 
	imageo = new Image();	imageo.src = "gifs/fork_entry_bars_large.jpg"; 
	imagep = new Image();	imagep.src = "gifs/pallet_support_bars_large.jpg"; 
	imageq = new Image();	imageq.src = "gifs/shelf_panels_large.jpg"; 
	imager = new Image();	imager.src = "gifs/collapse_mesh_large.jpg"; 
	imagei = new Image();	imagei.src = "gifs/safety_surveys_large.jpg"; 
}
function newImage(imagename,imagewidth,imageheight) {
   var newfile = imagename;
   var result;
   result = imagename.indexOf("racking_accessories");
   if (result != -1) {newfile="gifs/racking_accessories_large.jpg";} 
   result = imagename.indexOf("rack_end_protectors");
   if (result != -1) {newfile="gifs/rack_end_protectors_large.jpg";} 
   result = imagename.indexOf("column_guards");
   if (result != -1) {newfile="gifs/column_guards_large.jpg";} 
   result = imagename.indexOf("upright_guards");
   if (result != -1) {newfile="gifs/upright_guards_large.jpg";} 
   result = imagename.indexOf("fork_entry_bars");
   if (result != -1) {newfile="gifs/fork_entry_bars_large.jpg";} 
   result = imagename.indexOf("pallet_support_bars");
   if (result != -1) {newfile="gifs/pallet_support_bars_large.jpg";} 
   result = imagename.indexOf("shelf_panels");
   if (result != -1) {newfile="gifs/shelf_panels_large.jpg";} 
   result = imagename.indexOf("collapse_mesh");
   if (result != -1) {newfile="gifs/collapse_mesh_large.jpg";} 
   result = imagename.indexOf("safety_surveys");
   if (result != -1) {newfile="gifs/safety_surveys_large.jpg";} 

   newscreen=window.open(newfile,'_top','toolbar=no,location=no,directories=no, status=no,  screenX=100, screenY=30, left=100, top=30, scrollbars=no, resizable=yes, copyhistory=no, width=500, height=480');
}

function replaceImage(imageLoc,imageName, imageWidth, imageHeight) {
	document.images[imageLoc].src = imageName;
	document.images[imageLoc].width = imageWidth;
	document.images[imageLoc].height = imageHeight;
	return true;
}

function replaceText(textName) {
	document.formText.picText.value = textName;
	return true;
	}

var palletRacking="Brookstore offer a wide range of accessories to fit your pallet racking enabling you to provide a safe and secure solution to your storage requirements.";
var rackEndProtectors="Rack end Protectors provide a quick and easy solution to the problem of protecting the ends of your pallet racking.";
var columnGuards="Column Guards offer solid three dimensional protection to any rack upright.";
var uprightGuards="Upright Guards offer protection to any pallet rack upright including those within the length of the rack.";
var forkEntryBars="Fork Entry Bars clip over the beams to enable you to store non-palletised items within the rack.";
var palletSupportBars="Pallet Support bars clip over the beams and enable you to safely store smaller pallets than those for which the racks have been designed.";
var shelfPanels="Steel shelf panels fit across the beams to form steel shelves. The shelf panels are available in depths of 900mm and 1000mm and give a load capacity of 700kg over a 2700mm bay.";
var collapseMesh="Anti-collapse mesh back cladding can be fitted to both new and existing pallet racking to provide a safe and secure environment for your personnel as well as ensuring that spillages from pallets are prevented or contained.";
var safetySurveys="Brookstore Ltd offer a service checking the integrity of your Pallet Racking to ensure that it complies with the criteria laid down by SEMA. \n\nTo find out more details please give us a call.";

