// Variabili per lasciare i layer che scrollano al posto precedente dopo il reset della grafica  
        var TopColoriStep2 = 0;
        var TopCerchioniStep2 = 0;
        var TopInterniStep2 = 0;
        var TopOptStep3 = 0;
        var TopDetailLay = 0;
 
// Varie Utilis:
        var interniListTMP = new Array();
        var cerchioniListTMP = new Array();
        var flagNextStep = true;
        var flagStart = 0;
        setLayerProperty = new Function();

        function graphic
        () {
            switch (Vehicle.step) {
                case 0:
                    displayStep0();
                    break;
                case 1:
                    displayStep1();
                    break;
                case 2:
                    interniListTMP = getConstrainEsclusive(MvsIPList, Vehicle.MvsBodyColor.code);
                    cerchioniListTMP = getOptByCategory('-');
                    if (TopColoriStep2 != 0) TopColoriStep2 = parseInt(document.getElementById('ccInnColori').style.top);
                    if (TopInterniStep2 != 0) TopInterniStep2 = parseInt(document.getElementById('ccInnInterni').style.top);
                    if (TopCerchioniStep2 != 0) TopCerchioniStep2 = parseInt(document.getElementById('ccInnCerchioni').style.top);
                    displayStep2();
                    document.getElementById('ccInnColori').style.top = TopColoriStep2 + "px";
                    document.getElementById('ccInnInterni').style.top = TopInterniStep2 + "px";
                    document.getElementById('ccInnCerchioni').style.top = TopCerchioniStep2 + "px";
                    break;
                case 3:
                    displayStep3();
                    break;
                case 4:
                    displayStep4();
                    break;
            }

            if (ServerSide["useFlash"] == 'true') document.getElementById('flash').style.display = "block";

            flagStart++;
        }
function makeAgencyTag(){
	var agencyTag="";
	if(Vehicle.Model.code=='169'){
		if(Vehicle.step=='1'){
			agencyTag='<!--TagPanda--><img height="1" width="1" src="http://switch.atdmt.com/action/m1ifi1_HomepagecarconfiguratorPanda_6"/><!--/TagPanda-->';
		}
		else if(Vehicle.step=='4'){	
			agencyTag='<!--TagPanda--><img height="1" width="1" src="http://switch.atdmt.com/action/m1ifi1_ThankyoupagecarconfiguratorPanda_6"/><!--/TagPanda-->';
		}	
	}else{
		agencyTag='';
	}
	//alert(agencyTag);
	return agencyTag;
}
        /******************************************/

// INIZIO DISPLAY STEP 0 (scelta modelli)
        function displayStep0() {
        }

