
/*
blink: 
use example: 
<body onload="changeColour('flashtext');">
<p id="flashtext">This text will flash!!!</p>
*/
function changeColour(elementId) {
 // alert("hello");
    var interval = 800;
    var colour1 = "yellow";
    var colour2 = "blue";
    if (document.getElementById) {
        var element = document.getElementById(elementId);
        element.style.background = (element.style.background == colour1) ? null : colour1;
        setTimeout("changeColour('" + elementId + "')", interval);
    }
}


