var MC_PRICE_COUNTER = 0; function P(product, image, airlineCodes, airlineName, originCityCode, destCityCode, cityStr, departureDate, returnDate, timeSpan, hotelId, hotelName, hotelStars, priceCurrency, theme) { this.PRD = product; this.IMG = image; this.AC = airlineCodes; this.AN = airlineName; this.OCC = originCityCode; this.DCC = destCityCode; this.CS = cityStr; this.DD = departureDate; this.RD = returnDate; this.TS = timeSpan; this.HI = hotelId; this.HN = hotelName; this.HS = ''; this.PC = priceCurrency; this.TH = theme; } function createPriceDiv(po) { var divHtml = '
'; if (po.PRD == "FLT") { divHtml += '
'+po.IMG+'
'; divHtml += '
'+po.AN+'
'; divHtml += '
'+po.CS+'
'; divHtml += '
'+po.TS+'
'; divHtml += '
'+po.PC+'
'; } else if (po.PRD == "PKG") { divHtml += '
'+po.IMG+'
'; divHtml += '
'+po.HN+''+po.HS+'
'; divHtml += '
'+po.CS+'
'; divHtml += '
'+po.TS+'
'; divHtml += '
'+po.PC+'
'; } else if (po.PRD == "HTL") { divHtml += '
'+po.IMG+'
'; divHtml += '
'+po.HN+''+po.HS+'
'; divHtml += '
'+po.CS+'
'; divHtml += '
'+po.TS+'
'; divHtml += '
'+po.PC+'
'; } return divHtml+'
'; } setTimeout("initLPDisplay()", 250);