 function rimg(){
		 var rndimage=document.getElementById("rndimage");
		   var ran = Math.floor( 1 + Math.random() * 6 );
		  switch (ran){
		case 1:
		   	var capt ="<p>Clean & Sterilise all Equipment that comes into contact with the brew, including stirring spoon and hydrometer. The most common problem with home brews is unsterilized equipment<a href='advice.html#" + ran + "'>read more</a></p>";
		   	
		   	break;
		case 2:
		    capt ="<p>When using a hydrometer, take a reading of where the beer cuts across the hydrometer. If the hydrometer remains in the beer for any length of time, the gas bubbles will interfere and give an inaccurate reading. <a href='advice.html#" + ran + "'>read more</a></p>";
			
			break;
		case 3:
			capt ="<p>Before bottling there should be no bubbles rising to the surface and the top inch of the beer should have lost the milky appearance caused by yeast in suspension. <a href='advice.html#" + ran + "'>read more</a></p>";
			
			break;
		case 4:
		    capt ="<p>Rinse out beer bottles after emptying and store upside down in a crate. Bottles should then only require sterilising prior to filling... <a href='advice.html#" + ran + "'>read more</a></p>";
			
			break; 
		case 5:
			capt ="<p>it’s a good practice to soak the yeast in water before adding to the brew. Add the yeast to a sterilized glass... <a href='advice.html#" + ran + "'>read more</a></p>";
			
			break; 
		case 6:
			capt ="<p>Beer made with brew enhancers or malt extract will have a better head than beer made with dextrose  If your beer doesn’t have enough head... <a href='advice.html#" + ran + "'>read more</a></p>";
			
			break;
		default:
			
			capt ="<p>Remove the airlock before taking a tap sample to prevent water from your airlock being drawn into the brew. <a href='advice.html#7'>read more</a></p>";
			}
	   rndimage.innerHTML =  (capt);
	   }
   