function startComponents() {
    // Suche
    $('button_suche').onmouseover = function() {
        $('button_suche').addClassName('button_suche_h');
    }
    $('button_suche').onmouseout = function() {
        Element.removeClassName('button_suche', 'button_suche_h');
    }

    // Box medienarbeit
    if ($('box_medienarbeit').className != 'box_medienarbeit_h') {
        $('box_medienarbeit').onmouseover = function() {
            $('box_medienarbeit').className = 'box_medienarbeit_h';
        }
        $('box_medienarbeit').onmouseout = function() {
            $('box_medienarbeit').className = 'box_medienarbeit_l';
        }
    }

    // Box International
    if ($('box_international').className != 'box_international_h') {
        $('box_international').onmouseover = function() {
            $('box_international').className = 'box_international_h';
        }
        $('box_international').onmouseout = function() {
            $('box_international').className = 'box_international_l';
        }
    }

    // Box MEDIAtlas
    if ($('box_mediatlas').className != 'box_mediatlas_h') {
        $('box_mediatlas').onmouseover = function() {
            $('box_mediatlas').className = 'box_mediatlas_h';
        }
        $('box_mediatlas').onmouseout = function() {
            $('box_mediatlas').className = 'box_mediatlas_l';
        }
    }

    // Box Know-how
    if ($('box_branchenthemen').className != 'box_branchenthemen_h') {
        $('box_branchenthemen').onmouseover = function() {
            $('box_branchenthemen').className = 'box_branchenthemen_h';
        }
        $('box_branchenthemen').onmouseout = function() {
            $('box_branchenthemen').className = 'box_branchenthemen_l';
        }
    }

    // BottomBox Webdesk
    if ($('bbox_webdesk').className != 'bbox_webdesk_h') {
        $('bbox_webdesk').onmouseover = function() {
            $('bbox_webdesk').className = 'bbox_webdesk_h';
        }
        $('bbox_webdesk').onmouseout = function() {
            $('bbox_webdesk').className = 'bbox_webdesk_l';
        }
    }

    // BottomBox Presseportal
    if ($('bbox_presseportal').className != 'bbox_presseportal_h') {
        $('bbox_presseportal').onmouseover = function() {
            $('bbox_presseportal').className = 'bbox_presseportal_h';
        }
        $('bbox_presseportal').onmouseout = function() {
            $('bbox_presseportal').className = 'bbox_presseportal_l';
        }
    }

    // BottomBox media workshop
    if ($('bbox_workshop').className != 'bbox_workshop_h') {
        $('bbox_workshop').onmouseover = function() {
            $('bbox_workshop').className = 'bbox_workshop_h';
        }
        $('bbox_workshop').onmouseout = function() {
            $('bbox_workshop').className = 'bbox_workshop_l';
        }
    }

    // BottomBox euro adhoc
    if ($('bbox_euroadhoc').className != 'bbox_euroadhoc_h') {
        $('bbox_euroadhoc').onmouseover = function() {
            $('bbox_euroadhoc').className = 'bbox_euroadhoc_h';
        }
        $('bbox_euroadhoc').onmouseout = function() {
            $('bbox_euroadhoc').className = 'bbox_euroadhoc_l';
        }
    }
}

function ajaxRequest(url,params,targetFunc,method) {
    url = '/services/'+url+'.htx';
    if(!method) method='get';
	helpAjax = new Ajax.Request(url,
		{
  		method: method,
  		parameters: params,
    	onComplete: eval(targetFunc)
  	}
  );
}

function fade(objid,tduration) {
    if(!tduration) tduration = 0.2;
    new Effect.Fade(objid,{ duration: tduration, from: 1.0, to: 0.0  });
}

function appear(objid,tduration) {
    if(!tduration) tduration = 0.2;
    new Effect.Appear(objid,{ duration: tduration, from: 0.0, to: 1.0  });
}


function checkMail(email) {
 var a = false;
 var res = false;

 if(typeof(RegExp) == 'function') {
    var b = new RegExp('abc');
    if(b.test('abc') == true){
        a = true;
    }
 }

 if(a == true) {
  reg = new RegExp('^([a-zA-Z0-9\\-\\.\\_]+)'+
                   '(\\@)([a-zA-Z0-9\\-\\.]+)'+
                   '(\\.)([a-zA-Z]{2,4})$');
  res = (reg.test(email));
 }
 else {
  res = (email.search('@') >= 1 &&
         email.lastIndexOf('.') > email.search('@') &&
         email.lastIndexOf('.') >= email.length-5)
 }
 return(res);
}