/*
 * (c) 2008 Lynth Webdevelopment
 * No parts of this code may be reused without consent
 * of the original author.
 * http://www.lynth.nl
 */
function login_click(A){if(!A){var A=window.event}if(A.ctrlKey){document.location="/login"}}function $(){var C=new Array();for(var B=0;B<arguments.length;B++){var A=arguments[B];if(typeof A=="string"){A=document.getElementById(A)}if(arguments.length==1){return A}C.push(A)}return C}function $$(G,E,A){var D=new Array();if(E==null){E=document}if(A==null){A="*"}var C=E.getElementsByTagName(A);var B=C.length;var F=new RegExp("(^|\\s)"+G+"(\\s|$)");for(i=0,j=0;i<B;i++){if(F.test(C[i].className)){D[j]=C[i];j++}}return D}function showDiv(B,A){$(B).style.display=(A?"block":"none")}function toggleDiv(A){$(A).style.display=($(A).style.display=="none"?"block":"none")}function validate(A,B){if(window.RegExp){reg=new RegExp(A);return reg.test(B)}return false};