WIT Press

Advanced Search

Search for:
in
in
Limit to: Date range
Published:
to
Book
Paper
To improve our website services we use cookies in a responsible manner. Please notice that by continuing to browse this site you are agreeing to our use of cookies.
', cookieLink: '', prompt: [], p: null, init: function(){ this.prompt = ['color: #fff; font-weight: bold; border-color: #fff; background-color: #02ba9f; padding: 10px 10px 10px 15px; height: 39px;border-width: 0px 0px 0px 0px;', this.message + (this.cookieLink != ''? "You can find out how and why we use cookies in our cookie policy." : '')]; var cookie = this.checkCookie(); if(((cookie == 1) && !document.cookie.match(/cookies_promptHidden=/)) || (cookie != 1)){ this.saveCookie('promptShown', 1); this.loadPrompt(); } }, checkCookie: function(){ if(this.cookie === false){ if(!document.cookie.match(/cookies_promptShown=/)){ this.cookie = 1; }else if(document.cookie.match(/cookies_promptShown=(\d)($|;)/)){ this.cookie = parseInt(RegExp.$1); } } return this.cookie; }, loadPrompt: function(){ var h = document.createElement('div'); with(h){ innerHTML = "X" + this.prompt[1]; style.cssText = 'font-family: sans-serif; font-size: 11px; border: solid 1px; border-left: solid 3px;' + this.prompt[0]; className = 'cookie_box'; id = 'cookie_prompt'; } var b = document.body; $('.cookie-warning').show(); $( ".cookie-warning" ).append( h ); //b.insertBefore(h, b.firstChild); }, saveCookie: function(c, v){ document.cookie = "cookies_" + c + "=" + v + ";expires=" + (new Date()).toGMTString().replace(/\d{4}/, '2050'); }, hidePrompt: function(e){ if(e != null){ this.saveCookie('promptHidden', 1); } $( ".cookie-warning" ).hide(); } } if(document.addEventListener){ document.addEventListener("DOMContentLoaded", function(){ cPrompt.init(); }, false); }else if(document.attachEvent){ document.attachEvent("onreadystatechange", function(){ if(document.readyState === "complete"){ cPrompt.init(); } }); }; $('.cookie-warning').each(function(){ if($.trim($(this).html()) === '') $('.cookie-warning').hide(); }); $('#carousel').carousel();