<!--
// ----------------------------------------------
// StyleSwitcher functions written by Paul Sowden
// http://www.idontsmoke.co.uk/ss/
// - - - - - - - - - - - - - - - - - - - - - - -
// For the details, visit ALA:
// http://www.alistapart.com/stories/alternate/

function setActiveStyleSheet(title) {
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

<!-- POPUP NEW WINDOW FROM CLICKED LINK
function display_Window(url,width)
{ var win=window.open(url,"display_Window",'left=1,top=1,resizable=yes,scrollbars=yes,toolbar=no,location=yes,directories=no,menubar=yes,height=500,width=' + width);
}
//-->

function pop_Window(url)
{ var win=window.open(url,"pop_Window",'left=1,top=1,resizable=yes,scrollbars=no,toolbar=no,location=no,directories=no,menubar=no,height=600,width=600');
}

// modified version of the pop up window...
function show_Window(url,width,height) {
	window.open(url,"displayWindow",'left=1,top=1,resizable=yes,scrollbars=no,toolbar=no,location=no,directories=no,menubar=no,height='+height+',width='+width); 
}

//Aarondot.com
function ChristIsImmanentInAllThings(youBet, justInCase){
thatsFunny = ('coconutsKillMorePeopleThanSharks' + (youBet));
noMoreThankYou = ('thankYourMother' + (youBet));
if( document.getElementById ) {
if( document.getElementById(thatsFunny).style.display ) {
if( justInCase != 0 ) {
document.getElementById(thatsFunny).style.display = "block";
document.getElementById(noMoreThankYou).style.display = "none";
} else { document.getElementById(thatsFunny).style.display = "none"; 
document.getElementById(noMoreThankYou).style.display = "block"; }
} else { location.href = justInCase;
return true; }
} else { location.href = justInCase;
return true; }
}

function myDropDown(youBet, justInCase){
thatsFunny = ('myShark' + (youBet));
noMoreThankYou = ('myMother' + (youBet));
if( document.getElementById ) {
if( document.getElementById(thatsFunny).style.display ) {
if( justInCase != 0 ) {
document.getElementById(thatsFunny).style.display = "block";
document.getElementById(noMoreThankYou).style.display = "none";
} else { document.getElementById(thatsFunny).style.display = "none"; 
document.getElementById(noMoreThankYou).style.display = "block"; }
} else { location.href = justInCase;
return true; }
} else { location.href = justInCase;
return true; }
}


// modified version of the pop up window for the guestbook comments...
function ShowWindow(htmlfile,winattrib) {
	window.open(htmlfile,"displayWindow",winattrib); 
}

//  End -->