// INIZIO DISPLAY STEP 1 (scelta mvs)
        function displayStep1() {
        
			CodiceHTML =
                    NumImgCode() +
                    menuTopRightCode() +
					makeAgencyTag() +
					'<table border="0" cellspacing="0" cellpadding="0" width="790">' +
                    '<tr>' +
                    '<td valign="top" colspan="3"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["Page1TitleImageFE"] + '" width="782" height="61"></td>' +
					'<td valign="top" height="100%">' +
                    '<table width="8" border="0" cellspacing="0" cellpadding="0" height="100%">' +
                    '<tr>' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
					// FLASH OBJECT
                    '<td class="bkBianco" id="tdFlash" width="353" height="179"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="353" height="179" border="0"></td>' +
                    '<td class="bkBianco" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="14" height="1"></td>' +
                    '<td class="txt" valign="top"><br>' +
                    ServerSide["Page1TextFE"] +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="201" height="1"><br>' +
                    '</td>' +
                    '<td valign="top" width="214" class="bk1"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="214" height="1"></td>' +
                    '<td class="bk1" height="100%">' +
                    '<table height="100%" width="8" border="0" cellspacing="0" cellpadding="0">' +
                    '<tr height="50%">' +
                    '<td valign="top"><img src="' + ServerSide["imagePath"] + 'brdr_white7x9.gif" width="7"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr height="50%">' +
                    '<td colspan="2" valign="bottom"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="4">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="783">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="551" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="215" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td valign="top" >' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="548" class="bkBianco">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="537" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td valign="top" align="center">' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["Page1SubTitleImageFE"] + '" border="0" width="491" height="45"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td align="right">' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="15">' +
                    '</td>' +
                    '</tr>';
            var gg = 0;
            var foTMP = false;
			//No tab promo su ccstep1
			/*
            for (var pr in
            Vehicle.Promos) {
                if (Vehicle.Promos[pr].promoType == 'E') {
                    if (gg == 0) {
                        CodiceHTML +=
                                '<tr>' +
                                '<td valign="top">' +
                                '<table border="0" cellspacing="0" cellpadding="2" class="tbldotted" width="100%">' +
                                '<tr class="bk2">' +
                                '<td height="15" class="trc" align="left"><span class="txtbold">' + ServerSide["page1HComm"] + '</span></td>' +
                                '</tr>';
                    }
                    CodiceHTML +=
                            '<td align="left" class="trc">' + Vehicle.Promos[pr].communication + '</td>' +
                            '</tr>';
                    foTMP = true;
                }

                gg++;
            }
			*/
            if (foTMP) {
                CodiceHTML +=
                        '</table>' +
                        '</td>' +
                        '</tr>' +
                        '<tr>' +
                        '<td>' +
                        '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="15">' +
                        '</td>' +
                        '</tr>';
            }
            CodiceHTML +=
                    '<tr>' +
                    '<td valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="2" class="tbldotted" width="100%">' +
                    '<tr class="bk2">';
            if (ServerSide["mvsInfoDisabled"] == "false") {
                CodiceHTML +=
                        '<td width="50%" class="trc"><span class="txtbold">' + ServerSide["page1H1"] + '</span></td>' +
                        '<td width="15%" align="center" class="trc"><span class="txtbold">'+ServerSide["page1H2"]+'</span></td>';
			if (ServerSide["mvsPromoDisabled"] == "false") 
						CodiceHTML +='<td width="15%" align="center" class="trc"><span class="txtbold">' + ServerSide["page1H6"] + '&nbsp;&nbsp;&nbsp;&nbsp;</span></td>';
			CodiceHTML +='<td width="15%" align="center" class="trc"><span class="txtboldpro">'+ServerSide["page1H7"]+'</span></td>';
				CodiceHTML +='<td width="10%" align="center" class="trc"><span class="txtboldpro">' + ServerSide["page1H5"] + '</span></td>' +
                        '<td width="10%" align="center" class="trc"><span class="txtbold">' + ServerSide["page1H4"] + '</span></td>';
            } else {
                //default
                CodiceHTML +=
                        '<td width="50%" class="trc"><span class="txtbold">' + ServerSide["page1H1"] + '</span></td>' +
                        '<td width="15%" align="center" class="trc"><span class="txtbold">' + ServerSide["page1H2"] + '&nbsp;&nbsp;&nbsp;&nbsp;</span></td>';
			if (ServerSide["mvsPromoDisabled"] == "false") 
				CodiceHTML +='<td width="15%" align="center" class="trc"><span class="txtboldpro">'+ServerSide["page1H6"]+'</span></td>';
			if (ServerSide["mvsEcoPromoDisabled"] == "false")
				CodiceHTML +='<td width="15%" align="center" class="trc"><span class="txtboldpro">'+ServerSide["page1H7"]+'</span></td>';
				CodiceHTML +='<td width="10%" align="center" class="trc"><span class="txtbold">' + ServerSide["page1H5"] + '</span></td>';
                CodiceHTML +='<td width="10%" align="center" class="trc"><span class="txtbold">' + ServerSide["page1H4"] + '</span></td>';

            }
            CodiceHTML +=
                    '</tr>';


            var prom = '';
            for (m = 0; m < MvsList.length; m++) {
                var promFlag = true;
                var che = '';
                if (MvsList[m].code == Vehicle.Mvs.code) che = ' checked';
                var coloRig = '';
                if (m % 2 != 0) coloRig = ' class="bk3"';
                for (k = 0; k < PromoList.length; k++) {
                    if (PromoList[k].objCode == MvsList[m].code) {
                        //alert(Vehicle.Mvs.code +" - "+ Vehicle.Mvs.dsesc + " - " + Vehicle.Promo.code + " " + Vehicle.Promo.desc + " " + Vehicle.Promo.type);	
                        //alert(PromoList[k].objCode +" - "+MvsList[m].code);
                        prom = '<b style="color:black">*</b>'; //ServerSide["page1HComm"];//'<br><b>'+numberToFormattedString(PromoList[k].price)+'</b>';
                        CodiceHTML +=
                                '<tr ' + coloRig + '>' +
                                '<td class="trc">' + convertApici(MvsList[m].desc) + '</td>' +
                                '<td class="trc" align="left" nowrap>' + numberToFormattedString(MvsList[m].price) + '&nbsp;' + prom + '&nbsp;&nbsp;&nbsp;&nbsp;</td>'+
								'<td class="trc" align="left" nowrap>' + numberToFormattedString(MvsList[m].pricePromo) + '&nbsp;' + prom + '&nbsp;&nbsp;&nbsp;&nbsp;</td>'+
								'<td class="trc" align="left" nowrap>' + numberToFormattedString(MvsList[m].ecoPromo) + '&nbsp;' + prom + '&nbsp;&nbsp;&nbsp;&nbsp;</td>';

                        if (ServerSide["mvsInfoDisabled"] == "false") {
                            CodiceHTML +=
                                    '<td class="trc" align="center"><img src="' + ServerSide["imagePath"] + 'a6_icona_esplora.gif" onclick="javascript:mvsInfoRequested(\'' + MvsList[m].code + '\');"></td>';
                        }
						CodiceHTML +=
                                    '<td class="trc" align="center"><img src="' + ServerSide["imagePath"] + 'icona_esplora.gif" onclick="javascript:mvsInfoRequested(\'' + MvsList[m].code + '\');"></td>';
                        CodiceHTML +=
                                '<td class="trc" align="center"><input style="position:relative;z-index:60;" type="checkbox" onclick="javascript:mvsChanged(\'' + MvsList[m].code + '\');"' + che + '></td>' +

                                '</tr>';

                        promFlag = false;
                        break;
                    }
                }
                if (promFlag) {
                    CodiceHTML +=
                            '<tr ' + coloRig + '>' +
                            '<td class="trc">' + MvsList[m].desc + '</td>' +
                            '<td class="trc" align="center">' + numberToFormattedString(MvsList[m].price) + '</td>';
					if (ServerSide["mvsPromoDisabled"] == "false") 		
						CodiceHTML +='<td class="trcpro" align="center">' + numberToFormattedString(MvsList[m].pricePromo) + '</td>';
					if (ServerSide["mvsEcoPromoDisabled"] == "false")
						CodiceHTML +='<td class="trcpro" align="center">' + numberToFormattedString(MvsList[m].ecoPromo) + '</td>';
                    if (ServerSide["mvsInfoDisabled"] == "false") {
                        CodiceHTML +=
                                '<td class="trc" align="center"><img src="' + ServerSide["imagePath"] + 'a6_icona_esplora.gif" onclick="javascript:mvsInfoRequested(\'' + MvsList[m].code + '\');"></td>';
                    }
					CodiceHTML +=
                                    '<td class="trc" align="center"><img src="' + ServerSide["imagePath"] + 'icona_esplora.gif" onclick="javascript:mvsInfoRequested(\'' + MvsList[m].code + '\');"></td>';
                    CodiceHTML +=
                            '<td class="trc" align="center"><input type="checkbox" style="position:relative;z-index:60;" onclick="javascript:mvsChanged(\'' + MvsList[m].code + '\');"' + che + '></td>' +
                            '</tr>';
                }
            }

            CodiceHTML +=
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    footerTasti() +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="2" rowspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif" width="8" height="9"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td colspan="2" rowspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif" width="8" height="9"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table><!-- fine tab dati -->' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="18" height="1"></td>' +
                    '<td valign="top"><br>' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="204">' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tplft.gif" width="8" height="9"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="188" height="1"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="232"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td class="bkBianco" valign="top"><!-- inizio tabella testuale box -->' +
                    boxDXCode() +
                    '</td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif" width="8" height="9"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table width="790" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td align="right" class="txt" height="20"><a href="#" class="lnormalg">' + ServerSide["backToTopPageFE"] + '</a> <sup><img src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0"></sup></td>' +
                    '</tr>' +
                    '</table>';

            document.getElementById('fiatcc').innerHTML = CodiceHTML;

        }
// FINE DISPLAY STEP 1 (scelta mvs)

        /******************************************/

