<!--Ne pas copier les images-->
var message = "Reproduction Interdite."
   var ns4 = (document.layers)? true:false;         //NS 4
   var ie4 = (document.all)? true:false;            //IE 4 
   var dom = (document.getElementById)? true:false; //DOM
 if (dom)
      {
      if (document.addEventListener)
         document.addEventListener("mouseup",RightMouseDisable,false);
      else
         document.oncontextmenu = IsForbidden;
      }
   else if (ie4)
      {
      document.onkeydown = CheckKey;
      document.onmousedown = RightMouseDisable;
      }
   else if (ns4)
      {
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown = RightMouseDisable;
	  }
	else if (navigator.appName == "Netscape")
      {
		document.oncontextmenu=disableContextmenu; 
   }
function CheckKey()
      {
      var MyKey = event.keyCode;
      if (MyKey==93)
         {
         var MyValue = IsForbidden;
         return false;
         }
      }

function RightMouseDisable(e)
      {
      var MyNumber=0;
      if (ie4)
         MyNumber = event.button;
      else
         MyNumber = e.which;
      if (MyNumber==2||MyNumber==3)
         {
         var MyValue = IsForbidden();
         return false;
         }
      else
         return true; 
      }

   function IsForbidden()
      {
      alert(message);
      return false;
      }  
	 
function disableContextmenu()
{return false}
document.oncontextmenu=disableContextmenu;



<!--Alert click droit-->
if (document.layers){
window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
window.onmousedown=rightclick;
window.onmouseup=rightclick;
function rightclick(e) {
if (e.which == 3) {
alert('Pour toutes informations contacter nous par mail !!!');
return false;
}
else {
return true;
}
}
}
if (document.all){
function click() {
if (event.button==2) {
alert('Pour toutes informations contacter nous par mail !!!')
}
if (event.button==3) {
alert('Pour toutes informations contacter nous par mail !!!')}
}
document.onmousedown=click
}



<!--Désintégration d'une image-->
window.defaultStatus="Désintégration d'une image";



<!--Texte défilant en bas-->
var scroll = " The BAD LIEUTNANTS official website * Very bad Rock'n'Roll from Paris * "
var text_length = Math.max(40,scroll.length)
var pos = 1
var fill_char = "*"
var text = scroll
while (text.length < text_length)
   text += fill_char

function scroll_fct()
{   
   
early_text2 = pos-1
end_text2   = text.length-1   
early_text1 = 0
end_text1   = text.length-(end_text2-early_text2)-1
   
   var text2 = text.substring(early_text2,end_text2)
   var text1 = text.substring(early_text1,end_text1)
   
self.status = text2 + text1
   
    if (pos < text_length)
     pos++   
     else     
     pos = 1
   
   clearTimeout(TIMEOUT_ID) 
   TIMEOUT_ID = setTimeout("scroll_fct()",100)
}
var TIMEOUT_ID = setTimeout("scroll_fct()",1000)



<!--Désintégration d'une image-->
var imgwidth=412 // LARGEUR DE L'IMAGE
var imgheight=458 // HAUTEUR DE L'IMAGE
var imgurl="../buttons/angel.gif" // NOM DE L'IMAGE
var imgalt="ENTER" // INFO BULLE DE L'IMAGE
var redirurl="presentation.html" // URL DE REDIRECTION APRES CLIC
var x_finalpos=300 // DISTANCE DU BORD GAUCHE DE L'ECRAN
var y_finalpos=70 // DISTANCE DU HAUT DE L'ECRAN
var x_slices=10 // NOMBRE DE PIECES
var y_slices=7 // NOMBRE DE PIECES
var pause=10
var marginright
var width_slice=Math.floor(imgwidth/x_slices)
var height_slice=Math.floor(imgheight/y_slices)
var cliptop=0
var clipbottom=height_slice
var clipleft=0
var clipright=width_slice
var spancounter=0
var x_random=new Array()
var y_random=new Array()
var max_explsteps=15
var i_explsteps=0
function initiate() {
spancounter=0
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
x_random[spancounter]=Math.ceil(240*Math.random())-120
y_random[spancounter]=Math.ceil(240*Math.random())-120
spancounter++
}}}
function explode_IE() {
spancounter=0
if (i_explsteps<=max_explsteps) {
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisspan=eval("document.all.span"+spancounter+".style")
thisspan.posLeft+=x_random[spancounter]
thisspan.posTop+=y_random[spancounter]
spancounter++
}}
i_explsteps++
var timer=setTimeout("explode_IE()",pause)
}
else {
spancounter=0
for (i=0;i<=y_slices-1;i++) {
for (ii=0;ii<=x_slices-1;ii++) {
var thisspan=eval("document.all.span"+spancounter+".style")
thisspan.posLeft=-5000
spancounter++
}}
clearTimeout(timer)
window.location=redirurl
}}

n = (document.layers)? true:false;
ie = (document.all)? true:false;

function strippunkeredit(page,target,larg,haut,scraul){
        var posXpop = (screen.availWidth-larg)/2;
        var posYpop = (screen.availHeight-haut)/2;
        param = "width="+larg+",height="+haut+",left="+posXpop+",top="+posYpop+",scrollbars="+
scraul;
        popup = window.open(page,target,param);
}

