

var a = new Image(); a.src = 'images/blog_down.png';
var b = new Image(); b.src = 'images/blog_over.png';
var c = new Image(); c.src = 'images/books_down.png';
var d = new Image(); d.src = 'images/books_over.png';
var e = new Image(); e.src = 'images/facebook_down.png';
var f = new Image(); f.src = 'images/facebook_over.png';
var g = new Image(); g.src = 'images/video_down.png';
var h = new Image(); h.src = 'images/video_over.png';
var i = new Image(); i.src = 'images/work_down.png';
var j = new Image(); j.src = 'images/work_over.png';




// Activate cloaking device
var randnum = Math.random();
var inum = 1;
// Change this number to the number of images you are using.
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "pic1.jpg"


// Ensure you have an array item for every image you are using.
var image = images[rand1]
// Deactivate cloaking device -->

//script to pop up images on fun page -->


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- 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+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"",stringa);
}
//  End -->