// INIZIO DISPLAY STEP 2 (scelta colore, interni cerchione)
        function displayStep2
        () {

            CodiceHTML =
                    NumImgCode() +
                    menuTopRightCode() +
                    '<table border="0" cellspacing="0" cellpadding="0" width="790">' +
                    '<tr>' +
                    '<td valign="top" colspan="2"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["Page2TitleImageFE"] + '" width="782" height="61" border="0"></td>' +
                    '<td valign="top" height="100%">' +
                    '<table width="8" border="0" cellspacing="0" cellpadding="0" height="100%">' +
                    '<tr>' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    // FLASH OBJECT
                    '<td class="bkBianco" id="tdFlash" width="353" height="179"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="353" height="179" border="0"></td>' +
                    '<td class="bkBianco" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="14" height="1"></td>' +
                    '<td class="txt" valign="top"><br>' +
                    ServerSide["Page2TextFE"] +
                    '<br><br>' +
                    '<span class="txtg">' + ServerSide["page2H1"] + '</span><br>' +
// DESCRIZIONE COLORE //
                    '<b id="ncolore">' + convertApici(Vehicle.MvsBodyColor.desc) + '</b>' +
                    '<table border="0" cellspacing="0" cellpadding="0" align="right">' +
                    '<tr>' +
                    '<td valign="top" align="left"><img align="left" onMouseOver="javascript:parteScrolling(\'giu\', \'colori\')" onMouseOut="javascript:fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_tp.gif" width="8" height="6" style="margin-right:7px" border="0" style="cursor:hand"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="70"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="bottom" align="left"><img align="left" onMouseOver="javascript:parteScrolling(\'su\', \'colori\')" onMouseOut="javascript:fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" style="margin-right:7px" border="0" style="cursor:hand"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="415" border="0" height="1"><br>' +
                    '</td>' +
                    '<td height="100%" class="bkBianco">' +
                    '<table height="100%" width="8" border="0" cellspacing="0" cellpadding="0">' +
                    '<tr height="50%">' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr height="50%">' +
                    '<td colspan="2" valign="bottom"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="783">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="551" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="215" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td valign="top"><!-- inizio tab dati -->' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="548" class="bkBianco">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="537" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td valign="top" align="center">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td align="right">' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="15">' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="top" align="left">' +
                    '<table border="0" cellspacing="0" cellpadding="2" width="100%">' +
                    '<tr>' +
                    '<td class="txt">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="90%" align="right">' +
                    '<tr>' +
                    '<td align="right"><img name="interniimgbig" id="interniimgbig"  src="' + Vehicle.MvsInnerPreparation.imgBig + '" align="right" width="212" height="109"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="50" height="1"></td>' +
                    '<td class="txt" valign="top" align="right" width="191">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="191">' +
                    '<tr>' +
// DESCRIZIONE INTERNI //
                    '<td class="txtbold"><span class="txtg">' + ServerSide["page2H3"] + '</span><br>';
            var descInterniTMP = Vehicle.MvsInnerPreparation.desc;
            if (descInterniTMP.length > 26) descInterniTMP = '<a title="' + convertApici(descInterniTMP) + '" style="cursor:default;">' + convertApici(descInterniTMP.substring(0, 25)) + '...</a>';
            CodiceHTML +=
                    '<b id="ntessuto">' + descInterniTMP + '</b></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="top" align="right" class="txt">' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="5"><br>' +
                    '<img onMouseOver="javascript:parteScrolling(\'giu\', \'interni\')" onMouseOut="javascript:fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_tp.gif" width="8" height="6" border="0" style="cursor:hand">' +
                    '<br>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="70"><br>' +
                    '<img onMouseOver="javascript:parteScrolling(\'su\', \'interni\')" onMouseOut="javascript:fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0" style="cursor:hand">' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="top" align="left">' +
                    '<table border="0" cellspacing="0" cellpadding="2" width="100%">' +
                    '<tr>' +
                    '<td class="txt">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="90%" align="right">' +
                    '<tr>' +
                    '<td class="txt">' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="212" height="20">' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="50" height="1"></td>' +
                    '<td width="191">&nbsp;</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td align="right" valign="top"><img src="' + getCerchione().imgBig + '" align="right" name="cerchioniimgbig" id="cerchioniimgbig" width="81" height="81"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="50" height="1"></td>' +
                    '<td class="txt" valign="top" width="191">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="191">' +
                    '<tr>' +
                    '<td class="txtbold"><span class="txtg">' + ServerSide["page2H2"] + '</span><br>';
            // DESCRIZIONE CERCHIONI //
            var descCerchioneTemp = getCerchione().desc;
            if (descCerchioneTemp.length > 26) descCerchioneTemp = '<a title="' + descCerchioneTemp + '" style="cursor:default;">' + convertApici(descCerchioneTemp.substring(0, 25)) + '...</a>';
            CodiceHTML +=
                    '<b id="ncerchione">' + descCerchioneTemp + '</b>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="top" align="right" class="txt">' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="5"><br>' +
                    '<img onMouseOver="javascript:parteScrolling(\'giu\', \'cerchioni\')" onMouseOut="fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_tp.gif" width="8" height="6" border="0" style="cursor:hand"><br>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="45"><br>' +
                    '<img onMouseOver="javascript:parteScrolling(\'su\', \'cerchioni\')" onMouseOut="fermaScrolling()" src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0" style="cursor:hand">' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</tr>' +
                    '</td>' +
                    '</table>' +
                    '<td>' +
                    '</tr>' +
                    footerTasti() +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="2" rowspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif" width="8" height="9"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td colspan="2" rowspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif" width="8" height="9"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table><!-- fine tab dati -->' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="18" height="1"></td>' +
                    '<td valign="top"><br>' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="204">' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tplft.gif" width="8" height="9"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="188" height="1"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="232"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td class="bkBianco" valign="top"><!-- inizio tabella testuale box -->' +
                    boxDXCode() +
                    '</td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif" width="8" height="9"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table width="790" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td align="right" class="txt" height="20"><a href="#" class="lnormalg">' + ServerSide["backToTopPageFE"] + '</a> <sup><img src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0"></sup></td>' +
                    '</tr>' +
                    '</table>' +
// LAYER SCROLLABILE COLORE //
                    '<div id="ccContColori">' +
                    '<div id="ccInnColori">' +
                    '<table border="0" cellspacing="0" cellpadding="0">';
            for (i = 0; i < MvsBCList.length / 6; i++) {
                CodiceHTML +=
                        '<tr>' +
                        '<td valign="top">';
                for (j = 0; j < 6; j++) {
                    if (((i * 6) + j) < MvsBCList.length) {
                        var curSel = 'bot_layer';
                        var margTop = '';
                        if (i > 0) margTop = 'margin-top:5px;';
                        if (MvsBCList[((i * 6) + j)].code == Vehicle.MvsBodyColor.code) curSel = 'bot_selected_layer';
                        CodiceHTML += '<img onMouseOut="javascript:mouseOutBC(\'' + MvsBCList[((i * 6) + j)].code + '\');" onMouseOver="mouseOverBC(\'' + MvsBCList[((i * 6) + j)].code + '\');" onClick="javascript:mvsBCChanged(\'' + MvsBCList[((i * 6) + j)].code + '\');" class="' + curSel + '" valign="top" src="' + MvsBCList[((i * 6) + j)].imgSmall + '" width="43" height="33" border="0" vspace="0" hspace="0" style="cursor:hand;margin:0px;' + margTop + 'margin-right:24px;">';
                    }
                }
                CodiceHTML +=
                        '</td>' +
                        '</tr>';
            }
            CodiceHTML +=
                    '</table>' +
                    '</div>' +
                    '</div>' +
// LAYER SCROLLABILE INTERNI //
                    '<div id="ccContInterni">' +
                    '<div id="ccInnInterni">' +
                    '<table border="0" cellspacing="0" cellpadding="0">';
            for (i = 0; i < interniListTMP.length / 3; i++) {
                CodiceHTML +=
                        '<tr>' +
                        '<td valign="top">';
                for (j = 0; j < 3; j++) {
                    if (((i * 3) + j) < interniListTMP.length) {
                        var curSel = 'bot_layer';
                        var margTop = '';
                        if (i > 0) margTop = 'margin-top:5px;';
                        if (interniListTMP[((i * 3) + j)].code == Vehicle.MvsInnerPreparation.code) curSel = 'bot_selected_layer';
                        CodiceHTML += '<img onMouseOut="javascript:mouseOutIP(\'' + interniListTMP[((i * 3) + j)].code + '\');" onMouseOver="mouseOverIP(\'' + interniListTMP[((i * 3) + j)].code + '\');" onClick="javascript:mvsIPChanged(\'' + interniListTMP[((i * 3) + j)].code + '\');" class="' + curSel + '" valign="top" src="' + interniListTMP[((i * 3) + j)].imgSmall + '" width="43" height="33" border="0" vspace="0" hspace="0" style="cursor:hand;margin:0px;' + margTop + 'margin-right:24px;">';
                    }
                }
                CodiceHTML +=
                        '</td>' +
                        '</tr>';
            }
            CodiceHTML +=
                    '</table>' +
                    '</div>' +
                    '</div>' +
// LAYER SCROLLABILE CERCHIONI //
                    '<div id="ccContCerchioni">' +
                    '<div id="ccInnCerchioni">' +
                    '<table border="0" cellspacing="0" cellpadding="0">';
            for (i = 0; i < cerchioniListTMP.length / 3; i++) {
                CodiceHTML +=
                        '<tr>' +
                        '<td valign="top">';
                for (j = 0; j < 3; j++) {
                    if (((i * 3) + j) < cerchioniListTMP.length) {
                        var curSel = 'bot_layer';
                        var margTop = '';
                        if (i > 0) margTop = 'margin-top:5px';
                        if (cerchioniListTMP[((i * 3) + j)].code == getCerchione().code) curSel = 'bot_selected_layer';
                        CodiceHTML += '<img onMouseOut="javascript:mouseOutRim(\'' + cerchioniListTMP[((i * 3) + j)].code + '\');" onMouseOver="mouseOverRim(\'' + cerchioniListTMP[((i * 3) + j)].code + '\');" onClick="javascript:mvsOptChanged(\'' + cerchioniListTMP[((i * 3) + j)].code + '\');" class="' + curSel + '" valign="top" src="' + cerchioniListTMP[((i * 3) + j)].imgSmall + '" width="43" height="33" border="0" vspace="0" style="cursor:hand;margin:0px;' + margTop + 'margin-right:24px;">';
                    }
                }
                CodiceHTML +=
                        '</td>' +
                        '</tr>';
            }
            CodiceHTML +=
                    '</table>' +
                    '</div>' +
                    '</div>';

            document.getElementById('fiatcc').innerHTML = CodiceHTML;

        }
