function openwmv01()
{
 mov01=window.open('http://www.digizetta.net/html/mov/wmv01.htm',"wmv01","resizable=yes,scrollbars=no,width=480,height=365,top=40,left=40")
}

function opendemow2005()
{
 demoreelw=window.open('http://www.digizetta.net/html/mov/demoreelw.htm',"demoreelw","resizable=yes,scrollbars=no,width=480,height=455,top=40,left=40")
}

function opendemo2005()
{
 demoreel=window.open('http://www.digizetta.net/html/mov/demoreel.htm',"demoreel","resizable=yes,scrollbars=no,width=480,height=410,top=40,left=40")
}

function openmov01()
{
 mov01=window.open('http://www.digizetta.net/html/mov/movie01.htm',"mov01","resizable=yes,scrollbars=no,width=480,height=320,top=40,left=40")
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
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_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// Example: obj = findObj("image1");
function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  
  return foundObj;
}
// * Dependencies * 
// this function requires the following snippet:
// JavaScript/readable_MM_functions/findObj
function changewidthheight(objName, h, w)
{
  obj = findObj(objName);
  if (obj.style)
  {
    obj.style.height = h;
    obj.style.width = w;
  }
}

function changevisibility(objName, v)
{
  obj = findObj(objName);
  if (obj.style)
  {
    obj.style.visibility = v;
  }
}

function opensmallwindow(ref,title)
{
open(ref,title,"toolbar=no,directories=no,menubar=no,width=300,height=110,scrollbars=yes,top=40,left=30,resizable=yes");
}

function opengal01()
{
 gal01=window.open('http://www.digizetta.net/html/gallery/im_woodpuppet.htm',"gal01","resizable=yes,width=900,height=634,top=40,left=30")
}

function escramble(){ //EScrambler Protects Your Web Site From Spam Crawlers  http://innerpeace.org/escrambler.shtml
 var a,b,c,d,e,f,g,h,i
 a='<a href=\"mai'
 b='arnaud'
 c='\">'
 a+='lto:'
 b+='@'
 e='</a>'
 f=''
 b+='digizetta.net'
 g='<img src=\"'
 h=''
 i='\" alt="Email me." border="0">'

 if (f) d=f
 else if (h) d=g+h+i
 else d=b

 document.write(a+b+c+d+e)
}

function escramble2(){ //EScrambler alternate text : mail
 var a,b,c,d,e,f,g,h,i
 a='<a href=\"mai'
 b='arnaud'
 c='\">'
 a+='lto:'
 b+='@'
 e='</a>'
 f='<span class="red">mail</span>'
 b+='digizetta.net'
 g='<img src=\"'
 h=''
 i='\" alt="Email me." border="0">'

 if (f) d=f
 else if (h) d=g+h+i
 else d=b

 document.write(a+b+c+d+e)
}

function randombg(){ //The background is randomly chosen every time this page is loaded.
var randnum = Math.random();
var inum = 4;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "bgsanxin"
images[2] = "bgastro"
images[3] = "motion"
images[4] = "motion1"
// Ensure you have an array item for every image you are using.
var image = images[rand1]

document.write('<body id="' + image + '" text="black">')
}

function randomeva(){ //The image for eva_still.htm is randomly chosen every time this page is loaded.
var randnum = Math.random();
var inum = 4;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "eva_aula.jpg"
images[2] = "check_fog_sc64_p2.jpg"
images[3] = "sc65_illum2_p30.jpg"
images[4] = "eva_aula.jpg"
// Ensure you have an array item for every image you are using.
var image = images[rand1]

document.write('<a href="../images/stills/' + image + '" target="_blank"><img src="../images/stills/sm_' + image + '" alt="eva_3Danimatic_by_arnaud_vercammen" width="580" height="290" border="1px solid grey" /></a>')
}