<!--
var flvl = '';
var locHREF = location.href;       // physical
var firstpos = locHREF.lastIndexOf('/')+1;
var lastpos  = locHREF.lastIndexOf('.')+4; 
var subFile = locHREF.substring(firstpos,lastpos);
var strURL = 'www.martinownersclub.com';

//alert("lp = " + lastpos + "fp = " + firstpos + " subf = |" + subFile + "|\nhref= " + locHREF);
/* [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] */
function mocHeader(){
document.write("<table width='1000' cellpadding='0' cellspacing='0' border='0'>");
document.write("<tr><td width='700'><img src='images/headerlogo.jpg' width=700 height=90></td>");
document.write("<td width=300><form method='post' action='https://www.martinownersclub.com/owners/login.php'>");
document.write("<table width='300' cellpadding=0 cellspacing=0>");
document.write("<tr><td class='frm'>Member Id<font color=#909090></font><br><input type=text name=clubname></td><td class='frm'>Password<br><input type='password' name=clubpass></td></tr>");
document.write("<tr><td><input type=image src='images/login.jpg' border=0></td><td class='gry' valign=top>case sensitive</td></tr>");
document.write("<tr><td colspan=2><a href='https://www.martinownersclub.com/owners/iforget.php' class='frm'>Forgot your member id and/or password?</a></td></tr>");
document.write("</table></form>");
document.write("</td></tr>");
document.write("</table>");
}
/* [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] */
function mocMenu(){
document.write("<table cellpadding=0 border=0 cellspacing=0 id='navigation' width=1000><tr bgcolor=#efefef>");
switch (subFile){
//-----------------------------------------------------------------------/root folder/
case "xxx.php":
document.write("<td class=tpmenu>&nbsp;</td>");
document.write("<td class=tpmenu><a href='index.html' class=topmnu>Home</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='about.html' class=topmnu>About Club</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='benefits.html' class=topmnu>Benefits</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='join.html' class=topmnu>Join or Renew</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='faq.html' class=topmnu>FAQ</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='contact.html' class=topmnu>Contact</a></td>");
document.write("<td class=tpmenu>&nbsp;</td>");
break;
//-----------------------------------------------------------------------/root folder/
default:
document.write("<td class=tpmenu>&nbsp;</td>");
document.write("<td class=tpmenu><a href='index.html' class=topmnu>Home</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='about.html' class=topmnu>About Club</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='benefits.html' class=topmnu>Benefits</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='join.html' class=topmnu>Join or Renew</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='faq.html' class=topmnu>FAQ</a></td>");
document.write("<td width=1><img src='images/mnuSep.jpg' height=25></td>");
document.write("<td class=tpmenu><a href='contact.html' class=topmnu>Contact</a></td>");
document.write("<td class=tpmenu>&nbsp;</td>");
break;
}
document.write("</tr></table>");
}
/* [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] */
function MartinTV(){
	//newwindow=window.open('MartinTV.php','mtv','height=590,width=950,left=30,top=20,toolbar=0,resizable=0,status=0,menubar=0');
	newwindow=window.open('http://media.martinguitar.com/MartinTV.php','mtv','height=590,width=950,left=30,top=20,toolbar=0,resizable=0,status=0,menubar=0');
	if (window.focus){ newwindow.focus()
}}

/* [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] */
function mocSideBar(){
switch (subFile){
//-----------------------------------------------------------------------/root folder/
case "join.htm":
document.write("<table width='300' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td height='320' valign='middle' bgcolor='#ffffdb' align='center'>");
document.write("<image src='images/2010MOC_event.jpg' vspace=8 border=0><br>");
document.write("<a href='event2010.html'>More Information</a><br></td></tr>");
document.write("</table>");
break;
case "thanks.htm":
document.write("<table width='300' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td height='320' valign='middle' bgcolor='#ffffdb' align='center'>");
document.write("<image src='images/2010MOC_event.jpg' vspace=8 border=0><br>");
document.write("<a href='event2010.html'>More Information</a><br></td></tr>");
document.write("<tr><td height='10' valign='middle' bgcolor='#ffffdb' align='center'>");
document.write("</td></tr>");
document.write("</table>");
break;
default:
document.write("<table width='300' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td height='320' valign='middle' bgcolor='#ffffdb' align='center'>");
document.write("<image src='images/2010MOC_event.jpg' vspace=8 border=0><br>");
document.write("<a href='event2010.html'>More Information</a><br></td></tr>");
document.write("<tr><td colspan=2 width='300' bgcolor='#5a5f65' align='center'>");
document.write("<a href='join.html'><img src='images/join.jpg' vspace=10 border=0></a></td></tr>");
document.write("</table>");
break;
}}
/* [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] */
function mocFooter(){
document.write("<br>");
document.write("<table width='1000' height='92' border='0' cellpadding='0' cellspacing='6'>");
document.write("<tr><td width='142' height='80'><a href='http://www.martinguitar.com' target=_cfm><img src='images/footer.jpg' width='187' height='89' border=0></a></td>");
document.write("<td width='858' valign=top>");
document.write("<table border='0' cellpadding='0' cellspacing='0'><tr><td class='ftr1'>");
document.write("<b>The Martin Owners Club unites thousands of people from around the world who share one passion.</b>");
document.write("</td></tr>");
document.write("<tr><td class='ftr2'>&copy;2010 C. F. Martin &amp; Co., Inc.<br>");
document.write("510 Sycamore Street, P.O. Box 329, Nazareth, PA 18064-0329</td></tr>");
document.write("<tr><td>&nbsp;</td></tr>");
document.write("<tr><td><a href='privacy.html'><font color=#800000>Privacy Policy</font></a></td></tr>");
document.write("</table></td></tr>");
document.write("</table><p>&nbsp;</p>");
}
-->
