slrNavHover = function() {
  var slrElements = document.getElementById("nav").getElementsByTagName("LI");
  for (var i=0; i<slrElements.length; i++) {
    slrElements[i].onmouseover=function() {
      this.className+=" sfhover";
    }
    slrElements[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
    }
  }
}
if (window.attachEvent) window.attachEvent("onload", slrNavHover);

function openFeedback() {
window.open("guide-feedback.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=650")
}

function openPrivacy() {
window.open("privacy-policy.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=480")
}

function openTestimonials() {
window.open("ecourse-testimonials.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=480")
}

function openFAQ() {
window.open("ecourse-faq.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=480")
}

function openTOC() {
window.open("ecourse-toc.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=480")
}

function openCurrency() {
window.open("currency-converter.html","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=820, height=400")
}

function fbs_click() {
  u=location.href;
  t=document.title;
	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
  return false;
}

yAction.config.ybtnemail = {
buttonSubject : 'to a Friend',
buttonShowSubject : 'true',
textUnderlineNormal : 'false',
textUnderlineHover : 'true',
hPadding: 10
}

yAction.config.ybtnprint = {
buttonSubject : 'This Page',
buttonShowSubject : 'true',
textUnderlineNormal : 'false',
textUnderlineHover : 'true',
hPadding: 10
}

yAction.config.ybtnbookmark = {
buttonShowVehicle : 'true',
textUnderlineNormal : 'false',
textUnderlineHover : 'true',
hPadding: 10
}

yAction.config.ybtnsave = {
buttonSubject : 'save',
hPadding: 0
}

function jumptostep(x){
	if (document.steplinks.steplinkmenu.value != "null") {
		document.location.href = x;
	}
}

function jumptoguide(x){
	if (document.guidelinks.guidelinkmenu.value != "null") {
		document.location.href = x;
	}
}

function navjump1(x){
	if (document.nv1.nvm1.value != "null") {
		document.location.href = x;
	}
}

function navjump2(x){
	if (document.nv2.nvm2.value != "null") {
		document.location.href = x;
	}
}

function navjump3(x){
	if (document.nv3.nvm3.value != "null") {
		document.location.href = x;
	}
}

function navjump4(x){
	if (document.nv4.nvm4.value != "null") {
		document.location.href = x;
	}
}

function navjump5(x){
	if (document.nv5.nvm5.value != "null") {
		document.location.href = x;
	}
}