x = parseInt(window.screen.width) / 2 - 250;
y = parseInt(window.screen.height) / 2 - 300;

var ing=null;
var ta="";
var lav1="";
var par1="";
var par2="";
var overs="";
var lav2="";
var lav3="";
var lav4="";
var lav5="";
var lav6="";
var lav7="";
var lav8="";
var nbr="";
var obr="";

function dettaglio(imm,cod,aut,tit,ed,ser,fto1,fto2,ovr,foi,uv,met,emb,spe,va,mp,cr,po,n1,n2,fb,pre,b1,b2,sp) {

if (ed=="VERO") { ta="<img src='http://93.186.242.80/img/ta.gif' width='15' height='15' alt='Top Art Exclusive Publication'>&nbsp;&nbsp;" }
else { ta="<img src='http://93.186.242.80/img/px.gif' width='15' height='15'>&nbsp;&nbsp;" }

if (b1=="") { sfond2="http://93.186.242.80/img/px.gif" }
else { sfond2="http://93.186.242.80/img/bollino.gif" }
if (b2=="") { sfond="http://93.186.242.80/img/px.gif" }
else { sfond="http://93.186.242.80/img/bollino.gif" }

if (ser=="VERO") { lav1="Serigraph<br>" }
if (fto2 != "") { par1=" (im. cm "; par2=")" }
if (ovr=="VERO") { overs="OVERSIZE<br>" }
if (foi=="VERO") { lav2="With Foil<br>" }
if (uv=="VERO") { lav3="Varnish<br>" }
if (met=="VERO") { lav4="Metallic Ink<br>" }
if (emb=="VERO") { lav5="Embossing<br>" }
if (spe=="VERO") { lav6="Special Paper<br>" }
if (va=="VERO") { lav7="Varnish<br>" }
if (mp=="VERO") { lav8="Metallic paper<br>" }

if (po!="") { podsx="<table border=0 cellpadding=0 cellspacing=0 width=37 height=15 style='margin-top:4px; margin-bottom:4px;'><tr><td width=37 align=center valign=top class=autore background='http://93.186.242.80/img/pod.gif' style='color:#946436; font-weight:normal; line-height:13px;'>" }
else { podsx="" }
if (po!="") { poddx="<br></td></tr></table>" }
else { poddx="" }
if (n2!="") { nbr="<br><br>"; }
else { nbr="" }
if (overs!="") { obr="<br>"; }
else { obr="" }

ing=window.open('','popup','width=500,height=600,resizable=no,status=yes,location=no,toolbar=no,menubar=no,scrollbars=no');
ing.moveTo(x,y);
ing.document.open(); 
ing.document.write("<html><head><title>Dettaglio</title><style>.colore2{background-color:#E2E3CC;}.testosmall{font-family:verdana,arial,tahoma; font-size:9px; color:#313131; line-height:13px;}.immaginezoom {margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:10px; border-width:1px; border-color:#808080;}.codice {font-family:verdana,arial,tahoma; font-size:10px; color:#000000; line-height:13px; text-decoration:none; font-weight:bold;}.autore {font-family:verdana,arial,tahoma; font-size:10px; color:#644B3A; line-height:13px; text-decoration:none; font-weight:bold;}.tit {font-family:verdana,arial,tahoma; font-size:10px; color:#BE6837; line-height:13px; text-decoration:none; font-weight:bold;}.over {font-family:verdana,arial,tahoma; font-size:9px; color:#004080; line-height:13px; text-decoration:none; font-weight:bold;}</style><script language='JavaScript' type=text/javascript>window.focus();</script></head><body class='colore2'><table border='0' width='100%' height='100%'><tr><td align='center' valign='middle' class='testosmall'><img src='"+imm+"' border='1' class='immaginezoom'><br><table border='0' cellpadding='0' cellspacing='0'><tr><td class='testosmall' width='35' align='right'>"+ta+"</td><td class='codice' valign='top'>"+cod+"</td><td><table border='0' cellpadding='0' cellspacing='0' width='35' height='15'><tr><td><img src='http://93.186.242.80/img/px.gif' width='8' height='15' border='0'></td><td width='27' align='center' valign='top' class='autore' background='http://93.186.242.80/img/sp.gif' style='color:#025778; line-height:12px;'>"+sp+"<br></td></tr></table></td></tr></table><span class='autore'>"+aut+"</span> - <span class='tit'><i>"+tit+"</i></span><br>cm "+fto1+""+par1+""+fto2+""+par2+"<br>"+podsx+""+po+""+poddx+"<span class=autore style='color:#946436; font-weight:normal; line-height:10px;'>"+n2+""+nbr+"</span><span class='over'>"+overs+""+obr+"</span>"+lav1+""+lav2+""+lav3+""+lav4+""+lav5+""+lav6+""+lav7+""+lav8+"<br><table border='0' cellpadding='0' cellspacing='0' width='35'><tr><td align='center' valign='top' class='autore' style='font-family:arial; color:#FFFFFF; font-size:11px; line-height:14px;' width='15' background="+sfond2+">"+b1+"</td><td width='5'><img src='http://93.186.242.80/img/px.gif' width='5' height='15' border='0'></td><td align='center' valign='top' class='autore' style='font-family:arial; color:#FFFFFF; font-size:11px; line-height:14px;' width='15' background="+sfond+">"+b2+"</td></tr></table><br>"+cr+"</td></tr></table></body></html>");
ing.document.close();

ta=""; lav1=""; par1=""; par2=""; overs=""; lav2=""; lav3=""; lav4=""; lav5=""; lav6=""; lav7=""; lav8=""; var nbr=""; var obr="";
}
