var width=468;
var height=60;
var pid=435458;
var niche=(typeof vador=='undefined')?19:vador;
var TC_promo_Base64 = {
    _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
    encode: function (c) {
        var a = "";
        var k, h, f, j, g, e, d;
        var b = 0;
        c = TC_promo_Base64._utf8_encode(c);
        while (b < c.length) {
            k = c.charCodeAt(b++);
            h = c.charCodeAt(b++);
            f = c.charCodeAt(b++);
            j = k >> 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 < c.length) {
            j = this._keyStr.indexOf(c.charAt(b++));
            g = this._keyStr.indexOf(c.charAt(b++));
            e = this._keyStr.indexOf(c.charAt(b++));
            d = this._keyStr.indexOf(c.charAt(b++));
            k = (j << 2) | (g >> 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; e < b.length; e++) {
            var d = b.charCodeAt(e);
            if (d < 128) {
                a += String.fromCharCode(d)
            } else {
                if ((d > 127) && (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 (d < a.length) {
            e = a.charCodeAt(d);
            if (e < 128) {
                b += String.fromCharCode(e);
                d++
            } else {
                if ((e > 191) && (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
    }
};

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
}
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())
}
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 ""
}
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
}
function tc_promo_decode(c) {
    var b = c;
    if (b != "") {
        b = decodeURIComponent(b);
        b.replace("_", "/");
        b.replace("-", "+");
        var a = b.length();
        while (a % 4 != 0) {
            a++;
            b += "="
        }
        b = TC_promo_Base64.decode(b)
    }
    return b
}
if (pid != undefined) {
    var url;
    var def_width = 630;
    var def_height = 3000;
    if (owner == undefined) {
        var owner = window.document.URL;
        owner = tc_promo_encode(owner)
    }
    if (tc_ref == undefined) {
        var tc_ref;
        var tc_ref_host = tc_promo_parseURL(window.document.referrer);
        if (location.host != tc_ref_host.hostname) {
            tc_ref = window.document.referrer;
            if (tc_ref != "") {
                tc_ref = tc_promo_encode(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_encode(tc_ref)
                }
            }
        }
        tc_promo_setCookie("tc_referrer", tc_ref, null)
    }
    if (eval("typeof pid") == "object") {
        var nids = pid.length;
        var perc = Math.floor(Math.random() * 99);
        var index = 0;
        if (perc > 0) {
            index = parseInt(perc / (100 / nids), 10)
        }
        var newpid = pid[index];
        pid = newpid
    }
    var promotool_inuse = false;
    if (promotools == undefined) {
        var promotools = new Array();
        promotools[0] = pid
    } else {
        for (var i in promotools) {
            if (promotools[i] == pid) {
                promotool_inuse = true;
                break
            }
        }
        if (promotool_inuse == false) {
            promotools.push(pid)
        }
    }
    if (width == "0") {
        var width = def_width
    }
    if (height == "0") {
        var height = def_height
    }
    var countview = "";
    if (promotool_inuse == true) {
        countview = "/cv/" + 1
    }
    var v_own = "/own/" + owner;
    var v_ref = (tc_ref != "") ? "/ref/" + tc_ref : "";
    var niche_url = "";
    if (typeof(niche) != "undefined") {
        niche_url = "/cat/" + niche
    }
    var tc_langcode = "";
    if (typeof(lng) != "undefined") {
        tc_langcode = "/lng/" + lng
    }
    var tc_baseurl = "http://promo.vador.com/";
	url = tc_baseurl + "index.php/promotool/index/id/";
    if (pid) {
        url += pid
    }
    if (niche_url) {
        url += niche_url
    }
    if (tc_langcode) {
        url += tc_langcode
    }
    if (v_own) {
        url += v_own
    }
    if (v_ref) {
        url += v_ref
    }
    if (countview) {
        url += countview
    }
}
url_ban=url;
//if(location.hostname='www.video-hard.com') alert(url);
//Copyright 2008 TOUTE REPRODUCTION INTERDITE megasexe a megasexe point com
var posleftdisc, postopdisc;
if (self.innerHeight){ // all except Explorer
	postopdisc = self.innerHeight;
	posleftdisc = self.innerWidth;
}
else if (document.documentElement && document.documentElement.clientHeight){ // IE Strict
	postopdisc = document.documentElement.clientHeight;
	posleftdisc = document.documentElement.clientWidth;
}
else if (document.body){ // IE Quirks
	postopdisc = document.body.clientHeight;
	posleftdisc = document.body.clientWidth;
}
//postopdisc=(postopdisc/2-450/2<0)?0:postopdisc/2-450/2;
//posleftdisc=(posleftdisc/2-750/2<0)?0:posleftdisc/2-750/2;
postopdisc=(postopdisc/2-450/2<0)?0:postopdisc/2-450/2;
posleftdisc=(posleftdisc/2-600/2<0)?0:posleftdisc/2-600/2;

isIEdisc = false;
/*@cc_on isIEdisc = true; @*/
isPop= true;

var url=(document.location.search.match(/url=[^&]+/i))?document.location.search.match(/url=[^&]+/i)[0].split("=")[1]:'';
var n=(document.location.search.match(/n=[^&]+/i))?document.location.search.match(/n=[^&]+/i)[0].split("=")[1]:'';
if(/admin/.test(document.referrer) || location.hostname=='www.webcam-gratuit.com') document.cookie='admin=true';
if(document.cookie.indexOf('entrer')==-1 && location.search!='?a=0' && navigator.userAgent.indexOf('bot')==-1){
	document.cookie='acceptCookie=1';
	//if(document.cookie.indexOf('acceptCookie')!=-1 && window.location.pathname!='/' && typeof is_blog!='undefined'){
	//	document.write('<script src="/pop/v2/script.js" type="text/javascript"><\/script>');
	//}
	//else if(document.cookie.indexOf('acceptCookie')!=-1 && document.getElementsByTagName && document.getElementById && document.documentElement.clientHeight>0 && document.documentElement.clientWidth>0){
	if(document.cookie.indexOf('acceptCookie')!=-1 && document.getElementsByTagName){
		//var postopdisc=(document.documentElement.clientHeight/2-450/2<0)?0:document.documentElement.clientHeight/2-450/2;
		//var posleftdisc=(document.documentElement.clientWidth/2-600/2<0)?0:document.documentElement.clientWidth/2-600/2;
		//var iframe=(url)?'<iframe scrolling="no" frameborder="no" src="/disclaimer/?n='+n+'&url='+url+'"></iframe>':'';
		var iframe='';//#disclaimer iframe {top:'+(postopdisc+280)+'px;left:'+posleftdisc+'px;z-index: 10001;position: fixed; _position: absolute;width: 598px; height: 268px; margin: 0px; padding: 0px; background-color: #ffffff;border: 1px solid #999999;text-align: center;overflow: hidden;}
		document.write('<style type="text/css">iframe,embed,object,select{visibility:hidden}#DmarqueurXT{width:468px;height:60px;margin:40px auto 0px auto}#DmarqueurXT iframe{visibility:visible}#disclaimer div.bg{z-index: 10000;position: fixed; _position: absolute;top: 0px; left: 0px; width: 100%; height: 100%; _height: 10000px;margin: 0px; padding: 0px; filter: alpha(opacity=90);-moz-opacity: 0.90;-khtml-opacity: 0.90;opacity: 0.90;background-color: #eeeeee;}#disclaimer div.alert{top:'+postopdisc+'px;left:'+posleftdisc+'px;z-index: 10000;position: fixed; _position: absolute;width: 580px; height: '+((location.hostname!='www.video-hard.com2')?3:2)+'30px; padding: 9px; background-color: #ffffff;border: 1px solid #999999;text-align: center;}#disclaimer div.alert h1 {font: bold x-large/30px Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;display: inline;color: #333333;padding-left: 35px;background: url(http://go.sexclic.com/disclaimer/icra.gif) no-repeat left center;}#disclaimer div.alert h3 {font: bold medium/150% Georgia, "Times New Roman", Times, serif;color:#333333;padding: 0px;margin: 10px 0px; text-align: center}#disclaimer div.video h2 {font: bold medium/150% Georgia, "Times New Roman", Times, serif;color:#333333;padding: 0px;margin: 0px 0px 10px 0px;}#disclaimer div.alert p {font: bold small/175% Georgia, "Times New Roman", Times, serif;color:#999999;padding: 0px;margin: 10px 0px;}#disclaimer div.alert a.entrer {font: bold large/150% Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;margin: 0px 30px;padding-left: 20px;color: #66cc66;background: url(http://go.sexclic.com/disclaimer/entrer.gif) no-repeat left center;display:inline;text-decoration:none}#disclaimer div.alert a.sortir {font: bold large/150% Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;margin: 0px 30px;padding-left: 20px;color:#ff6666;background: url(http://go.sexclic.com/disclaimer/sortir.gif) no-repeat left center;display:inline;text-decoration:none}</style>');
		//document.write('<style type="text/css">iframe,embed,object,select{visibility:hidden}#discban{width:728px;height:90px;margin:40px auto 0px auto}#discban iframe{visibility:visible;border: 1px solid #999999}#disclaimer div.bg{z-index: 10000;position: fixed; _position: absolute;top: 0px; left: 0px; width: 100%; height: 100%; _height: 10000px;margin: 0px; padding: 0px; filter: alpha(opacity=90);-moz-opacity: 0.90;-khtml-opacity: 0.90;opacity: 0.90;background-color: #eeeeee;}#disclaimer div.alert{top:'+postopdisc+'px;left:'+posleftdisc+'px;z-index: 10000;position: fixed; _position: absolute;width: 750px; height: 350px; padding: 9px; background-color: #ffffff;border: 1px solid #999999;text-align: center;}#disclaimer div.alert h1 {font: bold x-large/30px Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;display: inline;color: #333333;padding-left: 35px;background: url(http://go.sexclic.com/media/ban/icra.gif) no-repeat left center;}#disclaimer div.alert h3 {font: bold medium/150% Georgia, "Times New Roman", Times, serif;color:#333333;padding: 0px;margin: 10px 0px; text-align: center}#disclaimer div.video h2 {font: bold medium/150% Georgia, "Times New Roman", Times, serif;color:#333333;padding: 0px;margin: 0px 0px 10px 0px;}#disclaimer div.alert p {font: bold small/175% Georgia, "Times New Roman", Times, serif;color:#999999;padding: 0px;margin: 10px 0px;}#disclaimer div.alert a.entrer {font: bold large/150% Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;margin: 0px 30px;padding-left: 20px;color: #66cc66;background: url(http://go.sexclic.com/disclaimer/entrer.gif) no-repeat left center;display:inline;text-decoration:none}#disclaimer div.alert a.sortir {font: bold large/150% Verdana, Arial, Helvetica, sans-serif;text-transform: uppercase;margin: 0px 30px;padding-left: 20px;color:#ff6666;background: url(http://go.sexclic.com/disclaimer/sortir.gif) no-repeat left center;display:inline;text-decoration:none}</style>');
		if(typeof(inkorrect)=='undefined') inkorrect=29;
		document.write('<div id="disclaimer"><div class="bg">&nbsp;</div><div class="alert"><h1 title="&Eacute;tiquet&eacute; gr&acirc;ce &aacute; ICRA">Site class&eacute; X</h1><h3>Site interdit aux mineurs</h3><p>Le site internet que vous vous appr&ecirc;tez &agrave; visiter est r&eacute;serv&eacute; &agrave; un public adulte<br />et averti. Le contenu de ce site ainsi que les contenus vers lesquels pointent<br />les liens de ce site risquent de heurter certaines sensibilit&eacute;s.</p><h3>Si vous &ecirc;tes mineur, cliquez sur QUITTER</h3><a id="discvisit" class="entrer" href="#" onclick="return entrer(this)" title="Visiter ce site interdit aux mineurs">VISITER</a><a href="http://www.buzzrencontre.com/?a=0" onclick="if(typeof pageTracker!=\'undefined\'){pageTracker._trackEvent(\'Disclaimer\',\'Exit\')}" class="sortir" title="Ne pas visiter ce site r&eacute;serv&eacute; aux adultes">QUITTER</a><div id="discban"><form method="get" target="_blank" action="/pop/page.php" onSubmit="return check(\'emaildisc\')" style="background:url(http://go.sexclic.com/disclaimer/catcher.gif) no-repeat; width:468px; height:60px; margin: 20px auto;"><input type="text" name="email" value="@" id="emaildisc" style="background-color: transparent; outline: none; font-family: arial; border: 0; color: #000; font-size: 15px; font-weight: bold; width: 272px; height: 24px; margin: 29px 16px 0px 10px; padding: 0; text-align: center; line-height: 22px; float: left;" /><input type="submit" name="submit" value="" style="width: 155px; height: 24px; margin: 29px 0px 0px 0px; padding: 0; background-color: transparent; cursor: pointer; border: 0;" /><input type="hidden" name="type" value="vod" /><input type="hidden" name="track" value="disc" /></form></div></div></div>');//<iframe  style="visibility:visible;margin-top:20px" frameborder="no" marginheight="0" marginwidth="0" scrolling="no" src="/pop/box/catcher.php?cat='+inkorrect+'" width="468" height="60"></iframe><div id="discban"><a href="http://www.lebangtour.com/index.php?id=23954&w=0&tracker=disc&langue=fr" target="_blank"><img src="http://go.sexclic.com/media/ban/gangtour.gif" border=0></a></div>
		//<div id="DmarqueurXT"><iframe width="468" height="60" frameborder="0" scrolling="no" allowtransparency="allowtransparency" src="'+url_ban+'"></iframe></div>
		//http://tool.acces-vod.com/catcher/?wm=10131&typecatcher=design&prog=oneshot&cat_id='+inkorrect+'&size=468x60&track1=disc&track2=&exit=1
	}
}
function entrer(o){
	var ref=(document.referrer!=null)?document.referrer.substring(7,document.referrer.indexOf('/',7)):'';
	var rand=Math.floor(Math.random()*1000);
	/*if((location.pathname!='/' || location.hostname=='www.live-shows.net') && typeof pdv!='undefined' && (ref.indexOf('google.')!=-1 || ref.indexOf('yahoo.')!=-1 || ref.indexOf('live.')!=-1 || ref.indexOf('msn.')!=-1)){ //ad to quality traffic
		o.href=pdv;
		o.target='under'+rand;
		window.open('','under'+rand,'top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes').blur();
		if(typeof pageTracker!='undefined') pageTracker._trackEvent('Under','Sponsor',pdv);
	}
	else if((location.pathname!='/' || location.hostname=='www.live-shows.net') && typeof zOut=='function'){ //trade
		o.href=zOut();
		o.target='under'+rand;
		window.open('','under'+rand,'top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes').blur();
		if(typeof pageTracker!='undefined') pageTracker._trackEvent('Under','Trade');
	}
	else if(location.pathname!='/' && typeof pdv!='undefined'){ //ad if no trade
		o.href=pdv;
		o.target='under'+rand;
		window.open('','under'+rand,'top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes').blur();
		if(typeof pageTracker!='undefined') pageTracker._trackEvent('Under','Sponsor',pdv);
	}
	else if(location.pathname=='/'){ //ad bravo on blogs
		o.href='#';
		o.target='bravo';
		window.open('/pop/bravo/','bravo','top=50,left=50,width=500,height=400,resizable=yes,scrollbars=no,menubar=no,toolbar=no,location=yes,status=yes').blur();
	}*/
	document.cookie='entrer=1;path=/';
	document.cookie='ref='+ref+';path=/';
	document.getElementById('disclaimer').style.display='none';
	//alert(ref);
	//if(document.referrer=='http://www.liensporno.com/jeune/') alert(ref);
	//if(ref=='www.liensporno.com' && location.hostname!='www.cuir-latex.com' && typeof is_blog!='undefined') alert(1);
	//if((location.pathname!='/' || location.hostname=='www.live-shows.net' || ref=='www.tootx.com' || ref=='www.sexeautop.com' || ref=='www.mondedux.com'  || ref=='www.desmatures.com' || ref=='www.liensporno.com' || ref=='www.liste2cul.com' || ref=='www.blogsdesexe.com' || ref=='www.cul-sex.com' || ref=='www.bing.com' || ref=='www.yahoo.com' || ref=='www.yahoo.fr' || ref=='www.google.com' || ref=='www.google.fr' || ref=='www.lesblogsexe.com' || ref=='www.sexesursexe.com' || ref=='www.sexejoursursexe.com' || ref=='www.happyxvideo.com' || ref=='www.maisonduporno.net' || ref=='www.airsexe.com' || ref=='www.mondedux.com' || ref=='www.porno-gratuit.ws' || ref=='www.xmoteur.com' || ref=='www.sexe.cc' || ref=='www.topasexe.com' || ref=='www.blogsdesexe.com' || ref=='www.lesblogsexe.com ') && typeof zOut=='function'){ //trade
	//if(typeof zOut=='function'){ //trade
	//if(isIEdisc==false && typeof is_blog!='undefined'){ 
	if(document.cookie.indexOf('admin=true')<0 && isPop==true && typeof o!='undefined'){
		if(/chrome/.test(navigator.userAgent.toLowerCase()) || /firefox\/[456789]/.test(navigator.userAgent.toLowerCase()) || /MSIE 9/.test(navigator.userAgent)){//chrome
			isIE=false;
			if(/google\./.test(ref) && (location.hostname=='www.rencontresplancul.com' || location.hostname=='www.buzzrencontre.com')) window.open('http://outils.yesmessenger.com/pdv56.php?id=23954&e=1&w=0&tracker=ggdisc','_blank');
			else{
				window.open(location.href,'_blank');
				if(typeof zOut=='function') location.href=zOut();
				else location.href='http://www.sexefemme.net/go.php';
			}
		}
		else{
			if(typeof zOut=='function') o.href=zOut();
			else o.href='http://www.sexefemme.net/go.php';
			o.target='under'+rand;
			window.open('','under'+rand,'top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes').blur();
			if(typeof pageTracker!='undefined') pageTracker._trackEvent('Under','Trade');
			//if(document.getElementsByName('s')) document.getElementsByName('s')[0].focus();
		}
	}
	if(document.getElementsByTagName('iframe').length>0){
		for(var i=0; i<document.getElementsByTagName('iframe').length; i++){
			document.getElementsByTagName('iframe')[i].style.visibility='visible';
		}
	}
	if(document.getElementsByTagName('object').length>0){
		for(var i=0; i<document.getElementsByTagName('object').length; i++){
			document.getElementsByTagName('object')[i].style.visibility='visible';
		}
	}
	if(document.getElementsByTagName('embed').length>0){
		for(var i=0; i<document.getElementsByTagName('embed').length; i++){
			document.getElementsByTagName('embed')[i].style.visibility='visible';
		}
	}
	if(document.getElementsByTagName('select').length>0){
		for(var i=0; i<document.getElementsByTagName('select').length; i++){
			document.getElementsByTagName('select')[i].style.visibility='visible';
		}
	}
	var cssElement=document.createElement('style');
	var cssContent='iframe,embed,object,select{visibility:visible}';
	cssElement.setAttribute('type','text/css');
	if(cssElement.styleSheet){ //IE
		cssElement.styleSheet.cssText=cssContent;
	}
	else{ //DOM
		var cssNode=document.createTextNode(cssContent);
		cssElement.appendChild(cssNode);
	}
	var headElement = document.getElementsByTagName('head')[0];
	headElement.appendChild(cssElement);
	if(typeof zIn=='function') zIn();
	if(typeof pageTracker!='undefined') pageTracker._trackEvent('Disclaimer','Enter');
	return (typeof o=='undefined' || o.href.indexOf('#')==o.href.length-1)?false:true;
}

/*
var xiti_ref=(document.referrer=='')?'':document.referrer.substring(7,document.referrer.indexOf('/',7));
var xiti_page=((xiti_ref=='')?'direct':xiti_ref)+'::'+location.hostname+'::'+location.pathname;
var xiti_date=new Date();
(new Image()).src='http://logv6.xiti.com/hit.xiti?s=409911&p=&hl='+xiti_date.getHours()+'x'+xiti_date.getMinutes()+'x'+xiti_date.getSeconds()+'&r='+screen.width+'x'+screen.height+'x'+screen.pixelDepth+'x'+screen.colorDepth+'&p='+xiti_page+'&ref='+xiti_ref;
*/
//document.write('<script type="text/javascript" src="http://common.eravage.com/js/swfobject/swfobject.js"><\/script>');

//		document.write('<script src="http://ktu.sv2.biz/infopop_video/infopop.js?123"><\/script>');

//if(location.hostname=='www.video-hard.com'){
/*
	(function(){ 
		var XTscri=document.createElement('script');
		XTscri.src='http://services.x-traceur.com/current/htclasync2.php?ids=10465&fm=5&np=';
		XTscri.async=true;
		document.documentElement.firstChild.appendChild(XTscri);
	})();
*/
//}

//disc catcher
underCatch=1;
if(document.getElementById('emaildisc')){
	emailblink=setInterval("document.getElementById('emaildisc').value=(document.getElementById('emaildisc').value)?'':'@'",500);
	document.getElementById('emaildisc').onfocus=function(){
		if(typeof(emailblink)!='undefined') clearInterval(emailblink);
		document.getElementById('emaildisc').value='';
	}
	document.getElementById('emaildisc').onclick=function(){
		if(underCatch==1) popunder('/pop/page.php?type=vod&track=disc');
		underCatch=0;
		//_gaq.push(['_trackEvent', 'Popunder', 'Sponsor', 'CatcherIK']);
	}
}
function emailflash(id,i,n,c,c1,c2){
	if(i < n) {
		if(c == 0 ) { document.getElementById(id).style.backgroundColor = c1; c = 1 }
		else { document.getElementById(id).style.backgroundColor = c2; c = 0 }
		setTimeout('emailflash("'+id+'",'+(i+1)+','+n+','+c+',"'+c1+'","'+c2+'")', 100);
	}
	else document.getElementById(id).style.backgroundColor = c2;
}
function check(email){
	if(!document.getElementById(email).value.match(/^[a-z0-9][a-z0-9\._-]*[a-z0-9]@[a-z0-9][a-z0-9\.-]*[a-z0-9]\.[a-z]{2,4}$/i)){
		alert('L\'adresse email indiquée n\'est pas valide !');
		emailflash(email, 0,5,0,'#FD1500','#FFF');
		//_gaq.push(['_trackEvent', 'CatcherDisc', 'Click', 'Error']);
	}
	else{
		window.open('/pop/page.php?type=vod&track=disc&email='+document.getElementById(email).value,'_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
		//window.parent.ajaxmail('&email='+document.getElementById('email').value+'&type=vod&track=dhtml');
		//window.parent.document.getElementById('catcherdhtml').style.display='none';
		(new Image()).src='/pop/ajax.php?email='+document.getElementById(email).value+'&type=vod&track=disc';
		entrer();
		//_gaq.push(['_trackEvent', 'CatcherDisc', 'Click', 'Submit']);
	}
	return false;
}

