// ###########################################################################
// # No right-click functions
// # Source is http://serene-ski.diaryland.com/java8.html
// ###########################################################################
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}

function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

// ###########################################################################
// # Anonymous no-right-click function
// ###########################################################################
document.oncontextmenu=new Function("return false")

// ###########################################################################
// # Function:          NavJump
// # Date Created:      2004-01-24 by Tim Anstett
// # Purpose:           Allow combo-box selections to jump to a web page
// # Parameters:        list       The desired combobox
// # Returns:           No return type.
// ###########################################################################
function NavJump(list){location.href=list.options[list.selectedIndex].value;}

// ###########################################################################
// # Function:          mailto
// # Date Created:      2004-10-24 by Tim Anstett (from bravenet.com update)
// # Purpose:           Allow non-harvestable mailto links.
// # Parameters:        domain     e-mail domain
// #                    user       user name at the domain
// # Returns:           No return type.
// ###########################################################################
function mailto(domain,user) 
{
document.location.href = "mailto:" + user + "@" + domain;
}

// ###########################################################################
// # Function:          tsnmailto
// # Date Created:      2004-10-31 by Tim Anstett (modified version of mailto)
// # Purpose:           Allow non-harvestable mailto links.
// # Parameters:        subject    e-mail subject
// #                    domain     e-mail domain
// #                    user       user name at the domain
// # Returns:           No return type.
// ###########################################################################
function tsnmailto(subject,domain,user)
{
document.location.href = "mailto:" + user + "@" + domain + "?Subject=" + subject;
}
