/***********************************************************************************
* Print a link to continue to rest of story/full store on home page only.
**********************************************************************************/
function continueLink(label_text, section_name, file_name, sid, target) {
var target_string = target || "";
if (self.location.href.indexOf("index2.php") != -1) {
document.write('' + label_text + '
');
}
}
/***********************************************************************************
* Print a link to email this story to a friend.
**********************************************************************************/
function emailStoryLink(label_text, story_title, section_name, file_name, sid) {
var title_string = story_title || "A Story of Interest on GoLakeChelan.com";
var label_string = label_text || "Click Here to Email This Story to A Friend";
var href_string = 'mailto:?subject=' + title_string + '&body=' + escape('Here\'s a link to a great GoLakeChelan.com story: http://www.golakechelan.com/modules.php?name=' + section_name + '&file=' + file_name + '&sid=' + sid);
document.write('' + label_string + '');
}
/***********************************************************************************
* Print an *ma*l ad*r*ss obf*sc*ted
**********************************************************************************/
function ec(sAlias, sDom, sSuf, sLabel, sSubj, sBody)
{
// Custom *ma*l link generator for GoLakeChelan.com
var sEA = sAlias;
sEA += "@";
sEA += sDom;
sEA += "." + sSuf;
if ('undefined' == typeof sLabel)
sLabel = sEA;
document.write('<');
document.write('a ');
document.write('hr');
document.write('ef');
document.write('="ma');
document.write('ilt');
document.write('o:');
document.write(sEA);
// If a subject and/or body is supplied, use it/them
if ('undefined' != typeof sSubj)
document.write('?sub' + 'ject' + '=' + escape(sSubj));
if ('undefined' != typeof sBody) {
if ('undefined' != typeof sSubj)
document.write('&');
else
document.write('?');
document.write('bo' + 'dy' + '=' + escape(sBody));
}
document.write('">');
document.write(sLabel);
document.write('<');
document.write('/');
document.write('a>');
}