function clearText(Contact){if (Contact.defaultValue==Contact.value)Contact.value = ""}function getCookie(name) { // use: getCookie("name");var bikky = document.cookie;var index = bikky.indexOf(name + "=");if (index == -1) return null;index = bikky.indexOf("=", index) + 1; // first charactervar endstr = bikky.indexOf(";", index);if (endstr == -1) endstr = bikky.length; // last characterreturn unescape(bikky.substring(index, endstr));}function set_cookie(name,value,expires,path) {var ExpireDate = new Date ();ExpireDate.setTime(ExpireDate.getTime() + (expires  * 3600 * 1000));document.cookie = name + "=" +value +        ( (expires) ? ";expires=" + ExpireDate.toGMTString() : "") +        ( (path) ? ";path=" + path : "");  }function set_login(loginpw) {set_cookie('is_login',loginpw,0,'/');window.location.reload();return false;}function deleteCookie(name, path) {  if (getCookie(name)) {    document.cookie = name + "=" +     ((path) ? "; path=" + path : "") +    "; expires=Thu, 01-Jan-70 00:00:01 GMT";  }}function OrderValidation(en){ //var form = document.service;//var titlecheck = form.Name.value;debugger;formname =  ("en"==en ? "serviceen":"service");var form = document.getElementById(formname);var titlecheck = form.Name.value;if ((titlecheck == "uwnaam@uwadres.nl" | titlecheck == ""  ))  {    alert("Vult u altublieft uw naam in!");    return (false);  }form.submit()}function set_language(value){set_cookie('iq_language',value,0,'/');window.location=window.location;}function FieldValidation(){ var form  = document._Doc;var titlecheck  = form.TitleBR.value; if (titlecheck == "" )  {    alert("Please fill in all the fields!");    return (false);  }form.submit()}function m_to(n,d){estring= n + "@" + d;document.write("<a href=\"mailto:" +estring +"\">" +estring +"</a>");}function addCategoryBR() {var newCat = prompt("Enter novo Categoria:", "");var newOpt = new Option(newCat, newCat, false, true);var catField = document.forms[0].Category;if (newCat !='' && newCat !=null){catField.options[catField.options.length] = newOpt;}}function addCategoryEN() {var newCat = prompt( "Enter new Category:", "");var newOpt = new Option(newCat, newCat, false, true);var catField = document.forms[0].Category;if (newCat !='' && newCat !=null){catField.options[catField.options.length] = newOpt;}}