// JavaScript Document

var images=new Array(); 
images[0]="/images/headerimages/header_main_weekly.jpg"; 
images[1]="/images/headerimages/header_main_closeup.jpg"; 
images[2]="/images/headerimages/header_main_topview.jpg"; 



function randomImage() { 
var i=Math.floor(Math.random()*images.length); 
document.getElementById("random").src=images[i]; 

} 
onload=randomImage; 

if (document.images)
{
  pic1= new Image(940,148); 
  pic1.src="/images/headerimages/header_main_weekly.jpg"; 

  pic2= new Image(940,148); 
  pic2.src="/images/headerimages/header_main_closeup.jpg"; 

  pic3= new Image(940,148); 
  pic3.src="/images/headerimages/header_main_topview.jpg";
  
  

}


function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=450,height=275,scrollbars=no');
return false;
}
