	function SwitchImg()
	{ //start
  	  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
      for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    	if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    	 if (obj != null) {
   	   	 switcher[keep++] = obj;
      	 switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      	 obj.src = SwitchImg.arguments[rem+2];
  		 } }
  		 document.Data = switcher;
	} //end

	function RestoreImg()
	{ //start
  	  if (document.Data != null)
      for (var rem=0; rem<(document.Data.length-1); rem+=2)
      	  document.Data[rem].src=document.Data[rem+1];
	} //end

	
	
function forward()
{
 if (which<photos.length-1)
 {
  which++
  what++
  document.images.photoslider.src=photos[which];
  document.getElementById("infos").src=frameSet[which];
//  document.links.photolink.href=photos2[which];
 }
 else window.status='Woodfiction Art';
}

function backward()
{
 if (which>2)
 {
  window.status=''
  which--
  document.images.photoslider.src=photos[which];
  document.getElementById("infos").src=frameSet[which];
//  document.links.photolink.href=photos2[which];
  what--
//  document.rotater.description.value=text[what];
 }
 else window.status='Woodfiction Art';
}


function type()
{
        alert("This textbox will only display default comments")
}
//end photoslider

//popup
var attribWithAll="location=yes,menubar=no,toolbar=no,status=no";
attribWithAll+=",resizable=yes,scrollbars=no,width=600,height=600";//,width=450,height=200
  /* Attribute fuer ein Fenster, das alles dran haben soll */

var subwindow=0;
  /* Initialisierung der Variablen, die spaeter mal auf das Fensterobjekt verweist */


function ClosePopUp()
/* diese Funktion schliesst (so geoeffnet) das Popup-Fenster */
{
  if (subwindow == 0)          /* wenn noch nicht geoeffnet */
    return false;                /* nix zu tun, Abbruch */
  if (subwindow.closed)    /* wenn schon zugemacht */
    return false;                /* nix zu tun, Abbruch */
  subwindow.close();       /* mach zu */
}


function PopUpWithAll()
/* oeffnet das Popup-Fenster mit allem drum und dran an der Stelle (10,50) */
{
  subwindow=window.open(photos2[which],"popup",attribWithAll);
    /* test.html unter dem Fensternamen "popup" aufmachen und Fensterobjekt merken */
  subwindow.moveTo(60,50); /* Fenster nach links oben schieben */
  subwindow.focus();
}
//ende popup	



	function PopUp(name)
	{
  	 subwindow=window.open(name,"popup",attribWithAll);
  	 subwindow.moveTo(60,50); /* Fenster nach links oben schieben */
  	 subwindow.focus();
	}
	
function GoToGuestbook()
{
	window.open("guestbook2/index.php","Guestbook");
}


function syforward()
{
 if (sympwhich<symphotos.length-1)
 {
  sympwhich++
  document.images.syphotoslider.src=symphotos[sympwhich];
  document.getElementById("sympinfos").src=sympframeSet[sympwhich];
 }
 else window.status='Woodfiction Art';
}

function sybackward()
{
 if (sympwhich>0)
 {
  window.status='Woodfiction Art'
  sympwhich--
  document.images.syphotoslider.src=symphotos[sympwhich];
  document.getElementById("sympinfos").src=sympframeSet[sympwhich];
 }
 else window.status='Woodfiction Art';
}
//sypmosia


var mySize = 0.6;