//riconoscimento browser e plugin


	
//    roll over menu


// browser test:
agent = navigator.userAgent

function DetectBrowser()
{
  var version = 0;

  if (navigator.userAgent.indexOf("Mozilla/4.5") != -1) version = 4;
  else if (navigator.userAgent.indexOf("Mozilla/4") != -1) version = 4;
  else if (navigator.userAgent.indexOf("Mozilla/3.0") != -1) version = 3;
  else if (navigator.userAgent.indexOf("Mozilla/2.0") != -1) version = 2;
  else if (navigator.userAgent.indexOf("MSIE") != -1) version = 1;
  else version = 0;

  return version;
}

function PutImg(imgDocID,imgObjName) {
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in

 if (browserVer >= 3) {
  document.images[imgDocID].src = eval(imgObjName + ".src")
 }
}

//    fine roll over menu




// pop up 




function winOp0(link) {
	window.open(link, "", 'menubar=no,toolbar=no,scrollbars=auto,resizable=no,height=350,width=360');
}

function winOp1(link) {
	window.open(link, "", 'menubar=no,toolbar=no,scrollbars=auto,resizable=no,height=500,width=350');
}


//fine pop up








