function product_print_link(link) { if(link && link != "") { window.open(link,"Antrax_IT_Print",'scrollbars=no,resizable=no,width=700,height=600,status=no,location=no,toolbar=no'); } return false; } function linkToProductDetails(id_p) { if(id_p && id_p != "" && id_p != "undefined") { var tmp_id = id_p; var tmp_product = getProductDataById(tmp_id,productsData); var tmp_format = tmp_product[2][1]; if($('#TOPOPEN').is(':visible')) show(); approfondimenti('p'+tmp_format+'-'+tmp_id); approfondimenti('app-p'+tmp_format+'-'+tmp_id); } else return false; } function getProductDataById(id,productsData){ for (i=0;i < productsData.length;i++) if (productsData[i][0]==id) return productsData[i]; } $(function() { $('li.lev3').click(function(ev) { var dim_square_img = 99; var thisId = $(this).attr('id'); var container = $('#productpreview'); var str = null; var arraystrings = thisId.split("-"); if (arraystrings[0]=='pv') productdivid = '#productpreviewvertical'; else if (arraystrings[0]=='po') productdivid = '#productpreviewhorizontal'; else return; $('#productpreviewvertical').css('display' , 'none'); $('#productpreviewhorizontal').css('display' , 'none'); $(productdivid).css('display' , 'block'); product = getProductDataById(arraystrings[1],productsData); var show_link_approfondimenti = false; if((product[2][0] != null && product[2][0] != "") || (product[6] != null && product[6][0] != null && product[6][0].length > 0) || (product[6] != null && product[6][1] != null && product[6][1].length > 0)) show_link_approfondimenti = true; if (arraystrings[0]=='pv'){ str = '
' //20110127 +'
' +'
' +'
' //+'
' +'

'+product[1]+'

' +'
' +'
    '; if (product[6]!=null) //approfondimenti { str+= '
  • '+((show_link_approfondimenti)?('Περισσότερα'):(''))+'' +'
    ' +'
    ' +'
    ' +' κλείσε' +'
    ' +'
    ' +'
    ' //20110127 +'
    ' +'
    ' +'
    ' +'
    '; var count_pic = 1; if((product[6][0]!=null && product[6][0].length > 0) || (product[2][0]!="" && product[2][0] != "")) { str+=' '; } if(product[6][1]!=null && product[6][1].length > 0) { /* margin-top: 11px;*/ str+=' '; } str+= '
    ' +'
    ' +'
    ' +'
    ' +'
    ' +'
  • '; } if (product[3]!=null && product[3]!="") str+='
  • DWG/3DS
  • '; //***str+= '
  • Εκτύπωση
  • '; str+= '
  • Εκτύπωση
  • '; str+='
'; if (product[4]!=null && product[4]!="") str+=' '; if (product[5]!=null && product[5][0]!=null && product[5][0]!="") str+=' '; str+= '
' //aggiungere nome e foto designer //20110127 +'

'+product[7][1]+'

' +'

'+product[7][1]+'

' +'
' +'
' //20110127 +'
' +'
' +'
' +'
'; } else { //20110127 str = '
' str = '
' //20110127 +'
' +'
' +'

'+product[1]+'

' +'
'; str +='
    '; if (product[6]!=null) //approfondimenti { str +='
  • '+((show_link_approfondimenti)?('Περισσότερα'):(''))+'' +'
    ' +'
    ' +'
    ' +' κλείσε' +'
    ' +'
    ' +'
    ' //20110127 +'
    ' +'
    ' +'
    ' +'
    '; var count_pic = 1; if((product[6][0]!=null && product[6][0].length > 0) || (product[2][0]!="" && product[2][0] != "")) { str+=' '; } if(product[6][1]!=null && product[6][1].length > 0) { /* margin-top: 11px; margin-bottom: 6px;*/ str+=' '; } str +='
    ' +'
    ' +'
    ' +'
    ' +'
    ' +'
  • '; }//end appr-o if (product[3]!=null && product[3]!="") str+='
  • DWG/3DS
  • '; //***str +='
  • Εκτύπωση
  • '; str +='
  • Εκτύπωση
  • '; str+='
'; str+='
'; if (product[4]!=null && product[4]!="") str+=' λήψη'; if (product[5]!=null && product[5][0]!=null && product[5][0]!="" ) str+=' Ξεφύλλισε'; str+='
'; str+='
' //20110127 +'

'+product[7][1]+'

'; +'

'+product[7][1]+'

'; } $(productdivid).html(str); processGalleries(); }); });