function apriPopupCentrata(nome, titolo, lar, alt, feat){ 
var wdt = screen.width; 
var hgt = screen.height; 
var x = Math.round( (wdt / 2) - (lar / 2) ); 
var y = Math.round( (hgt / 2) - (alt / 2) ); 
window.open(nome, titolo, 'width=' + lar + ',height=' + alt + ',left=' + x + ',screenX=' + x + ',top=' + y + ',screenY=' + y + ',' + feat); 
} 
//--> 

//pop up flash

function apriPopup(nome, titolo, lar, alt, feat){
        window.open(nome, titolo, 'width=' + lar + ',height=' + alt + ',' + feat);
}


// rollover link java solarium
//------------------------------------------
javarollover.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/solarium.jpg";
javarollover.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/solarium2.jpg";
javarollover.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function javarollover(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/solarium.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }

// rollover link java creme

creme.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/creme.jpg";
creme.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/creme2.jpg";
creme.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function creme(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/creme.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
 // rollover link java apotherm

apotherm.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/apotherm.jpg";
apotherm.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/apotherm2.jpg";
apotherm.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function apotherm(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/apotherm.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
   // rollover link java gdc

gdc.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/gdc.jpg";
gdc.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/gdc2.jpg";
gdc.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function gdc(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/gdc.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
 
   // rollover link java sorisa
sorisa.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/sorisa.jpg";
sorisa.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/sorisa2.jpg";
sorisa.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function sorisa(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/sorisa.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
 
   // rollover link java academi

academi.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/academi.jpg";
academi.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/academi2.jpg";
academi.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function academi(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/academi.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
 
    // rollover link java centri

centri.IMG_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/centri.jpg";
centri.IMG_OVER_URL = "http://www.sportarredo.it/ita/index/MENUSOTTO/centri2.jpg";
centri.TOOLTIP = "Click to open link in a new window";
//-------------------------------------------

function centri(id)
{
   var f = arguments.callee;
   
   var img = document.createElement("img");      
   var a = document.getElementById(id);   
   var oldAnchorClass = a.className;   
   
   img.title = f.TOOLTIP;
   img.style.cursor = window.ActiveXObject ? "hand" : "pointer";
   
   img.onmouseover = function()
   {
      this.src = f.IMG_OVER_URL;
	  a.className = f.CLASS;
	  window.status = a.href;
   }   
         
   img.onmouseout = function()
   {
      this.src = f.IMG_URL;   
	  a.className = oldAnchorClass;
	  window.status = "";	  
   }
   
   img.onclick = function()
   {
      window.open("http://www.sportarredo.it/ita/marchi/centri.html");
   }
   
   img.src = f.IMG_URL;   
   img.className = f.CLASS;
   a.parentNode.appendChild(img);
 }
 
 