//
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);

// Random  Images
function salone() {
myImages = new Array('medium1.jpg','long1.jpg','short1.jpg','male3.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

function menu() {
myImages = new Array('medium2.jpg','long2.jpg','short2.jpg','male2.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

function approach() {
myImages = new Array('medium3.jpg','long3.jpg','short3.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

function media() {
myImages = new Array('medium4.jpg','long4.jpg','short4.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

function testimonials() {
myImages = new Array('medium5.jpg','long5.jpg','updo1.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

function contact() {
myImages = new Array('medium6.jpg','male1.jpg','updo2.jpg');
var myArray = myImages[Math.floor(Math.random()*myImages.length)];
document.write('<img src="images/'+ myArray +'" border="0" width="254" height="415">');
}

// Current Copyright Year
function Copyright() { document.write("&copy;" + new Date().getFullYear()) }

// Rollovers
function imgOver(imgName){ 
	document[imgName].src = eval(imgName + "_over.src"); 
}

function imgOff(imgName){ 
	document[imgName].src = eval(imgName + "_off.src"); 
}

collezione_off = new Image();
collezione_off.src = "images/collezione_nav.gif";

collezione_over = new Image();
collezione_over.src = "images/collezione_nav_f2.gif";

salone_off = new Image();
salone_off.src = "images/salone_nav.gif";

salone_over = new Image();
salone_over.src = "images/salone_nav_f2.gif";

menu_off = new Image();
menu_off.src = "images/menu_nav.gif";

menu_over = new Image();
menu_over.src = "images/menu_nav_f2.gif";

approach_off = new Image();
approach_off.src = "images/approach_nav.gif";

approach_over = new Image();
approach_over.src = "images/approach_nav_f2.gif";

media_off = new Image();
media_off.src = "images/media_nav.gif";

media_over = new Image();
media_over.src = "images/media_nav_f2.gif";

testimonials_off = new Image();
testimonials_off.src = "images/testimonials_nav.gif";

testimonials_over = new Image();
testimonials_over.src = "images/testimonials_nav_f2.gif";

contact_off = new Image();
contact_off.src = "images/contact_nav.gif";

contact_over = new Image();
contact_over.src = "images/contact_nav_f2.gif";

specials_off = new Image();
specials_off.src = "images/specials_nav.gif";

specials_over = new Image();
specials_over.src = "images/specials_nav_f2.gif";

italia_off = new Image();
italia_off.src = "images/italia.gif";

italia_over = new Image();
italia_over.src = "images/italia_f2.gif";

dallas_off = new Image();
dallas_off.src = "images/dallas.gif";

dallas_over = new Image();
dallas_over.src = "images/dallas_f2.gif";