<!--

//menu titles
var sect=new Array('Welcome!','<hr>&nbsp;&nbsp;Learn Tarot','<hr>&nbsp;&nbsp;Tarot Events','<hr>&nbsp;&nbsp;Tarot Readings','<hr>&nbsp;&nbsp;Birth Cards','<hr>&nbsp;&nbsp;Resources','<hr>&nbsp;&nbsp;Contact Us');

//menu contents
var menu0=new Array('Home','Site Map','School Calendar','The Tarot School Story','Blog');
var links0=new Array('index.html','sitemap.html','Calendar.html', 'OurStory.html','wordpress/');
var menu1=new Array('Classes','Correspondence Course','Audio Courses','Teleclasses','Books','Music','Degree Programs','Private Coaching','About the Instructors','Order/Registration Form');
var links1=new Array('Classes.html','Course.html','Audio.html','Teleclasses.html','Books.html','Music.html','Degree.html','Coaching.html','Instructors.html','http://www.tarotschool.com/cgi-bin/miva?Order/order.mv');
var menu2=new Array('2011 Readers Studio','Intensives');
var links2=new Array('/RS11/index.html','Intensives.html');
var menu3=new Array('Private Readings','Parties','Corporate Events','Free Readings');
var links3=new Array('PrivateReadings.html','Parties.html','Corporate.html','FreeReadings.html');
var menu4=new Array('Birth Card Calculator','Birth Card Notebook','Birth Card Audio Course','Tarot School Shoppe');
var links4=new Array('Calculator.html','BirthCards.html','Audio.html#Psychology','http://www.cafepress.com/tarotschool');
var menu5=new Array('Tarot Tips Newsletter','Articles','Interviews','Links','Gift Certificates');
var links5=new Array('Newsletter.html','ArticleIndex.html','Interviews.html','Links.html','GiftCertificates.html');
var menu6=new Array('800-804-2184','Email','Location','<hr>');
var links6=new Array('Contact.html','Contact.html','Location.html');


//build up menu URL's
function goToPage(theSect, thePage) {
	thePath=eval('links' + theSect + '[' + thePage + ']');
		newPath=thePath;
		self.location.href=newPath;
}

//loop to build menu links and populate menu titles
function addLinks(whichMenu,whichSect) {
	arrayLength=whichMenu.length;
	var i=0;
	var m=whichMenu;
		for (var i=0; i<arrayLength; i++){
			document.write("<td bgcolor='#FFFFFF'><img src='images/spacer.gif' width='8' border='0'><a class='VmenuSub' href='javaScript:goToPage(" + whichSect + "," + i + ")'>" + m[i] + "</a></td></tr><tr>")
		}
	document.write("</tr><tr><td><img src='images/spacer.gif' border='0'></td></tr><tr>");
}

//loop to build menu titles
function createTable(){
	document.write("<table width='165' cellspacing='2' cellpadding='0' border='0'><tr>");
		for (var i=0; i<sect.length; i++){	
			document.write("<td bgColor='#FFFFFF' height='20'><img src='images/spacer.gif' width='7' border='0'><span class='VmenuSect'>" + sect[i] + "</td></tr><tr>");		
			addLinks(eval("menu" + i),i);	
		}	
	document.write("</td></tr></table>");

//AWEBER
document.write('<center><form method="post" action="http://www.aweber.com/scripts/addlead.pl" target="_new">')
document.write('<input type="hidden" name="meta_web_form_id" value="1322490446">')
document.write('<input type="hidden" name="meta_split_id" value="">')
document.write('<input type="hidden" name="unit" value="tarotschool">')
document.write('<input type="hidden" name="redirect" value="http://www.aweber.com/form/thankyou_vo.html" id="redirect_51726fb88bf35ca83c843fb978371088">')
document.write('<input type="hidden" name="meta_redirect_onlist" value="">')
document.write('<input type="hidden" name="meta_adtracking" value="">')
document.write('<input type="hidden" name="meta_message" value="1">')
document.write('<input type="hidden" name="meta_required" value="from">')
document.write('<input type="hidden" name="meta_forward_vars" value="0">')
document.write('<table>')
document.write('<tr><td colspan=2><P style="font-size: 9pt; text-align:center"><img src="http://tarotschool.com/images/trumpets.png"><br>Sign up today for<br>news and tips from<br>The Tarot School<br>and get our very<br>special audio class<br>\"Birth of a Question\"<br>as your bonus gift!</p></td></tr>')
document.write('<tr><td>Name<BR><input type="text" name="name" value="" size="20"></td></tr>')
document.write('<tr><td>Email<BR><input type="text" name="from" value="" size="20"></td></tr>')
document.write('<tr><td colspan=2><P style="font-size: 9pt; text-align:center"><i>We will never share<br>your information<br>with anyone.</i></p></td></tr>')
document.write('<tr><td align="center" colspan="2"><input type="submit" name="submit" value="Submit"></td></tr>')
document.write('</table>')
document.write('</form>')


// Facebook badge
document.write('<a href="http://www.facebook.com/tarotschool" target=_blank>');
document.write('<br><img src="images/find_us_on_facebook_badge.gif" alt="Find us on Facebook">');
document.write('<br>Click here for our Facebook page!');
document.write('</a>');


//GOOGLE SEARCH

document.write('<!-- SiteSearch Google -->')
document.write('<FORM method=GET action="http://www.google.com/search" target="new">')
document.write('<input type=hidden name=ie value=UTF-8>')
document.write('<input type=hidden name=oe value=UTF-8>')
document.write('<TABLE bgcolor="#FFFFFF" border=0><tr><td>')
document.write('<br><br><A HREF="http://www.google.com/" target="new">')
document.write('<IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0" width="96" height="40"  ALT="Google"></A>')
document.write('</td>')
document.write('</tr><tr>')
document.write('<td>')
document.write('<INPUT TYPE=text name=q size=20 maxlength=255 value=""><br>')
document.write('<INPUT type=submit name=btnG VALUE="Google Search">')
document.write('<font size=-1>')
document.write('<input type=hidden name=domains value="http://www.TarotSchool.com"><br><input type=radio name=sitesearch value=""> Web<br> <input type=radio name=sitesearch value="http://www.tarotschool.com" checked> TarotSchool.com<br>')
document.write('</font>')
document.write('</td></tr></TABLE>')
document.write('</FORM>')
document.write('<!-- SiteSearch Google -->')

}


