function innerlgbdfn() { var d = new Date(); d.setTime(d.getTime() + (60*24*60*60*1000)); document.cookie = "innerlgpd=3.144.102.82;expires="+ d.toUTCString() + ";path=/"; (document.getElementById('innerlgpd')?document.getElementById('innerlgpd').style.display='none':''); } function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for(var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } var innerlgpd = getCookie("innerlgpd"); if (innerlgpd != "") { //alert(innerlgpd); } else { $('body').append("