<!--//--><![CDATA[//><!--

/*
 * _____________________________________________________________________________
 *
 *  RSZD library
 *   copyright (c) 2004-2005 Vincent Twigt (for RSZdesign)
 * _____________________________________________________________________________
 *
 *   Licensed under the terms of the GNU Lesser General Public License:
 *        http://www.opensource.org/licenses/lgpl-license.php
 *
 *   Creator website:
 *        http://www.rszdesign.com
 *
 *   File name: custom.js
 *        JavaScript functions (custom)
 *
 *        This file contains custom functions that are specific per website.
 *        Add your own JS functions here if you like.
 *
 *   Version:  1.0 ($Rev: 4 $)
 *   Created:  2005-02-16 17:18:46
 *   Modified: $Date: 2005-02-26 14:14:51 +0100 (Sat, 26 Feb 2005) $
 *   Id:       $Id: custom.js 4 2005-02-26 13:14:51Z ReSistanZ $
 *
 *   File Authors:
 *        Vincent Twigt (vtwigt@rszdesign.com)
 *
 *   History:
 *
 *        16-02-2005 / RSZdesign : Created class v1.0
 *
 */


/*** scripts specific for website ***/

top.status = 'RSZdesign / graphic & web design';


// --------------------------------------
// 
// --------------------------------------
function toggle( targetId )
{
    if (document.getElementById) {
        target = document.getElementById( targetId );
        if (target.style.display == 'none') {
            target.style.display = '';
        } else {
            target.style.display = 'none';
        }
    }
}


// --------------------------------------
// Selects login field on document onLoad
// --------------------------------------
function selectLoginField()
{
    if (document.getElementById) {
        var login_field = document.getElementById( 'username' );
        if (login_field != null) {  login_field.focus();  }
    }
}


// --------------------------------------
// Attach functions to the onload event
// --------------------------------------
document.attachEvent('onload', flashFix);
document.attachEvent('onload', selectLoginField);


//--><!]]>