function OnloadEvents() {
  var element_name,font_size,i,j,line_height,x,y,image_files=new Array,new_image=new Array;
  if(navigator.appName=="Microsoft Internet Explorer") {y=document.body.clientHeight;x=4*y/3;}
  else {y=window.innerHeight;x=4*y/3;}
  /* set background image */
    document.backdrop.height=y;
    window.setTimeout("document.backdrop.src='images/backdrop.jpg'",1500);
    document.backdrop.height=y;
  /* zone 1 attributes (name and phone number) */
    element_name=document.getElementById("zone1");
    element_name.style.top=Math.round(0.05*y)+"px";
    element_name.style.left=Math.round(0.01*x)+"px";element_name.style.width=Math.round(0.25*x)+"px";
    font_size=Math.round(0.018*y);line_height=Math.round(0.021*y);
    element_name.style.fontSize=font_size+"px";element_name.style.lineHeight=line_height+"px";
  /* zone 2 attributes (right-side text) */
    element_name=document.getElementById("zone2");
    element_name.style.top=Math.round(0.11*y)+"px";
    element_name.style.left=Math.round(0.41*x)+"px";element_name.style.width=Math.round(0.43*x)+"px";
    font_size=Math.round(0.017*y);line_height=Math.round(0.020*y);
    element_name.style.fontSize=font_size+"px";element_name.style.lineHeight=line_height+"px";
  /* label navigation buttons */
    for(i=1;i<=2;i++) {element_name=document.getElementById("button"+i);
      font_size=Math.round(0.018*y);element_name.style.fontSize=font_size+"px";
      element_name.style.left=Math.round(0.01*x)+"px";element_name.style.width=Math.round(0.2*x)+"px";
      element_name.style.top=Math.round((0.3+0.03*i)*y)+"px";element_name.style.height=Math.round(0.03*y)+"px";}
  /* preload images */
    for(i=0;i<=14;i++) {j=i+1;image_files[i]="thumbs/thumb_"+j+".jpg";}
    for(i=15;i<=29;i++) {j=i-14;image_files[i]="thumbs/thumb_"+j+"b.jpg";}
    for(i=30;i<=44;i++) {j=i-29;image_files[i]="images/asw_"+j+"_small.jpg";}
    for(i=45;i<=59;i++) {j=i-44;image_files[i]="images/asw_"+j+"_large.jpg";}
    for(i=0;i<image_files.length;i++) {new_image[i]=new Image;new_image[i].src=image_files[i];}}