// JavaScript Document/******************************** copyright ************************************/*/*	All upphovsrätt tillfaller adversus art, web & media samt /*	Victor Spång Arthursson./*/*	Ingen kod får användas i annat sammanhang än vad som skriftligen överrens-/*	kommet med ovan nämnda, och inte heller modifieras på något sätt. I övrigt/*	gäller svensk upphovsrättslagstiftning./*/*	För ytterligare information och kontakt:/*	web:	http://www.adversus.se/*	mail:	info@adversus.se/*	tel: +46 (0)733 20 40 02/*/*/*						*** copyright - english version ***/*/*	All copyright belongs to adversus art, web & media and/*	Victor Spång Arthursson./*/*	No code may be used in other circumstances than what has been writtenly agreed/*	upon with the copyright holder according to above, and it may not be modified/*	in any what so ever way. For other issues, the swedish copyright laws applies./*/*	More information and contact:/*	web:	http://www.adversus.se/*	mail:	info@adversus.se/*	tel: +46 (0)733 20 40 02/*/******************************************************************************/function control (action, parentfolder, nextimage, intpage) {	if (action == "pause") {		pause();		}	else if(action == "return") {		this.location.href = "?folder=" + parentfolder + "&intpage=" + intpage;	}	else {		play (parentfolder, nextimage, intpage, action);	}}function play(parentfolder, nextimage, intpage, delay) {	theTimeOut = setTimeout('loadNextImage("' + parentfolder + '","' + nextimage + '","' + intpage + '","' + delay + '")',delay);}function pause() {	clearTimeout(theTimeOut);}function loadNextImage(parentfolder, nextimage, intpage, delay) {	this.location.href = "?folder=" + parentfolder + "&image=" + nextimage + "&intpage=" + intpage + "&autoplay=" + delay;}