// FINE DISPLAY STEP 2 (scelta colore, interni cerchione)

        /******************************************/

// INIZIO DISPLAY STEP 3 (scelta altri optional)
        function displayStep3
        () {

            CodiceHTML =
                    NumImgCode() +
                    menuTopRightCode() +
                    '<table border="0" cellspacing="0" cellpadding="0" width="790">' +
                    '<tr>' +
                    '<td valign="top" colspan="2"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["Page3TitleImageFE"] + '" width="782" height="61"></td>' +
                    '<td valign="top" height="100%">' +
                    '<table width="8" border="0" cellspacing="0" cellpadding="0" height="100%">' +
                    '<tr>' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    // FLASH OBJECT
                    '<td class="bkBianco" id="tdFlash" width="353" height="179"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="353" height="179" border="0"></td>' +
                    '<td class="bkBianco" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="9" height="1"></td>' +
                    '<td class="txt" valign="top" align="left"><br>' +
                    ServerSide["Page3TextFE"] + '<br><br>' +
                    '<img src="' + Vehicle.MvsInnerPreparation.imgBig + '" align="left" width="212" height="109">' +
                    '<img src="' + getCerchione().imgBig + '" align="right" width="81" height="81" hspace="22" vspace="15">' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="415" border="0" height="1"><br>' +
                    '</td>' +
                    '<td height="100%" class="bkBianco">' +
                    '<table height="100%" width="8" border="0" cellspacing="0" cellpadding="0">' +
                    '<tr height="50%">' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr height="50%">' +
                    '<td colspan="2" valign="bottom"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="783">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="551" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="215" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td colspan="4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="11"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td valign="top"><!-- inizio tab dati -->' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="548" class="bkBianco">' +
                    '<tr>' +
                    '<td rowspan="2" colspan="2" class="bk4"><img src="' + ServerSide["imagePath"] + 'brdr_tplft.gif"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '<td rowspan="2" colspan="2" class="bk4"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'brdr_bxcntnt.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="8"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="508" height="8"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'brdr_bxcntnt.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="8"></td>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="8"></td>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'brdr_bxcntnt.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="1"></td>' +
                    '<td valign="top" class="bkBianco" align="center">' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr><td align="center"><img src="' + ServerSide["Page3SubTitleImageFE"] + '" align="center" width="491" height="45"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td valign="top" align="center">' +
                    '<table border="0" cellspacing="0" cellpadding="0" class="tbldotted" width="96%">';
            //------------------------------------------------
            flagPromozioni = false;
            for (pp = 0; pp < PromoList.length; pp++) {
                if (PromoList[pp].promoType == 'A' || PromoList[pp].promoType == 'B' || PromoList[pp].promoType == 'D') flagPromozioni = true;
				//if(PromoList[pp].promoType !='') flagPromozioni=true;
            }
            if (flagPromozioni) {
			
                CodiceHTML +=
						'<tr>' +
                        '<td valign="top" colspan="5">' +
                        '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                        '<tr class="bk2">' +
                        '<td height="15" class="trc" align="left" colspan="5"><span class="txtbold">' + ServerSide["page1HComm"] + '</span></td>' +
                        '</tr>';
                for (pro = 0; pro < PromoList.length; pro++) {
                    if (PromoList[pro].promoType == 'A') {
					/*
                        var proComA = '';
                        var proCheckA = '';
                        var proDisableA = '';
                        if (PromoList[pro].communication != '') proComA = '<span class="txt">' + PromoList[pro].communication;
                        +'</span>';
                        if (Vehicle.Promos[PromoList[pro].code] != null) proCheckA = ' checked';
                        if (PromoList[pro].switchable == '0') proDisableA = ' disabled';
                        CodiceHTML +=
                                '<tr>' +
                                '<td align="left">' +
                                '<table cellpadding="0" cellspacing="0" border="0">' +
                                '<tr>' +
                                '<td height="18" width="3" style="font-size:2px;" align="center">' +
                                '<input onclick="javascript:addOrRemovePromo(\'' + PromoList[pro].code + '\', this);" type="checkbox" ' + proCheckA + proDisableA + '>' +
                                '</td>' +
                                '<td class="txtbold" style="padding-left:2px;">' + PromoList[pro].choice + ' ' + proComA + '</td>' +
                                '</tr>' +
                                '</table>' +
                                '</td>' +
                                '</tr>';
					*/
								var priceString="";
								if(PromoList[pro].priceNoVat<0){ //absolute
									priceString +=printCurrency("-"+numberToFormattedString( Math.abs(PromoList[pro].priceNoVat)),"&nbsp;","C");
								}
								else{ //percent
									priceString+="-"+PromoList[pro].priceNoVat+"%";
								}
								var proComA = '';
								var proCheckA = '';
								var proDisableA = '';
								if (Vehicle.Promos[PromoList[pro].code] != null) proCheckA = ' checked';
								if (PromoList[pro].switchable == '0') proDisableA = ' disabled';
								CodiceHTML += 
									'<tr>'+
										'<td  class="trc" height="18" style="font-size:2px;" align="center"><input onclick="javascript:addOrRemovePromo(\''+PromoList[pro].code+'\', this);"  type="checkbox" '+proCheckA+proDisableA+'></td>'+
										'<td class="trc" style="padding-left:2px;">'+PromoList[pro].choice+'</td>'+
										'<td class="trc" style="padding-left:2px;">'+PromoList[pro].communication+'<br>'+priceString + '</td>'+
									'</tr>';
																
                    }
					/*
                    if (PromoList[pro].promoType == 'B') {
                        var proCheckB = '';
                        var proDisableB = '';
                        if (Vehicle.Promos[PromoList[pro].code] != null) proCheckB = ' checked';
                        if (PromoList[pro].switchable == '0') proDisableB = ' disabled';
                        CodiceHTML +=
                                '<tr>' +
                                '<td height="19" align="left" valign="center" style="padding-left:2px;" class="txt">' +
                                '<input onclick="javascript:addOrRemovePromo(\'' + PromoList[pro].code + '\', this);" type="checkbox" ' + proCheckB + proDisableB + '> ' + PromoList[pro].choice +
                                '</td>' +
                                '</tr>';
                    }
					*/
					
				if (PromoList[pro].promoType == 'B') {
					var priceString =printCurrency(numberToFormattedString( Math.abs(PromoList[pro].priceNoVat)),"&nbsp;","C");
					var proCheckB = '';
					var proDisableB = '';
					if (Vehicle.Promos[PromoList[pro].code] != null) proCheckB = ' checked';
					if (PromoList[pro].switchable == '0') proDisableB = ' disabled';
					CodiceHTML += 
											'<tr>'+
												'<td class="trc" height="18" style="font-size:2px;" align="center"><input onclick="javascript:addOrRemovePromo(\''+PromoList[pro].code+'\', this);"  type="checkbox" '+proCheckB+proDisableB+'></td>'+
												'<td class="trc" style="padding-left:2px;">'+PromoList[pro].choice+'</td>'+
												'<td class="trc" style="padding-left:2px;">'+PromoList[pro].communication+'<br>' + priceString + '</td>'+
											'</tr>';
					
				}                   
				if (PromoList[pro].promoType == 'D') {
                        CodiceHTML +=
                                '<tr>' +
								'<td class="trc" height="18" style="font-size:2px;" align="center"><input type="checkbox" name="finta" disabled checked></td>'+
                                '<td height="18" colspan="4" align="left" style="padding-left:2px;" class="trc">' +
                                PromoList[pro].communication +
                                '</td>' +
                                '</tr>';
                    }
                }

                CodiceHTML +=
                        '</table>' +
						'<tr><td class="trc" colspan="5" heigth="20">&nbsp;</td></tr>' +
                        '</td>' +
                        '</tr>';
            }
//----------------------------------------------------------------------------------
            CodiceHTML +=
                    '<tr class="bk2">' +
                    '<td class="trc" colspan="3" align="center" width="20"><span class="txtbold">' + ServerSide["page3H1"] + '</span></td>' +
                    '<td class="trc" width="85%" align="center"><span class="txtbold">' + ServerSide["page3H2"] + '</span></td>' +
                    '<td class="trc" width="15%" align="right"><span class="txtbold">' + ServerSide["page3H3"] + '&nbsp;&nbsp;&nbsp;&nbsp;</span></td>' +
                    '</tr>' +
                    '<!-- INIZIO LOOP OPTIONALS -->';
            var currentOpts = getVehicleOpts();
            flagNextStep = true;

            for (var cati in
            Categories) {
                if (cati != '-') {
                    CodiceHTML +=
                            '<tr class="bk3">' +
                            '<td class="trc" colspan="5"><span class="txtbold">' + Categories[cati] + '</span></td>' +
                            '</tr>';
                    for (k = 0; k < getOptByCategory(cati).length; k++) {
                        var escla = '<img src="' + ServerSide["imagePath"] + 'spaziatore.gif" width="13" height="13" vspace="0" hspace="0" border="0" style="margin-left:5px;">';
                        var esplo = '<img src="' + ServerSide["imagePath"] + 'spaziatore.gif" width="13" height="13" vspace="0" hspace="0" border="0" style="margin-left:5px;">';
                        var che = '';
                        var disab = '';
                        for (var COC in
                        currentOpts) {
                            if (COC == getOptByCategory(cati)[k].code) che = ' checked';
                        }
                        if (setChecked(getOptByCategory(cati)[k].code)) che = ' checked';
                        if (getOptByCategory(cati)[k].optType == 'S' || setDisabled(getOptByCategory(cati)[k].code)) disab = ' disabled';
                        var stc = '';
                        if (che == ' checked') {
                            var oe = toBeIncluded(getOptByCategory(cati)[k].code);
                            var oi = mustInclude(getOptByCategory(cati)[k].code);
							//alert(getOptByCategory(cati)[k].code+' BE- '+oe);
							//alert(getOptByCategory(cati)[k].code+' MUST- '+oi);
                            if (!oe[0] || oi) {
                                if (oi && !oe[0]) stc = 'ei';
                                if (oi && oe[0]) stc = 'i';
                                if (!oi && !oe[0]) stc = 'e';
                                escla = '<img onclick="javascript:checkCons(\'' + getOptByCategory(cati)[k].code + '\',\'' + stc + '\');" src="' + ServerSide["imagePath"] + 'fiatcc_icona_escla.gif" width="13" align="center" height="13" vspace="0" hspace="0" border="0" style="cursor:hand;margin-left:5px;">';
                                flagNextStep = false;
                            }
                        }
                        if (getOptByCategory(cati)[k].info == 'true') {
                            esplo = '<img src="' + ServerSide["imagePath"] + 'fiatcc_icona_esplora.gif" onclick="javascript:optionalInfoRequested(\'' + getOptByCategory(cati)[k].code + '\')" width="14" height="15" vspace="0" align="center" hspace="0" border="0" style="cursor:hand;margin-left:5px;">';
                        }
                        //MANNI: test su HDA
                        var hdaKey='';
                        //var hdaKeyCheck ='NOPT_' + getOptByCategory(cati)[k].code;	                         
                        if (showHdaInStep(Vehicle.step) &&  getOptByCategory(cati)[k].hdaSenziente == 'Y') {
                            var hdaKey =onInfoHDA+'_' + getOptByCategory(cati)[k].code;	                           
                            esplo = '<img src="' + ServerSide["imagePath"] + 'fiatcc_icona_hda_opt_info.gif" onclick="debug(\'' + hdaKey + '\'); window.HDA.sendEvent(\'' + hdaKey + '\')" width="14" height="15" vspace="0" align="center" hspace="0" border="0" style="cursor:hand;margin-left:0px;margin-top:3px;">';
                        }

                        //var checkB = '<input type="checkbox" class="formChe"' + che + disab + ' onclick="javascript:addOrRemoveOpt(\'' + getOptByCategory(cati)[k].code + '\', this); if(window.HDA && this.checked) { debug(\'' + hdaKeyCheck + '     categoria=' + cati + '\'); window.HDA.sendEvent(\'' + hdaKeyCheck + '\',\'categoria=' + cati +'\') } ">';
                        //la riga di sopra comprende la categoria; per il momento lo abbiamo disabilitato
                        //var checkB = '<input type="checkbox" class="formChe"' + che + disab + ' onclick="javascript:addOrRemoveOpt(\'' + getOptByCategory(cati)[k].code + '\', this); if(window.HDA && this.checked) { debug(\'' + hdaKeyCheck + '\'); window.HDA.sendEvent(\'' + hdaKeyCheck + '\');} ">';
                        //la riga sopra comprende l'invio del codice OPT onClick, hanno richiesto attualmente di disabilitare tale funzione.
                        var checkB = '<input type="checkbox" class="formChe"' + che + disab + ' onclick="javascript:addOrRemoveOpt(\'' + getOptByCategory(cati)[k].code + '\', this);">';
                        var promoFlag = true;
                        for (p = 0; p < PromoList.length; p++) {
                            if (PromoList[p].promoType == 'C' && PromoList[p].objCode == getOptByCategory(cati)[k].code) {
                                CodiceHTML +=
                                        '<tr class="bkred">' +
                                        '<td class="trc" width="20" align="center">' + escla + '</td>' +
                                        '<td  width="20" align="center" style="margin-top:2px;">' + esplo + '</td>' +
                                        '<td align="center" class="trc">' + checkB + '</td>' +
                                        '<td class="trc">' + convertApici(getOptByCategory(cati)[k].desc) + '</td>' +
                                        '<td class="trc" align="right"><s>' + numberToFormattedString(getOptByCategory(cati)[k].price) + '</s>&nbsp;&nbsp;&nbsp;&nbsp;<br><b>' + numberToFormattedString(getOptByCategory(cati)[k].price + PromoList[p].price) + '</b>&nbsp;&nbsp;&nbsp;&nbsp;</td>' +
                                        '</tr>';
                                promoFlag = false;
                            }
                        }
                        if (promoFlag) {
                            //nuova grafica optionals di serie
                            var price = getOptByCategory(cati)[k].price;
                            var priceString;
                            if (getOptByCategory(cati)[k].optType == 'S' && price == 0) {
                                checkB = '<input type="checkbox" class="formChe" checked disabled >';
                                priceString = ServerSide["standardOptionalLabel"];
                            } else {
                                priceString = numberToFormattedString(getOptByCategory(cati)[k].price);
                            }
							if (getOptByCategory(cati)[k].optType == 'X'){
								var codeArg=getOptByCategory(cati)[k].code;
								/*if(getCheckStd(codeArg)=='A'){
									che = ' checked';
									disab = ' disabled';
								}
								if(getCheckStd(codeArg)=='R'){
									che = '';
									disab = ' disabled';
								}*/
								checkB = '<input id=\'' + getOptByCategory(cati)[k].code + '\' type="checkbox" class="formChe"' + che + disab + ' onclick="javascript:addOrRemoveOpt(\'' + getOptByCategory(cati)[k].code + '\', this);">';
                                priceString = ServerSide["standardOptionalLabel"];
							}

                            CodiceHTML +=
                                    '<tr>' +
                                    '<td class="trc" width="20" align="center">' + escla + '</td>' +
                                    '<td valign="top" align="center" class="trc" width="20" >' + esplo + '</td>' +
                                    '<td valign="top" align="center" class="trc">' + checkB + '</td>' +
                                    '<td class="trc">' + convertApici(getOptByCategory(cati)[k].desc) + '</td>' +
                                    '<td class="trc" align="right">' + priceString + '&nbsp;&nbsp;&nbsp;&nbsp;</td>' +
                                    '</tr>';
                        }
                    }
                }
            }

            CodiceHTML +=
                    '<!-- FINE LOOP OPTIONALS -->' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td align="center">' +
                    '<table border="0" cellspacing="0" cellpadding="2" width="96%">' +
                    footerTasti() +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td background="' + ServerSide["imagePath"] + 'brdr_bxcntnt.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="2" height="1"></td>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="8"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td rowspan="2" colspan="2" class="bk4"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif"></td>' +
                    '<td colspan="5" class="bk4"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td rowspan="2" colspan="2" class="bk4"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" colspan="5"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="18" height="1"></td>' +
                    '<td valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="204">' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tplft.gif" width="8" height="9"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="188" height="1"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="232"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td class="bkBianco" valign="top"><!-- inizio tabella testuale box -->' +
                    boxDXCode() +
                    '</td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif" width="8" height="9"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table width="790" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td align="right" class="txt" height="20"><a href="#" class="lnormalg">' + ServerSide["backToTopPageFE"] + '</a> <sup><img src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0"></sup></td>' +
                    '</tr>' +
                    '</table>';

            document.getElementById('fiatcc').innerHTML = CodiceHTML;

        }
