// <SCRIPT LANGUAGE="JavaScript" SRC="scripts/functions.js"></SCRIPT>


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// Disable right-click

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert(" This Web Page is Copyright Protected ");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

<!-- 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 -->


// SERVICES PAGES NAVIGATION IMAGE ROTATE

<!-- Begin
// Set up the image files to be used.
var theNavImage = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theNavImage[0] = '../_imgs/services/nav_img01.jpg'
theNavImage[1] = '../_imgs/services/nav_img02.jpg'
theNavImage[2] = '../_imgs/services/nav_img03.jpg'
theNavImage[3] = '../_imgs/services/nav_img04.jpg'
theNavImage[4] = '../_imgs/services/nav_img05.jpg'
theNavImage[5] = '../_imgs/services/nav_img06.jpg'
theNavImage[6] = '../_imgs/services/nav_img07.jpg'
theNavImage[7] = '../_imgs/services/nav_img08.jpg'
theNavImage[8] = '../_imgs/services/nav_img09.jpg'
theNavImage[9] = '../_imgs/services/nav_img10.jpg'

// do not edit anything below this line

var j = 0
var p = theNavImage.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theNavImage[i]
}
var whichNavImage = Math.round(Math.random()*(p-1));
function showNavImage(){
document.write('<img src="'+theNavImage[whichNavImage]+'">');
}

//  End -->

// ABOUT PAGES NAVIGATION IMAGE ROTATE

<!-- Begin
// Set up the image files to be used.
var theNavImage2 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theNavImage2[0] = '../_imgs/about/nav_img01.jpg'
theNavImage2[1] = '../_imgs/about/nav_img02.jpg'
theNavImage2[2] = '../_imgs/about/nav_img03.jpg'
theNavImage2[3] = '../_imgs/about/nav_img04.jpg'
theNavImage2[4] = '../_imgs/about/nav_img05.jpg'

// do not edit anything below this line

var j = 0
var p = theNavImage2.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theNavImage2[i]
}
var whichNavImage2 = Math.round(Math.random()*(p-1));
function showNavImage2(){
document.write('<img src="'+theNavImage2[whichNavImage2]+'">');
}

//  End -->

// ABOUT PAGES NAVIGATION IMAGE ROTATE

<!-- Begin
// Set up the image files to be used.
var theNavImage3 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theNavImage3[0] = '../_imgs/contact/nav_img01.jpg'
theNavImage3[1] = '../_imgs/contact/nav_img02.jpg'
theNavImage3[2] = '../_imgs/contact/nav_img03.jpg'

// do not edit anything below this line

var j = 0
var p = theNavImage3.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theNavImage3[i]
}
var whichNavImage3 = Math.round(Math.random()*(p-1));
function showNavImage3(){
document.write('<img src="'+theNavImage3[whichNavImage3]+'">');
}

//  End -->



