photoboxNavHtml = "<a href=\"#\" class=\"back\" id=\"photobox{galID}_back\" onclick=\"return false;\"><span><img src=\"/files/hu/photobox/but_zurueck_lightbox.gif\"/></span></a> "
    +"<a href=\"#\" class=\"next\" id=\"photobox{galID}_next\" onclick=\"return false;\"><span><img src=\"/files/hu/photobox/but_weiter_lightbox.gif\"/></span></a>";
prevNextDisplayStyle = 'inline';
photoboxWidth = 810;
photoboxHeight = 635;
contentHeightDrain = 30;
buttonsEndless = true;
loadingImage = '/files/photobox/loading.gif';


function setPhotoboxFilesAtOnce(){
	var d=document; 
   	var i;
   	var a=setPhotoboxFilesAtOnce.arguments; 
	var j = 0;
	
	//alert('test: '+a.length);
	
   	for(i=1; i<=a.length; i++){
    	if ((i-1)%5==0 || i==1){
	    	setPhotoboxFiles(a[i], a[0]+''+a[i+1], a[i+2], a[i+3], a[i+4]);
	    	j++;
    	}
   	}
   	
}


function setPhotoboxFiles(id, path, text, width, height){
    
    if (typeof(photoboxFiles)=='undefined') photoboxFiles = new Array();
    if (typeof(photoboxFiles[id])=='undefined') photoboxFiles[id] = new Array();
   	var file = new Array(path, text, width, height);
   	photoboxFiles[id].push(file);
    
}
