function random(maxValue)
{
 day = new Date();
 hour = day.getHours();
 min = day.getMinutes();
 sec = day.getSeconds();
 return (((hour + 3) * (min + 3) * sec) % maxValue) + 1;
}

function MakeArray(size)
{
 this.length = size;
 for(var i = 1; i <= size; i++)
 {
 this[i] = 0;
 }

 return this;
}

function showRandom()
{
 textArray = new MakeArray(11);
 textArray[0] = "Around a third of all the heat lost in an un-insulated home is lost through the walls.";
 textArray[1] = "Cavity wall insulation is a fantastic way to significantly reduce the amount of energy you need to heat your home and could save you around &pound;120 a year on your fuel bills.";
 textArray[2] = "Using a gap sealant to fill the gaps in between the skirting board and the floor could save you around &pound;40 each year.";
 textArray[3] = "PUR/PIR insulation is amongst the thinnest and lightest solutions to the requirements of the UK Building Regulations.";
 textArray[4] = "Valuable additional living space can easily be created with rafter level insulation.";
 textArray[5] = "PUR/PIR insulation can give a useful life in excess of 50 years with a constant thermal performance";
 textArray[6] = "PUR/PIR insulation products are non-fibrous and do not emit harmful emissions";
 textArray[7] = "PUR/PIR insulation products are amongst the most thermally efficient of all commonly available insulants";
 textArray[8] = "PUR/PIR insulation products can eliminate cold bridging and condensation";
 textArray[9] = "PUR/PIR insulation boards are easy to handle and install";
 textArray[10] = "PUR/PIR insulation products are resistant to moisture ingress";
 textArray[11] = "PUR/PIR insulation products offer a constant thermal performance for lifetime of the building";
 
 document.write(textArray[random(11)]);
}
