// JavaScript Document

/* 
  ------------------------------------------------
  PVII Uberlink
  Current Page Link Highlighter
  Copyright (c) 2007 Project Seven Development
  www.projectseven.com
  Version: 1.0.0
  ------------------------------------------------
*/
function P7_Uberlink(cl,d){
	var i,ob,tA,h=document.location.href;
	if(document.getElementById){
	ob=(d)?document.getElementById(d):document;
	if(ob){
	tA=ob.getElementsByTagName('A');
	for(i=0;i<tA.length;i++){
	if(tA[i].href==h){
	tA[i].className=cl;
}}}}}

function showThema(id) {
	if ($("#thema"+id).css('display') == 'none') {
		var show = true;
	} else {
		var show = false;
	}

	$("#thema1").slideUp("slow");
	$("#thema2").slideUp("slow");
	$("#thema3").slideUp("slow");
	$("#thema4").slideUp("slow");
	$("#thema5").slideUp("slow");
	$("#thema6").slideUp("slow");
	$("#thema7").slideUp("slow");
	$("#thema8").slideUp("slow");
	
	if (show == true) {
		$("#thema"+id).slideDown("slow");
	}
}

function copyData(action) {
	$('#spreker1_voornaam').val($('#contact_voornaam').val());
	$('#spreker1_achternaam').val($('#contact_achternaam').val());
	$('#spreker1_functie').val($('#contact_functie').val());
	$('#spreker1_instelling').val($('#contact_instelling').val());
	$('#spreker1_telefoonnummer').val($('#contact_telefoonnummer').val());
	$('#spreker1_emailadres1').val($('#contact_emailadres1').val());
	$('#spreker1_emailadres2').val($('#contact_emailadres2').val());
}
