// JavaScript Document
// swap photos and collapse buttons 

function swap(targetId,buttonId){
  
  if (document.getElementById)
        {
        target = document.getElementById(targetId);
        buttonName = document.getElementById(buttonId);
        
            if (target.style.display == "none")
                {
                target.style.display = "";
                } 
            
            else 
                {
                target.style.display = "none";
                }
                
            if (target.style.display == "none")
                {
                buttonName.src = "Assetts/Images/nav_open.gif";
                }
            else 
                {
                buttonName.src = "Assetts/Images/nav_close.gif";
                }
        }
}

<!--
// Hide from old browsers
  // Status Bar Scroller 
  // All you have to do is put another text in the variable message.
  // Don't forget to break all lines with a ^
  // When you do not place a ^ at the end of all the message, the
  // message will not repeat
  message     = " Welcome to the Carers Christian Fellowship Website.^" +
                " The Carers Christian Fellowship aims to offer a link and support for Christians... ^" +
                " who are caring in some way for a relative, friend or neighbour....^" +
				" The Carers Christian Fellowship seeks to come alongside all those,...^" +
                " whose lives have been touched by the experience of caring for those close to them. ^" +
                " CCF is managed by a small committee of carers and those involved with caring.^" +
				" We hope that our website is helpful, informative and of interest to you, please visit us soon...^" +
				" God is our refuge and strength, an ever present help in trouble.. (Psalm46:1)^" +
				" The Lord is near to all who call on him, to all who call on him in truth. (Psalm 145.18) ^" +
				" Jesus said:Come to me, all you who are weary and burdened, and I will give you rest. (Matt.11.28) ^" +
				" You are my refuge and my shield, I have put my hope in your word. (Psalm119.114) ^" +
				"^"
  scrollSpeed = 25
  lineDelay   = 2500
  // Do not change the text below //
  txt         = ""
  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  }
  // Unhide -->
scrollText(0)
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
