

function servizi_out(id)
{
 document.getElementById("seimg_"+id).src="img/servizi_"+id+"_s.jpg";
}
function servizi_over(id)
{
 document.getElementById("seimg_"+id).src="img/servizi_"+id+"_ON_s.jpg";
}
function menuover(id)
{
 document.getElementById("menub").innerHTML="<img src=\"img/box.gif\">&nbsp;clicca&nbsp;per&nbsp;dettagli";
 document.getElementById("menutext"+id).style.color="red";
document.getElementById("menutext"+id).style.marginLeft="10pt";


}
function menuout(id)
{
 document.getElementById("menub").innerHTML="";
 document.getElementById("menutext"+id).style.color="black";
 //document.getElementById("menutext"+id).innerHTML=document.getElementById("menutext"+id).innerHTML;
document.getElementById("menutext"+id).style.marginLeft="0pt";
}
function myprint()
{
  
  print();

}

function doSaveAs(){
  //parent.thepage.focus();
 if (document.execCommand){
   {
     document.execCommand("SaveAs");
   }
 }else{
   alert('Feature available only in Internet Exlorer 4.0 and later.');
 }
}



function do_preload(){
  img0=new Image(); img0.src="img/servizi_0_ON_s.jpg";
  img1=new Image(); img1.src="img/servizi_1_ON_s.jpg";
  img2=new Image(); img2.src="img/servizi_2_ON_s.jpg";
  img3=new Image(); img3.src="img/servizi_3_ON_s.jpg";
  img4=new Image(); img4.src="img/box.gif";
  img4=new Image(); img4.src="img/firma.jpg";
}

function print_email()
{
  var em="infoAAAAAAnebisDDDDDDit";
  em=em.replace(/DDDDDD/g,".");
  em=em.replace(/AAAAAA/g,"@"); 
  document.write("<a href=\"mailto:"+em+"\">"+em+"</a>");
}

var dofloatc=0;
function do_floatdiv()
{
	var d=new Array(document.getElementById("paw1"), 
			document.getElementById("paw2"), 
			document.getElementById("paw3"), 
			document.getElementById("paw4"))
//	var d=document.getElementById("paw1");
	if(d[0])
	{
//		var now=new Date();
//		d.innerHTML=now.toLocaleString();

		var left=-26*dofloatc;
	

		if(left > - screen.width)
		{

			var traj=dofloatc*dofloatc/3;
			var top=145-17*(dofloatc%2)+traj+8;
			d[dofloatc%4].style.top=top;
			d[dofloatc%4].style.left=left-10;		
			dofloatc++;
		}
		else
		{
			d.innerHTML="";
			dofloatc=0;
		}
	}
	setTimeout("do_floatdiv()",1000);
}
setTimeout("do_floatdiv()",2000);

