var numOfQuotes = 14;
function quote() {
var quote = new Array(numOfQuotes + 1);
quote[0]="Are you looking for information or advice about materials and their uses? Have you got a materials problem? Contact our Materials Information Service.";
quote[1]="What is the Institute? What services does it offer and how can it help you? Find the answer to these and more questions on our frequently asked questions page.";
quote[2]="Looking for room hire in the Midlands? Try The Boilerhouse, Grantham - a flexible venue for your meeting, conference or exhibition.";
quote[3]="The Institute offers a range of industry-recognised packaging courses and qualifications endorsed by The Packaging Society.";
quote[4]="The IOM3 Library provides a wide range of books and journals, a photocopying service and items of historical interest.";
quote[5]="Looking for an expert witness - or just an expert? Visit our Consultants' Directory.";
quote[6]="IMMAGE is the world's foremost database of abstracts of minerals industry literature. IOM3 members have free access.";
quote[7]="IOM3 offers a range of industry-recognised wood technology courses endorsed by IWSc: The Wood Technology Society.";
quote[8]="The IOM3 Schools Affiliate Scheme supports the teaching of materials, minerals & mining-related subjects in schools.";
quote[9]="The Institute awards numerous medals and prizes for achievement within the profession and for published work.";
quote[10]="Starpack is the premier UK annual award scheme recognising innovation in packaging design and technology.";
quote[11]="IOM3 sponsors the Young Persons' Lecture Competition, in which people under 28 deliver short lectures on materials subjects.";
quote[12]="Institute members receive a range of great benefits including free magazines, premium web content and discounts on events, publications and room hire.";
quote[13]="Visit the IOM3 Supplier Marketplace for information about products and services for the materials and minerals industries.";
quote[14]="Have an email sent to you automatically when items of interest are published on the website. Content alerts";
indxOfQuote = rndInteger();
strQuote = quote[indxOfQuote];
return strQuote;
}
function rndInteger() {
var rndNumber = -1;
while (rndNumber <0 || rndNumber > numOfQuotes || isNaN(rndNumber)) {
rndNumber = parseInt(Math.random() * (numOfQuotes + 1));
}
return rndNumber;
}