//openit ITA
function openit(Attribute_str) {

if(Attribute_str=='MAGGIOR SICUREZZA')
    attr_page = "pr_attr01.php";
if(Attribute_str=='CIFRATURA SPECIFICA')
    attr_page = "pr_attr02.php";
if(Attribute_str=='CODICE UNICO')
    attr_page = "pr_attr03.php";
if(Attribute_str=='CODICE DIFFERENTE')
    attr_page = "pr_attr04.php";
if(Attribute_str=='CHIAVE UNIVERSALE')
    attr_page = "pr_attr05.php";
if(Attribute_str=='SERRATURE DIFFERENTI, UNA SOLA CHIAVE')
    attr_page = "pr_attr06.php";
if(Attribute_str=='CODICI MODIFICABILI')
    attr_page = "pr_attr07.php";
if(Attribute_str=='CONFORME A N A M A')
    attr_page = "pr_attr08.php";
if(Attribute_str=='DOPPIA CHIUSURA')
    attr_page = "pr_attr09.php";
if(Attribute_str=='RESISTENTE ALLE INTEMPERIE')
    attr_page = "pr_attr10.php";
if(Attribute_str=='OPZIONE MORSETTO PER SALDATURA')
    attr_page = "pr_attr11.php";
if(Attribute_str=='OPZIONE MORSETTO FEMMINA')
    attr_page = "pr_attr12.php";
if(Attribute_str=='PISTONCINI')
    attr_page = "pr_attr13.php";
if(Attribute_str=='PISTONCINI RADIALI')
    attr_page = "pr_attr14.php";
if(Attribute_str=='DISCHI')
    attr_page = "pr_attr15.php";

newWindow = window.open(attr_page, '', 'width=628,height=333');
}


function openit2(Attribute_str) {

var w=0, h=0, bw, bh, bl, bt, topPos, leftPos;
if (document.all)
{
bw = document.body.clientWidth;
bh = document.body.clientHeight;
bl = window.screenLeft;
bt = window.screenTop;
}
else if (document.layers)
{
bw = window.outerWidth;
bh = window.outerHeight;
bl = window.screenX;
bt = window.screenY;
}

leftPos = Math.floor((bw-w)/2) + bl;
topPos = Math.floor((bh-h)/2) + bt;

if(Attribute_str=='SwitchMains'){
    attr_page = "Switchmodules_mains.php";
w=500;
h=660;

attributes = "width=" + w + ",height=" + h + ",top=" + topPos + ",left=" + leftPos;
popUpWin = window.open (attr_page, "winName", attributes);
    }
if(Attribute_str=='SwitchLaws'){
w=430;
h=685;
    attr_page = "Switchmodules_laws.php";
attributes = "width=" + w + ",height=" + h + ",top=" + topPos + ",left=" + leftPos;
popUpWin = window.open (attr_page, "winName", attributes);
}
if(Attribute_str=='ADVANCED SEARCH OPTIONS'){
    attr_page = "Search-options.php";
w=300;
h=320;

attributes = "width=" + w + ",height=" + h + ",top=" + topPos + ",left=" + leftPos;
popUpWin = window.open (attr_page, "winName", attributes);
    }



}
