

function OnMouseOverHeading(thisTag)
{

		thisTag.style.color = '#993399';

}

function OnMouseOutHeading(thisTag)
{

				thisTag.style.color='#330066';

}

function OnMouseOverSub(thisTag)
{

		thisTag.style.color = '#330066';

}

function OnMouseOutSub(thisTag)
{

				thisTag.style.color='#993399';

}

function councellingMenu(){

				 		sMenu="<table cellpadding='0' border='0' cellspacing='0' width='150' >";
						sMenu+="<tr ><td><a href='index.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Councelling and psychotherapy' class=menulink>Home</a></td></tr>";
						sMenu+="<tr ><td><a href='howiwork.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='How I work' class=menulink>How I work</a></td></tr>";
						sMenu+="<tr ><td><a href='whyme.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Why's this happening to me?' class=menulink>Why's this happening to me?</a></td></tr>";
						sMenu+="<tr ><td><a href='training.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Training and experience' class=menulink>Training/Experience</a></td></tr>";						
						sMenu+="<tr ><td><a href='practicaldetails.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Practical details' class=menulink>Practical Details</a></td></tr>";
						sMenu+="<tr ><td><a href='contact.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='my contact details' class=menulink>Contact me</a></td></tr>";
						sMenu+="<tr ><td><a href='directions.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Direction to my practice in Bristol and Long ashton' class=menulink>Directions</a></td></tr>";
						sMenu+="<tr ><td><a href='links.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Links' class=menulink>Links</a></td></tr>";						
						sMenu+="<tr><td>&nbsp;</td></tr>";
						sMenu+="<tr><td><b>Topics</b></td></tr>";
						sMenu+="<tr ><td><a href='sexuality.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Sexuality' class=menulink>Sexuality</a></td></tr>";
						sMenu+="<tr ><td><a href='anxiety.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Anxiety' class=menulink>Suffering from Anxiety</a></td></tr>";
						sMenu+="<tr ><td><a href='depression.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Depression' class=menulink>Depression</a></td></tr>";
						sMenu+="<tr ><td><a href='bereavement.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Bereavement' class=menulink>Bereavement and loss</a></td></tr>";
						sMenu+="<tr ><td><a href='relationship.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Relationships' class=menulink>Relationship difficulties</a></td></tr>";
						sMenu+="<tr ><td><a href='ambitions.htm' onmouseover='OnMouseOverSub(this);' onmouseout='OnMouseOutSub(this)' title='Ambitions' class=menulink>Frustrated Ambitions</a></td></tr>";						
						sMenu+="<tr><td>&nbsp;</td></tr>";
						sMenu+="</table>";



						return sMenu;
}

function footer(){

				 sfooter="	<!--counselling bottom-->";			
				 sfooter+="<p ><span class=contact>";
				 sfooter+="<center>Phone me on <b>07973 267232</b> or " +getEmail2()+" to arrange an initial consultation</center></span></p>";
				 sfooter+="<p align='center'>";
				 sfooter+="<span align='center' class='normal'><b>Natalie</b> <b >Brooks</b> <A HREF='http://www.bacp.co.uk'>BACP</A> Accredited</a></span></p>";					
				 sfooter+="<p align='center'><span class='normal'>" + DateStamp()+"</span></p>";				

				 document.write(sfooter);

}


function header2(){

		sheader='<table cellpadding="0" border="0" cellspacing="0" width="100%" height="100"><TR>';
		sheader+='<td width=10%>&nbsp;</td>';
		sheader+='<td height="100" align=right >';
		sheader+='<img alt="counselling and psychotherapy logo" src="images/counselling_logo.jpg" height="127" width="162" />';
		sheader+='</td>';
		sheader+='<td valign=middle>';
		sheader+='<span class=heading>Counselling and Psychotherapy</span><br/><span class=subheading>a journey of self-discovery</span>';
		sheader+='<br/><br/>Tel:07973 267232<br/>email:' +getEmail()+'</td><td width=10%>&nbsp;</td>';
		sheader+='</tr></table>';
		
		document.write(sheader);


}


function DateStamp() {
    var d = new Array(
    "Sunday",
    "Monday",
    "Tuesday",
    "Wednesday",
    "Thursday",
    "Friday",
    "Saturday"
    );
    
    var m = new Array(
    "January",
    "February",
    "March",
    "April",
    "May",
    "June",
    "July",
    "August",
    "September",
    "October",
    "November",
    "December"
    );
    
    var today = new Date();
    var day = today.getDate();
    var year = today.getYear();
    if (year < 2000) year += 1900; 
    
    return d[today.getDay()]+", "+m[today.getMonth()]+" "+day+", " + year;
}

function getEmail(){

var part1 = "natalie";
var part2 = "natalie-brooks";
var part3 = ".co.uk";
sString=(part1 + '@' + part2 + part3);


document.write(sString);

}

function getEmail2(){
var part1 = "natalie";
var part2 = "natalie-brooks.co.uk";
var part3 = "email me";
sString=('<a href="mai' + 'lto:' + part1 + '@' + part2 + '">');
sString+=(part3 + '</a>');

return sString;
}

