var domain = 'http://top.hentai-moe.fr/';var popWidth = 224;var popHeight = 318;var windowName = 'Hentai gratuit';var css = '<style type="text/css">' +'#thm_dhtml_hv3_bkg{' +'width: ' + popWidth + 'px; height: ' + popHeight + 'px; background: no-repeat url("' + domain + 'img/popup.png"); position: absolute; z-index: 999; top: 0; left: 0;' +'}' +'#thm_dhtml_hv3 {' +'width: ' + popWidth + 'px; height: ' + popHeight + 'px;  position: absolute; z-index: 1000; top: 0; left: 0;' +'}' +'#thm_dhtml_hv3 * {' +'zoom: 100%; position: relative; z-index: 1;' +'}' +'#thm_dhtml_hv3 #thm_dhtml_handle{' +'float: left; width: 157px; height: 22px; margin-top: 4px; text-indent: 15px; font: bold 18px/22px Arial; color: #000; cursor: move;' +'}' +'#thm_dhtml_hv3 #thm_dhtml_close{' +'float: left; display: block; width: 57px; height: 20px; margin-top: 4px;' +'}' +'#thm_dhtml_hv3 #thm_dhtml_close span{' +'display: none;' +'}' +'#thm_dhtml_hv3 #iframe{' +'clear: left; padding: 6px 0 0 12px;' +'}' +'#thm_dhtml_hv3 #iframe iframe{' +'border: 0; width: 200px; height: 275px;' +'}' +'</style>';if(!cookie) {var cookie = {SetCookie: function(name, value) {var argv=this.SetCookie.arguments;var argc=this.SetCookie.arguments.length;var expires=(argc > 2) ? argv[2] : null;var path=(argc > 3) ? argv[3] : null;var domain=(argc > 4) ? argv[4] : null;var secure=(argc > 5) ? argv[5] : false;document.cookie=name+"="+escape(value)+((expires==null) ? "" : ("; expires="+expires.toGMTString()))+((path==null) ? "" : ("; path="+path))+((domain==null) ? "" : ("; domain="+domain))+((secure==true) ? "; secure" : "");},getCookieVal: function(offset) {var endstr=document.cookie.indexOf (";", offset);if (endstr==-1)      endstr=document.cookie.length;return unescape(document.cookie.substring(offset, endstr));},GetCookie: function(name) {var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while (i<clen) {var j=i+alen;if (document.cookie.substring(i, j)==arg)                        return this.getCookieVal (j);                i=document.cookie.indexOf(" ",i)+1;                        if (i==0) break;}return null;}};}var dhtml_thm = {init: function(elmnt) {this.popup = document.getElementById(elmnt);this.popup_bkg = document.getElementById(elmnt + '_bkg');this.addEvent(document.getElementById('thm_dhtml_close'), dhtml_thm.close, 'click');this.addEvent(document.getElementById('thm_dhtml_handle'), dhtml_thm.setDrag, 'mousedown');document.getElementById('thm_dhtml_close').onclick = function() {return false;};window.onscroll = this.scroll;this.center();},close: function() {dhtml_thm.popup.style['display'] = 'none';dhtml_thm.popup_bkg.style['display'] = 'none';},setDrag: function(e) {var e = window.event || e;dhtml_thm.initMouseX = e.clientX;dhtml_thm.initMouseY = e.clientY;dhtml_thm.initX = dhtml_thm.popup.offsetLeft;dhtml_thm.initY = dhtml_thm.popup.offsetTop;document.onmousemove = dhtml_thm.move;document.onmouseup = function() {document.onmousemove = null;document.onmousedown = null;dhtml_thm.initX = dhtml_thm.initY = dhtml_thm.initMouseX = dhtml_thm.initMouseY = 0;}},addEvent: function(target, functionref, tasktype){var tasktype=(window.addEventListener)? tasktype : "on"+tasktype;if (target.addEventListener) {target.addEventListener(tasktype, functionref, false);} else if (target.attachEvent) {target.attachEvent(tasktype, functionref);}},move: function(e) {var e = window.event || e;dhtml_thm.deltaX = e.clientX - dhtml_thm.initMouseX;dhtml_thm.deltaY = e.clientY - dhtml_thm.initMouseY;dhtml_thm.popup.style['top'] = dhtml_thm.deltaY + dhtml_thm.initY + 'px';dhtml_thm.popup_bkg.style['top'] = dhtml_thm.deltaY + dhtml_thm.initY + 'px';dhtml_thm.popup.style['left'] = dhtml_thm.deltaX + dhtml_thm.initX + 'px';dhtml_thm.popup_bkg.style['left'] = dhtml_thm.deltaX + dhtml_thm.initX + 'px';return false;},center: function() {dhtml_thm.popup.style['top'] = '5px';dhtml_thm.popup_bkg.style['top'] = '5px';dhtml_thm.popup.style['left'] = '5px';dhtml_thm.popup_bkg.style['left'] = '5px';},scroll: function() {if(window.pageYOffset !== undefined && window.innerHeight !== undefined) {var hauteur = window.pageYOffset;var winHeight = window.innerHeight;} else {if(document.body.scrollTop) {var hauteur = document.body.scrollTop;} else {var hauteur = document.documentElement.scrollTop}var winHeight = document.body.clientHeight;}if(dhtml_thm.popup.style['display'] != 'none') {dhtml_thm.popup.style['top'] = 5 + hauteur + 'px';dhtml_thm.popup_bkg.style['top'] = 5 + hauteur + 'px';}}};if(cookie.GetCookie('thm_popped') !== "1") {document.write(css);document.write('<div id="thm_dhtml_hv3_bkg"></div><div id="thm_dhtml_hv3"><div id="thm_dhtml_handle">' + windowName + '</div><a href="#" id="thm_dhtml_close"><span>fermer</span></a><div id="iframe"><iframe src="' + domain + 'promojs/dhtml_content/6" frameborder="0" allowtransparency="1"></iframe></div></div>');dhtml_thm.init('thm_dhtml_hv3');cookie.SetCookie('thm_popped', "1");if (/MSIE (5\.5|6\.)/.test(navigator.userAgent)) {document.getElementById('thm_dhtml_hv3_bkg').style['background'] = 'none';document.getElementById('thm_dhtml_hv3_bkg').style['filter'] = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +domain + "img/popup.png', sizingMethod='scale')";document.getElementById('thm_dhtml_hv3_bkg').style['z-index'] = 1;}}
