// When the document loads do everything inside here ...
  $(document).ready(function(){
	// When a link is clicked
	$("a.tab").click(function () {
		// switch all tabs off
		$(".active").removeClass("active");

		// switch this tab on
		$(this).addClass("active");

		// slide all content up
		$(".tabbedcontent").slideUp();

		// slide this content up
		var content_show = $(this).attr("title");
		$("#"+content_show).slideDown();
	});
  });

// Javascript functions for the subscriber module
function clearInput(el) {

    el.value = (el.value == el.id) ? '' : el.value;
}

function populateInput(el) {
    el.value = (el.value == el.id || el.value == '') ? el.id : el.value;
}
// print a specific div's contents
function callPrint(el) {
    var prtContent = document.getElementById(el);
    var WinPrint =
    window.open('','','left=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0');
    WinPrint.document.write(prtContent.innerHTML);
    WinPrint.document.close();
    WinPrint.focus();
    WinPrint.print();
    WinPrint.close();
    prtContent.innerHTML=strOldOne;
}

function jumpMenu(targ,selObj,restore){ //v3.0
    eval(targ +".location='"+selObj.options[selObj.selectedIndex].value+"'");
    if (restore) selObj.selectedIndex=0;
}