function JumpTo( where )
{
	var url = where;
//	var features = "resizable toolbar scrollbars"
	var features = "";
	wC = window.open( url, "Shane", features, true );
}

function MouseDown( what, theName )
{
	imgSrc = what.src;
	idx = imgSrc.indexOf( "Ov." )
	if ( idx < 0 )
       return;
	imgSrc = imgSrc.substring( 0, idx ) + "Dn" + imgSrc.substring( idx+2 );
	what.src = imgSrc;
	// What page?
	switch( theName )
	{
       case "stills":
          JumpTo( "stills.php" );
          break;
       case "info":
          JumpTo( "info.php" );
          break;
       case "gallery":
          JumpTo( "gallery.php" );
          break;
       case "artwear":
          JumpTo( "artwear.php" );
          break;
       case "motion":
          JumpTo( "motion.php" );
          break;
       case "contact":
          JumpTo( "index.php?inset=ContactPage.jpg" );
          break;
       case "home":
          JumpTo( "index.php" );
          break;
       default:
          return;
    }
}

function MouseUp( what )
{
	imgSrc = what.src;
	idx = imgSrc.indexOf( "Dn." )
	if ( idx < 0 )
       return;
	imgSrc = imgSrc.substring( 0, idx ) + "Ov" + imgSrc.substring( idx+2 );
	what.src = imgSrc;
}

function MouseOut( what )
{
	imgSrc = what.src;
	idx = imgSrc.indexOf( "Ov." )
	if ( idx < 0 )
       return;
	imgSrc = imgSrc.substring( 0, idx ) + "Up" + imgSrc.substring( idx+2 );
	what.src = imgSrc;
}

function MouseOver( what )
{
	imgSrc = what.src;
	idx = imgSrc.indexOf( "Up." )
	if ( idx < 0 )
       return;
	imgSrc = imgSrc.substring( 0, idx ) + "Ov" + imgSrc.substring( idx+2 );
	what.src = imgSrc;
}

