function emailRiddler( ) {
    /***********************************************
    * Encrypt Email script- Please keep notice intact
    * Tool URL: http://www.dynamicdrive.com/emailriddler/
    * **********************************************/
    <!-- Encrypted version of: info [at] **************.** //-->

    var emailriddlerarray=[105,110,102,111,64,97,115,116,114,111,45,105,110,122,105,99,104,116,46,110,108]
    var encryptedemail_id90='' //variable to contain encrypted email 
    for (var i=0; i<emailriddlerarray.length; i++)
     encryptedemail_id90+=String.fromCharCode(emailriddlerarray[i])

    document.write('<a href="mailto:'+encryptedemail_id90+'">' + encryptedemail_id90 + '</a>')
}

function submitonce(theform) { // disabled
    //if IE 4+ or NS 6+
    if (document.all||document.getElementById) {
        //screen thru every element in the form, and hunt down "submit" and "reset"
        for (i=0;i<theform.length;i++) {
            var tempobj=theform.elements[i]
            if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
            //disable em
            tempobj.disabled=true
        }
    }
}

// === begin album functies ==
function scrollToThumb(scrollthumb) { 
    document.getElementById("imgvertical").scrollTop = scrollthumb; 
}         

function InfoLayer() {
    //<![CDATA[        
    timerHide = setTimeout( "hideInfo()", 5 );
    var infoLayer = document.getElementById( 'infoLayer' );
    var caption   = document.getElementById( 'caption' );	
    
    if ( infoLayer && caption ) {
        caption.innerHTML += ( caption.innerHTML != '' ? '&nbsp;&nbsp;' : '' ) +
                             "<span id='btnInfo'>Info&nbsp;</span>";
                            
        var layerStepCount  = 7;   // May be changed
        var layerOpacity    = 0;   // Do not change
        var layerStepSize   = Math.floor( 80 / layerStepCount );
        
        var infoStepCount   = 40;  // May be changed
        var infoOpacity     = 100; // Do not change
        var infoStepSize    = Math.floor( 100 / infoStepCount );		
        var maxLayerOpacity = layerStepCount * layerStepSize;
        
        var btnInfo = document.getElementById( 'btnInfo' );
        var timerShow, timerHide, timerBlink;
                
        hideInfo = function() {
            clearTimeout( timerShow );
            timerShow = null;
            setOpacity( infoLayer, layerOpacity );
            if ( layerOpacity > 0 ) {
                layerOpacity -= layerStepSize;
                timerHide = setTimeout( "hideInfo()", 5 );
            }
        }
        
        showInfo = function() {
            infoLayer.style.visibility = 'visible';
            if ( timerBlink != 'undefined' ) {
                setOpacity( btnInfo, 100 );				
                clearTimeout( timerBlink );
                timerBlink = null;
            }
            if ( timerHide != 'undefined' ) {
                clearTimeout( timerHide );
                timerHide = null;
            }
            setOpacity( infoLayer, layerOpacity );
            if ( layerOpacity < maxLayerOpacity ) {
                layerOpacity += layerStepSize;
                timerShow = setTimeout( "showInfo()", 5 );
            }
        }
        
        blinkInfo = function() {
            if ( infoOpacity <= 20 || infoOpacity >= 100 ) {
                infoStepSize *= -1;
            }
            infoOpacity += infoStepSize;
            setOpacity( btnInfo, infoOpacity );
            timerBlink = setTimeout( "blinkInfo()", 20 );
        }
        
        btnInfo.onmouseover = showInfo;
        btnInfo.onmouseout  = hideInfo;
        blinkInfo();
    }
    //]]>
}

function setOpacity( obj, opacity ) {
    if ( obj != 'undefined' ) {
        obj.style.opacity = opacity / 100;
        obj.style.filter  = "alpha( opacity:" + opacity + " )";
    }
}
// === eind album functies ===