function toggledisplayFooter () {
   document.getElementById('showFoot').style.visibility = 'visible';
}
function toggledisplayText () {
   document.getElementById('showText').style.visibility = 'visible';
}
function fade (element, from, to, current) {
    element.style.visibility = 'visible';
if (typeof current == 'undefined') {
current = from;
}
if (typeof element.style.opacity != 'undefined') {
element.style.opacity = current;
}
else if (typeof element.style.filter != 'undefined') {
element.style.filter =
'progidXImageTransform.Microsoft.Alpha(opacity=' + (current * 100) +
')';
}
if (from > to) {
current -= 0.1;
current = Math.round(current * 100) / 100;
if (current >= to) {
setTimeout(function () { fade(element, from, to, current); },
50);
}
}
else {
current += 0.1;
current = Math.round(current * 100) / 100;
if (current <= to) {
setTimeout(function () { fade(element, from, to, current); },
50);
}
}
}
function changeSpanText(newstring)
{
   var previousInnerText = new String(); 
        
   previousInnerText = document.getElementById('span1').innerHTML; 
   //previousInnerText = previousInnerText.concat(newstring); 
   // document.getElementById('span1').innerText = previousInnerText;
   document.getElementById('span1').innerHTML = newstring;
}
 