// FINE DISPLAY STEP 3 (scelta altri optional)

        /******************************************/

// INIZIO DISPLAY STEP 4
        function displayStep4() {
			
            /* prendo gli oggetti ExternalLink per stampare i testi linkati, le immagini
            linkate ed i percorsi da passare a externalLinkCalled(code) */
            var financing = getExternalLinkByCode("financing");
            var dealerLocator = getExternalLinkByCode("dealerLocator");
            var saveConfig = getExternalLinkByCode("saveConfig");
            var brochure = getExternalLinkByCode("brochure");
            var printLeaflet = getExternalLinkByCode("printLeaflet");
            var sendToFriend = getExternalLinkByCode("sendToFriend");
            var loadConfig = getExternalLinkByCode("loadConfig");
            var testDrive = getExternalLinkByCode("testDrive");
            var sendLead = getExternalLinkByCode("sendLead");
			
			var CodiceHTMLperHda ='';
			if(showHdaInStep(Vehicle.step))
			{ //manni
					CodiceHTMLperHda += "<table cellpadding=0 cellspancing=0><tr><td valign='top' align='left'  style='width:197px; height:220px;'><span  id='spacerDiv'></span></td></tr></table>";
			}

            CodiceHTML =
					NumImgCode() +
                    menuTopRightCode() +
					makeAgencyTag() +
					'<table border="0" cellspacing="0" cellpadding="0" width="790">' +			
                    '<tr>' +
                    '<td valign="top" colspan="2"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["Page4TitleImageFE"] + '" width="782" height="61"></td>' +
					'<td valign="top" height="100%">' +
                    '<table width="8" border="0" cellspacing="0" cellpadding="0" height="100%">' +
                    '<tr>' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    // FLASH OBJECT
                    '<td class="bkBianco" id="tdFlash" width="353" height="179"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="353" height="179" border="0"></td>' +
                    '<td class="bkBianco" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="9" height="1"></td>' +
                    '<td class="txt" valign="top" align="left"><br>' +
                    ServerSide["page4Text"] + '<br><br>' +
                    '<img src="' + Vehicle.MvsInnerPreparation.imgBig + '" align="left" width="212" height="109">' +
                    '<img src="' + getCerchione().imgBig + '" align="right" width="81" height="81" hspace="22" vspace="15">' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="415" border="0" height="1"><br>' +
                    '</td>' +
                    '<td height="100%" class="bkBianco">' +
                    '<table height="100%" width="8" border="0" cellspacing="0" cellpadding="0">' +
                    '<tr height="50%">' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" height="100%"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '<tr height="50%">' +
                    '<td colspan="2" valign="bottom"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="783">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="551" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="215" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="790">' +
                    '<tr>' +
                    '<td colspan="3"><img src="' + ServerSide["imagePath"] + 'spacer.gif" height="11"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td width="15"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="15" height="1"></td>' +
                    '<td width="553" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" class="bkBianco" width="100%">' +
                    '<tr>' +
                    '<td rowspan="2" colspan="2" class="bkBianco"><img src="' + ServerSide["imagePath"] + 'brdr_tplft.gif"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="553" height="8"></td>' +
                    '<td colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="8"></td>' +
                    '<td valign="top" align="center" class="txt">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '<td valign="bottom"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxYourCarTitleImageFE"] + '" border="0" class="img_bx10px"></td>' +
                    '<td align="right"><img src="' + ServerSide["imagePath"] + 'curva_tit.gif"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '<td colspan="2" class="txt">' + convertApici(Vehicle.Mvs.desc) + '<br>' +
                    '<br>' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'brdr_ttlbxcntnt.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '<br>';
			if (calculatePrice('basicPrice') == calculatePrice('allPrice')) {
                    CodiceHTML +='<img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxBasePriceTitleImageFE"] + '"><br>';
					CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('basicPrice'), " ") + ' ' + ServerSide["boxPriceVatIncluded"];
            } else {
                CodiceHTML +='<img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxBasePriceTitleImageFE"] + '"><br>';
				CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('allPrice'), " ") + ' ' + ServerSide["boxPriceVatIncluded"];
				CodiceHTML +='<br><br><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxBasePromoPriceTitleImageFE"] + '"><br>';
				CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('basicPrice'), " ") + ' ' + ServerSide["boxPriceVatIncluded"];
            }

			if(calculatePrice('ecoPrice') != calculatePrice('basicPrice') && ServerSide["mvsEcoPromoDisabled"] == "false")
			{
				CodiceHTML +='<div style="margin-top:5px;"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxBaseEcoPriceTitleImageFE"] + '"><br>';
				CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('ecoPrice'), " ") + ' ' + ServerSide["boxPriceVatIncluded"]+'</div>';
			}

            CodiceHTML +=
                    '<br><br>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3">' +
                    '<table border="0" cellspacing="10" cellpadding="0" width="100%" class="bk5">' +
                    '<tr>'+
                    '<td class="txt">';
			if (calculatePrice('basicPrice') == calculatePrice('allPrice')) {
					CodiceHTML +='<img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxTotalPriceTitleImageFE"] + '"><br>';
                CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('totalPriceNoPromo'), " ") + '</b> ' + ServerSide["boxPriceVatIncluded"];
            } else {
				CodiceHTML +='<img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxTotalPromoPriceTitleImageFE"] + '"><br>';
                CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('totalPriceNoPromo'), " ") + '</b> ' + ServerSide["boxPriceVatIncluded"];
            }

			if(calculatePrice('ecoPrice') != calculatePrice('basicPrice')  && ServerSide["mvsEcoPromoDisabled"] == "false")
			{
				CodiceHTML +='<div style="margin-top:5px;"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxTotalEcoPriceTitleImageFE"] + '"><br>';
                CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(calculatePrice('totalEcoPriceNoPromo'), " ") + '</b> ' + ServerSide["boxPriceVatIncluded"]+'</div>';
			}

            CodiceHTML +=
                    // Uricchio
                    drawBoxCalcolatriceFinanziaria("left") + 
                    // Fine
                    '<br><br>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3" class="txt"><br>' +
                    '<table border="0" cellspacing="10" cellpadding="0" width="100%" class="bk6" align="left">' +
                    '<tr>' +
                    '<td valign="top" class="txt"><img src="' + ServerSide["imageUploadPathFE"] + ServerSide["BoxConfDetailsTitleImageFE"] + '"><br>' +
                    '<br>' +
