/*
Insérer ce script entre les balises <Head> </Head>
*/

function AfficherImage(img){
  Image1= new Image();
  Image1.src=(img);
  Control(img);
}
function Control(img){
  if((Image1.width!=0)&&(Image1.height!=0)){
    VoirImage(img);
  }
  else{
    fonction="Control('"+img+"')";
    intervalle=setTimeout(fonction,20);
  }
}
function VoirImage(img){
  largeur=Image1.width+20;
  hauteur=Image1.height+20;
  proprietes="width="+ largeur +",height="+ hauteur;
  win=window.open(img,"",proprietes);
}

// JavaScript Document

<!--

//plan
function plan()
{
window.open("http://cms1.proximedia.com/Google/GoogleMap.asp?MapId=5917&Langue=FR&Options=100%25x100%25", "Plan", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=730, height=500, left=50, top=50");
}

function plan2()
{
window.open("http://cms1.proximedia.com/Google/GoogleMap.asp?MapId=5917&Langue=EN&Options=100%25x100%25", "Plan", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=730, height=500, left=50, top=50");
}


//

// mmLoadMenus()
function mmLoadMenus() {
  if (window.mm_menu_0109164034_0) return;
  window.mm_menu_0109164034_0 = new Menu("root",157,18,"Arial, Helvetica, sans-serif",12,"#000000","#CC3333","#FFFFFF","#FFFFFF","center","middle",3,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0109164034_0.addMenuItem("LUXE CONTEMPORAIN","location='http://www.vanlathem.fr/fr/contemporain.asp'");
  mm_menu_0109164034_0.addMenuItem("LUXE CLASSIQUE","location='http://www.vanlathem.fr/fr/classique.asp'");
  mm_menu_0109164034_0.addMenuItem("V. CREATIONS","location='http://www.vanlathem.fr/fr/v_creations.asp'");
mm_menu_0109164034_0.fontWeight="bold";
   mm_menu_0109164034_0.hideOnMouseOut=true;
   mm_menu_0109164034_0.bgColor='#666666';
   mm_menu_0109164034_0.menuBorder=1;
   mm_menu_0109164034_0.menuLiteBgColor='#000000';
   mm_menu_0109164034_0.menuBorderBgColor='#000000';

  window.mm_menu_0109164227_0 = new Menu("root",200,18,"Arial, Helvetica, sans-serif",12,"#000000","#CC3333","#FFFFFF","#FFFFFF","center","middle",3,0,500,-5,7,true,true,true,0,true,true);
  mm_menu_0109164227_0.addMenuItem("HISTOIRE","location='http://www.vanlathem.fr/fr/histoire.asp'");
  mm_menu_0109164227_0.addMenuItem("VAN&nbsp;LATHEM&nbsp;AUJOURD'HUI","location='http://www.vanlathem.fr/fr/vanlathem.asp'");
  mm_menu_0109164227_0.addMenuItem("INTERNATIONAL","location='http://www.vanlathem.fr/fr/international.asp'");
   mm_menu_0109164227_0.fontWeight="bold";
   mm_menu_0109164227_0.hideOnMouseOut=true;
   mm_menu_0109164227_0.bgColor='#666666';
   mm_menu_0109164227_0.menuBorder=1;
   mm_menu_0109164227_0.menuLiteBgColor='#000000';
   mm_menu_0109164227_0.menuBorderBgColor='#000000';
mm_menu_0109164227_0.writeMenus();
} 
//

         
//nav
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//

// pop up
PositionX = 100;
PositionY = 100;
defaultWidth  = 500;
defaultHeight = 500;
var AutoClose = true;
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}
//

// JavaScript Document
// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 420;
PositionY = 30;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onBlur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}

// <a href="javascript:popImage('beeld/kraan1gr.jpg','Aboda')"> //


/***********************************************
* Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Specify image paths and optional link (set link to "" for no link):
var dynimages=new Array()
dynimages[0]=["http://cms1.proximedia.com/files/32414/MediaArchive/img1.jpg"]
dynimages[1]=["http://cms1.proximedia.com/files/32414/MediaArchive/img2.jpg"]
dynimages[2]=["http://cms1.proximedia.com/files/32414/MediaArchive/img3.jpg"]
dynimages[3]=["http://cms1.proximedia.com/files/32414/MediaArchive/img4.jpg"]
dynimages[4]=["http://cms1.proximedia.com/files/32414/MediaArchive/img5.jpg"]
dynimages[5]=["http://cms1.proximedia.com/files/32414/MediaArchive/img6.jpg"]
dynimages[6]=["http://cms1.proximedia.com/files/32414/MediaArchive/img7.jpg"]
dynimages[7]=["http://cms1.proximedia.com/files/32414/MediaArchive/img8.jpg"]
dynimages[8]=["http://cms1.proximedia.com/files/32414/MediaArchive/img9.jpg"]
dynimages[9]=["http://cms1.proximedia.com/files/32414/MediaArchive/img10.jpg"]
dynimages[10]=["http://cms1.proximedia.com/files/32414/MediaArchive/img11.jpg"]
dynimages[11]=["http://cms1.proximedia.com/files/32414/MediaArchive/img12.jpg"]
dynimages[12]=["http://cms1.proximedia.com/files/32414/MediaArchive/img13.jpg"]
dynimages[13]=["http://cms1.proximedia.com/files/32414/MediaArchive/img14.jpg"]
dynimages[14]=["http://cms1.proximedia.com/files/32414/MediaArchive/img15.jpg"]
dynimages[15]=["http://cms1.proximedia.com/files/32414/MediaArchive/famille2.jpg"]

dynimages[16]=["http://cms1.proximedia.com/files/32414/MediaArchive/allure_1.jpg"]
dynimages[17]=["http://cms1.proximedia.com/files/32414/MediaArchive/allure_2.jpg"]
dynimages[18]=["http://cms1.proximedia.com/files/32414/MediaArchive/allure_3.jpg"]

dynimages[19]=["http://cms1.proximedia.com/files/32414/MediaArchive/art_deco1.jpg"]
dynimages[20]=["http://cms1.proximedia.com/files/32414/MediaArchive/art_deco2.jpg"]
dynimages[21]=["http://cms1.proximedia.com/files/32414/MediaArchive/art_deco3.jpg"]

dynimages[22]=["http://cms1.proximedia.com/files/32414/MediaArchive/baikal_1.jpg"]
dynimages[23]=["http://cms1.proximedia.com/files/32414/MediaArchive/baikal_2.jpg"]
dynimages[24]=["http://cms1.proximedia.com/files/32414/MediaArchive/baikal_3.jpg"]

dynimages[25]=["http://cms1.proximedia.com/files/32414/MediaArchive/curiosite1.jpg"]
dynimages[26]=["http://cms1.proximedia.com/files/32414/MediaArchive/curiosite2.jpg"]
dynimages[27]=["http://cms1.proximedia.com/files/32414/MediaArchive/curiosite3.jpg"]

dynimages[28]=["http://cms1.proximedia.com/files/32414/MediaArchive/lumiere_1.jpg"]
dynimages[29]=["http://cms1.proximedia.com/files/32414/MediaArchive/lumiere_2.jpg"]
dynimages[30]=["http://cms1.proximedia.com/files/32414/MediaArchive/lumiere_3.jpg"]

dynimages[31]=["http://cms1.proximedia.com/files/32414/MediaArchive/twinkle1.jpg"]
dynimages[32]=["http://cms1.proximedia.com/files/32414/MediaArchive/twinkle2.jpg"]
dynimages[33]=["http://cms1.proximedia.com/files/32414/MediaArchive/twinkle3.jpg"]

dynimages[34]=["http://cms1.proximedia.com/files/32414/MediaArchive/element_1.jpg"]
dynimages[35]=["http://cms1.proximedia.com/files/32414/MediaArchive/element_2.jpg"]
dynimages[36]=["http://cms1.proximedia.com/files/32414/MediaArchive/element_3.jpg"]

dynimages[37]=["http://cms1.proximedia.com/files/32414/MediaArchive/aquarelle_1.jpg"]
dynimages[38]=["http://cms1.proximedia.com/files/32414/MediaArchive/aquarelle_2.jpg"]
dynimages[39]=["http://cms1.proximedia.com/files/32414/MediaArchive/aquarelle_3.jpg"]

dynimages[40]=["http://cms1.proximedia.com/files/32414/MediaArchive/v_creation_1.jpg"]
dynimages[41]=["http://cms1.proximedia.com/files/32414/MediaArchive/v_creation_2.jpg"]
dynimages[42]=["http://cms1.proximedia.com/files/32414/MediaArchive/v_creation_3.jpg"]

dynimages[43]=["http://cms1.proximedia.com/files/32414/MediaArchive/cristal_1.jpg"]
dynimages[44]=["http://cms1.proximedia.com/files/32414/MediaArchive/cristal_2.jpg"]
dynimages[45]=["http://cms1.proximedia.com/files/32414/MediaArchive/cristal_3.jpg"]

dynimages[46]=["http://cms1.proximedia.com/files/32414/MediaArchive/esprit_des_lieux_1.jpg"]
dynimages[47]=["http://cms1.proximedia.com/files/32414/MediaArchive/esprit_des_lieux_2.jpg"]
dynimages[48]=["http://cms1.proximedia.com/files/32414/MediaArchive/esprit_des_lieux_3.jpg"]

dynimages[49]=["http://cms1.proximedia.com/files/32414/MediaArchive/loft_1.jpg"]
dynimages[50]=["http://cms1.proximedia.com/files/32414/MediaArchive/loft_2.jpg"]
dynimages[51]=["http://cms1.proximedia.com/files/32414/MediaArchive/loft_3.jpg"]

dynimages[52]=["http://cms1.proximedia.com/files/32414/MediaArchive/rivage_1.jpg"]
dynimages[53]=["http://cms1.proximedia.com/files/32414/MediaArchive/rivage_2.jpg"]
dynimages[54]=["http://cms1.proximedia.com/files/32414/MediaArchive/rivage_3.jpg"]


//Preload images ("yes" or "no"):
var preloadimg="no"

//Set optional link target to be added to all images with a link:
var optlinktarget=""

//Set image border width
var imgborderwidth=1

//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)"

///////No need to edit beyond here/////

if (preloadimg=="yes"){
for (x=0; x<dynimages.length; x++){
var myimage=new Image()
myimage.src=dynimages[x][0]
}
}

function returnimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml+='<img src="'+theimg[0]+'" border="0">'
if (theimg[1]!="")
imghtml+='</a>'
return imghtml
}

function modifyimage(loadarea, imgindex){
if (document.getElementById){
var imgobj=document.getElementById(loadarea)
if (imgobj.filters && window.createPopup){
imgobj.style.filter=filterstring
imgobj.filters[0].Apply()
}
imgobj.innerHTML=returnimgcode(dynimages[imgindex])
if (imgobj.filters && window.createPopup)
imgobj.filters[0].Play()
return false
}
}<!--  -->

//

//slide
/*
JavaScript Image slideshow:
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free JavaScript here!
*/

var slideimages=new Array()
var slidelinks=new Array()
function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages[i]=new Image()
slideimages[i].src=slideshowimages.arguments[i]
}
}

