function openvenster(url,popup_width,popup_height,scrollbars) {
	var undefined;
	if (popup_width == undefined) popup_width=800;
	if (popup_height == undefined) popup_height=600;
	if (scrollbars == undefined) scrollbars='no';
	left_pos = (screen.availWidth/2) - (popup_width / 2);
	top_pos = (screen.availHeight/2) - (popup_height / 2);
	mywin = window.open(url,null,'height=' + popup_height + ',left=' + left_pos + ',top=' +top_pos + ',width=' + popup_width + ',scrollbars=' + scrollbars);
	mywin.focus();
}


var undefined;
function activate(id){
	el = document.getElementById(id);
	if (el.src.indexOf('_over') == -1) {
		el.src = el.src.replace('.gif','_over.gif');
	}
	
}
function deactivate(id){
	active = active_element;
	if(id != active){
		el = document.getElementById(id);
		el.src = el.src.replace('_over','');
	}
}

function logo_onover(obj) {
	obj.src = obj.src.replace('.gif','_over.gif');
}

function logo_onout(obj) {
	obj.src = obj.src.replace('_over','');	
}

function logo_onoverStr(str){
	if (document.getElementById(str)){
		logo_onover(document.getElementById(str));
	}
}

function logo_onoutStr(str){
	if (document.getElementById(str)){
		logo_onout(document.getElementById(str));
	}
}

function colorinput(obj) {
	   if (!obj.iserror) {
	   if ((obj.hasmouseover) || (obj.hasfocus)) {
	     obj.style.border = "#D2EB20 1px solid";
	     obj.style.backgroundColor = "#FCFFE7";
	     obj.style.color = "#003366";
	   } else {
	     obj.style.border = "#E5E8EF 1px solid";
	     obj.style.backgroundColor = "#FFF";
	     obj.style.color = "#999";
	   }
	   }
		 }
	
		 function mouseoverinput(obj) {
		   obj.hasmouseover = true;
		   colorinput(obj);
		 }
	
		 function mouseoutinput(obj) {
		   obj.hasmouseover = false;
		   colorinput(obj);
		 }
	
		 function focusinput(obj) {
		   obj.hasfocus=true;
		   colorinput(obj);
		 }
	
		 function blurinput(obj) {
		   obj.hasfocus=false;
		   colorinput(obj);
		 }
		 
function showTxt(chk, containerid, elid){
	var d = (chk.checked == true) ? "block" : "none";
	var containerObj = document.getElementById(containerid);
	var elObj = document.getElementById(elid);
	containerObj.style.display = d;
	if(chk.checked == true){
		elObj.focus();
	}
}