//**RIGHT SIDE

function locationBar(){
	document.write("<table cellspacing='0' cellpadding='0' border='0'><tr height='23' valign='top'>");
	document.write("<td bgcolor='#FFFFFF'><span class='locBar'><img src='images/spacer.gif' width='6' border='0'>Location:<img src='images/spacer.gif' width='6' border='0'></td>");
	for (var i=0; i<locLabels.length; i++){
		if (i==0) {
			document.write("<td bgColor='#FFFFFF'>");
			document.write("<span class='locBar'>" + locLabels[i]+"<img src='images/spacer.gif' width='6' border='0'>/</td><td></td>");
		} else {
			document.write("<td bgColor='#FFFFFF' height='20'>");
			document.write("<A class='locSub' HREF='"+ locHREFs[i] +"'><img src='images/spacer.gif' width='4' border='0'>");
			document.write("<span class='locSub'>" + locLabels[i]+"<img src='images/spacer.gif' width='6' border='0'>/ </A></td>");
		}
	}
	document.write("<td></td>");
	document.write("</tr></table>");
}

function buildHeader(){
	document.write("<table border='0' cellspacing='0' cellpadding='0' height=100%>");
	document.write("<tr valign='middle'>");
	document.write("<td bgcolor='#FFFFFF' width=163><center>");
	document.write("<A Name='top' href='index.html'><img src=images/TarotLogoemboss.gif width=127 height=211 border=0></A><br></td>");
	
	document.write("<td bgColor='#FFFFFF' width='678'><img src=images/header.jpg width=678 height=188>");
	document.write("<script language='javaScript'>locationBar();</script>");
	document.write("<img src=images/fractalbar.jpg width=678 height=10></td>");
	document.write("<td bgColor='#FFFFFF' width=500></td></tr>");
}
function buildMenu(){
	document.write("<tr valign='top'>");
	document.write("<td bgcolor='#FFFFFF' valign='top' width='163'>");
	document.write("<script language='javaScript'>createTable();</script>");
	document.write("</td><td>");
}
function closePage(){
	document.write("</td></td><td bgColor='#FFFFFF' width=500></td></tr>");
	document.write("<tr bgcolor='#99FFFF'>");
	document.write("<td height=100% bgcolor='#FFFFFF'><img src=images/spacer.gif  border='0' width=151 height=100%></td>");
	document.write("<td bgColor='#FFFFFF'><img src=images/fractalbar.jpg width=678 height=10></td><td bgColor='#FFFFFF' width=500></td></tr>");
	document.write("<tr><td bgcolor='#FFFFFF'></td><td bgcolor='#FFFFFF'><script language='javaScript'>locationBar();</script></td><td bgColor='#FFFFFF' width=500></td></tr>");

	document.write("<tr><td bgcolor='#FFFFFF'></td><td bgcolor='#FFFFFF'><center><p class='copyright'>Copyright &copy;1998-2010 The Tarot School. All rights reserved.</p></center></td><td bgColor='#FFFFFF' width=500></td></table>");
	




}
// -->