/*
Copyright © 2004 - Richard Dell'Agnola
URL  : http://www.richard-dellagnola.com
MAIL : contact@richard-dellagnola.com
*/

function ShowCopyright ()
{
  alert ("Copyright © 2004 - Richard Dell'Agnola sauf D.R.");
  return false;
}


function NoSelection ()
{
  return false;
}

function RemoveImage ()
{
  var theFrame = top.frames['framePrincipal'];
  if (typeof (theFrame) != "undefined")
  {
    var theDoc = theFrame.document;
  if (typeof (theDoc) != "undefined")
  {
    var nbImages = theDoc.images.length;
    for (var j = 0; j < nbImages; j ++)
    {
      var theImg = theDoc.images[j];
      if (typeof (theImg) != "undefined")
    {
      theImg.width = 227;
      theImg.height = 85;
        theImg.src = top.baseURL.value + 'Commun/images/Copyright.gif';
    }
    }
  }
  }
}

function InitCopyright ()
{
  document.onselectstart = NoSelection
  document.oncontextmenu = ShowCopyright
  window.onbeforeprint   = RemoveImage
  var theFrame = top.frames['framePrincipal'];
  if (typeof (theFrame) != "undefined")
  {
    var theDoc = theFrame.document;
  if (typeof (theDoc) != "undefined")
  {
      theDoc.onselectstart = NoSelection
      theDoc.oncontextmenu = ShowCopyright
  }
  }
}

// InitCopyright ();



