<!--Copyright

var message="Function disabled.\nThe page is copyrighted\n© Haïm Melca - 2011 "; 

function click(e) 
{
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> 

/***********************************************
* Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for this script and 100's more.
***********************************************/

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

<!-- Highlight NEW content.html

function checknew(date) {
  var newimg = "../tools/nouveau.jpg border=0 align=absmiddle";
  var expdate = new Date(date);
  var curdate = new Date();
  if (expdate.getTime() > curdate.getTime())
  {
    document.write('<img src=' + newimg + '>' + " " +'<div class="headline-new">');
  }
  else
  {
    document.write('<div class="headline">');
  }
}


<!-- Highlight UPDATED content.html

function checkupdated(date) {
  var newimg = "../tools/updated.gif border=0";
  var expdate = new Date(date);
  var curdate = new Date();
  if (expdate.getTime() > curdate.getTime())
  {
    document.write('<img src=' + newimg + '>' + " " +'<div class="headline-new">');
  }
  else
  {
    document.write('<div class="headline">');
  }
}

<!-- Popup Window Generator NO options

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->

<!-- POPUP IMAGE 

function PopupImage(img) {
	titre="Collection P. Benisty";
	w=open("",'image','width=950,height=660, scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes');
	w.document.write("<HTML><HEAD><TITLE> "+titre+"</TITLE><META HTTP-EQUIV='imagetoolbar' CONTENT='no'></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  	window.resizeTo(document.images[0].width+40,document.images[0].height+100); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<LINK href='collections.css' rel=stylesheet>");
	w.document.write("<BODY onload='checksize()' oncontextmenu='return(false)'><IMG src=' "+img+" ' border=0 >");
	w.document.write("<div align='center'><INPUT TYPE='button' NAME='Close Window' VALUE='Fermer' onClick='self.close()' style='background: #947B4A; color: #EEE9D6; font-size: 1em'></div>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

<!-- POPUP KETUBAH

function PopKetuba(img) {
	titre="Ketubah, (contrat de mariage juif)";
	w=open("",'image','width=950,height=660, scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes');
	w.document.write("<HTML><HEAD><TITLE> "+titre+"</TITLE><META HTTP-EQUIV='imagetoolbar' CONTENT='no'></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  	window.resizeTo(document.images[0].width+40,document.images[0].height+100); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<LINK href='../judaica.css' rel=stylesheet>");
	w.document.write("<BODY onload='checksize()' oncontextmenu='return(false)'><IMG src=' "+img+" ' border=0 onload=this.style.filter='progid:DXImageTransform.Microsoft.Shadow(color=#2E2424,direction=135,strength=6)'>");
	w.document.write("<div align='center'><INPUT TYPE='button' NAME='Close Window' VALUE='Fermer' onClick='self.close()' style='background: #947B4A; color: #EEE9D6; font-size: 1em'></div>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

<!-- STATUS BAR-->

 window.defaultStatus='Copyright © Haïm Melca - 2011';


// Retour en haut de pages par un double clic

function dblclick() {
window.scrollTo(0,0)
}
if (document.layers) {
document.captureEvents(Event.ONDBLCLICK);
}
document.ondblclick=dblclick;









