//This file is the JavaScript include for common footer for all pages;
//It is used as a client-side include: SRC="This file.js"

//e.g.:
//<SCRIPT LANGUAGE="JavaScript" SRC="Footer.js">
    //This file creates a footer when the writeFoot() function is called. e.g:
    //var strBody = whatever()
    //strBody += writeFoot()
    //document.write(strBody)
//</SCRIPT>


//++++++++++++++++++++++++++
function writeFoot(pstrScope)
{

//Vars
        var strFooter = '';                //For content
        var dateStamp = '';

        var hrClass = "hr10";              //classname defined in CSS sheet for HR formatting
        var footerTagClass = "footTag";    //For Footer Tag line ("For booking, contact.")
        var footerClass = "footer";        //For basic text in Footer
        var paraClass = "footer";          //classname defined in CSS sheet for paragraph formatting



           if (Date.parse(document.lastModified) != 0)
                {
                    var dateStamp = 'Page last updated on: ' + document.lastModified;
                }


//Content

	strFooter += '<div class="space3">';
        strFooter += '<hr class="' + hrClass + '">';
        strFooter += '</div>';

        // strFooter += '<p>';
		// strFooter += 'This site is currently under construction; please check back soon!';
		// strFooter += '</p>';

        if (pstrScope == 'Full')
            {


                strFooter += '<p class="' + footerTagClass + '">';
    		    strFooter += 'For more information about Celtic Sands, <br>';
    		    strFooter += 'please call Lara Garner at (650) 359-0903<br>';

    		    strFooter += 'or email her at <a href="mailto:lara@celticsands.com">Lara@CelticSands.com</a><br>';
		        strFooter += '</p>';


                strFooter += '<p class="' + footerClass + '">';
                strFooter += 'Copyright 2006 by Celtic Sands<br>';
                strFooter += '</p>';


                // strFooter += '<p class="' + footerClass + '">';
                // strFooter += dateStamp + ' <br>';
                // strFooter += '</p>';


                //strFooter += '<p class="' + footerTagClass + '">';
                //strFooter += 'Questions? <A HREF="mailto:webhost@celticsands.com">web host</a> <br>';
                //strFooter += '</p>';
            }
        else
            {
                strFooter += '<p class="' + paraClass + '">'
                strFooter += 'Best viewed with Firefox 2.0, Opera 7x, Netscape 7x, and Internet Explorer 6x.';
                strFooter += '</p>'

                strFooter += '<p class="' + paraClass + '">'
                strFooter += dateStamp;
                strFooter += '</p>'
            }





        return strFooter;

}
