// JavaScript Document
// set the navbar class to be the same as the current page to trigger the style of the link for the current page in the
// iframe element
var gThisPage;  // the global variable for the current page object in the IFrame

window.self.defaultStatus="Welcome to James Watsons PSYCHIC Website";

function SetClassName(CurrentPage, elemID) {
//			<li><a class="p1" href="homepage.html" target="dataframe">Home Page</a> </li>
//			<li><a  class="p2" href="news.html">Newsletter</a></li>
//			<li><a class="p3" href="mailto: jcwat@rjwweb.co.uk">Contact Me</a> </li>
//			<li><a class="p4" href="readings.html"> Readings </a> </li>
//			<li> <a class="p5" href="hypno.html">Hypnotherapy </a> </li>
//			<li> <a class="p6" href="books.html">Books</a></li>
//			<li> <a class="p7" href="seminars.html">Seminars</a></li>
//			<li> <a class="p8" href="training.html">Training</a></li>
var Frm = (parent.document.all) ? parent.document.all(elemID) : parent.document.getElementById(elemID);
if (Frm) {
	Frm.className=CurrentPage;
	}
//alert("CurrentPage=" + CurrentPage + " elemID=" +elemID + "Frm Name=" + Frm.name);

}

function setWindowStatus (msg) {

}
