<!--

var root=document.documentElement;
if(root.className.match(/\bcanhasjs\b/)===null) {
	root.className=(!root.className)?'canhasjs':root.className+' canhasjs';
}

if(self!==top && root.className.match(/\bcanhasiframe\b/)===null){
	root.className=(!root.className)?'canhasiframe':root.className+'canhasiframe';
}

function addFavorite(title){
	if(!document.all){window.sidebar.addPanel(title,location.href,'');}
	else window.external.AddFavorite(location.href,title);
}

function Framebuster(){
	if(top!=self){
    	top.location.href=self.location.href;
    }
}

function fixLayout(){
	var cHeight=(($('content-primary').getHeight()<680))?680:$('content-primary').getHeight();
	if(cHeight<680)
		var cHeight=680;
	$('content').setStyle({height:((cHeight))+'px'});
	$('main-content').setStyle({height:((cHeight))+'px'});
	$('content-primary').setStyle({height:cHeight+'px'});
}

(function(){
	Event.observe(window,'load',function(){
        var bodyAttributes=$('www-top10-bordelle-de');
        if(typeof bodyAttributes.id!='undefined'){elId=bodyAttributes.id;}
        var newBody=new Element('body');
        if(elId!=''){newBody.setAttribute('id',elId);}
        var bodyClasses=$w(newBody.className);
        bodyClasses.each(function(cls){newBody.addClassName(cls);});
        bodyAttributes.setAttribute('oncontextmenu','return false;');
        bodyAttributes.setAttribute('ondragstart','return false;');
        bodyAttributes.setAttribute('onselectstart','return false;');
		var LinkElements=$$('a.blank');
		if(LinkElements.length>0){
			LinkElements.each(function(el){
				if(typeof el.href!='undefined'){
    				el.observe('click',function(event){this.target='_blank';});
				}
			});
		}
        
	});
})();

window.onerror=function(){return true;}



//-->