/*====================================================================== *  * Synthetic Pictures * * Copyright (C) 2006,  Ben Schwartz *                      benschw@gmail.com *                      http://www.benhschwartz.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * *=====================================================================*/function showAustin() {  	if (document.getElementById) {		document.getElementById('austin').className = 'showSwitch';		document.getElementById('la').className = 'hideSwitch';		document.getElementById('nyc').className = 'hideSwitch';	}}function showLA() {  	if (document.getElementById) {		document.getElementById('la').className = 'showSwitch';		document.getElementById('austin').className = 'hideSwitch';		document.getElementById('nyc').className = 'hideSwitch';	}}function showNYC() {  	if (document.getElementById) {		document.getElementById('nyc').className = 'showSwitch';		document.getElementById('la').className = 'hideSwitch';		document.getElementById('austin').className = 'hideSwitch';	}}function showBio() {		if (document.getElementById) {		if( document.getElementById('bio').className == 'showSwitch' )			document.getElementById('bio').className = 'hideSwitch';		else			document.getElementById('bio').className = 'showSwitch';	}}function showDirectorBanner( id, action ) {	if (document.getElementById) {		if( action == 'show' ) {			thumbSrc = document.getElementById( 'banner' + id ).innerHTML;			document.getElementById( 'directorbanner' ).innerHTML =				'<img id="ban' + id + '" src="/thumbs/' + thumbSrc + '" alt="" />';//			fadeInImage('ban' + id);					} else if( action == 'hide' ) {			document.getElementById( 'directorbanner' ).innerHTML = '';		}	}}function directorPreview( id, action ) {	if (document.getElementById) {		if( action == 'show' ) {			document.getElementById( 'director' + id ).className = 'showSwitch';			showDirectorBanner( id, 'show' );				} else if( action == 'hide' ) {			document.getElementById( 'director' + id ).className = 'hideSwitch';			showDirectorBanner( id, 'hide' );				}	}}// for email cloakerfunction mailMe(sDom, sUser){  return("mail"+"to:"+sUser+"@"+sDom.replace(/%23/g,"."));}
