/** * 2017 IQIT-COMMERCE.COM * * NOTICE OF LICENSE * * This file is licenced under the Software License Agreement. * With the purchase or the installation of the software in your application * you accept the licence agreement * * @author IQIT-COMMERCE.COM * @copyright 2017 IQIT-COMMERCE.COM * @license Commercial license (You can not resell or redistribute this software) * */ $(document).ready(function(){ $("#iqitcookielaw").addClass('iqitcookielaw-showed'); $("#iqitcookielaw-accept").click(function (event) { event.preventDefault(); $("#iqitcookielaw").removeClass('iqitcookielaw-showed'); setcook(); }); }); function setcook() { var name = 'cookielaw_module'; var value = '1'; var expire = new Date(); expire.setMonth(expire.getMonth()+12); document.cookie = name + "=" + escape(value) +";path=/;" + ((expire==null)?"" : ("; expires=" + expire.toGMTString())) }