");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('.rte').click( function(e) {
var link = $(this).attr('href');
document.location.href = link;
});
/* For LOCAL links on site pages */
$('.local').on('click', function(e) {
e.preventDefault(); // stops default behaviour
$('#maincontent').slideUp('slow');
var link = $(this).attr('href');
if(link.substring(0,11)=="main.php?p=") {
link = link.substring(11); // To ensure that only page data (not MAIN surround) is loaded
}
// alert("Link="+link);
$('#maincontent').load("loadpage.php?link=" + link);
$('#maincontentjs').load("");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('#maincontent').on('click','a[href$=".mp3"]' ,function(e) {
e.preventDefault();
var song = $(this).attr('href');
var n = song.split("/");
song = n[n.length - 1]; // Last element
var songlink = "
";
// alert ('MP3 clicked: '+songlink);
$(this).after(songlink);
});
/* ********************************* */
// make sure action works on loaded content
var topic = 1;
$(document).on('click','#switch', function(e) {
e.preventDefault();
if(topic==1) {
topic = 2;
$('.bLatest').removeClass('bActive');
$('.bRecent').addClass('bActive');
$('.tLatest').css('display','none');
$('.tRecent').css('display','block');
} else {
topic = 1;
$('.bLatest').addClass('bActive');
$('.bRecent').removeClass('bActive');
$('.tLatest').css('display','block');
$('.tRecent').css('display','none');
}
});
/* ********************************* */
});
//-->
Esoteric Order of Dagon:
Having unleashed the cults of the Mythos, we're now proud to announce a stretch goal badge - The Esoteric Order of Dagon badge!
During the 1830s, Captain Obed Marsh traded with the degenerate natives of an unnamed Pacific island. Through their chief, Walakea, he learned terrible rites that would allow him to summon Deep Ones. Returning to his native Innsmouth, Marsh founded the Esoteric Order of Dagon, a secretive cult that has since spread its fell influence throughout the entire town.
ALL BACKERS (apart from folk selecting the No Reward pledge level) will receive the Esoteric Order of Dagon badge completely FREE as part of their rewards!
Help us unlock this cool badge by sharing the project on your social media pages - the more the news of the project spreads the better chance of us unlocking this awesome stretch goal!

To share on FACEBOOK click here:
FACEBOOK POST
To share on TWITTER click here:
TWITTER POST