var tc_blinker_timers=new Array();var tc_blinker_objs=new Array();var tc_blinker_objs_nulltext=new Array();var tc_blinker_nulltext="@";var tc_blinker_interval=500;var tc_popunder_url="";function tc_resize_window(){if(window.outerWidth!=undefined&&(window.outerWidth>=screen.availWidth&&window.outerHeight>=screen.availHeight)){return false}window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);return true}function tc_ajax_thumb_hit(a){microAjax("/thumbclickpopup/"+a,function(b){})}function tc_parseQueryStr(d){var c;var b=new Object;if(d!=undefined&&d!=""){c=d.replace(/\%20/g," ");var a=c.split("&");for(var e=0;e>2;g=((k&3)<<4)|(h>>4);e=((h&15)<<2)|(f>>6);d=f&63;if(isNaN(h)){e=d=64}else{if(isNaN(f)){d=64}}a=a+this._keyStr.charAt(j)+this._keyStr.charAt(g)+this._keyStr.charAt(e)+this._keyStr.charAt(d)}return a},decode:function(c){var a="";var k,h,f;var j,g,e,d;var b=0;c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b>4);h=((g&15)<<4)|(e>>2);f=((e&3)<<6)|d;a=a+String.fromCharCode(k);if(e!=64){a=a+String.fromCharCode(h)}if(d!=64){a=a+String.fromCharCode(f)}}a=TC_promo_Base64._utf8_decode(a);return a},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a},_utf8_decode:function(a){var b="";var d=0;var e=c1=c2=0;while(d191)&&(e<224)){c2=a.charCodeAt(d+1);b+=String.fromCharCode(((e&31)<<6)|(c2&63));d+=2}else{c2=a.charCodeAt(d+1);c3=a.charCodeAt(d+2);b+=String.fromCharCode(((e&15)<<12)|((c2&63)<<6)|(c3&63));d+=3}}}return b}};if(typeof(tc_promo_parseURL)!="function"){function tc_promo_parseURL(a){if(a!=""){var c={href:a};var b=a.replace("//","/").split("/");c.protocol=b[0];c.host=b[1];b[1]=b[1].split(":");c.hostname=b[1][0];c.port=b[1].length>1?b[1][1]:"";b.splice(0,2);c.pathname="/"+b.join("/");c.pathname=c.pathname.split("#");c.hash=c.pathname.length>1?"#"+c.pathname[1]:"";c.pathname=c.pathname[0];c.pathname=c.pathname.split("?");c.search=c.pathname.length>1?"?"+c.pathname[1]:"";c.pathname=c.pathname[0];return c}return false}}if(typeof(tc_promo_setCookie)!="function"){function tc_promo_setCookie(b,c,a){var d=new Date();d.setDate(d.getDate()+a);document.cookie=b+"="+escape(c)+((a==null)?"":";expires="+d.toGMTString())}}if(typeof(tc_promo_getCookie)!="function"){function tc_promo_getCookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return""}}if(typeof(tc_get_real_window_height)!="function"){function tc_get_real_window_height(){if(typeof window.innerHeight=="number"){return(window.scrollMaxX>0)?window.innerHeight-17:window.innerHeight}else{if(document.documentElement.clientHeight){return document.documentElement.clientHeight}else{if(typeof document.body.clientHeight=="number"){return document.body.clientHeight}}}return false}}if(typeof(tc_get_real_window_width)!="function"){function tc_get_real_window_width(){if(typeof window.innerWidth=="number"){return(window.scrollMaxY>0)?window.innerWidth-17:window.innerWidth}else{if(document.documentElement.clientWidth){return document.documentElement.clientWidth}else{if(typeof document.body.clientWidth=="number"){return document.body.clientWidth}}}return false}}if(typeof(tc_get_real_scroll_top)!="function"){function tc_get_real_scroll_top(){var a=false;if(window.innerHeight){a=window.pageYOffset}else{if(document.documentElement&&document.documentElement.scrollTop){a=document.documentElement.scrollTop}else{if(document.body){a=document.body.scrollTop}}}return(typeof a=="number")?a:0}}if(typeof(tc_add_onload_event)!="function"){function tc_add_onload_event(b){if(typeof window.addEventListener!="undefined"){window.addEventListener("load",b,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",b)}else{if(typeof window.onload!="function"){window.onload=func}else{var a=window.onload;window.onload=function(){a();func()}}}}}}if(typeof(tc_promo_encode)!="function"){function tc_promo_encode(b){var a=b;if(a!=""){a=TC_promo_Base64.encode(a);a=a.replace("/","_");a=a.replace("+","-");a=a.replace(/=/g,"");a=encodeURIComponent(a)}return a}}if(typeof(tc_get_referrer)!="function"){function tc_get_referrer(){if(typeof(tc_ref)=="undefined"){var a=tc_promo_parseURL(window.document.referrer);if(location.host!=a.hostname){tc_ref=window.document.referrer;if(tc_ref!=""){tc_ref=TC_promo_Base64.encode(tc_ref);tc_ref=encodeURIComponent(tc_ref)}}else{tc_ref=tc_promo_getCookie("tc_referrer");if(tc_ref==""){tc_ref=window.document.referrer;if(tc_ref!=""){tc_ref=TC_promo_Base64.encode(tc_ref);tc_ref=encodeURIComponent(tc_ref)}}}tc_promo_setCookie("tc_referrer",tc_ref,null);return tc_ref}return""}}if(typeof(tc_img_blink)!="function"){function tc_img_blink(f,e,a){var b=750;if(a!=undefined){b=a}if(document.body!=null){var d=document.body.getElementsByTagName(f);for(var c=0;c=0){d[c].style.visibility=d[c].style.visibility=="hidden"?"visible":"hidden"}}setTimeout('tc_img_blink("'+f+'","'+e+'",'+b+")",b)}}}if(typeof(tc_promo_bg_blink)!="function"){function tc_promo_bg_blink(b,a){bg_blink_obj=document.getElementById(b);if(bg_blink_obj!=undefined){bg_blink_obj.className=(bg_blink_obj.className+" "+a);setTimeout("tc_promo_bg_blink_stop('"+b+"','"+a+"');",1000)}}}if(typeof(tc_promo_bg_blink_stop)!="function"){function tc_promo_bg_blink_stop(b,a){bg_blink_obj=document.getElementById(b);if(bg_blink_obj!=undefined){bg_blink_obj.className=bg_blink_obj.className.replace(new RegExp("(^|\\s)"+a+"(?:\\s|$)"),"$1")}}}function tc_execJS(b){var d=(navigator.userAgent.indexOf("Safari")!=-1);var a=(navigator.userAgent.indexOf("Opera")!=-1);var k=(navigator.userAgent.indexOf("MSIE")!=-1);var c=(navigator.appName=="Netscape");if(!b){return}if(d||a||k){var l=b.getElementsByTagName("SCRIPT");var j;for(var f=0;f0){this.set_testmode("f"+c.formula)}else{this.set_testmode(1)}}else{this.set_testmode(0)}var i=document.getElementById(this.options.image_video_div_id);var h=document.getElementById(this.options.default_image_video_div_id);if(g){if(e!=undefined){this.objs.thumbdiv=document.getElementById(e);if(this.objs.thumbdiv!=undefined){this.objs.thumbdiv.style.backgroundImage="url("+g+")";this.objs.thumbdiv.style.display="block";if(i!=undefined){i.style.display="none"}}}else{if(i!=undefined){i.style.backgroundImage="url("+g+")";i.style.display="block";if(this.objs.thumbdiv!=undefined){this.objs.thumbdiv.style.display="none"}}}if(h!=undefined){h.style.display="none"}}else{if(i!=undefined){i.style.display="none"}if(h!=undefined){h.style.display="block"}}if(!this.objs.tc_testmode_field){this.objs.tc_testmode_field=document.getElementById(this.options.tc_testmode_field)}this.set_thumbid(f);this.show_internal()};this.show=function(c){if(this.vars.allow_show==true){this.view(c);this.show_internal()}};this.show_internal=function(){this.start_Blink();if(this.options.modal==1){this.vars.overlay_div=document.getElementById(this.vars.overlay_name)}this.vars.content_div=document.getElementById(this.vars.content_name);if(this.vars.content_div!=undefined){if(this.options.my_email&&this.vars.email_field==null){this.init_email_value()}this.set_positions();this.vars.content_div.style.display="block";if(this.options.modal==1){this.vars.overlay_div.style.display="block"}}};this.init_email_value=function(){if(this.vars.email_field==null){this.vars.email_field=this.getElement("email","input")}if(this.vars.email_field){this.vars.email_field.value=this.options.my_email}};this.getElement=function(e,g){var d=this.vars.content_div.getElementsByTagName(g);var f=d.length;if(f>0){var c;for(c=0;c0){var c=this;this.vars.popup_tmr=setInterval(function(){c.doBlink()},this.options.blink_interval)}};this.add_to_blink=function(c){this.vars.blink_ids.push(c);var d=this;var e=document.getElementById(c);e.onfocus=function(){d.mail_focus()};e.onblur=function(){d.mail_blur()}};this.array_merge(this.options,b);if(this.options.overlay_name!=false){this.vars.overlay_name=this.options.overlay_name}if(this.options.content_name!=false){this.vars.content_name=this.options.content_name}if(this.options.ptid){this.vars.overlay_name+=this.options.ptid;this.vars.content_name+=this.options.ptid}this.vars.opacity_divided=this.options.opacity/100;this.vars.displays=tc_promo_getCookie(this.options.cookie_name);if(this.vars.displays==true){this.vars.displays=1}if(this.options.max_displays==0){this.vars.allow_show=true}else{if(this.vars.displays Des Mamans en manque de cul baisent avec des JEUNOTS !\n=> Des Jeunes salopes de 18ans filment leur DEPUCELAGE avec leur mec !\n=> Des Beurettes Voilées se font défoncées dans des caves !\n\nCliquez sur ANNULER",navigateur:BrowserDetect.browser+" "+BrowserDetect.version,height:screen.availHeight-0,width:screen.availWidth-30,exit:true,isXPSP2:false};this.vars={popDialogOptions:"dialogWidth:"+this.options.width+"px; dialogHeight:"+this.options.height+"px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:1; scroll:1; status:0",popWindowOptions:"scrollbars=1, menubar=1, toolbar=1, location=1, personalbar=1, status=1, resizable=1"};this.iie=null;this.ext=function(){if(this.options.desactive_exit_popup){return}if(this.options.exit){this.options.exit=false;this.options.isXPSP2=(window.navigator.userAgent.indexOf("SV1")!=-1);if(this.options.navigateur=="Explorer 6"){if(this.options.isXPSP2){this.brs();this.iie.launchURL(this.options.popURL_NOFF)}else{eval("window.showModalDialog(this.options.popURL_NOFF,'grossesortie',this.vars.popDialogOptions)")}if(this.options.typeMSG!="favoris"){alert(this.options.MessageAlerte)}}else{if(this.options.navigateur=="Explorer 7"||this.options.navigateur=="Explorer 8"){document.getElementById("zone_exit_popup_flash").innerHTML='';if(this.options.typeMSG!="favoris"){alert(this.options.MessageAlerte)}else{window.external.AddFavorite(this.options.bmURL,this.options.bmphrase)}}else{document.getElementById("zone_exit_popup_flash").innerHTML='';alert(this.options.MessageAlerte)}}}};this.brs=function(){document.getElementById("zone_exit_popup_flash").innerHTML=''};this.ff=function(){if(this.options.desactive_exit_popup){return}this.exitUrl=btoa(this.options.popURL_FF);if(BrowserDetect.browser=="Firefox"){document.getElementById("zone_exit_popup_flash").innerHTML='';if(this.options.typeMSG=="favoris"){window.sidebar.addPanel(this.options.bmphrase,this.options.bmURL,"")}else{alert(this.options.MessageAlerte+"-"+this.options.navigateur)}}};this.array_merge=function(arr1,arr2){if((arr1&&(arr1 instanceof Array))&&(arr2&&(arr2 instanceof Array))){for(var idx in arr2){arr1.push(arr2[idx])}}else{if((arr1&&(arr1 instanceof Object))&&(arr2&&(arr2 instanceof Object))){for(var idx in arr2){if(idx in arr1){if(typeof arr1[idx]=="object"&&typeof arr2=="object"){arr1[idx]=array_merge(arr1[idx],arr2[idx])}else{arr1[idx]=arr2[idx]}}else{arr1[idx]=arr2[idx]}}}}return arr1};this.array_merge(this.options,options);var divobj=document.createElement("div");divobj.id="zone_exit_popup_flash";window.document.body.appendChild(divobj);if(window.document.getElementById&&!window.document.all){if(this.options.popURL_FF!=""){var url=this.options.popURL_FF;var messageCloseit=this.options.messageCloseit;window.onbeforeunload=function ExitPop(){window.location=url;return messageCloseit}}}if(window.attachEvent){var obj=this;window.attachEvent("onunload",function(){obj.ext()})}};