<!--

/*
### DEBUT PUB VOLANTE #########################################################################################
*/

var pubVolanteTac_offset_x = 0;
var pubVolanteTac_offset_y = 0;
var pubVolanteTac_hauteur  = 0;
var pubVolanteTac_surface = 0;
var pubVolanteTac_x  = 1;
var pubVolanteTac_y  = 1;
var pubVolanteTac_scr_width;
var pubVolanteTac_scr_height;
var pubVolanteTac_bound;
var startPubVolanteTacTimeout;

function movePubVolanteTac() {
	if ( document.all ) {
		pubVolanteTac_scr_width  = document.body.clientWidth  - 225;
		pubVolanteTac_scr_height = document.body.clientHeight - 262;
	} else {
		pubVolanteTac_scr_width  = window.innerWidth  - 225;
		pubVolanteTac_scr_height = window.innerHeight - 262;
	}

	if ( document.getElementById ) {
		if ( pubVolanteTac_surface > pubVolanteTac_scr_width ) { pubVolanteTac_x = ( -(boundPubVolanteTac()) ); }
		if ( pubVolanteTac_surface < pubVolanteTac_offset_x  ) { pubVolanteTac_x = boundPubVolanteTac(); }

		document.getElementById("pubVolanteTac").style.left = ( pubVolanteTac_surface  = pubVolanteTac_surface + pubVolanteTac_x ) + "px";
		document.getElementById("pubVolanteTac").style.top  = ( pubVolanteTac_hauteur += pubVolanteTac_y ) + pubVolanteTac_offset_y + "px";

		if ( pubVolanteTac_hauteur > pubVolanteTac_scr_height ) { pubVolanteTac_y = ( -(boundPubVolanteTac()) ); }
		if ( pubVolanteTac_hauteur < 0                        ) { pubVolanteTac_y = boundPubVolanteTac(); }

		startPubVolanteTacTimeout = setTimeout('movePubVolanteTac()', 50);
	}
}

function stopPubVolanteTac() {
	clearTimeout(startPubVolanteTacTimeout);
}

function refreshPubVolanteTac_offset() {
	if ( navigator.appName == "Microsoft Internet Explorer" ) { pubVolanteTac_offset_y = document.body.scrollTop; }
}

function boundPubVolanteTac() {
	pubVolanteTac_bound = Math.round(Math.random() * 4);
	pubVolanteTac_bound++;
	return(pubVolanteTac_bound);
}

document.write('<div id="pubVolanteTac" onMouseOver="stopPubVolanteTac();" onMouseOut="movePubVolanteTac();" style="position: absolute; top: 0; left: 0; z-index: 200;">');
document.write('	<iframe src="http://market2.the-adult-company.com/vod/pub_volante/iframe.php?comfrom=23245&cf0=&promo=cb&cf1=O21&cf2=0&rebill=1&f5part=&langue=uk&sexe=g&id=2945&cfsa0=&cfsa1=&mk_leftimg=&mk_site=&cl_theme=146&idmarket=64037&tpr=&ur=aHR0cDovL2FjY2Vzcy5lc2VjdXJlLXRyYW5zYWN0aW9uLmNvbS9hY2Nlcy9pbmRleC5waHA/Y29tZnJvbT0yMzI0NSZjZjA9JnByb21vPWNiJmNmMT1PMjEmY2YyPTAmcmViaWxsPTEmZjVwYXJ0PSZsYW5ndWU9dWsmc2V4ZT1nJmlkPTI5NDUmY2ZzYTA9JmNmc2ExPSZta19sZWZ0aW1nPSZta19zaXRlPSZjbF90aGVtZT0xNDY=&fak_ferme=1&skn=1&niche=" width="220" height="257" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe>');
document.write('</div>');

movePubVolanteTac();
window.onscroll = refreshPubVolanteTac_offset;

/*
### FIN PUB VOLANTE #########################################################################################
*/

/* FOOTER JS */
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
	var pageTracker = _gat._getTracker("UA-10758037-2");
	pageTracker._trackPageview();
	pageTracker._setVar('23245||O21|0|VOD|uk');
} catch(err) {}


/*
var pkBaseURL = (("https:" == document.location.protocol) ? "https://tools.the-adult-company.com/stats/statm/" : "http://tools.the-adult-company.com/stats/statm/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
try {
	var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
	//piwikTracker.setDocumentTitle("");
	var tac = { 'comfrom' : '23245',
						   'cf0' : '',
						   'cf1' : '230000021',
						   'cf2' : '0',
						   'promo' : 'VOD',
						   'langue' : 'uk'
					};
	piwikTracker.setCustomData( tac );
	piwikTracker.trackPageView();
	piwikTracker.enableLinkTracking();
} catch( err ) {}
*/
//-->