// INIZIO DETTAGLI DI CONFIGURAZIONE //
                    '<table border="0" cellspacing="0" cellpadding="2" class="tblBk6" width="100%"> ' +
                    '<tr class="bkBianco">' +
                    '<td class="trc" width="82%"><span class="txtbold">' + ServerSide["page4Header1FE"] + '</span></td>' +
                    '<td class="trc"><span class="txtbold">' + ServerSide["page3H3"] + '</span></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="trc" valign="top"><span class="txtbold">' + ServerSide["boxDetailBodyColor"] + ':</span> ' + convertApici(Vehicle.MvsBodyColor.desc) + '</td>' +
                    '<td class="trc" valign="top">' + ' ' + conditionalPrintCurrencySymbolBefore(Vehicle.MvsBodyColor.price, " ") + '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="trc" valign="top"><span class="txtbold">' + ServerSide["boxDetailnnerPreparation"] + ':</span> ' + convertApici(Vehicle.MvsInnerPreparation.desc) + '</td>' +
                    '<td class="trc" valign="top">' + ' ' + conditionalPrintCurrencySymbolBefore(Vehicle.MvsInnerPreparation.price, " ") + '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="trc" valign="top"><span class="txtbold">' + ServerSide["boxDetailRim"] + ':</span> ' + convertApici(getCerchione().desc) + '</td>' +
                    '<td class="trc" valign="top">' + ' ' + conditionalPrintCurrencySymbolBefore(getCerchione().price, " ") + '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="2" class="trc" valign="top">&nbsp;</td>' +
                    '</tr>' +
                    '<tr class="bkBianco">' +
                    '<td class="trc" width="82%"><span class="txtbold">' + ServerSide["page4Header2FE"] + '</span></td>' +
                    '<td class="trc"><span class="txtbold">' + ServerSide["page3H3"] + '</span></td>' +
                    '</tr>';

            for (var VO in
            Vehicle.Optionals) {
                if (Vehicle.Optionals[VO].category != '-' && Vehicle.Optionals[VO].optType == 'O') {
                    CodiceHTML +=
                            '<tr>' +
                            '<td class="trc" valign="top"><span class="txtbold"></span> ' + convertApici(Vehicle.Optionals[VO].desc) + '</td>' +
                            '<td class="trc" valign="top">';
                    var eventualPricePromo = calculateSingleOptPromoPrice(Vehicle.Optionals[VO].code);
                    if (Vehicle.Optionals[VO].price != eventualPricePromo) {
                        CodiceHTML += '<s>' + ' ' + conditionalPrintCurrencySymbolBefore(Vehicle.Optionals[VO].price, " ") + '</s><br>' +
                                '<b>' + ServerSide["currency"] + ' ' + numberToFormattedString(eventualPricePromo) + '</b>';
                    } else {
                        CodiceHTML += ' ' + conditionalPrintCurrencySymbolBefore(Vehicle.Optionals[VO].price, " ");
                    }
                    CodiceHTML +=
                            '</td>' +
                            '</tr>';
                }
            }
            CodiceHTML +=
                    '<tr>' +
                    '<td colspan="2" class="trc" valign="top">&nbsp;</td>' +
                    '</tr>' +
                    '<tr class="bkBianco">' +
                    '<td class="trc" colspan="2"><span class="txtbold">' + ServerSide["page4Header3FE"] + '</span></td>' +
                    '</tr>';

            for (var cati in
            StandardCategories) {
                if (cati != '-') {
                    CodiceHTML +=
                            '<tr class="bk3">' +
                            '<td class="trc" colspan="2"><span class="txtbold">' + StandardCategories[cati] + '</span></td>' +
                            '</tr>';
                    for (k = 0; k < getStandardOptByCategory(cati).length; k++) {
                        CodiceHTML +=
                                '<tr>' +
                                '<td class="trc" colspan="2">' + convertApici(getStandardOptByCategory(cati)[k].desc) + '</td>' +
                                '</tr>';
                    }
                    CodiceHTML +=
                            '<tr>' +
                            '<td colspan="2" class="trc" valign="top">&nbsp;</td>' +
                            '</tr>';
                }
            }

            for (var ad = 0; ad < ExternalLinkDataList.length; ad++) {
                if (ExternalLinkDataList[ad].length > 0) {
                    CodiceHTML +=
                            '<tr class="bkBianco">' +
                            '<td class="trc" colspan="2"><span class="txtbold">' + ExternalLinkDataList[ad][0] + '</span></td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td class="trc" colspan="2">' + ExternalLinkDataList[ad][1] + '</td>' +
                            '</tr>' +
                            '<tr>' +
                            '<td colspan="2" class="trc" valign="top">&nbsp;</td>' +
                            '</tr>';
                }
            }
            CodiceHTML +=
                    '</table>' + 

