// rollover ____________________________________________________________________

function initRollOverImages () {
  var image_cache = new Object();
  $j("img.rollover").each(function(i) {
    var imgsrc = this.src;
    var dot = this.src.lastIndexOf('.');
    var imgsrc_on = this.src.substr(0, dot) + '_on' + this.src.substr(dot, 4);
    image_cache[this.src] = new Image();
    image_cache[this.src].src = imgsrc_on;
    $j(this).hover(
      function() { this.src = imgsrc_on; },
      function() { this.src = imgsrc; });
  });
}

$j(document).ready(initRollOverImages);



// accordion ____________________________________________________________________

$j(document).ready(function() {
	$j("#aboutArea h4").click(function(){
		$j(this).next().slideToggle("fast");
	});
});	



// switchDisplay ____________________________________________________________________

function switchDisplay ( n ) {
	s = document.getElementById( n ).style.display;
	if( s == 'none' ){ document.getElementById( n ).style.display = 'block' }
	else{ document.getElementById( n ).style.display = 'none' }
}