<!--//
// *** NETSCAPE/EXPLORER ***
if (navigator.appName == "Netscape") {

	document.write('<link rel=stylesheet href="../style_ns.css" type=text/css>');

} else {

	document.write('<link rel=stylesheet href="../style.css" type=text/css>');

}

//
function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.bgColor = clrIn; 
	} 
} 
function mClk(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}
// 


// *** APERTURA FOTO GRANDI ***
function offjs(str) {

        searchWin = window.open(str,'offjs','scrollbars=yes,resizable=yes,width=590,height=320,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}
function foto(str) {

        searchWin = window.open(str,'foto','scrollbars=no,resizable=no,width=350,height=224,status=no,location=no,toolbar=no');

//        searchWin.refer = self;

}

/*
Open Centered Popup Window Script-
© DHTML Shock (www.dhtmlshock.com)
To add more shock to your site, visit www.DHTML Shock.com
*/

function OpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

//
var slideShowSpeed = 5000


var crossFadeDuration = 3


var Pic = new Array()

Pic[0] = '../foto/copsx.jpg'
Pic[1] = '../foto/copsx1.jpg'
Pic[2] = '../foto/copsx2.jpg'

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)" 

document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

//-->