// INIZIO DETTAGLI DI CONFIGURAZIONE //
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3" class="txtBk6"><br>' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="100%">' +
                    '<tr>' +
                    '<td align="left"><img src="' + ServerSide["imagePath"] + 'brdr_green_left.gif"></td>' +
                    '<td align="right"><img src="' + ServerSide["imagePath"] + 'brdr_green_right.gif"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td colspan="3" class="txt"><br>';
            if (financing.disabled == "false") CodiceHTML += '<a href="javascript:externalLinkCalled(\'' + financing.code + '\')" class="lunderline" >' + financing.desc + '</a>';
            if (testDrive.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + testDrive.code + '\')" class="lunderline" >' + testDrive.desc + '</a>';
            if (dealerLocator.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + dealerLocator.code + '\')" class="lunderline" >' + dealerLocator.desc + '</a>';
            if (sendLead.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + sendLead.code + '\')" class="lunderline" >' + sendLead.desc + '</a>';
            if (saveConfig.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + saveConfig.code + '\')" class="lunderline" >' + saveConfig.desc + '</a>';
            if (brochure.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + brochure.code + '\')" class="lunderline" >' + brochure.desc + '</a>';
            if (printLeaflet.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + printLeaflet.code + '\')" class="lunderline">' + printLeaflet.desc + '</a>';
            if (sendToFriend.disabled == "false") CodiceHTML += ' | <a href="javascript:externalLinkCalled(\'' + sendToFriend.code + '\')" class="lunderline" >' + sendToFriend.desc + '</a>';
            CodiceHTML +=
                    '</td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="10" height="1"></td>' +
                    '</tr>' +                    
                    '</table>' +
                    '</td>' +
                    '<td>' +
                    '<img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="8">' +
                    '</td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0">' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="240"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmlft.gif"></td>' +
                    '<td><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td>' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td valign="top">' +
                    '<table border="0" cellspacing="0" cellpadding="0" width="204">' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="188" height="1"></td>' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_tprght.gif"></td>' +
                    '</tr>' +
                    '<tr> ' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td> ' +
                    '</tr>' +
                    '<tr>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="232"></td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td class="bkBianco" valign="top">' + CodiceHTMLperHda +
                    '<table border="0" cellspacing="10" cellpadding="0" width="100%" style="z-index:60;position:relative;">' +
                    '<tr>' +
                    '<td class="txt" valign="top" align="left"><br>' + ServerSide["page4BoxLabel"] + ':<br>';

            //inizio estensioni 17.06.2004
            var maxGroup = findExternalLinkMaxGroup();
            var maxGroupPos = findExternalLinkMaxGroupPos();
            var cont = 1;
            var voce = 'opvoce';
            var formerGroup = -1;
            for (var gr = 0; gr <= maxGroup; gr++) {
                for (var pos = 0; pos <= maxGroupPos; pos++) {
                    for (var i = 0; i < ExternalLinkList.length; i++) {
                        var exL = ExternalLinkList[i];
                        if (exL.disabled == "false" && exL.displayAs == "image" && exL.group == gr && exL.groupPos == pos) {
                            if (formerGroup != -1 && formerGroup != exL.group) {
                                CodiceHTML += '<br><br>';
                            }
                            voce = 'opvoce' + cont;
                            CodiceHTML += '<br><img onclick="javascript:externalLinkCalled(\'' + exL.code + '\')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'' + voce + '\',\'\',\'' + ServerSide["imageUploadPathFE"] + exL.imageOver + '\',0)" src="' + ServerSide["imageUploadPathFE"] + exL.image + '" name="' + voce + '" border="0" class="img_brdrbottom" style="cursor:hand;margin:0px;" width="165" height="16" hspace="0" vspace="1">';
                            formerGroup = exL.group;
                            cont++;
                        }
                    }
                }
            }
            cont = 0;
            for (var gr = 0; gr <= maxGroup; gr++) {
                for (var pos = 0; pos <= maxGroupPos; pos++) {
                    for (var i = 0; i < ExternalLinkList.length; i++) {
                        var exL = ExternalLinkList[i];
                        if (exL.disabled == "false" && exL.displayAs == "text" && exL.group == gr && exL.groupPos == pos) {
                            if (cont == 0) {
                                CodiceHTML += '<br><br><br>';
                            } else {
                                CodiceHTML += ' | ';
                            }
                            CodiceHTML += '<a href="javascript:externalLinkCalled(\'' + exL.code + '\')"  class="lunderline">' + exL.desc + '</a>';
                            cont++;
                        }
                    }
                }
            }
            //fine estensioni 17.06.2004

            CodiceHTML +=
                    '</td> ' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="7" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '</tr> ' +
                    '<tr> ' +
                    '<td class="bkBianco" colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="8" height="8"></td> ' +
                    '<td class="bkBianco"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="8"></td> ' +
                    '<td class="bkBianco" rowspan="2" colspan="2"><img src="' + ServerSide["imagePath"] + 'brdr_bttmrght.gif"></td> ' +
                    '</tr>' +
                    '<tr>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif" colspan="2"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td>' +
                    '<td background="' + ServerSide["imagePath"] + 'pxl_grey.gif"><img src="' + ServerSide["imagePath"] + 'spacer.gif" width="1" height="1"></td> ' +
                    '</tr>' +
                    '</table>' +
                    '</td>' +
                    '</tr>' +
                    '</table>' +
                    '<table width="790" cellspacing="0" cellpadding="0" border="0">' +
                    '<tr>' +
                    '<td align="right" class="txt" height="20"><a href="#" class="lnormalg">' + ServerSide["backToTopPageFE"] + '</a> <sup><img src="' + ServerSide["imagePath"] + 'rrw_bttm.gif" width="8" height="6" border="0"></sup></td>' +
                    '</tr>' +
                    '</table>';

            document.getElementById('fiatcc').innerHTML = CodiceHTML;

            //cursorManagerStep4();
        }
// FINE DISPLAY STEP 4