function slideshowlinks(){
for (i=0;i<slideshowlinks.arguments.length;i++)
slidelinks[i]=slideshowlinks.arguments[i]
}

function gotoshow(){
if (!window.winslide||winslide.closed)
winslide=window.open(slidelinks[whichlink])
else
winslide.location=slidelinks[whichlink]
winslide.focus()
}

//

// 05-11-2003 - francktfr@systeme-d.net 
// écrit pour http://www.systeme-d.net 
var imgs = new Array() 
var CellsDone = 0 
var Interval = 2000        //    Temps entre deux images (ms) 
//    Définition des images ici    : 
AddImage("../images/presentation01.jpg") 
AddImage("../images/presentation02.jpg") 
AddImage("../images/presentation03.jpg")
AddImage("../images/presentation04.jpg") 
AddImage("../images/presentation05.jpg") 
AddImage("../images/presentation06.jpg")  
function Hide(Index){ 
    CellsDone=0 
    for (y=0; y<Cache.rows.length; y++){ 
        for (x=0; x<Cache.rows[y].cells.length; x++){ setTimeout("HideCell(" + x + "," + y + "," + Index + ")",(Math.random()*300)) } 
    } 
} 
function HideCell( i, j, Index){ 
    CellsDone++ 
    Cache.rows[j].cells[i].style.background = "#FFFFFF" 
    if (CellsDone >= (Cache.rows.length*Cache.rows[j].cells.length)){ 
        Cache.style.backgroundImage = "url('" + imgs[Index].src +"')" 
        setTimeout("Show("+Index+")",200) 
    } 
} 
function Show(Index){ 
    CellsDone=0 
    for (y = 0; y < Cache.rows.length; y++){ 
        for (x = 0; x < Cache.rows[y].cells.length; x++){ setTimeout("ShowCell(" + x + "," + y + "," + Index + ")",200+(Math.random()*1000)) } 
    } 
} 
function ShowCell( i, j, Index){ 
    CellsDone++ 
    Cache.rows[j].cells[i].style.backgroundColor = "transparent" 
    if (CellsDone >= (Cache.rows.length*Cache.rows[j].cells.length)){ 
        Index < (imgs.length-1) ? Index++ : Index = 0 
        setTimeout("Hide("+Index+")",Interval) 
    } 
} 
function AddImage(Source){ 
    var img = new Image() 
    img.src = Source 
    imgs.push(img) 
} 
function CreateTable(Container, Dim){ 
    var maxx = 300
    var maxy = 300
    for(i=0; i<imgs.length; i++){ 
        if (imgs[i].height > maxy){maxy=imgs[i].height} 
        if (imgs[i].width > maxx){maxx=imgs[i].width} 
    } 
    var str = "<TABLE ID=Cache WIDTH="+300+" HEIGHT="+300+" CELLSPACING=0 CELLPADDING=0 BORDER=0 STYLE=\"table-layout: fixed; background-position: center center; background-repeat: no-repeat\">" 
    var row ="<TR>" 
    for (i=0; i<maxx; i += Dim){ 
        str += "<COL WIDTH="+Dim+">" 
        row += "<TD></TD>" 
    } 
    row +="</TR>" 
    for (i=0; i<maxy; i += Dim){str += row} 
    Container.innerHTML = str + "</TABLE>" 
    Hide(0) 
}


// Opacité diminue au survol des images ------------------------------------------------------------------------------------------------
function rendrevisible(timide,superman) 
{ 
force=(superman==1)? 1 : 0.5 
  
if (timide.style.MozOpacity) 
timide.style.MozOpacity=force 
else if (timide.filters) 
timide.filters.alpha.opacity=force*100 
} 

