function loadPictures() {
//medium
	imagea = new Image();	imagea.src = "gifs/handy_angle_medium.jpg";
	imageb = new Image();	imageb.src = "gifs/handy_angle_medium.jpg";
	imagec = new Image();	imagec.src = "gifs/small_parts_medium.jpg";
	imaged = new Image();	imaged.src = "gifs/handy_bins_medium.jpg";
	imagee = new Image();	imagee.src = "gifs/dividers_medium.jpg";
	imagef = new Image();	imagef.src = "gifs/plastic_drawers_medium.jpg";
	imageg = new Image();	imageg.src = "gifs/retainer_clips_medium.jpg";
	imageh = new Image();	imageh.src = "gifs/tie_bars_medium.jpg";
	imagei = new Image();	imagei.src = "gifs/wire_spigot_medium.jpg";
	imagej = new Image();	imagej.src = "gifs/welded_spigot_medium.jpg";
	imagek = new Image();	imagek.src = "gifs/plastic_containers_medium.jpg";
	imagel = new Image();	imagel.src = "gifs/storage_cabinets_medium.jpg";
	imagem = new Image();	imagem.src = "gifs/plastic_trays_medium.jpg";
	imagen = new Image();	imagen.src = "gifs/drawer_cabinets_medium.jpg";
//large
	imageo = new Image();	imageo.src = "gifs/handy_angle_large.jpg";
	imagep = new Image();	imagep.src = "gifs/handy_angle_large.jpg";
	imageq = new Image();	imageq.src = "gifs/small_parts_large.jpg";
	imager = new Image();	imager.src = "gifs/handy_bins_large.jpg";
	images = new Image();	images.src = "gifs/dividers_large.jpg";
	imaget = new Image();	imaget.src = "gifs/plastic_drawers_large.jpg";
	imageu = new Image();	imageu.src = "gifs/retainer_clips_large.jpg";
	imagev = new Image();	imagev.src = "gifs/tie_bars_large.jpg";
	imagew = new Image();	imagew.src = "gifs/wire_spigot_large.jpg";
	imagex = new Image();	imagex.src = "gifs/welded_spigot_large.jpg";
	imagey = new Image();	imagey.src = "gifs/plastic_containers_large.jpg";
	imagez = new Image();	imagez.src = "gifs/storage_cabinets_large.jpg";
	imageaa = new Image();	imageaa.src = "gifs/plastic_trays_large.jpg";
	imageab = new Image();	imageab.src = "gifs/drawer_cabinets_large.jpg";
}

function newImage(imagename,imagewidth,imageheight) {
   var newfile = imagename;
   var result;
   result = imagename.indexOf("handy_angle");
   if (result != -1) {newfile="gifs/handy_angle_large.jpg";}
   result = imagename.indexOf("small_parts");
   if (result != -1) {newfile="gifs/small_parts_large.jpg";}
   result = imagename.indexOf("handy_bins");
   if (result != -1) {newfile="gifs/handy_bins_large.jpg";}
   result = imagename.indexOf("dividers");
   if (result != -1) {newfile="gifs/dividers_large.jpg";}
   result = imagename.indexOf("plastic_drawers");
   if (result != -1) {newfile="gifs/plastic_drawers_large.jpg";}
   result = imagename.indexOf("retainer_clips");
   if (result != -1) {newfile="gifs/retainer_clips_large.jpg";}
   result = imagename.indexOf("tie_bars");
   if (result != -1) {newfile="gifs/tie_bars_large.jpg";}
   result = imagename.indexOf("wire_spigot");
   if (result != -1) {newfile="gifs/wire_spigot_large.jpg";}
   result = imagename.indexOf("welded_spigot");
   if (result != -1) {newfile="gifs/welded_spigot_large.jpg";}
   result = imagename.indexOf("plastic_containers");
   if (result != -1) {newfile="gifs/plastic_containers_large.jpg";}
   result = imagename.indexOf("storage_cabinets");
   if (result != -1) {newfile="gifs/storage_cabinets_large.jpg";}
   result = imagename.indexOf("plastic_trays");
   if (result != -1) {newfile="gifs/plastic_trays_large.jpg";}
   result = imagename.indexOf("drawer_cabinets");
   if (result != -1) {newfile="gifs/drawer_cabinets_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 smallParts="Brookstore offer a wide range of answers to your small parts storage questions.";
var handyBins="Handy Bins are the perfect solution for orderly storage of small parts.";
var dividers="Grey plastic dividers for use in CP6 plastic containers.";
var plasticDrawers="High impact plastic drawers for use with Euro Shelving. Also available with light grey plastic dividers for sub-dividing plastic drawer units and connecting clips for joining drawers so they can be accessed together";
var retainerClips="Zinc plated steel clips to hold containers to louvred panels.";
var tieBars="For use when stacking loaded containers.";
var wireSpigot="Designed to carry awkward shaped items on louvred panels, manufactured from 5mm wire";
var weldedSpigot="Designed to carry awkward shaped items on louvred panels, manufactured from 16swg plate, 16mm square tube or 12.7mm diameter round tube.";
var plasticContainers="Brookstore offer a complete range of plastic storage bins including stack/nest and stack only types, both with and without lids.";
var storageCabinets="Brookstore offer a complete range of small parts storage cabinets complete with all the dividers etc.";
var plasticTrayStorage="Brookstore offer a wide variety of plastic storage trays together with a comprehensive range of shelving.";
var drawerCabinets="Brookstore offer a wide variety of steel drawer cabinets for the storage of small components.";
