var contact='';
var home ='';
var moreinfo ='MyFaithSite.com is a FREE space for you to share your thoughts, ideas, prayers, and more with others.<br/>'+
'<br/>'+
'It only takes a few seconds to Join and get your free site.  <br/>'+
'<br/>'+
'You can view <strong>Christian</strong> profiles added by other members of MyFaithSite.com.  The site is designed to provide a way to <b>share your faith</b> in the most open and public way.<br/>'+
'<br/>'+
'Connect with others.  One of the best features is your <b>friends</b> section.  Just add a member to your <b>"Friends"</b> list and we will automatically add a link to their MyFaithSite page.   <br/>'+
'<br/>'+
'Blogs, Stories, and more:  The sky is the limit! Use the "Add a Page" feature to create a blog, story page, or other page.  Just give the page a title and add the content.  It is very easy.<br/><br/><span style="background-color:#FFFFFF;"><big><a href="http://myfaithsite.com/cgi-bin/newstorepdb.pl" style="color:#0000FF;text-decoration:none;">Get Started Now!</strong></big></span>';
 
function WriteLayer(ID,parentID,sText) {
 if (document.layers) {
   var oLayer;
   if(parentID){
     oLayer = eval('document.' + parentID + '.document.' + ID + '.document');
   }else{
     oLayer = document.layers[ID].document;
   }
   oLayer.open();
   oLayer.write(sText);
   oLayer.close();
 }
 else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
   document.getElementById(ID).innerHTML = sText;
 }
 else if (document.all) document.all[ID].innerHTML = sText
}

function switchcontents(ID1,ID2, buttonname) {
 var Text1 ='';
 var Text2 ='';

 if (document.layers) {
   var oLayer1;
   var oLayer2;
   oLayer1 = document.layers[ID1].document;
   oLayer2 = document.layers[ID2].document;
   oLayer1.open();
   oLayer2.open();
   Text1 = oLayer1.value;
   Text2 = oLayer2.value;
   oLayer1.write(Text2);
   oLayer2.write(Text1);
   oLayer1.close();
   oLayer2.close(); 
}
 else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
      Text1 = document.getElementById(ID1).innerHTML;
      Text2 = document.getElementById(ID2).innerHTML;
      document.getElementById(ID1).innerHTML = Text2;
      document.getElementById(ID2).innerHTML = Text1;
 }
 else if (document.all)
  {
    Text1 = document.all[ID1].innerHTML;
    Text2 =  document.all[ID2].innerHTML;
    document.all[ID1].innerHTML = Text2;
    document.all[ID2].innerHTML = Text1;  
  }

 if(buttonname == 'contact' & contact == ''){
   home = Text1;
   contact=Text2;
 }

}
function getcontents(ID1) {
 var Text1 ='';
 if (document.layers) {
   var oLayer1;
   oLayer1 = document.layers[ID1].document;
   oLayer1.open();
   Text1 = oLayer1.value;
   oLayer1.close();
}
 else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
      Text1 = document.getElementById(ID1).innerHTML;
 }
 else if (document.all)
  {
    Text1 = document.all[ID1].innerHTML;
  }
return Text1
}

function showitem(HIDEID) {
 if (document.layers) {
   document.layers[HIDEID].document.style.display = 'inline';
}
 else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
      document.getElementById(HIDEID).style.display = 'inline';
 }
 else if (document.all)
  {
    document.all[HIDEID].style.display = 'inline';
  }
}
function hideitem(HIDEID) {

 if (document.layers) {
   document.layers[HIDEID].document.style.display = 'none';
}
 else if (parseInt(navigator.appVersion)>=5&&navigator.appName=="Netscape") {
      document.getElementById(HIDEID).style.display = 'none';
 }
 else if (document.all)
  {
    document.all[HIDEID].style.display = 'none';
  }
}

