if (!gwpstyle) { var gwpstyle = document.createElement('style'); gwpstyle.textContent = ' .gwp-div { clear: both; position:relative; } .sm-gwp-img-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0px; width: 100%; } .gwp-opt { box-sizing: border-box; text-align: center; border:2px solid transparent; padding:1px; margin:0px; border-radius:7px; overflow-x:hidden; position: relative; } .gwp-opt:hover { border-top:0px solid #EEEEEE; padding:1px; } .gwp-opt:hover .gwp-opt-name { padding-top:2px; } .gwp-opt-sel:hover .gwp-opt-name { padding-top: 0px; } .gwp-opt-sel { border:2px solid #07B88C !important; padding:1px; } .gwp-opt-sel:hover { padding:1px; } .gwp-opt-name { text-align: center; width: 100%; } .gwp-opt-title { min-height: 1em; padding: 11px 0px; } .gwp-opt-prev { position:relative; } .gwp-opt-prev div { position:absolute; left:-505px; width:500px; display:none; z-index:1000; border:1px solid #bcbcbc; background-color:#FFFFFF; box-shadow:3px 3px 6px #AAAAAA; } .gwp-opt img { cursor:pointer; border-radius:7px; } .gwp-opt-more { position:relative; cursor:pointer; border-radius:7px; border:1px solid #888888; color:#888888; padding-top:100%; } .gwp-opt-more div { font-size:14px; text-align:center; line-height:12px; position:absolute; top:50%; left:0px; width:100%; margin-top:-0.5em; } .gwp-opt-prev-title { display: block; text-align: center; }'; document.head.appendChild(gwpstyle); } gwpNo = {6829: "5", 6830: "3", 6831: "3", 6827: "3", 6826: "3", 6825: "3", 6816: "3", 6817: "3", 6818: "5", 6819: "3", 6820: "3", 6821: "3", 6822: "3", 6823: "3", 6824: "3", 6828: "3", 160: "4", 161: "3", 162: "3", 243: "2", 244: "2", 245: "2", 246: "2", 247: "2", 248: "2", 249: "2", 250: "2", 251: "2", 252: "2", 253: "2", 254: "2", 255: "2", 3193: "1", 3194: "2", 3195: "2", 359: "2", 360: "2", 361: "3", 362: "2", 363: "2", 364: "2", 365: "2", 366: "2", 367: "2", 368: "2", 369: "3", 370: "2", 371: "2", 3196: "2", 3197: "2", 3198: "2", 410: "2", 411: "2", 412: "2", 413: "2", 414: "2", 415: "2", 416: "2", 417: "2", 418: "2", 419: "2", 420: "2", 421: "2", 3202: "2", 3203: "2", 3204: "2", 4499: "2", 494: "2", 495: "2", 496: "2", 497: "2", 498: "2", 499: "2", 500: "2", 501: "2", 502: "2", 503: "2", 504: "2", 505: "2", 506: "2", 3205: "2", 3207: "2", 3206: "2", 517: "2", 518: "2", 519: "2", 520: "2", 521: "2", 522: "2", 523: "2", 524: "2", 525: "2", 526: "2", 527: "2", 528: "2", 529: "2", 3208: "2", 3209: "2", 3210: "2", 587: "2", 588: "2", 589: "2", 590: "2", 594: "2", 593: "2", 592: "2", 591: "2", 596: "2", 595: "2", 597: "2", 598: "2", 599: "2", 3211: "2", 3212: "2", 3213: "2", 704: "2", 705: "2", 706: "2", 707: "2", 708: "2", 709: "2", 710: "2", 711: "2", 712: "2", 713: "2", 714: "2", 715: "2", 716: "2", 3220: "2", 3221: "2", 3222: "2", 740: "2", 741: "2", 742: "2", 743: "2", 747: "2", 751: "2", 3219: "2", 746: "2", 750: "2", 745: "2", 744: "2", 749: "2", 748: "2", 3218: "2", 3217: "2", 752: "2", 1023: "2", 1024: "2", 1025: "2", 1026: "2", 1027: "2", 1028: "2", 1029: "2", 1030: "2", 1031: "2", 1032: "2", 1033: "2", 1034: "2", 1035: "2", 3214: "2", 3215: "2", 3216: "2", 2135: "2", 2953: "2", 2954: "2", 2955: "2", 2956: "2", 2957: "2", 2958: "2", 2959: "2", 2960: "2", 2961: "2", 2962: "2", 2963: "2", 2964: "2", 3199: "2", 3200: "2", 3201: "2", 2151: "2", 2965: "2", 2966: "2", 2967: "2", 2968: "2", 2969: "2", 2970: "2", 2971: "2", 2972: "2", 2973: "2", 2974: "2", 2975: "2", 2976: "2", 3190: "2", 3191: "2", 3192: "2", 3956: "2", 3957: "2", 3958: "2", 3959: "2", 3960: "2", 3961: "2", 3962: "2", 3963: "2", 3964: "2", 3965: "2", 3966: "3", 3967: "2", 3968: "2", 3969: "2", 3970: "2", 3971: "2", 4989: "2", 4990: "4", 4991: "4", 4992: "2", 4993: "2", 4994: "2", 4995: "2", 4996: "2", 4997: "2", 4999: "2", 4998: "2", 5000: "2", 5001: "2", 5002: "2", 5003: "3", 5004: "2", 130: "2", 131: "2", 132: "4", 133: "2", 134: "2", 135: "2", 136: "2", 137: "2", 138: "2", 139: "2", 140: "2", 141: "2", 142: "2", 3187: "2", 3188: "2", 3189: "2", 163: "2", 164: "2", 165: "2", 166: "2", 168: "1", 169: "2", 170: "2", 171: "2", 172: "2", 167: "4", 176: "2", 178: "2", 175: "2", 177: "2", 181: "2", 173: "2", 174: "2", 179: "2", 180: "1", 182: "2", 183: "2", 184: "2", 185: "2", 186: "2", 187: "2", 188: "2", 189: "2", 190: "3", 191: "3", 192: "2", 193: "2", 194: "2", 195: "2", 196: "3", 197: "2", 198: "2", 199: "2", 200: "2", 201: "2", 202: "2", 203: "2", 204: "2", 206: "2", 207: "2", 208: "2", 209: "2", 210: "2", 211: "2", 212: "2", 213: "1", 3552: "2", 3551: "2", 3548: "2", 3255: "2", 1007: "2", 1530: "2", 1531: "2", 1532: "2", 3046: "2", 3047: "2", 3048: "2", 3049: "2", 3094: "2", 3253: "2", 3254: "2", 3545: "2", 3543: "2", 3544: "2", 3553: "2", 3547: "2", 3550: "2", 3546: "2", 216: "2", 217: "2", 218: "2", 219: "2", 220: "2", 221: "2", 222: "2", 223: "2", 224: "2", 225: "2", 226: "2", 227: "2", 228: "2", 229: "2", 230: "2", 231: "1", 232: "2", 233: "1", 234: "2", 235: "1", 236: "2", 237: "2", 238: "2", 239: "2", 241: "2", 242: "2", 214: "2", 215: "2", 3549: "3", 7558: "1", 7525: "3", 7526: "3", 7527: "1", 7528: "1", 7529: "1", 7688: "2", 7690: "2", 7691: "", 6846: "1", 6847: "1", 6848: "1", 6849: "1", 6850: "1", 6851: "1", 6852: "1", 6853: "1", 7186: "1", 7187: "1", 7188: "2", 7189: "1", 7190: "1", 7191: "1", 7192: "1", 7193: "1", 6845: "2", 733: "1", 755: "1", 756: "1", 757: "1", 758: "1", 759: "1", 760: "1", 761: "1", 763: "1", 764: "1", 765: "1", 766: "1", 767: "1", 768: "1", 769: "1", 770: "1", 771: "1", 772: "1", 773: "1", 775: "1", 776: "1", 777: "1", 778: "1", 779: "1", 780: "1", 781: "1", 782: "1", 783: "1", 784: "1", 785: "1", 786: "1", 787: "1", 788: "1", 791: "1", 792: "2", 793: "1", 794: "1", 795: "1", 796: "1", 797: "1", 798: "1", 799: "1", 800: "1", 801: "1", 802: "1", 803: "1", 804: "1", 805: "1", 806: "1", 807: "1", 808: "1", 810: "1", 811: "1", 812: "1", 813: "1", 814: "1", 815: "1", 816: "1", 817: "1", 818: "1", 819: "1", 820: "1", 821: "1", 822: "1", 823: "1", 824: "1", 825: "1", 826: "1", 828: "1", 830: "1", 832: "1", 833: "1", 834: "1", 835: "1", 836: "1", 838: "1", 839: "1", 840: "1", 1528: "1", 1529: "1", 3050: "1", 3051: "1", 3052: "1", 3053: "1", 3256: "1", 3257: "2", 3258: "1", 3697: "1", 3698: "1", 3699: "1", 3700: "1", 3701: "1", 3702: "3", 3703: "1", 3704: "1", 3705: "1", 3706: "1", 3707: "1", 6953: "1", 6954: "1", 6955: "1", 6956: "1", 6957: "1", 6958: "1", 6959: "1", 6960: "1", 6961: "1", 7362: "1", 7363: "1", 7364: "1", 7365: "1", 7366: "1", 7367: "1", 7368: "1", 7369: "1", 734: "1", 1602: "1", 735: "1", 1619: "1", 1620: "1", 1621: "1", 1624: "1", 1629: "1", 1533: "1", 1534: "1", 1535: "1", 1538: "1", 1543: "1", 737: "1", 1791: "1", 1792: "1", 1793: "1", 1796: "1", 1801: "1", 738: "1", 1877: "1", 1878: "1", 1879: "1", 1882: "1", 1887: "1", 3450: "1", 3451: "1", 3452: "1", 3453: "1", 3456: "1", 3461: "1", 5335: "1", 5336: "1", 5337: "1", 5338: "1", 5341: "1", 5346: "1", 7938: "1", 7961: "1", 7962: "1", 7963: "1", 7966: "1", 7970: "1", 7940: "1", 8332: "1", 8333: "1", 8334: "1", 8337: "1", 8341: "1", 8342: "1", 7971: "1", 5347: "1", 1537: "1", 1539: "1", 1536: "1", 1544: "1", 1545: "1", 1546: "1", 1622: "1", 1623: "1", 1625: "1", 3263: "1", 6971: "1", 3260: "1", 6962: "1", 3270: "1", 6980: "1", 3273: "1", 6989: "1", 3542: "1", 6998: "1", 5339: "1", 5340: "1", 5342: "1", 8335: "1", 8336: "1", 8338: "1", 8429: "1", 8218: "1", 8219: "1", 8220: "1", 8221: "1", 8224: "1", 8228: "1", 8222: "1", 8223: "1", 8225: "1", 8229: "1", 7085: "1", 8055: "1", 8315: "1", 1880: "1", 1881: "1", 1883: "2", 3454: "1", 3455: "1", 3457: "1", 7964: "1", 7965: "1", 7967: "1", 8230: "1", 8231: "1", 8343: "2", 8344: "2", 7972: "1", 7973: "1", 5348: "1", 5349: "1", 3718: "1", 3729: "1", 3762: "1", 3784: "1", 3773: "1", 1547: "1", 1548: "1", 1549: "1", 1557: "1", 1556: "1", 3057: "1", 3061: "1", 3069: "1", 3073: "1", 3539: "1", 1553: "1", 1554: "1", 1555: "1", 1551: "1", 1541: "1", 1542: "1", 1550: "1", 1558: "1", 1627: "1", 1628: "1", 1630: "1", 1631: "1", 1632: "1", 1794: "1", 1795: "1", 1797: "1", 1799: "1", 1800: "1", 1802: "1", 1803: "1", 1804: "2", 1805: "1", 1806: "1", 1807: "1", 1808: "1", 1636: "1", 1635: "1", 1634: "1", 1633: "1", 1885: "1", 1886: "1", 1888: "1", 1889: "1", 1890: "1", 1891: "1", 1892: "1", 1893: "1", 1894: "1", 3459: "1", 3460: "1", 3462: "1", 5344: "1", 5345: "1", 5350: "1", 7968: "1", 7969: "1", 7974: "1", 8339: "1", 8340: "1", 8345: "1", 8226: "1", 8227: "1", 8232: "1", 8233: "1", 8234: "1", 8235: "1", 8346: "1", 8348: "1", 8347: "1", 7975: "1", 7976: "1", 7977: "1", 3463: "1", 3464: "2", 3465: "1", 3466: "1", 3467: "1", 3468: "1", 3469: "1", 3471: "1", 3472: "1", 3473: "1", 3474: "1", 1637: "1", 1639: "1", 1640: "1", 1641: "1", 1642: "1", 1643: "1", 1816: "1", 1815: "1", 1814: "1", 1813: "1", 1812: "1", 1809: "1", 1901: "1", 1900: "1", 1899: "1", 1898: "1", 1897: "1", 1895: "1", 7185: "1", 5359: "1", 7982: "1", 8353: "1", 8240: "1", 8239: "1", 8241: "1", 8238: "1", 8237: "1", 8236: "1", 8354: "1", 8352: "1", 8351: "1", 8350: "2", 8349: "1", 7983: "1", 7978: "1", 7979: "1", 7980: "1", 7981: "1", 3475: "1", 3476: "1", 1902: "1", 1644: "1", 5351: "1", 5352: "1", 5353: "1", 5354: "1", 5355: "1", 5356: "1", 5357: "1", 5360: "1", 5361: "1", 5362: "1", 5363: "1", 5364: "1", 7984: "1", 7985: "1", 7986: "1", 8355: "1", 8356: "1", 8357: "1", 8358: "1", 8242: "1", 8243: "1", 8244: "1", 8245: "1", 8246: "1", 8247: "1", 8359: "1", 8360: "1", 7987: "1", 7988: "1", 5365: "1", 5366: "1", 3779: "1", 3782: "1", 3768: "1", 4498: "1", 3757: "1", 3760: "1", 3724: "1", 3727: "1", 3713: "1", 3716: "1", 7372: "1", 6967: "1", 7380: "1", 6976: "1", 7388: "1", 7087: "1", 8057: "1", 8431: "1", 8317: "1", 6985: "1", 6994: "1", 7396: "1", 7002: "1", 7404: "1", 7412: "1", 8066: "1", 8440: "1", 8326: "1", 7383: "1", 7389: "1", 7390: "1", 7397: "1", 7398: "1", 7405: "1", 7406: "1", 7413: "1", 7414: "1", 8067: "2", 8068: "1", 8441: "1", 8442: "1", 8327: "1", 8328: "1", 7374: "1", 7373: "1", 7382: "1", 8061: "1", 8060: "1", 8435: "1", 8434: "1", 6965: "1", 6964: "1", 6974: "1", 6973: "1", 6983: "1", 6982: "1", 6992: "1", 6991: "1", 7006: "1", 7091: "1", 7090: "1", 8321: "1", 8320: "1", 7000: "1", 1559: "1", 1560: "1", 1561: "1", 1564: "1", 1565: "1", 1562: "1", 1563: "1", 1566: "1", 1567: "1", 1568: "2", 1569: "2", 1570: "1", 1571: "1", 1572: "1", 1573: "1", 1645: "1", 1646: "1", 1647: "1", 1648: "1", 1649: "1", 1656: "1", 1650: "1", 1651: "1", 1652: "1", 1653: "1", 1654: "2", 1655: "2", 1657: "1", 1658: "1", 1659: "1", 1817: "1", 1818: "1", 1819: "1", 1820: "1", 1821: "1", 1822: "1", 1823: "1", 1824: "1", 1825: "1", 1826: "1", 1827: "2", 1828: "1", 1829: "1", 1830: "1", 1831: "1", 1903: "1", 1904: "1", 1905: "1", 1906: "1", 1907: "1", 3477: "1", 3478: "1", 3479: "1", 3480: "1", 3481: "1", 5367: "1", 5368: "1", 5369: "1", 5370: "1", 5371: "1", 5372: "1", 7989: "1", 7990: "1", 7991: "1", 7992: "1", 7993: "1", 7994: "1", 7995: "1", 8361: "1", 8362: "1", 8363: "1", 8364: "1", 8365: "1", 8366: "1", 8367: "1", 8368: "1", 8369: "1", 8370: "1", 8371: "1", 8372: "2", 8248: "1", 8249: "1", 8250: "1", 8252: "1", 8251: "1", 8253: "2", 8254: "1", 8255: "1", 8256: "1", 8257: "1", 8258: "1", 8259: "2", 8260: "1", 8261: "1", 8262: "1", 8263: "1", 8329: "1", 8330: "1", 8331: "1", 8325: "1", 8324: "1", 8319: "1", 8318: "1", 8322: "1", 8314: "1", 8316: "1", 8313: "1", 8312: "1", 8311: "1", 8310: "1", 8309: "1", 8308: "1", 8307: "1", 8306: "1", 8305: "1", 8304: "1", 8303: "1", 8302: "1", 8301: "1", 8295: "1", 8289: "1", 8283: "1", 8277: "1", 8265: "1", 8270: "1", 8267: "1", 8266: "1", 8272: "1", 8273: "1", 8274: "1", 8276: "1", 8282: "1", 8278: "1", 8284: "1", 8285: "1", 8286: "1", 8287: "1", 8288: "1", 8290: "1", 8291: "1", 8292: "1", 8293: "1", 8294: "1", 8300: "1", 8299: "1", 8298: "1", 8297: "1", 8296: "1", 8268: "1", 8269: "1", 8264: "1", 8271: "1", 8275: "1", 8281: "1", 8280: "1", 8279: "1", 8323: "1", 1574: "1", 1575: "1", 1576: "1", 1577: "1", 1578: "2", 1579: "1", 1580: "1", 1581: "1", 1582: "1", 1583: "1", 1584: "1", 1585: "1", 1587: "1", 1588: "1", 1594: "1", 1593: "1", 1592: "1", 1591: "1", 1590: "1", 1589: "1", 1595: "1", 1596: "1", 1597: "1", 1598: "1", 1599: "1", 1600: "1", 7377: "1", 7376: "1", 7375: "1", 7371: "1", 7370: "1", 6970: "1", 6969: "1", 6968: "1", 6966: "1", 6963: "1", 3717: "1", 3715: "1", 3714: "1", 3712: "1", 3711: "1", 1601: "1", 1603: "1", 1605: "1", 1607: "1", 1609: "1", 1615: "1", 3710: "1", 1614: "1", 1613: "1", 3709: "1", 3056: "1", 3708: "1", 3261: "1", 3259: "1", 3055: "1", 3054: "1", 1618: "1", 1617: "1", 1612: "1", 1611: "1", 1610: "1", 1660: "1", 1661: "1", 7384: "1", 8444: "1", 7392: "1", 7400: "1", 7408: "1", 7416: "1", 8070: "1", 8445: "1", 7385: "1", 7393: "1", 7401: "1", 7409: "1", 7417: "1", 8071: "1", 7399: "1", 7395: "1", 3483: "1", 5373: "1", 5374: "1", 1909: "1", 3728: "1", 3761: "1", 3772: "1", 3783: "1", 7996: "1", 6996: "1", 7004: "1", 7093: "1", 8063: "1", 8437: "1", 6978: "1", 6987: "1", 1662: "1", 1663: "1", 1664: "1", 1665: "1", 1666: "1", 1667: "1", 1674: "1", 1673: "1", 1680: "1", 1681: "1", 1682: "1", 1683: "1", 1684: "1", 1685: "1", 1668: "1", 1669: "1", 1670: "1", 1671: "1", 1679: "1", 1678: "1", 1677: "1", 1676: "1", 1675: "1", 1686: "1", 7381: "1", 7379: "1", 6977: "1", 6979: "1", 7378: "1", 6975: "1", 6972: "1", 3726: "1", 3721: "1", 1701: "1", 1695: "1", 3725: "1", 3723: "1", 3262: "1", 3722: "1", 1687: "1", 1688: "1", 1689: "1", 1691: "1", 1693: "1", 1696: "1", 1697: "1", 1698: "1", 1699: "1", 1700: "1", 3060: "1", 3059: "1", 3058: "1", 1703: "1", 1704: "1", 3264: "1", 3719: "1", 3720: "1", 8373: "1", 8374: "1", 7997: "1", 7998: "1", 7999: "1", 8000: "2", 8001: "2", 8002: "1", 8003: "1", 8004: "1", 8005: "1", 8006: "1", 8007: "1", 8375: "1", 8376: "1", 8377: "1", 8378: "1", 8443: "1", 8439: "1", 8065: "1", 8069: "1", 8073: "1", 8062: "1", 7387: "1", 7391: "1", 7407: "1", 7411: "1", 7415: "1", 7386: "1", 7394: "1", 7402: "1", 7005: "1", 7410: "1", 7089: "1", 8064: "1", 8059: "1", 8438: "1", 8433: "1", 6988: "1", 6997: "1", 8436: "1", 6986: "1", 6984: "1", 6995: "1", 6993: "1", 7003: "1", 7001: "1", 7403: "1", 6999: "1", 3781: "1", 3780: "1", 3778: "1", 3777: "1", 7092: "1", 7088: "1", 8058: "1", 8432: "1", 6981: "1", 3759: "1", 3758: "1", 3756: "1", 5375: "1", 5376: "1", 5377: "1", 5378: "2", 5379: "1", 5380: "1", 5381: "1", 5382: "1", 5383: "1", 5384: "1", 7086: "1", 7084: "1", 7083: "1", 7082: "1", 8056: "1", 8054: "1", 8379: "1", 8380: "1", 8381: "1", 8382: "1", 8383: "1", 8384: "1", 8008: "1", 8009: "1", 8010: "1", 8011: "1", 8012: "1", 8013: "1", 8430: "1", 8428: "1", 8427: "1", 8426: "1", 8072: "1", 8053: "1", 8052: "1", 8051: "1", 8050: "1", 8425: "1", 8424: "1", 8423: "1", 8422: "1", 8421: "1", 8420: "1", 8418: "1", 8419: "1", 8417: "1", 8416: "1", 8415: "1", 8414: "1", 8385: "1", 8386: "1", 8387: "1", 8388: "1", 8389: "1", 8390: "1", 8391: "1", 8392: "1", 8393: "1", 8394: "1", 8395: "1", 8396: "1", 8402: "1", 8408: "1", 8413: "1", 8412: "1", 8411: "1", 8410: "1", 8409: "1", 8407: "1", 8406: "1", 8400: "1", 8401: "1", 8399: "1", 8398: "1", 8397: "1", 8403: "1", 8404: "1", 8405: "1", 8049: "1", 8048: "1", 8043: "1", 8037: "1", 8031: "1", 6990: "1", 3770: "1", 3769: "1", 3767: "1", 3766: "1", 8047: "1", 8046: "1", 8045: "1", 8044: "1", 8014: "1", 8015: "1", 8016: "1", 8017: "1", 8018: "1", 8019: "1", 8025: "1", 8020: "1", 8026: "1", 8032: "1", 8038: "1", 8039: "1", 8040: "1", 8041: "1", 8042: "1", 8036: "1", 8035: "1", 8034: "1", 8033: "1", 8021: "1", 8022: "1", 8023: "1", 8024: "1", 8030: "1", 8029: "1", 8028: "1", 8027: "1", 7081: "1", 1876: "1", 1962: "1", 3535: "1", 3484: "1", 3485: "1", 3486: "1", 3487: "2", 3488: "1", 1832: "1", 1833: "1", 1834: "1", 1835: "1", 1836: "1", 1837: "1", 1838: "1", 1839: "1", 1840: "1", 3765: "1", 3764: "1", 3763: "1", 3272: "1", 3271: "1", 3072: "1", 3071: "1", 3070: "1", 1961: "1", 3489: "1", 3490: "1", 3491: "1", 3492: "1", 3493: "1", 3776: "1", 3775: "1", 3774: "1", 3541: "1", 3540: "1", 3538: "1", 3537: "1", 5385: "1", 5386: "1", 5387: "1", 5388: "1", 5389: "1", 5390: "1", 7080: "1", 7079: "1", 7078: "1", 7077: "1", 7076: "1", 7075: "1", 7074: "1", 3068: "1", 3067: "1", 3755: "1", 3754: "1", 3753: "1", 3752: "1", 3269: "1", 3268: "1", 3066: "1", 3533: "1", 3536: "1", 3534: "1", 1875: "1", 1873: "1", 1959: "1", 1958: "1", 1872: "1", 1871: "1", 1870: "1", 1869: "1", 1841: "1", 1842: "1", 1843: "1", 1845: "1", 1846: "1", 1847: "1", 1848: "1", 1849: "1", 1850: "1", 1851: "1", 1852: "1", 1853: "1", 1859: "1", 1854: "1", 1855: "1", 1856: "1", 1857: "1", 1858: "1", 1860: "1", 1861: "1", 1863: "1", 1865: "1", 1867: "1", 1868: "1", 1908: "1", 1910: "1", 1911: "1", 1912: "1", 3494: "1", 3482: "1", 3495: "1", 3496: "1", 3497: "1", 3498: "1", 3499: "1", 3532: "1", 3531: "1", 3530: "1", 3529: "1", 3528: "1", 3527: "1", 3525: "1", 3523: "1", 3521: "1", 3518: "1", 3512: "1", 3506: "1", 3500: "1", 3505: "1", 3517: "1", 3520: "1", 3519: "1", 3511: "1", 3501: "1", 3502: "1", 3503: "1", 3507: "1", 3513: "1", 3514: "1", 3515: "1", 3516: "1", 3508: "1", 3509: "1", 3510: "1", 1913: "2", 1915: "1", 1916: "1", 1917: "1", 1918: "1", 1919: "1", 1920: "1", 1921: "1", 1922: "2", 1923: "1", 1924: "1", 1925: "1", 1932: "1", 1938: "1", 1944: "1", 1953: "1", 1957: "1", 1956: "1", 1955: "1", 1954: "1", 1951: "1", 1949: "1", 1947: "1", 1946: "1", 1945: "1", 1943: "1", 1937: "1", 1931: "1", 1929: "1", 1928: "1", 1927: "1", 1926: "1", 1933: "1", 1939: "1", 1934: "1", 1935: "1", 1936: "1", 1942: "1", 1941: "1", 1940: "1", 5391: "1", 5392: "1", 1914: "1", 5393: "1", 5394: "1", 5395: "1", 5397: "1", 7073: "1", 7072: "1", 7071: "1", 7070: "1", 7069: "1", 7068: "1", 7067: "1", 7066: "1", 7064: "1", 7065: "1", 5398: "1", 5399: "1", 5400: "1", 5401: "1", 5402: "1", 5403: "1", 7052: "1", 7053: "1", 7054: "1", 7056: "1", 7055: "1", 7057: "1", 7058: "1", 7059: "1", 7060: "1", 7061: "1", 7062: "1", 7063: "1", };var opt_list = [249,36,37,46,48,54,58,75,86,97,102,129,138,166,180,31,355,188,357,90,91,92,94,95,159,403,405,413]; var more_txt = [], less_txt = [], optTmp = [], optTmpVal = [], isStock = 0; var changeStock = 0; var sid = '241'; var gwpurl = 'https://gwp.brweb.pl/i/241/'; var imgLimit = '8'; var moreLabel = '+'; var lessLabel = '-'; var showMLcnt = 1; var prevMopen = ''; var selectLangVal = ['','wybierz','choose','wählen','Vybrat','vali','izvēlēties','pasirinkti','választ','vyberte si','вибрати','-1']; function showPrev(e) { if (window.innerWidth < 700) return null; var id = e.id; var aId = id.split('__'); var aSO = aId[0].split('_'); var soptid = aSO[1]; var pid = soptid; var prev_div = document.getElementById('gwp_div_preview_'+pid); prev_div.style.display = 'block'; prev_div.innerHTML = '

'+e.title+'

'; setTimeout(movePrev,10,pid); } function hidePrev(e) { if (window.innerWidth < 700) return null; var id = e.id; var aId = id.split('__'); var aSO = aId[0].split('_'); var soptid = aSO[1]; var pid = soptid; var prev_div = document.getElementById('gwp_div_preview_'+pid); prev_div.style.display = 'none'; prev_div.innerHTML = ''; prev_div.style.top = '0px'; } function movePrev(pid) { var prev_div = document.getElementById('gwp_div_preview_'+pid); if (prev_div) { var imgH = prev_div.getElementsByTagName('IMG')[0]; if (!imgH) { setTimeout(movePrev,10,pid); return false; } const recti = imgH.getBoundingClientRect(); if (recti.height == 0) { setTimeout(movePrev,10,pid); return false; } var hcorr = (recti.top + recti.height - window.innerHeight + 20) * -1; hcorr = (hcorr < 0 ? hcorr : 0); if (recti.top < 20) { hcorr = (recti.top + hcorr - 20) * -1; } if (recti.top > 20 && recti.height + 40 > window.innerHeight) { hcorr = (recti.top - 20) * -1; } prev_div.style.top = hcorr + 'px'; } } function showPrevMobile(e) { var id = e.id; var aId = id.split('__'); var aSO = aId[0].split('_'); var soptid = aSO[1]; var prev_id = 'gwp_div_preview_'+soptid; var prev_div = document.getElementById(prev_id); if (prevMopen != '' && prevMopen != prev_div) document.getElementById(prevMopen).style.display = 'none'; prev_div.style.display = 'block'; prev_div.innerHTML = '

'+e.title+'

'; prev_div.style.position = 'absolute'; prev_div.style.left = '0px'; prev_div.style.bottom = '20px'; prev_div.style.margin = '0px 10px'; prev_div.style.width = 'calc(100% - 20px)'; prevMopen = prev_id; } function hidePrevMobile(e) { var id = e.id; var aId = id.split('__'); var aSO = aId[0].split('_'); var soptid = aSO[1]; var prev_id = 'gwp_div_preview_'+soptid; var prev_div = document.getElementById(prev_id); prev_div.style.display = 'none'; prev_div.innerHTML = ''; } function hideDiv() { document.getElementById(prevMopen).style.display = 'none'; } function oClick(e,type) { if (type == 'S') { selectClick(e); } else { radioClick(e); } setTimeout(showGWP,500); } function selectClick(e) { var id = e.id; var aId = id.split('__'); var optId = aId[0].replace('option_',''); if (document.getElementById(aId[0]).value != aId[1] || document.getElementById(aId[0]).length == 1) { if (window.innerWidth < 700) showPrevMobile(e); document.getElementById(aId[0]).value = aId[1]; if (document.getElementById('gwp_div_title_'+optId)) document.getElementById('gwp_div_title_'+optId).innerHTML = e.title; } else { if (window.innerWidth < 700) hidePrevMobile(e); document.getElementById(aId[0]).selectedIndex = '0'; if (document.getElementById('gwp_div_title_'+optId)) document.getElementById('gwp_div_title_'+optId).innerHTML = ''; id = ''; } document.getElementById(aId[0]).dispatchEvent(new Event('change')); var c = document.getElementsByClassName('c_' + aId[0]); for( var i = 0; i < c.length; i++){ c[i].parentElement.className = c[i].parentElement.className.replace(' gwp-opt-sel',''); c[i].parentElement.style.display = (id != '') ? 'none' : 'block'; if ( c[i].id == id ) { c[i].parentElement.className = c[i].parentElement.className + ' gwp-opt-sel'; c[i].parentElement.style.display = 'block'; } } optTmpVal[aId[0].replace('option_','')] = document.getElementById(aId[0]).value; } function radioClick(e) { var id = e.id; if (window.innerWidth < 700) showPrevMobile(e); var aId = id.split('__'); document.getElementById(aId[0]+'_'+aId[1]).click(); if (document.getElementById('gwp_div_title_'+aId[0].replace('option_',''))) document.getElementById('gwp_div_title_'+aId[0].replace('option_','')).innerHTML = e.title; var c = document.getElementsByClassName('c_' + aId[0]); for( var i = 0; i < c.length; i++){ c[i].parentElement.className = c[i].parentElement.className.replace(' gwp-opt-sel',''); if ( c[i].id == id ) c[i].parentElement.className = c[i].parentElement.className + ' gwp-opt-sel'; } } function gwpMore(oid) { var h = document.getElementsByClassName('gwpHidden'+oid); var type = more_txt[oid] == document.getElementById('gwp_more'+oid).innerHTML ? 'block' : 'none'; for( var i = 0; i < h.length; i++){ h[i].style.display = (h[i].className == 'gwp-opt gwpHidden'+oid+' gwp-opt-sel') ? 'block' : type; } document.getElementById('gwp_more'+oid).innerHTML = type == 'block' ? less_txt[oid] : more_txt[oid] ; } function showGWP() { var isLoading = 0; var isDiff = 0; opt_list.forEach(function(opt_id) { var sr = document.getElementsByName('option_'+opt_id); if (sr.length == 0) { return; } var optValue = ''; if (sr[0].id == sr[0].name ) { var optType = 'S'; var s = sr[0]; var c = s.getElementsByTagName('option'); var optValue = s.value; } else { var optType = 'R'; var s = sr[0].parentElement.parentElement; var c = sr; for( var j = 0; j < c.length; j++){ if (c[j].checked == true) { optValue = c[j].value; } } } var svalues = Array.from(s.querySelectorAll('input[type="radio"], select option')).map(el => el.value).join('|'); isDiff = (!optTmp[opt_id] || optTmp[opt_id] != svalues || optTmpVal[opt_id] != optValue) ? 1 : 0; var eStock = (optType == 'S') ? s.parentElement.className : sr[0].parentElement.className; if (eStock.indexOf('option_truestock ') != -1 && eStock.indexOf('loading') != -1) { isLoading++; } if (isDiff == 1 || changeStock == 1) { if (optType == 'R') { s.style.visibility = 'hidden'; s.style.width = '0px'; s.style.height = '0px'; s.style.position = 'absolute'; s.style.bottom = '0px'; } else { s.style.display = 'none'; } var sOptions = '', sPreview = '', sTitle = ''; var imgNo = 0; var optCnt = (optType == 'S') ? c.length - 1 : c.length; if (optType == 'R') { for( var j = 0; j < c.length; j++){ if (c[j].parentElement.className == 'radio-wrap none') { optCnt--; } } var rlabels = s.getElementsByTagName('label'); var rDict = new Array(); for( var rli = 0; rli < rlabels.length; rli++){ if (rlabels[1].innerHTML != '' || !rlabels[rli]) rDict[rlabels[rli].getAttribute('for')] = rlabels[rli].innerHTML; } } more_txt[opt_id] = moreLabel + (showMLcnt == 1 ? (optCnt - imgLimit + 1) : ''); less_txt[opt_id] = lessLabel + (showMLcnt == 1 ? (optCnt - imgLimit + 1) : ''); var smTitle = ''; for( var j = 0; j< c.length; j++){ if (!selectLangVal.includes(c[j].value) && c[j].parentElement.className != 'radio-wrap none') { imgNo++; var smIsSelect = ((optType == 'S' && (s.options[s.selectedIndex].value == c[j].value || s.value == c[j].value)) || (optType == 'R' && c[j].checked == true)) ? 1 : 0; smItenSelect = smIsSelect == 1 ? ' gwp-opt-sel' : ''; smItenDisplay = (imgNo < imgLimit || (imgNo == imgLimit && imgNo == optCnt)) ? 'block' : 'none'; var lastOpt = (imgNo == imgLimit - 1) ? '!important' : ''; var lastOptClass = (imgNo == imgLimit - 1) ? ' toHidden ' : ''; var lastOptId = (imgNo == imgLimit - 1) ? ' id="gwp_loi_'+oId+'" ' : ''; if (smIsSelect == 1) { smItenDisplay = 'block'; if (imgNo > imgLimit || (imgNo == imgLimit && imgNo < optCnt)) { sOptions = sOptions.replace('block!important','none'); sOptions = sOptions.replace('toHidden','gwpHidden'+opt_id); } } smItenHidden = (imgNo > imgLimit || (imgNo == imgLimit && imgNo != optCnt)) ? ' gwpHidden'+opt_id+' ' : ''; oName = (optType == 'S') ? c[j].innerText.trim() : rDict[c[j].id].trim(); oId = (optType == 'S') ? s.id : c[j].name; if (smItenSelect == ' gwp-opt-sel') { smTitle = oName; } sOptions += '
' + oName + '
'; } } if (optCnt > imgLimit) { sOptions += '
' + more_txt[opt_id] + '
'; } sPreview = '
'; sTitle = smTitle != '' ? smTitle : ''; if (document.getElementById('gwp_div_list_'+opt_id)) { if (document.getElementById('gwp_div_title_'+opt_id)) { document.getElementById('gwp_div_title_'+opt_id).innerHTML = sTitle; } document.getElementById('gwp_div_list_'+opt_id).innerHTML = sOptions; } else { const div_title = document.createElement('div'); div_title.id = 'gwp_div_title_'+opt_id; div_title.className = 'gwp-opt-title'; div_title.innerHTML = sTitle; const div_prev = document.createElement('div'); div_prev.id = 'gwp_div_prev_'+opt_id; div_prev.className = 'gwp-opt-prev'; div_prev.innerHTML = sPreview; const div_list = document.createElement('div'); div_list.id = 'gwp_div_list_'+opt_id; div_list.className = 'sm-gwp-img-list'; div_list.innerHTML = sOptions; s.parentElement.appendChild(div_title); s.parentElement.appendChild(div_prev); s.parentElement.appendChild(div_list); } optTmp[opt_id] = Array.from(s.querySelectorAll('input[type="radio"], select option')).map(el => el.value).join('|'); optTmpVal[opt_id] = optValue; } }); changeStock = 0; if (isLoading > 0 || isDiff == 1) { setTimeout(showGWP,1000); } } window.onload = function(){ showGWP(); }; showGWP(); setTimeout(showGWP,1000);