<!-- Begin
function CaricaFoto(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img){
  largh=foto1.width;
  altez=foto1.height;
  stringa="width="+largh+",height="+altez;
  finestra=window.open("","",stringa);
  finestra.document.write("<html><title>Anar Optik</title><body   bgcolor=\"ffffff\" topmargin=0 leftmargin=0 marginwidth=0   marginheight=0><img src=" + img +"></body></html>");
}

//  End -->



















//<!-- 
// Pre-define image containers
if (document.images) {
    pic10 = new Image(90,20);
    pic11 = new Image(90,20);

}

// Preload images
if (document.images) {
    pic10.src = "../images/button1.gif";
    pic11.src = "../images/button1a.gif";

}

function setImage(source, destination) {
    document[source].src = eval(destination + ".src");
}

// Highlight a menu item
function menuOver(number) {
     if(document.images) {
        setImage("button" + number, "pic" + "1" + "1");
    }
}

// Darken a menu item
function menuOut(number) {
     if(document.images) {
        setImage("button" + number, "pic" + "1" + "0");
    }
}
