/*
*/
var punti = new Array();
punti.push(new Array(1892,608));
punti.push(new Array(1400,409));
punti.push(new Array(536,147));
punti.push(new Array(85,180));
punti.push(new Array(1731,583));
punti.push(new Array(474,330));
punti.push(new Array(1760,501));
punti.push(new Array(1352,378));
punti.push(new Array(1009,101));
punti.push(new Array(1129,335));
punti.push(new Array(454,183));
punti.push(new Array(1789,508));
punti.push(new Array(1471,428));
punti.push(new Array(604,326));
punti.push(new Array(898,406));
punti.push(new Array(981,186));
punti.push(new Array(828,287));
punti.push(new Array(1607,109));
punti.push(new Array(1686,556));
punti.push(new Array(1796,353));
punti.push(new Array(1892,329));
punti.push(new Array(1783,445));
punti.push(new Array(710,318));
punti.push(new Array(1477,234));
punti.push(new Array(1829,441));
punti.push(new Array(1587,413));
punti.push(new Array(1793,388));
punti.push(new Array(1277,256));
punti.push(new Array(1530,150));
punti.push(new Array(525,120));
punti.push(new Array(1496,370));
punti.push(new Array(1025,288));
punti.push(new Array(783,362));
punti.push(new Array(1917,514));
punti.push(new Array(1050,361));
punti.push(new Array(1631,205));
punti.push(new Array(1419,212));
punti.push(new Array(1456,302));
punti.push(new Array(1054,132));
punti.push(new Array(1886,534));
punti.push(new Array(1699,610));
punti.push(new Array(442,326));
punti.push(new Array(519,366));
punti.push(new Array(924,350));
punti.push(new Array(1749,250));
punti.push(new Array(1608,425));
punti.push(new Array(483,433));
punti.push(new Array(1705,134));
punti.push(new Array(1719,390));
punti.push(new Array(949,227));
punti.push(new Array(1630,430));
punti.push(new Array(1814,537));
punti.push(new Array(645,230));
punti.push(new Array(950,355));
punti.push(new Array(462,433));
punti.push(new Array(523,172));
punti.push(new Array(1395,214));
punti.push(new Array(1423,418));
punti.push(new Array(155,225));
punti.push(new Array(1715,428));
punti.push(new Array(80,224));
punti.push(new Array(1520,458));
punti.push(new Array(902,370));
punti.push(new Array(495,172));
punti.push(new Array(1669,607));
// funzioni di utilitā
function addListener(element, baseName, handler){
if(window.addEventListener){alert('Moz');
element.addEventListener(baseName,handler,false);
}
else if(window.attachEvent){alert('IE');
element.attachEvent('on'+baseName,handler);
}
}
function setInnerDivSize(){
var innerDiv=document.getElementById("innerDiv");
//centro
innerDiv.style.width = imgWidth;
innerDiv.style.height = imgHeight;
}
function centra(){
//per centrare l'immagine..... funz solo su IE ?!?!?!?!?!
var innerDiv=document.getElementById("innerDiv");
innerDiv.style.top = -((imgHeight/2)-(divHeight/2));
innerDiv.style.left = -((imgWidth/2)-(divWidth/2));
}
function setOuterDivSize(){
var outerDiv=document.getElementById("outerDiv");
outerDiv.style.width = divWidth;
outerDiv.style.height = divHeight;
}
function stripPx(value){
if(value == "") return 0;
return parseFloat(value.substring(0,value.length-2));
}
function repos(){
var innerDiv=document.getElementById("innerDiv");
innerDiv.style.top = newtop;
innerDiv.style.left = newleft;
}
function gotopoint(num){
//alert('Provo a settare il punto '+num);
//recupero alto sisnistra quando il punto č al centro
var innerDiv=document.getElementById("innerDiv");
//if(console)console.debug("centro al punto "+num+"\n"+(punti[num][0]-(divHeight/2))+"\n"+(punti[num][1]-(divWidth/2)));
//innerDiv.style.top = 0;
innerDiv.style.left = 0;
innerDiv.style.top = - punti[num][1]+(divHeight/2);
innerDiv.style.left = - punti[num][0]+(divWidth/2);
//newtop = - punti[num][1]+(divHeight/2);
//newleft = - punti[num][0]+(divWidth/2);
//repos();
}
function showInfo0(){
document.getElementById('back_0').style.display="block";
document.getElementById('info_0').style.display="block";
}
function showInfo1(){
document.getElementById('back_1').style.display="block";
document.getElementById('info_1').style.display="block";
}
function showInfo2(){
document.getElementById('back_2').style.display="block";
document.getElementById('info_2').style.display="block";
}
function showInfo3(){
document.getElementById('back_3').style.display="block";
document.getElementById('info_3').style.display="block";
}
function showInfo4(){
document.getElementById('back_4').style.display="block";
document.getElementById('info_4').style.display="block";
}
function showInfo5(){
document.getElementById('back_5').style.display="block";
document.getElementById('info_5').style.display="block";
}
function showInfo6(){
document.getElementById('back_6').style.display="block";
document.getElementById('info_6').style.display="block";
}
function showInfo7(){
document.getElementById('back_7').style.display="block";
document.getElementById('info_7').style.display="block";
}
function showInfo8(){
document.getElementById('back_8').style.display="block";
document.getElementById('info_8').style.display="block";
}
function showInfo9(){
document.getElementById('back_9').style.display="block";
document.getElementById('info_9').style.display="block";
}
function showInfo10(){
document.getElementById('back_10').style.display="block";
document.getElementById('info_10').style.display="block";
}
function showInfo11(){
document.getElementById('back_11').style.display="block";
document.getElementById('info_11').style.display="block";
}
function showInfo12(){
document.getElementById('back_12').style.display="block";
document.getElementById('info_12').style.display="block";
}
function showInfo13(){
document.getElementById('back_13').style.display="block";
document.getElementById('info_13').style.display="block";
}
function showInfo14(){
document.getElementById('back_14').style.display="block";
document.getElementById('info_14').style.display="block";
}
function showInfo15(){
document.getElementById('back_15').style.display="block";
document.getElementById('info_15').style.display="block";
}
function showInfo16(){
document.getElementById('back_16').style.display="block";
document.getElementById('info_16').style.display="block";
}
function showInfo17(){
document.getElementById('back_17').style.display="block";
document.getElementById('info_17').style.display="block";
}
function showInfo18(){
document.getElementById('back_18').style.display="block";
document.getElementById('info_18').style.display="block";
}
function showInfo19(){
document.getElementById('back_19').style.display="block";
document.getElementById('info_19').style.display="block";
}
function showInfo20(){
document.getElementById('back_20').style.display="block";
document.getElementById('info_20').style.display="block";
}
function showInfo21(){
document.getElementById('back_21').style.display="block";
document.getElementById('info_21').style.display="block";
}
function showInfo22(){
document.getElementById('back_22').style.display="block";
document.getElementById('info_22').style.display="block";
}
function showInfo23(){
document.getElementById('back_23').style.display="block";
document.getElementById('info_23').style.display="block";
}
function showInfo24(){
document.getElementById('back_24').style.display="block";
document.getElementById('info_24').style.display="block";
}
function showInfo25(){
document.getElementById('back_25').style.display="block";
document.getElementById('info_25').style.display="block";
}
function showInfo26(){
document.getElementById('back_26').style.display="block";
document.getElementById('info_26').style.display="block";
}
function showInfo27(){
document.getElementById('back_27').style.display="block";
document.getElementById('info_27').style.display="block";
}
function showInfo28(){
document.getElementById('back_28').style.display="block";
document.getElementById('info_28').style.display="block";
}
function showInfo29(){
document.getElementById('back_29').style.display="block";
document.getElementById('info_29').style.display="block";
}
function showInfo30(){
document.getElementById('back_30').style.display="block";
document.getElementById('info_30').style.display="block";
}
function showInfo31(){
document.getElementById('back_31').style.display="block";
document.getElementById('info_31').style.display="block";
}
function showInfo32(){
document.getElementById('back_32').style.display="block";
document.getElementById('info_32').style.display="block";
}
function showInfo33(){
document.getElementById('back_33').style.display="block";
document.getElementById('info_33').style.display="block";
}
function showInfo34(){
document.getElementById('back_34').style.display="block";
document.getElementById('info_34').style.display="block";
}
function showInfo35(){
document.getElementById('back_35').style.display="block";
document.getElementById('info_35').style.display="block";
}
function showInfo36(){
document.getElementById('back_36').style.display="block";
document.getElementById('info_36').style.display="block";
}
function showInfo37(){
document.getElementById('back_37').style.display="block";
document.getElementById('info_37').style.display="block";
}
function showInfo38(){
document.getElementById('back_38').style.display="block";
document.getElementById('info_38').style.display="block";
}
function showInfo39(){
document.getElementById('back_39').style.display="block";
document.getElementById('info_39').style.display="block";
}
function showInfo40(){
document.getElementById('back_40').style.display="block";
document.getElementById('info_40').style.display="block";
}
function showInfo41(){
document.getElementById('back_41').style.display="block";
document.getElementById('info_41').style.display="block";
}
function showInfo42(){
document.getElementById('back_42').style.display="block";
document.getElementById('info_42').style.display="block";
}
function showInfo43(){
document.getElementById('back_43').style.display="block";
document.getElementById('info_43').style.display="block";
}
function showInfo44(){
document.getElementById('back_44').style.display="block";
document.getElementById('info_44').style.display="block";
}
function showInfo45(){
document.getElementById('back_45').style.display="block";
document.getElementById('info_45').style.display="block";
}
function showInfo46(){
document.getElementById('back_46').style.display="block";
document.getElementById('info_46').style.display="block";
}
function showInfo47(){
document.getElementById('back_47').style.display="block";
document.getElementById('info_47').style.display="block";
}
function showInfo48(){
document.getElementById('back_48').style.display="block";
document.getElementById('info_48').style.display="block";
}
function showInfo49(){
document.getElementById('back_49').style.display="block";
document.getElementById('info_49').style.display="block";
}
function showInfo50(){
document.getElementById('back_50').style.display="block";
document.getElementById('info_50').style.display="block";
}
function showInfo51(){
document.getElementById('back_51').style.display="block";
document.getElementById('info_51').style.display="block";
}
function showInfo52(){
document.getElementById('back_52').style.display="block";
document.getElementById('info_52').style.display="block";
}
function showInfo53(){
document.getElementById('back_53').style.display="block";
document.getElementById('info_53').style.display="block";
}
function showInfo54(){
document.getElementById('back_54').style.display="block";
document.getElementById('info_54').style.display="block";
}
function showInfo55(){
document.getElementById('back_55').style.display="block";
document.getElementById('info_55').style.display="block";
}
function showInfo56(){
document.getElementById('back_56').style.display="block";
document.getElementById('info_56').style.display="block";
}
function showInfo57(){
document.getElementById('back_57').style.display="block";
document.getElementById('info_57').style.display="block";
}
function showInfo58(){
document.getElementById('back_58').style.display="block";
document.getElementById('info_58').style.display="block";
}
function showInfo59(){
document.getElementById('back_59').style.display="block";
document.getElementById('info_59').style.display="block";
}
function showInfo60(){
document.getElementById('back_60').style.display="block";
document.getElementById('info_60').style.display="block";
}
function showInfo61(){
document.getElementById('back_61').style.display="block";
document.getElementById('info_61').style.display="block";
}
function showInfo62(){
document.getElementById('back_62').style.display="block";
document.getElementById('info_62').style.display="block";
}
function showInfo63(){
document.getElementById('back_63').style.display="block";
document.getElementById('info_63').style.display="block";
}
function showInfo64(){
document.getElementById('back_64').style.display="block";
document.getElementById('info_64').style.display="block";
}
function setPointer(){style.cursor='pointer';}
function disableDrag(){dragging=false; document.getElementById('outerDiv').onmousedown = null;}
function setPoints(){
var innerDiv=document.getElementById("innerDiv");
img0 =document.createElement("img");
img0.src="img/trasparente.gif";
img0.style.position="absolute";
img0.style.left='1880px';
img0.style.top='596px';
//img0.style.top='583px';
img0.zIndex=0;
img0.setAttribute("id","img_0");
img0.setAttribute("class","point");
img0.style.cursor='pointer';
img0.setAttribute("title","Agricola Cā Bonelli S.R.L.");
if(img0.addEventListener)
img0.addEventListener('click',showInfo0,false);
else if(img0.attachEvent)
img0.attachEvent('onclick',showInfo0);
//ora lo posso appendere
innerDiv.appendChild(img0);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_0').addEventListener){
document.getElementById('info_0').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_0').attachEvent){
document.getElementById('info_0').attachEvent('onmouseover',disableDrag);
}
img1 =document.createElement("img");
img1.src="img/trasparente.gif";
img1.style.position="absolute";
img1.style.left='1388px';
img1.style.top='397px';
//img1.style.top='384px';
img1.zIndex=0;
img1.setAttribute("id","img_1");
img1.setAttribute("class","point");
img1.style.cursor='pointer';
img1.setAttribute("title","2. Ai Pavoni");
if(img1.addEventListener)
img1.addEventListener('click',showInfo1,false);
else if(img1.attachEvent)
img1.attachEvent('onclick',showInfo1);
//ora lo posso appendere
innerDiv.appendChild(img1);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_1').addEventListener){
document.getElementById('info_1').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_1').attachEvent){
document.getElementById('info_1').attachEvent('onmouseover',disableDrag);
}
img2 =document.createElement("img");
img2.src="img/trasparente.gif";
img2.style.position="absolute";
img2.style.left='524px';
img2.style.top='135px';
//img2.style.top='122px';
img2.zIndex=0;
img2.setAttribute("id","img_2");
img2.setAttribute("class","point");
img2.style.cursor='pointer';
img2.setAttribute("title","3. Amistā");
if(img2.addEventListener)
img2.addEventListener('click',showInfo2,false);
else if(img2.attachEvent)
img2.attachEvent('onclick',showInfo2);
//ora lo posso appendere
innerDiv.appendChild(img2);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_2').addEventListener){
document.getElementById('info_2').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_2').attachEvent){
document.getElementById('info_2').attachEvent('onmouseover',disableDrag);
}
img3 =document.createElement("img");
img3.src="img/trasparente.gif";
img3.style.position="absolute";
img3.style.left='73px';
img3.style.top='168px';
//img3.style.top='155px';
img3.zIndex=0;
img3.setAttribute("id","img_3");
img3.setAttribute("class","point");
img3.style.cursor='pointer';
img3.setAttribute("title","4. Cā Del Nonno");
if(img3.addEventListener)
img3.addEventListener('click',showInfo3,false);
else if(img3.attachEvent)
img3.attachEvent('onclick',showInfo3);
//ora lo posso appendere
innerDiv.appendChild(img3);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_3').addEventListener){
document.getElementById('info_3').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_3').attachEvent){
document.getElementById('info_3').attachEvent('onmouseover',disableDrag);
}
img4 =document.createElement("img");
img4.src="img/trasparente.gif";
img4.style.position="absolute";
img4.style.left='1719px';
img4.style.top='571px';
//img4.style.top='558px';
img4.zIndex=0;
img4.setAttribute("id","img_4");
img4.setAttribute("class","point");
img4.style.cursor='pointer';
img4.setAttribute("title","5. Cā Lattis");
if(img4.addEventListener)
img4.addEventListener('click',showInfo4,false);
else if(img4.attachEvent)
img4.attachEvent('onclick',showInfo4);
//ora lo posso appendere
innerDiv.appendChild(img4);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_4').addEventListener){
document.getElementById('info_4').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_4').attachEvent){
document.getElementById('info_4').attachEvent('onmouseover',disableDrag);
}
img5 =document.createElement("img");
img5.src="img/trasparente.gif";
img5.style.position="absolute";
img5.style.left='462px';
img5.style.top='318px';
//img5.style.top='305px';
img5.zIndex=0;
img5.setAttribute("id","img_5");
img5.setAttribute("class","point");
img5.style.cursor='pointer';
img5.setAttribute("title","6. Pozza");
if(img5.addEventListener)
img5.addEventListener('click',showInfo5,false);
else if(img5.attachEvent)
img5.attachEvent('onclick',showInfo5);
//ora lo posso appendere
innerDiv.appendChild(img5);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_5').addEventListener){
document.getElementById('info_5').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_5').attachEvent){
document.getElementById('info_5').attachEvent('onmouseover',disableDrag);
}
img6 =document.createElement("img");
img6.src="img/trasparente.gif";
img6.style.position="absolute";
img6.style.left='1748px';
img6.style.top='489px';
//img6.style.top='476px';
img6.zIndex=0;
img6.setAttribute("id","img_6");
img6.setAttribute("class","point");
img6.style.cursor='pointer';
img6.setAttribute("title","7. Caprissio");
if(img6.addEventListener)
img6.addEventListener('click',showInfo6,false);
else if(img6.attachEvent)
img6.attachEvent('onclick',showInfo6);
//ora lo posso appendere
innerDiv.appendChild(img6);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_6').addEventListener){
document.getElementById('info_6').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_6').attachEvent){
document.getElementById('info_6').attachEvent('onmouseover',disableDrag);
}
img7 =document.createElement("img");
img7.src="img/trasparente.gif";
img7.style.position="absolute";
img7.style.left='1340px';
img7.style.top='366px';
//img7.style.top='353px';
img7.zIndex=0;
img7.setAttribute("id","img_7");
img7.setAttribute("class","point");
img7.style.cursor='pointer';
img7.setAttribute("title","8. Casa Ramello");
if(img7.addEventListener)
img7.addEventListener('click',showInfo7,false);
else if(img7.attachEvent)
img7.attachEvent('onclick',showInfo7);
//ora lo posso appendere
innerDiv.appendChild(img7);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_7').addEventListener){
document.getElementById('info_7').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_7').attachEvent){
document.getElementById('info_7').attachEvent('onmouseover',disableDrag);
}
img8 =document.createElement("img");
img8.src="img/trasparente.gif";
img8.style.position="absolute";
img8.style.left='997px';
img8.style.top='89px';
//img8.style.top='76px';
img8.zIndex=0;
img8.setAttribute("id","img_8");
img8.setAttribute("class","point");
img8.style.cursor='pointer';
img8.setAttribute("title","9. Corte Carezzabella");
if(img8.addEventListener)
img8.addEventListener('click',showInfo8,false);
else if(img8.attachEvent)
img8.attachEvent('onclick',showInfo8);
//ora lo posso appendere
innerDiv.appendChild(img8);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_8').addEventListener){
document.getElementById('info_8').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_8').attachEvent){
document.getElementById('info_8').attachEvent('onmouseover',disableDrag);
}
img9 =document.createElement("img");
img9.src="img/trasparente.gif";
img9.style.position="absolute";
img9.style.left='1117px';
img9.style.top='323px';
//img9.style.top='310px';
img9.zIndex=0;
img9.setAttribute("id","img_9");
img9.setAttribute("class","point");
img9.style.cursor='pointer';
img9.setAttribute("title","10. Corte Confina");
if(img9.addEventListener)
img9.addEventListener('click',showInfo9,false);
else if(img9.attachEvent)
img9.attachEvent('onclick',showInfo9);
//ora lo posso appendere
innerDiv.appendChild(img9);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_9').addEventListener){
document.getElementById('info_9').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_9').attachEvent){
document.getElementById('info_9').attachEvent('onmouseover',disableDrag);
}
img10 =document.createElement("img");
img10.src="img/trasparente.gif";
img10.style.position="absolute";
img10.style.left='442px';
img10.style.top='171px';
//img10.style.top='158px';
img10.zIndex=0;
img10.setAttribute("id","img_10");
img10.setAttribute("class","point");
img10.style.cursor='pointer';
img10.setAttribute("title","11. Corte Magona");
if(img10.addEventListener)
img10.addEventListener('click',showInfo10,false);
else if(img10.attachEvent)
img10.attachEvent('onclick',showInfo10);
//ora lo posso appendere
innerDiv.appendChild(img10);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_10').addEventListener){
document.getElementById('info_10').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_10').attachEvent){
document.getElementById('info_10').attachEvent('onmouseover',disableDrag);
}
img11 =document.createElement("img");
img11.src="img/trasparente.gif";
img11.style.position="absolute";
img11.style.left='1777px';
img11.style.top='496px';
//img11.style.top='483px';
img11.zIndex=0;
img11.setAttribute("id","img_11");
img11.setAttribute("class","point");
img11.style.cursor='pointer';
img11.setAttribute("title","12. Corte Papadopoli");
if(img11.addEventListener)
img11.addEventListener('click',showInfo11,false);
else if(img11.attachEvent)
img11.attachEvent('onclick',showInfo11);
//ora lo posso appendere
innerDiv.appendChild(img11);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_11').addEventListener){
document.getElementById('info_11').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_11').attachEvent){
document.getElementById('info_11').attachEvent('onmouseover',disableDrag);
}
img12 =document.createElement("img");
img12.src="img/trasparente.gif";
img12.style.position="absolute";
img12.style.left='1459px';
img12.style.top='416px';
//img12.style.top='403px';
img12.zIndex=0;
img12.setAttribute("id","img_12");
img12.setAttribute("class","point");
img12.style.cursor='pointer';
img12.setAttribute("title","13. Forzello");
if(img12.addEventListener)
img12.addEventListener('click',showInfo12,false);
else if(img12.attachEvent)
img12.attachEvent('onclick',showInfo12);
//ora lo posso appendere
innerDiv.appendChild(img12);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_12').addEventListener){
document.getElementById('info_12').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_12').attachEvent){
document.getElementById('info_12').attachEvent('onmouseover',disableDrag);
}
img13 =document.createElement("img");
img13.src="img/trasparente.gif";
img13.style.position="absolute";
img13.style.left='592px';
img13.style.top='314px';
//img13.style.top='301px';
img13.zIndex=0;
img13.setAttribute("id","img_13");
img13.setAttribute("class","point");
img13.style.cursor='pointer';
img13.setAttribute("title","14. Giona");
if(img13.addEventListener)
img13.addEventListener('click',showInfo13,false);
else if(img13.attachEvent)
img13.attachEvent('onclick',showInfo13);
//ora lo posso appendere
innerDiv.appendChild(img13);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_13').addEventListener){
document.getElementById('info_13').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_13').attachEvent){
document.getElementById('info_13').attachEvent('onmouseover',disableDrag);
}
img14 =document.createElement("img");
img14.src="img/trasparente.gif";
img14.style.position="absolute";
img14.style.left='886px';
img14.style.top='394px';
//img14.style.top='381px';
img14.zIndex=0;
img14.setAttribute("id","img_14");
img14.setAttribute("class","point");
img14.style.cursor='pointer';
img14.setAttribute("title","15. I Quarti");
if(img14.addEventListener)
img14.addEventListener('click',showInfo14,false);
else if(img14.attachEvent)
img14.attachEvent('onclick',showInfo14);
//ora lo posso appendere
innerDiv.appendChild(img14);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_14').addEventListener){
document.getElementById('info_14').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_14').attachEvent){
document.getElementById('info_14').attachEvent('onmouseover',disableDrag);
}
img15 =document.createElement("img");
img15.src="img/trasparente.gif";
img15.style.position="absolute";
img15.style.left='969px';
img15.style.top='174px';
//img15.style.top='161px';
img15.zIndex=0;
img15.setAttribute("id","img_15");
img15.setAttribute("class","point");
img15.style.cursor='pointer';
img15.setAttribute("title","16. Il Bosco");
if(img15.addEventListener)
img15.addEventListener('click',showInfo15,false);
else if(img15.attachEvent)
img15.attachEvent('onclick',showInfo15);
//ora lo posso appendere
innerDiv.appendChild(img15);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_15').addEventListener){
document.getElementById('info_15').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_15').attachEvent){
document.getElementById('info_15').attachEvent('onmouseover',disableDrag);
}
img16 =document.createElement("img");
img16.src="img/trasparente.gif";
img16.style.position="absolute";
img16.style.left='816px';
img16.style.top='275px';
//img16.style.top='262px';
img16.zIndex=0;
img16.setAttribute("id","img_16");
img16.setAttribute("class","point");
img16.style.cursor='pointer';
img16.setAttribute("title","17. Il Cavallino");
if(img16.addEventListener)
img16.addEventListener('click',showInfo16,false);
else if(img16.attachEvent)
img16.attachEvent('onclick',showInfo16);
//ora lo posso appendere
innerDiv.appendChild(img16);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_16').addEventListener){
document.getElementById('info_16').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_16').attachEvent){
document.getElementById('info_16').attachEvent('onmouseover',disableDrag);
}
img17 =document.createElement("img");
img17.src="img/trasparente.gif";
img17.style.position="absolute";
img17.style.left='1595px';
img17.style.top='97px';
//img17.style.top='84px';
img17.zIndex=0;
img17.setAttribute("id","img_17");
img17.setAttribute("class","point");
img17.style.cursor='pointer';
img17.setAttribute("title","18. Il Leccio");
if(img17.addEventListener)
img17.addEventListener('click',showInfo17,false);
else if(img17.attachEvent)
img17.attachEvent('onclick',showInfo17);
//ora lo posso appendere
innerDiv.appendChild(img17);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_17').addEventListener){
document.getElementById('info_17').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_17').attachEvent){
document.getElementById('info_17').attachEvent('onmouseover',disableDrag);
}
img18 =document.createElement("img");
img18.src="img/trasparente.gif";
img18.style.position="absolute";
img18.style.left='1674px';
img18.style.top='544px';
//img18.style.top='531px';
img18.zIndex=0;
img18.setAttribute("id","img_18");
img18.setAttribute("class","point");
img18.style.cursor='pointer';
img18.setAttribute("title","19. Incantesimo");
if(img18.addEventListener)
img18.addEventListener('click',showInfo18,false);
else if(img18.attachEvent)
img18.attachEvent('onclick',showInfo18);
//ora lo posso appendere
innerDiv.appendChild(img18);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_18').addEventListener){
document.getElementById('info_18').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_18').attachEvent){
document.getElementById('info_18').attachEvent('onmouseover',disableDrag);
}
img19 =document.createElement("img");
img19.src="img/trasparente.gif";
img19.style.position="absolute";
img19.style.left='1784px';
img19.style.top='341px';
//img19.style.top='328px';
img19.zIndex=0;
img19.setAttribute("id","img_19");
img19.setAttribute("class","point");
img19.style.cursor='pointer';
img19.setAttribute("title","20. La Cā Del Delta");
if(img19.addEventListener)
img19.addEventListener('click',showInfo19,false);
else if(img19.attachEvent)
img19.attachEvent('onclick',showInfo19);
//ora lo posso appendere
innerDiv.appendChild(img19);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_19').addEventListener){
document.getElementById('info_19').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_19').attachEvent){
document.getElementById('info_19').attachEvent('onmouseover',disableDrag);
}
img20 =document.createElement("img");
img20.src="img/trasparente.gif";
img20.style.position="absolute";
img20.style.left='1880px';
img20.style.top='317px';
//img20.style.top='304px';
img20.zIndex=0;
img20.setAttribute("id","img_20");
img20.setAttribute("class","point");
img20.style.cursor='pointer';
img20.setAttribute("title","21. La Capannina");
if(img20.addEventListener)
img20.addEventListener('click',showInfo20,false);
else if(img20.attachEvent)
img20.attachEvent('onclick',showInfo20);
//ora lo posso appendere
innerDiv.appendChild(img20);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_20').addEventListener){
document.getElementById('info_20').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_20').attachEvent){
document.getElementById('info_20').attachEvent('onmouseover',disableDrag);
}
img21 =document.createElement("img");
img21.src="img/trasparente.gif";
img21.style.position="absolute";
img21.style.left='1771px';
img21.style.top='433px';
//img21.style.top='420px';
img21.zIndex=0;
img21.setAttribute("id","img_21");
img21.setAttribute("class","point");
img21.style.cursor='pointer';
img21.setAttribute("title","22. La Fraterna");
if(img21.addEventListener)
img21.addEventListener('click',showInfo21,false);
else if(img21.attachEvent)
img21.attachEvent('onclick',showInfo21);
//ora lo posso appendere
innerDiv.appendChild(img21);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_21').addEventListener){
document.getElementById('info_21').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_21').attachEvent){
document.getElementById('info_21').attachEvent('onmouseover',disableDrag);
}
img22 =document.createElement("img");
img22.src="img/trasparente.gif";
img22.style.position="absolute";
img22.style.left='698px';
img22.style.top='306px';
//img22.style.top='293px';
img22.zIndex=0;
img22.setAttribute("id","img_22");
img22.setAttribute("class","point");
img22.style.cursor='pointer';
img22.setAttribute("title","23. La Frattesina");
if(img22.addEventListener)
img22.addEventListener('click',showInfo22,false);
else if(img22.attachEvent)
img22.attachEvent('onclick',showInfo22);
//ora lo posso appendere
innerDiv.appendChild(img22);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_22').addEventListener){
document.getElementById('info_22').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_22').attachEvent){
document.getElementById('info_22').attachEvent('onmouseover',disableDrag);
}
img23 =document.createElement("img");
img23.src="img/trasparente.gif";
img23.style.position="absolute";
img23.style.left='1465px';
img23.style.top='222px';
//img23.style.top='209px';
img23.zIndex=0;
img23.setAttribute("id","img_23");
img23.setAttribute("class","point");
img23.style.cursor='pointer';
img23.setAttribute("title","24. La Montagnola");
if(img23.addEventListener)
img23.addEventListener('click',showInfo23,false);
else if(img23.attachEvent)
img23.attachEvent('onclick',showInfo23);
//ora lo posso appendere
innerDiv.appendChild(img23);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_23').addEventListener){
document.getElementById('info_23').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_23').attachEvent){
document.getElementById('info_23').attachEvent('onmouseover',disableDrag);
}
img24 =document.createElement("img");
img24.src="img/trasparente.gif";
img24.style.position="absolute";
img24.style.left='1817px';
img24.style.top='429px';
//img24.style.top='416px';
img24.zIndex=0;
img24.setAttribute("id","img_24");
img24.setAttribute("class","point");
img24.style.cursor='pointer';
img24.setAttribute("title","25. La Noce");
if(img24.addEventListener)
img24.addEventListener('click',showInfo24,false);
else if(img24.attachEvent)
img24.attachEvent('onclick',showInfo24);
//ora lo posso appendere
innerDiv.appendChild(img24);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_24').addEventListener){
document.getElementById('info_24').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_24').attachEvent){
document.getElementById('info_24').attachEvent('onmouseover',disableDrag);
}
img25 =document.createElement("img");
img25.src="img/trasparente.gif";
img25.style.position="absolute";
img25.style.left='1575px';
img25.style.top='401px';
//img25.style.top='388px';
img25.zIndex=0;
img25.setAttribute("id","img_25");
img25.setAttribute("class","point");
img25.style.cursor='pointer';
img25.setAttribute("title","26. La Presa");
if(img25.addEventListener)
img25.addEventListener('click',showInfo25,false);
else if(img25.attachEvent)
img25.attachEvent('onclick',showInfo25);
//ora lo posso appendere
innerDiv.appendChild(img25);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_25').addEventListener){
document.getElementById('info_25').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_25').attachEvent){
document.getElementById('info_25').attachEvent('onmouseover',disableDrag);
}
img26 =document.createElement("img");
img26.src="img/trasparente.gif";
img26.style.position="absolute";
img26.style.left='1781px';
img26.style.top='376px';
//img26.style.top='363px';
img26.zIndex=0;
img26.setAttribute("id","img_26");
img26.setAttribute("class","point");
img26.style.cursor='pointer';
img26.setAttribute("title","27. La Rugiada");
if(img26.addEventListener)
img26.addEventListener('click',showInfo26,false);
else if(img26.attachEvent)
img26.attachEvent('onclick',showInfo26);
//ora lo posso appendere
innerDiv.appendChild(img26);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_26').addEventListener){
document.getElementById('info_26').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_26').attachEvent){
document.getElementById('info_26').attachEvent('onmouseover',disableDrag);
}
img27 =document.createElement("img");
img27.src="img/trasparente.gif";
img27.style.position="absolute";
img27.style.left='1265px';
img27.style.top='244px';
//img27.style.top='231px';
img27.zIndex=0;
img27.setAttribute("id","img_27");
img27.setAttribute("class","point");
img27.style.cursor='pointer';
img27.setAttribute("title","28. La Salute");
if(img27.addEventListener)
img27.addEventListener('click',showInfo27,false);
else if(img27.attachEvent)
img27.attachEvent('onclick',showInfo27);
//ora lo posso appendere
innerDiv.appendChild(img27);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_27').addEventListener){
document.getElementById('info_27').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_27').attachEvent){
document.getElementById('info_27').attachEvent('onmouseover',disableDrag);
}
img28 =document.createElement("img");
img28.src="img/trasparente.gif";
img28.style.position="absolute";
img28.style.left='1518px';
img28.style.top='138px';
//img28.style.top='125px';
img28.zIndex=0;
img28.setAttribute("id","img_28");
img28.setAttribute("class","point");
img28.style.cursor='pointer';
img28.setAttribute("title","29. La Tradizione");
if(img28.addEventListener)
img28.addEventListener('click',showInfo28,false);
else if(img28.attachEvent)
img28.attachEvent('onclick',showInfo28);
//ora lo posso appendere
innerDiv.appendChild(img28);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_28').addEventListener){
document.getElementById('info_28').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_28').attachEvent){
document.getElementById('info_28').attachEvent('onmouseover',disableDrag);
}
img29 =document.createElement("img");
img29.src="img/trasparente.gif";
img29.style.position="absolute";
img29.style.left='513px';
img29.style.top='108px';
//img29.style.top='95px';
img29.zIndex=0;
img29.setAttribute("id","img_29");
img29.setAttribute("class","point");
img29.style.cursor='pointer';
img29.setAttribute("title","30. Le Clementine");
if(img29.addEventListener)
img29.addEventListener('click',showInfo29,false);
else if(img29.attachEvent)
img29.attachEvent('onclick',showInfo29);
//ora lo posso appendere
innerDiv.appendChild(img29);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_29').addEventListener){
document.getElementById('info_29').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_29').attachEvent){
document.getElementById('info_29').attachEvent('onmouseover',disableDrag);
}
img30 =document.createElement("img");
img30.src="img/trasparente.gif";
img30.style.position="absolute";
img30.style.left='1484px';
img30.style.top='358px';
//img30.style.top='345px';
img30.zIndex=0;
img30.setAttribute("id","img_30");
img30.setAttribute("class","point");
img30.style.cursor='pointer';
img30.setAttribute("title","31. L'Ocarina");
if(img30.addEventListener)
img30.addEventListener('click',showInfo30,false);
else if(img30.attachEvent)
img30.attachEvent('onclick',showInfo30);
//ora lo posso appendere
innerDiv.appendChild(img30);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_30').addEventListener){
document.getElementById('info_30').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_30').attachEvent){
document.getElementById('info_30').attachEvent('onmouseover',disableDrag);
}
img31 =document.createElement("img");
img31.src="img/trasparente.gif";
img31.style.position="absolute";
img31.style.left='1013px';
img31.style.top='276px';
//img31.style.top='263px';
img31.zIndex=0;
img31.setAttribute("id","img_31");
img31.setAttribute("class","point");
img31.style.cursor='pointer';
img31.setAttribute("title","32. Millefiori");
if(img31.addEventListener)
img31.addEventListener('click',showInfo31,false);
else if(img31.attachEvent)
img31.attachEvent('onclick',showInfo31);
//ora lo posso appendere
innerDiv.appendChild(img31);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_31').addEventListener){
document.getElementById('info_31').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_31').attachEvent){
document.getElementById('info_31').attachEvent('onmouseover',disableDrag);
}
img32 =document.createElement("img");
img32.src="img/trasparente.gif";
img32.style.position="absolute";
img32.style.left='771px';
img32.style.top='350px';
//img32.style.top='337px';
img32.zIndex=0;
img32.setAttribute("id","img_32");
img32.setAttribute("class","point");
img32.style.cursor='pointer';
img32.setAttribute("title","33. Palazzina");
if(img32.addEventListener)
img32.addEventListener('click',showInfo32,false);
else if(img32.attachEvent)
img32.attachEvent('onclick',showInfo32);
//ora lo posso appendere
innerDiv.appendChild(img32);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_32').addEventListener){
document.getElementById('info_32').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_32').attachEvent){
document.getElementById('info_32').attachEvent('onmouseover',disableDrag);
}
img33 =document.createElement("img");
img33.src="img/trasparente.gif";
img33.style.position="absolute";
img33.style.left='1905px';
img33.style.top='502px';
//img33.style.top='489px';
img33.zIndex=0;
img33.setAttribute("id","img_33");
img33.setAttribute("class","point");
img33.style.cursor='pointer';
img33.setAttribute("title","34. Palazzo Pellestrina");
if(img33.addEventListener)
img33.addEventListener('click',showInfo33,false);
else if(img33.attachEvent)
img33.attachEvent('onclick',showInfo33);
//ora lo posso appendere
innerDiv.appendChild(img33);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_33').addEventListener){
document.getElementById('info_33').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_33').attachEvent){
document.getElementById('info_33').attachEvent('onmouseover',disableDrag);
}
img34 =document.createElement("img");
img34.src="img/trasparente.gif";
img34.style.position="absolute";
img34.style.left='1038px';
img34.style.top='349px';
//img34.style.top='336px';
img34.zIndex=0;
img34.setAttribute("id","img_34");
img34.setAttribute("class","point");
img34.style.cursor='pointer';
img34.setAttribute("title","35. Principe Pio");
if(img34.addEventListener)
img34.addEventListener('click',showInfo34,false);
else if(img34.attachEvent)
img34.attachEvent('onclick',showInfo34);
//ora lo posso appendere
innerDiv.appendChild(img34);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_34').addEventListener){
document.getElementById('info_34').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_34').attachEvent){
document.getElementById('info_34').attachEvent('onmouseover',disableDrag);
}
img35 =document.createElement("img");
img35.src="img/trasparente.gif";
img35.style.position="absolute";
img35.style.left='1619px';
img35.style.top='193px';
//img35.style.top='180px';
img35.zIndex=0;
img35.setAttribute("id","img_35");
img35.setAttribute("class","point");
img35.style.cursor='pointer';
img35.setAttribute("title","36. San Gaetano");
if(img35.addEventListener)
img35.addEventListener('click',showInfo35,false);
else if(img35.attachEvent)
img35.attachEvent('onclick',showInfo35);
//ora lo posso appendere
innerDiv.appendChild(img35);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_35').addEventListener){
document.getElementById('info_35').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_35').attachEvent){
document.getElementById('info_35').attachEvent('onmouseover',disableDrag);
}
img36 =document.createElement("img");
img36.src="img/trasparente.gif";
img36.style.position="absolute";
img36.style.left='1407px';
img36.style.top='200px';
//img36.style.top='187px';
img36.zIndex=0;
img36.setAttribute("id","img_36");
img36.setAttribute("class","point");
img36.style.cursor='pointer';
img36.setAttribute("title","37. Scirocco");
if(img36.addEventListener)
img36.addEventListener('click',showInfo36,false);
else if(img36.attachEvent)
img36.attachEvent('onclick',showInfo36);
//ora lo posso appendere
innerDiv.appendChild(img36);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_36').addEventListener){
document.getElementById('info_36').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_36').attachEvent){
document.getElementById('info_36').attachEvent('onmouseover',disableDrag);
}
img37 =document.createElement("img");
img37.src="img/trasparente.gif";
img37.style.position="absolute";
img37.style.left='1444px';
img37.style.top='290px';
//img37.style.top='277px';
img37.zIndex=0;
img37.setAttribute("id","img_37");
img37.setAttribute("class","point");
img37.style.cursor='pointer';
img37.setAttribute("title","38. Tenuta Cā Zen");
if(img37.addEventListener)
img37.addEventListener('click',showInfo37,false);
else if(img37.attachEvent)
img37.attachEvent('onclick',showInfo37);
//ora lo posso appendere
innerDiv.appendChild(img37);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_37').addEventListener){
document.getElementById('info_37').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_37').attachEvent){
document.getElementById('info_37').attachEvent('onmouseover',disableDrag);
}
img38 =document.createElement("img");
img38.src="img/trasparente.gif";
img38.style.position="absolute";
img38.style.left='1042px';
img38.style.top='120px';
//img38.style.top='107px';
img38.zIndex=0;
img38.setAttribute("id","img_38");
img38.setAttribute("class","point");
img38.style.cursor='pointer';
img38.setAttribute("title","39. Tenuta Castel Vanezze");
if(img38.addEventListener)
img38.addEventListener('click',showInfo38,false);
else if(img38.attachEvent)
img38.attachEvent('onclick',showInfo38);
//ora lo posso appendere
innerDiv.appendChild(img38);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_38').addEventListener){
document.getElementById('info_38').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_38').attachEvent){
document.getElementById('info_38').attachEvent('onmouseover',disableDrag);
}
img39 =document.createElement("img");
img39.src="img/trasparente.gif";
img39.style.position="absolute";
img39.style.left='1874px';
img39.style.top='522px';
//img39.style.top='509px';
img39.zIndex=0;
img39.setAttribute("id","img_39");
img39.setAttribute("class","point");
img39.style.cursor='pointer';
img39.setAttribute("title","40. Tenuta Giarette");
if(img39.addEventListener)
img39.addEventListener('click',showInfo39,false);
else if(img39.attachEvent)
img39.attachEvent('onclick',showInfo39);
//ora lo posso appendere
innerDiv.appendChild(img39);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_39').addEventListener){
document.getElementById('info_39').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_39').attachEvent){
document.getElementById('info_39').attachEvent('onmouseover',disableDrag);
}
img40 =document.createElement("img");
img40.src="img/trasparente.gif";
img40.style.position="absolute";
img40.style.left='1687px';
img40.style.top='598px';
//img40.style.top='585px';
img40.zIndex=0;
img40.setAttribute("id","img_40");
img40.setAttribute("class","point");
img40.style.cursor='pointer';
img40.setAttribute("title","41. Tenuta Goro Veneto");
if(img40.addEventListener)
img40.addEventListener('click',showInfo40,false);
else if(img40.attachEvent)
img40.attachEvent('onclick',showInfo40);
//ora lo posso appendere
innerDiv.appendChild(img40);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_40').addEventListener){
document.getElementById('info_40').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_40').attachEvent){
document.getElementById('info_40').attachEvent('onmouseover',disableDrag);
}
img41 =document.createElement("img");
img41.src="img/trasparente.gif";
img41.style.position="absolute";
img41.style.left='430px';
img41.style.top='314px';
//img41.style.top='301px';
img41.zIndex=0;
img41.setAttribute("id","img_41");
img41.setAttribute("class","point");
img41.style.cursor='pointer';
img41.setAttribute("title","42. Val di Rana");
if(img41.addEventListener)
img41.addEventListener('click',showInfo41,false);
else if(img41.attachEvent)
img41.attachEvent('onclick',showInfo41);
//ora lo posso appendere
innerDiv.appendChild(img41);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_41').addEventListener){
document.getElementById('info_41').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_41').attachEvent){
document.getElementById('info_41').attachEvent('onmouseover',disableDrag);
}
img42 =document.createElement("img");
img42.src="img/trasparente.gif";
img42.style.position="absolute";
img42.style.left='507px';
img42.style.top='354px';
//img42.style.top='341px';
img42.zIndex=0;
img42.setAttribute("id","img_42");
img42.setAttribute("class","point");
img42.style.cursor='pointer';
img42.setAttribute("title","43. Valgrande");
if(img42.addEventListener)
img42.addEventListener('click',showInfo42,false);
else if(img42.attachEvent)
img42.attachEvent('onclick',showInfo42);
//ora lo posso appendere
innerDiv.appendChild(img42);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_42').addEventListener){
document.getElementById('info_42').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_42').attachEvent){
document.getElementById('info_42').attachEvent('onmouseover',disableDrag);
}
img43 =document.createElement("img");
img43.src="img/trasparente.gif";
img43.style.position="absolute";
img43.style.left='912px';
img43.style.top='338px';
//img43.style.top='325px';
img43.zIndex=0;
img43.setAttribute("id","img_43");
img43.setAttribute("class","point");
img43.style.cursor='pointer';
img43.setAttribute("title","44. Vecchia Frontiera");
if(img43.addEventListener)
img43.addEventListener('click',showInfo43,false);
else if(img43.attachEvent)
img43.attachEvent('onclick',showInfo43);
//ora lo posso appendere
innerDiv.appendChild(img43);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_43').addEventListener){
document.getElementById('info_43').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_43').attachEvent){
document.getElementById('info_43').attachEvent('onmouseover',disableDrag);
}
img44 =document.createElement("img");
img44.src="img/trasparente.gif";
img44.style.position="absolute";
img44.style.left='1737px';
img44.style.top='238px';
//img44.style.top='225px';
img44.zIndex=0;
img44.setAttribute("id","img_44");
img44.setAttribute("class","point");
img44.style.cursor='pointer';
img44.setAttribute("title","CT1 Centro Airone");
if(img44.addEventListener)
img44.addEventListener('click',showInfo44,false);
else if(img44.attachEvent)
img44.attachEvent('onclick',showInfo44);
//ora lo posso appendere
innerDiv.appendChild(img44);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_44').addEventListener){
document.getElementById('info_44').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_44').attachEvent){
document.getElementById('info_44').attachEvent('onmouseover',disableDrag);
}
img45 =document.createElement("img");
img45.src="img/trasparente.gif";
img45.style.position="absolute";
img45.style.left='1596px';
img45.style.top='413px';
//img45.style.top='400px';
img45.zIndex=0;
img45.setAttribute("id","img_45");
img45.setAttribute("class","point");
img45.style.cursor='pointer';
img45.setAttribute("title","CT2 Centro di Accoglienza Informativo Didattico Naturalistico di Cā Vendramin");
if(img45.addEventListener)
img45.addEventListener('click',showInfo45,false);
else if(img45.attachEvent)
img45.attachEvent('onclick',showInfo45);
//ora lo posso appendere
innerDiv.appendChild(img45);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_45').addEventListener){
document.getElementById('info_45').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_45').attachEvent){
document.getElementById('info_45').attachEvent('onmouseover',disableDrag);
}
img46 =document.createElement("img");
img46.src="img/trasparente.gif";
img46.style.position="absolute";
img46.style.left='471px';
img46.style.top='421px';
//img46.style.top='408px';
img46.zIndex=0;
img46.setAttribute("id","img_46");
img46.setAttribute("class","point");
img46.style.cursor='pointer';
img46.setAttribute("title","CT3 Fondo Madonnina");
if(img46.addEventListener)
img46.addEventListener('click',showInfo46,false);
else if(img46.attachEvent)
img46.attachEvent('onclick',showInfo46);
//ora lo posso appendere
innerDiv.appendChild(img46);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_46').addEventListener){
document.getElementById('info_46').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_46').attachEvent){
document.getElementById('info_46').attachEvent('onmouseover',disableDrag);
}
img47 =document.createElement("img");
img47.src="img/trasparente.gif";
img47.style.position="absolute";
img47.style.left='1693px';
img47.style.top='122px';
//img47.style.top='109px';
img47.zIndex=0;
img47.setAttribute("id","img_47");
img47.setAttribute("class","point");
img47.style.cursor='pointer';
img47.setAttribute("title","CT4 Giardino Botanico Litoraneo");
if(img47.addEventListener)
img47.addEventListener('click',showInfo47,false);
else if(img47.attachEvent)
img47.attachEvent('onclick',showInfo47);
//ora lo posso appendere
innerDiv.appendChild(img47);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_47').addEventListener){
document.getElementById('info_47').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_47').attachEvent){
document.getElementById('info_47').attachEvent('onmouseover',disableDrag);
}
img48 =document.createElement("img");
img48.src="img/trasparente.gif";
img48.style.position="absolute";
img48.style.left='1707px';
img48.style.top='378px';
//img48.style.top='365px';
img48.zIndex=0;
img48.setAttribute("id","img_48");
img48.setAttribute("class","point");
img48.style.cursor='pointer';
img48.setAttribute("title","CT5 Golena Cā Pisani");
if(img48.addEventListener)
img48.addEventListener('click',showInfo48,false);
else if(img48.attachEvent)
img48.attachEvent('onclick',showInfo48);
//ora lo posso appendere
innerDiv.appendChild(img48);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_48').addEventListener){
document.getElementById('info_48').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_48').attachEvent){
document.getElementById('info_48').attachEvent('onmouseover',disableDrag);
}
img49 =document.createElement("img");
img49.src="img/trasparente.gif";
img49.style.position="absolute";
img49.style.left='937px';
img49.style.top='215px';
//img49.style.top='202px';
img49.zIndex=0;
img49.setAttribute("id","img_49");
img49.setAttribute("class","point");
img49.style.cursor='pointer';
img49.setAttribute("title","CT6 Museo dei Grandi Fiumi");
if(img49.addEventListener)
img49.addEventListener('click',showInfo49,false);
else if(img49.attachEvent)
img49.attachEvent('onclick',showInfo49);
//ora lo posso appendere
innerDiv.appendChild(img49);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_49').addEventListener){
document.getElementById('info_49').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_49').attachEvent){
document.getElementById('info_49').attachEvent('onmouseover',disableDrag);
}
img50 =document.createElement("img");
img50.src="img/trasparente.gif";
img50.style.position="absolute";
img50.style.left='1618px';
img50.style.top='418px';
//img50.style.top='405px';
img50.zIndex=0;
img50.setAttribute("id","img_50");
img50.setAttribute("class","point");
img50.style.cursor='pointer';
img50.setAttribute("title","CT7 Museo Regionale Della Bonifica");
if(img50.addEventListener)
img50.addEventListener('click',showInfo50,false);
else if(img50.attachEvent)
img50.attachEvent('onclick',showInfo50);
//ora lo posso appendere
innerDiv.appendChild(img50);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_50').addEventListener){
document.getElementById('info_50').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_50').attachEvent){
document.getElementById('info_50').attachEvent('onmouseover',disableDrag);
}
img51 =document.createElement("img");
img51.src="img/trasparente.gif";
img51.style.position="absolute";
img51.style.left='1802px';
img51.style.top='525px';
//img51.style.top='512px';
img51.zIndex=0;
img51.setAttribute("id","img_51");
img51.setAttribute("class","point");
img51.style.cursor='pointer';
img51.setAttribute("title","CT8 Oasi di Cā Mello");
if(img51.addEventListener)
img51.addEventListener('click',showInfo51,false);
else if(img51.attachEvent)
img51.attachEvent('onclick',showInfo51);
//ora lo posso appendere
innerDiv.appendChild(img51);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_51').addEventListener){
document.getElementById('info_51').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_51').attachEvent){
document.getElementById('info_51').attachEvent('onmouseover',disableDrag);
}
img52 =document.createElement("img");
img52.src="img/trasparente.gif";
img52.style.position="absolute";
img52.style.left='633px';
img52.style.top='218px';
//img52.style.top='205px';
img52.zIndex=0;
img52.setAttribute("id","img_52");
img52.setAttribute("class","point");
img52.style.cursor='pointer';
img52.setAttribute("title","MCR1 Az. Agr. Branco Giampietro");
if(img52.addEventListener)
img52.addEventListener('click',showInfo52,false);
else if(img52.attachEvent)
img52.attachEvent('onclick',showInfo52);
//ora lo posso appendere
innerDiv.appendChild(img52);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_52').addEventListener){
document.getElementById('info_52').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_52').attachEvent){
document.getElementById('info_52').attachEvent('onmouseover',disableDrag);
}
img53 =document.createElement("img");
img53.src="img/trasparente.gif";
img53.style.position="absolute";
img53.style.left='938px';
img53.style.top='343px';
//img53.style.top='330px';
img53.zIndex=0;
img53.setAttribute("id","img_53");
img53.setAttribute("class","point");
img53.style.cursor='pointer';
img53.setAttribute("title","MCR2 Az. Agr. Diego Chiarion");
if(img53.addEventListener)
img53.addEventListener('click',showInfo53,false);
else if(img53.attachEvent)
img53.attachEvent('onclick',showInfo53);
//ora lo posso appendere
innerDiv.appendChild(img53);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_53').addEventListener){
document.getElementById('info_53').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_53').attachEvent){
document.getElementById('info_53').attachEvent('onmouseover',disableDrag);
}
img54 =document.createElement("img");
img54.src="img/trasparente.gif";
img54.style.position="absolute";
img54.style.left='450px';
img54.style.top='421px';
//img54.style.top='408px';
img54.zIndex=0;
img54.setAttribute("id","img_54");
img54.setAttribute("class","point");
img54.style.cursor='pointer';
img54.setAttribute("title","MCR3 Az. Agr. Rasi Stefania");
if(img54.addEventListener)
img54.addEventListener('click',showInfo54,false);
else if(img54.attachEvent)
img54.attachEvent('onclick',showInfo54);
//ora lo posso appendere
innerDiv.appendChild(img54);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_54').addEventListener){
document.getElementById('info_54').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_54').attachEvent){
document.getElementById('info_54').attachEvent('onmouseover',disableDrag);
}
img55 =document.createElement("img");
img55.src="img/trasparente.gif";
img55.style.position="absolute";
img55.style.left='511px';
img55.style.top='160px';
//img55.style.top='147px';
img55.zIndex=0;
img55.setAttribute("id","img_55");
img55.setAttribute("class","point");
img55.style.cursor='pointer';
img55.setAttribute("title","MCR4 Az. Agr. Rossi Luigi");
if(img55.addEventListener)
img55.addEventListener('click',showInfo55,false);
else if(img55.attachEvent)
img55.attachEvent('onclick',showInfo55);
//ora lo posso appendere
innerDiv.appendChild(img55);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_55').addEventListener){
document.getElementById('info_55').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_55').attachEvent){
document.getElementById('info_55').attachEvent('onmouseover',disableDrag);
}
img56 =document.createElement("img");
img56.src="img/trasparente.gif";
img56.style.position="absolute";
img56.style.left='1383px';
img56.style.top='202px';
//img56.style.top='189px';
img56.zIndex=0;
img56.setAttribute("id","img_56");
img56.setAttribute("class","point");
img56.style.cursor='pointer';
img56.setAttribute("title","MCR5 Az. Agr. Scirocco");
if(img56.addEventListener)
img56.addEventListener('click',showInfo56,false);
else if(img56.attachEvent)
img56.attachEvent('onclick',showInfo56);
//ora lo posso appendere
innerDiv.appendChild(img56);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_56').addEventListener){
document.getElementById('info_56').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_56').attachEvent){
document.getElementById('info_56').attachEvent('onmouseover',disableDrag);
}
img57 =document.createElement("img");
img57.src="img/trasparente.gif";
img57.style.position="absolute";
img57.style.left='1411px';
img57.style.top='406px';
//img57.style.top='393px';
img57.zIndex=0;
img57.setAttribute("id","img_57");
img57.setAttribute("class","point");
img57.style.cursor='pointer';
img57.setAttribute("title","MCR6 Az. Tino Sega");
if(img57.addEventListener)
img57.addEventListener('click',showInfo57,false);
else if(img57.attachEvent)
img57.attachEvent('onclick',showInfo57);
//ora lo posso appendere
innerDiv.appendChild(img57);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_57').addEventListener){
document.getElementById('info_57').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_57').attachEvent){
document.getElementById('info_57').attachEvent('onmouseover',disableDrag);
}
img58 =document.createElement("img");
img58.src="img/trasparente.gif";
img58.style.position="absolute";
img58.style.left='143px';
img58.style.top='213px';
//img58.style.top='200px';
img58.zIndex=0;
img58.setAttribute("id","img_58");
img58.setAttribute("class","point");
img58.style.cursor='pointer';
img58.setAttribute("title","MCR 7 Centro Documentazione Ambientale del Territorio");
if(img58.addEventListener)
img58.addEventListener('click',showInfo58,false);
else if(img58.attachEvent)
img58.attachEvent('onclick',showInfo58);
//ora lo posso appendere
innerDiv.appendChild(img58);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_58').addEventListener){
document.getElementById('info_58').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_58').attachEvent){
document.getElementById('info_58').attachEvent('onmouseover',disableDrag);
}
img59 =document.createElement("img");
img59.src="img/trasparente.gif";
img59.style.position="absolute";
img59.style.left='1703px';
img59.style.top='416px';
//img59.style.top='403px';
img59.zIndex=0;
img59.setAttribute("id","img_59");
img59.setAttribute("class","point");
img59.style.cursor='pointer';
img59.setAttribute("title","MCR8 Centro Documentazone della Civiltā Contadina e della Pesca");
if(img59.addEventListener)
img59.addEventListener('click',showInfo59,false);
else if(img59.attachEvent)
img59.attachEvent('onclick',showInfo59);
//ora lo posso appendere
innerDiv.appendChild(img59);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_59').addEventListener){
document.getElementById('info_59').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_59').attachEvent){
document.getElementById('info_59').attachEvent('onmouseover',disableDrag);
}
img60 =document.createElement("img");
img60.src="img/trasparente.gif";
img60.style.position="absolute";
img60.style.left='68px';
img60.style.top='212px';
//img60.style.top='199px';
img60.zIndex=0;
img60.setAttribute("id","img_60");
img60.setAttribute("class","point");
img60.style.cursor='pointer';
img60.setAttribute("title","MCR9 Mostra d'Arte Popolare Bragazzi Mario");
if(img60.addEventListener)
img60.addEventListener('click',showInfo60,false);
else if(img60.attachEvent)
img60.attachEvent('onclick',showInfo60);
//ora lo posso appendere
innerDiv.appendChild(img60);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_60').addEventListener){
document.getElementById('info_60').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_60').attachEvent){
document.getElementById('info_60').attachEvent('onmouseover',disableDrag);
}
img61 =document.createElement("img");
img61.src="img/trasparente.gif";
img61.style.position="absolute";
img61.style.left='1508px';
img61.style.top='446px';
//img61.style.top='433px';
img61.zIndex=0;
img61.setAttribute("id","img_61");
img61.setAttribute("class","point");
img61.style.cursor='pointer';
img61.setAttribute("title","MCR10 Museo della Civiltā Contadina");
if(img61.addEventListener)
img61.addEventListener('click',showInfo61,false);
else if(img61.attachEvent)
img61.attachEvent('onclick',showInfo61);
//ora lo posso appendere
innerDiv.appendChild(img61);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_61').addEventListener){
document.getElementById('info_61').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_61').attachEvent){
document.getElementById('info_61').attachEvent('onmouseover',disableDrag);
}
img62 =document.createElement("img");
img62.src="img/trasparente.gif";
img62.style.position="absolute";
img62.style.left='890px';
img62.style.top='358px';
//img62.style.top='345px';
img62.zIndex=0;
img62.setAttribute("id","img_62");
img62.setAttribute("class","point");
img62.style.cursor='pointer';
img62.setAttribute("title","MCR11 Museo della Corte");
if(img62.addEventListener)
img62.addEventListener('click',showInfo62,false);
else if(img62.attachEvent)
img62.attachEvent('onclick',showInfo62);
//ora lo posso appendere
innerDiv.appendChild(img62);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_62').addEventListener){
document.getElementById('info_62').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_62').attachEvent){
document.getElementById('info_62').attachEvent('onmouseover',disableDrag);
}
img63 =document.createElement("img");
img63.src="img/trasparente.gif";
img63.style.position="absolute";
img63.style.left='483px';
img63.style.top='160px';
//img63.style.top='147px';
img63.zIndex=0;
img63.setAttribute("id","img_63");
img63.setAttribute("class","point");
img63.style.cursor='pointer';
img63.setAttribute("title","MCR12 Museo Etnografico della Civiltā Contadina e dei Mestieri");
if(img63.addEventListener)
img63.addEventListener('click',showInfo63,false);
else if(img63.attachEvent)
img63.attachEvent('onclick',showInfo63);
//ora lo posso appendere
innerDiv.appendChild(img63);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_63').addEventListener){
document.getElementById('info_63').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_63').attachEvent){
document.getElementById('info_63').attachEvent('onmouseover',disableDrag);
}
img64 =document.createElement("img");
img64.src="img/trasparente.gif";
img64.style.position="absolute";
img64.style.left='1657px';
img64.style.top='595px';
//img64.style.top='582px';
img64.zIndex=0;
img64.setAttribute("id","img_64");
img64.setAttribute("class","point");
img64.style.cursor='pointer';
img64.setAttribute("title","MCR13 Tenuta Goro Veneto");
if(img64.addEventListener)
img64.addEventListener('click',showInfo64,false);
else if(img64.attachEvent)
img64.attachEvent('onclick',showInfo64);
//ora lo posso appendere
innerDiv.appendChild(img64);
//e per disabilitare il dragging aggiungo
if(document.getElementById('info_64').addEventListener){
document.getElementById('info_64').addEventListener('mouseover',disableDrag,false);
}
else if(document.getElementById('info_64').attachEvent){
document.getElementById('info_64').attachEvent('onmouseover',disableDrag);
}
}
//var immagine = ;
var dragging = false;
var top;
var left;
var dragStartTop;
var dragStartLeft;
var imgWidth;//=document.getElementById('immagine').width;
var imgHeight;//=document.getElementById('immagine').height;
var divWidth=826;
var divHeight=403;
var newtop=0;
var newleft=0;
var mousepX;
var mousepY;
function init(){
//definizione del browser
//dimensioni dell'immagine
imgWidth=document.getElementById('immagine').width;
imgHeight=document.getElementById('immagine').height;
//setOuterDivSize(divWidth+'px',divHeight+'px');
setOuterDivSize();
setInnerDivSize();
var outerDiv = document.getElementById("outerDiv");
outerDiv.onmousedown = startMove;
outerDiv.onmousemove = processMove;
outerDiv.onmouseup = stopMove;
outerDiv.onmouseout = stopMove;
//per fucking IE
outerDiv.ondragstart = function(){return false;}
setPoints();
//centra();
var cercapoint = new String( window.location.search);
//alert(cercapoint);
//alert();
if(cercapoint!=""){
var indice = cercapoint.match(/[^(p=)]*p=([^&]*)/i)[1]
if(indice!=-1){
gotopoint(indice);
var openit = cercapoint.match(/(o=y)/)[0];
var functemp = 'showInfo'+indice+'()';
eval(functemp);
//console.debug(openit);
}
}
else{
var innerDiv=document.getElementById("innerDiv");
innerDiv.style.top = 0;
innerDiv.style.left = 0;
}
}
function showkey(event){
//per fucking IE
if(!event) event = window.event;
//event =(event)?event:window.event;
var info=document.getElementById('info');
info.innerHTML='Copiare e incollare in coda all\'array dei punti';
//if(event.ctrlKey)mod();
if(event.charCode=="99"){
//alert('ciao');
var tempcopia=",array("+mousepX+","+mousepY+",\"Commento\",\"PuntoX: titolo\",\"pgX.html\")";
prompt("Copia punto",tempcopia);
//su moz nn esiste window.clipboardData
//window.clipboardData.setData("Text",tempcopia);
//alert(window.clipboardData.getData("Text"));
//alert(mousepX+' '+mousepY);
}
}
function startMove(event){
//per fucking IE
if(!event) event = window.event;
dragStartLeft = event.clientX;
dragStartTop = event.clientY;
var innerDiv = document.getElementById("innerDiv");
innerDiv.style.cursor="-moz-grab";
top = stripPx(innerDiv.style.top);
left = stripPx(innerDiv.style.left);
dragging = true;
return false;
}
function processMove(event){
var innerDiv = document.getElementById("innerDiv");
//fuck IE
if(!event) event = window.event;
if(dragging){
//resetto info
var info=document.getElementById('info');
info.innerHTML='';
//nuova posizione
newtop = top +(event.clientY -dragStartTop);
newleft = left +(event.clientX -dragStartLeft);
//per la gestione dello sbordo
if(newtop>0)newtop=0;
if(newleft>0)newleft=0;
//if((-newtop+divHeight)>imgHeight)newtop=-imgHeight+divHeight;
if(newtop<-(imgHeight-divHeight+0))newtop=-(imgHeight-divHeight+0);
//if(-newleft+divWidth>imgWidth)newleft=-imgWidth+divWidth;
if(newleft<-(imgWidth-divWidth+0))newleft=-(imgWidth-divWidth+0);
//aggiorno
innerDiv.style.top = newtop+"px";
innerDiv.style.left = newleft+"px";
}
//se si volgiono visualizzare le coordinate
if(false){
var coord=document.getElementById('coord');
var tempX= document.getElementById('outerDiv').offsetLeft;
var tempY= document.getElementById('outerDiv').offsetTop;
//console.debug(tempX+','+tempY);
mousepX = event.clientX-0-tempX-newleft;
mousepY = event.clientY-0-tempY-newtop;
//console.debug('1: '+tempX+','+tempY+' 2: '+event.clientX+','+event.clientY+' 3: '+newleft+','+newtop);
var printure='relative X: '+
(mousepX)+
' Y: '+
(mousepY);
coord.innerHTML=printure;
}
}
function stopMove(){
var innerDiv = document.getElementById("innerDiv");
innerDiv.style.cursor = "";
dragging = false;
}