/* Editor:CLS,  DATE:13.OCT.2009 */

function writeHeader() {
var txt0 ='<table border="0" cellpadding="0" cellspacing="0" width="722"><tr>';    
var txtHome ='<td><a href="index.html"><img id="home" src="images20/smaller/home.jpg" width="121" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/home.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/homeOver.jpg\'; return true;"></a></td>';
var txtServ ='<td><a href="services.html"><img id="service" src="images20/smaller/services.jpg" width="121" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/services.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/servicesOver.jpg\'; return true;"></a></td>';
var txtPric ='<td><a href="pricing.html"><img id="price" src="images20/smaller/pricing.jpg" width="121" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/pricing.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/pricingOver.jpg\'; return true;"></a></td>';
var txtCont ='<td><a href="contact.html"><img id="contact" src="images20/smaller/contact.jpg" width="122" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/contact.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/contactOver.jpg\'; return true;"></a></td>';
var txtAbou ='<td><a href="about.html"><img id="about" src="images20/smaller/about.jpg" width="123" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/about.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/aboutOver.jpg\'; return true;"></a></td>';
var txt5 ='<td><a href="http://queerdating.Blogspot.com/" target=_new><img id="adviceBlog" src="images20/smaller/adviceBlog.jpg" width="118" height="41" border="0" alt="" onMouseOut="this.src=\'images20/smaller/adviceBlog.jpg\'; return true;" onMouseOver="this.src=\'images20/smaller/adviceBlogOver.jpg\'; return true;"></a></td>';
var txt6 ='</tr></table>';

if(document.URL.indexOf('index') != -1) {
txtHome ='<td><img id="home" src="images20/smaller/homeOver.jpg"></td>';
}
if(document.URL.indexOf('services') != -1) {
txtServ ='<td><img id="services" src="images20/smaller/servicesOver.jpg"></td>';
}
if(document.URL.indexOf('pricing') != -1) {
txtPric ='<td><img id="pricing" src="images20/smaller/pricingOver.jpg"></td>';
}
if(document.URL.indexOf('contact') != -1) {
txtCont ='<td><img id="contact" src="images20/smaller/contactOver.jpg"></td>';
}
if(document.URL.indexOf('about') != -1) {
txtAbou ='<td><img id="about" src="images20/smaller/aboutOver.jpg"></td>';
}   
var fullTxt = txt0 + txtHome + txtServ + txtPric + txtCont+ txtAbou + txt5 + txt6;
document.write(fullTxt);
}// end 

// sensei pop up 
function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
} // END 

function writeFooter() {
var txtFooter ='<a href="index.html" class="foot">Home</a> <a href="contact.html" class="foot">Contact Me</a> <a href="testimonials.html" class="foot">Testimonials</a> <a href="recommends.html" class="foot">Recommended Books</a> <a href="terms.html" class="foot">Terms &amp; Conditions</a>';
document.write(txtFooter);
} 
