GoodsMassRegisterForm.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org" >
  4. <!--
  5. *******************************************************************************
  6. * @source : GoodsMassRegisterForm.html
  7. * @desc : 대량상품등록
  8. *============================================================================
  9. * STYLE24
  10. * Copyright(C) 2020 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2020.11.18 eskim 최초 작성
  15. *******************************************************************************
  16. -->
  17. <div id="main">
  18. <!-- 메인타이틀 영역 -->
  19. <div class="main-title">
  20. </div>
  21. <!-- //메인타이틀 영역 -->
  22. <!-- 메뉴 설명 -->
  23. <div class="infoBox menu-desc">
  24. </div>
  25. <!-- 검색조건 영역 -->
  26. <form id="massForm" name="massForm" >
  27. <div class="panelStyle">
  28. <ul class="notice">
  29. <li>상품을 대량으로 등록하는 페이지입니다.</li>
  30. <li>상품을 등록 할 경우 [승인대기] 상태이며, STYLE 관리자의 [승인완료] 상태 변경 후 FRONT애 노출이 가능합니다.</li>
  31. <li><th:block th:if="${erpSyncYn == 'N'}"><em><b>ERP연동여부가 [N]입니다. 관리자에게 문의하세요.</b></em></th:block></li>
  32. </ul>
  33. <ul class="panelBar">
  34. <li class="center">
  35. <th:block th:if="${sessionInfo.roleCd == 'G001_E000'}">
  36. <button type="button" class="btn btn-default btn-lg" id="btnInit" onclick="cfnDownloadSampleFile('SF001');">자사상품 등록양식 다운로드</button>
  37. <button th:if="${erpSyncYn == 'Y'}" type="button" class="btn btn-primary btn-lg" id="btnGoodsSelfCreate" >자사상품 등록</button>
  38. </th:block>
  39. <th:block th:if="${sessionInfo.roleCd == 'G001_B000'}">
  40. <button type="button" class="btn btn-default btn-lg" id="btnInit" onclick="cfnDownloadSampleFile('SF005');">입점상품 등록양식 다운로드</button>
  41. <button th:if="${erpSyncYn == 'Y'}" type="button" class="btn btn-primary btn-lg" id="btnGoodsCreate" >입점상품 등록</button>
  42. </th:block>
  43. <label class="off"><a href="javascript:void(0);" id="excelList" style="display: none;">엑셀다운로드</a></label>
  44. <!-- 추후 대량 수정 권한-->
  45. <span th:if="${sessionInfo.roleCd == 'G001_B000'
  46. or sessionInfo.roleCd == 'G001_E000'
  47. }"
  48. th:style="'padding-left:80px;'">
  49. <button type="button" class="btn btn-default btn-lg" id="btnInit" onclick="cfnDownloadSampleFile('SF014');">상품대량수정 등록양식 다운로드</button>
  50. <button th:if="${erpSyncYn == 'Y'}" type="button" class="btn btn-primary btn-lg" id="btnGoodsUpdate" >입점상품 등록</button>
  51. </span>
  52. </li>
  53. </ul>
  54. </div>
  55. <div class="panelStyle" >
  56. <!-- 검색조건 영역 -->
  57. <div class="panelTitle">
  58. <h3><i class="fa fa-info-circle"></i>아래 검색조건 중 하나를 꼭 입력해 주세요.</h3>
  59. </div>
  60. <div class="panelContent">
  61. <table class="frmStyle">
  62. <colgroup>
  63. <col width="10%"/>
  64. <col width="40%"/>
  65. <col width="10%"/>
  66. <col/>
  67. </colgroup>
  68. <tr>
  69. <th>상품코드<i class="star"></i></th>
  70. <td><input type="text" class="w130" name="condition" id="condition" maxlength="50"/></td>
  71. <th>등록여부</th>
  72. <td>
  73. <select name="regSuccYn" id="regSuccYn">
  74. <option value="">[전체]</option>
  75. <option th:if="${useYnList}" th:each="oneData, status : ${useYnList}" th:value="${oneData.cd}" th:text="${'[' + oneData.cd + '] ' + oneData.cdNm}"></option>
  76. </select>
  77. </td>
  78. </tr>
  79. <tr>
  80. <th>등록일<i class="star"></i></th>
  81. <td colspan="3" id="sellTerms"></td>
  82. </tr>
  83. </table>
  84. <ul class="panelBar">
  85. <li>
  86. <button type="button" class="btn btn-gray btn-lg" id="btnInit" >초기화</button>
  87. <button type="button" class="btn btn-info btn-lg" id="btnSearch" >조회</button>
  88. </li>
  89. </ul>
  90. </div>
  91. <!-- //검색조건 영역 -->
  92. </div>
  93. <div class="panelStyle">
  94. <!-- 검색결과 영역 -->
  95. <!-- 상단버튼 영역 -->
  96. <ul class="panelBar">
  97. <li class="left">
  98. <!-- 아이콘 툴팁 -->
  99. <div class="iconTooltip">
  100. <i class="fa fa-info" aria-hidden="true"></i>
  101. <span class="left aL" style="width:580px;">
  102. <!-- class="left" 또는 class="right" -->
  103. <em>상품미등록</em><br/>
  104. - 상품코드 오류 : 빈값, 길이 11이 아닐경우, '_'가 미존재<br/>
  105. - 업체 오류 : 빈값, 'W'나 'F' 가 아닌경우<br/>
  106. - 상품명 오류 : 빈값<br/>
  107. - 제조국 오류 : 빈값<br/>
  108. - 제조년월일 오류 : 빈값, 날짜형식이 맞는지<br/>
  109. - ERP 미존재 상품코드 : ERP에 상품코드가 존재하는지<br/>
  110. - 스타일 연도 오류 : 온라인에서 관리되지 않는 스타일 연도<br/>
  111. - 성별 오류 : 온라인에서 관리되지 않는 성별<br/>
  112. - 컬러 오류 : 온라인에서 관리되지 않는 컬러<br/>
  113. - 상품코드 중복등록요청 : 등록된 상품코드 등록요청<br/>
  114. - 품목 오류 : 온라인에서 관리되지 않는 품목<br/>
  115. - ERP 브랜드 오류 : 온라인에서 관리되지 않는 ERP 브랜드<br/>
  116. - 이미지 유형 오류 : 온라인에서 관리되지 않는 이미지유형<br/>
  117. - 상품이미지 필수 오류 : IMG_PATH1
  118. - 품목의 고시정보 없음 : 품목의 고시분류 매핑이 안되어 있는 경우<br/>
  119. - 고시분류 오류 : 등록요청 고시분류 와 온라인에서 품목과 매핑된 고시분류가 다른 경우<br/>
  120. <em>상품등록</em><br/>
  121. - ERP 상품 사이즈 정보 없음 : ERP에 상품코드의 사이즈가 없을 경우<br/>
  122. </span>
  123. </div>
  124. <!-- //아이콘 툴팁 -->
  125. </li>
  126. <!-- <li class="right">
  127. <button type="button" class="btn btn-default btn-lg" id="btnGoodsRegExcelDownLoad">엑셀다운로드</button>
  128. </li> -->
  129. </ul>
  130. <!-- //상단버튼 영역 -->
  131. <div id="gridList" style="width: 100%; height: 500px;" class="ag-theme-balham"></div>
  132. <!-- 검색결과 영역 -->
  133. </div>
  134. <!-- //검색조건 영역 -->
  135. </form>
  136. </div>
  137. <script th:inline="javascript">
  138. /*<![CDATA[*/
  139. var niClsfCdList = gagajf.convertToArray([[${niClsfCdList}]]);
  140. var columnDefs = [
  141. {headerName: 'No', width: 60, cellClass: 'text-center', valueGetter: function(params) { return params.node.rowIndex + 1 }},
  142. {headerName: "작업일시", field: "regDt", width: 150, cellClass: 'text-center'},
  143. {headerName: "상품등록여부", field: "regSuccYn", width: 100, cellClass: 'text-center'},
  144. {headerName: "등록결과메세지", field: "regFailRsn", width: 200, cellClass: 'text-left'},
  145. {headerName: "등록브랜드코드", field: "brandCd", width: 120, cellClass: 'text-center'},
  146. {headerName: "업체코드", field: "supplyCompCd", width: 130, cellClass: 'text-center'},
  147. {headerName: "상품코드", field: "goodsCd", width: 130, cellClass: 'text-center'},
  148. {headerName: "상품명", field: "goodsNm", width: 150, cellClass: 'text-left'},
  149. {headerName: "상품타이틀", field: "goodsTnm", width: 150, cellClass: 'text-left'},
  150. {headerName: "검색어", field: "goodsSnm1", width: 150, cellClass: 'text-left'},
  151. {headerName: "제조국", field: "makeNm", width: 100, cellClass: 'text-center'},
  152. {headerName: "제조일", field: "makeYmd", width: 100, cellClass: 'text-center'},
  153. {headerName: "이지미타입", field: "imgType", width: 100, cellClass: 'text-center'},
  154. {headerName: "이미지경로1", field: "imgPath1", width: 200, cellClass: 'text-left'},
  155. {headerName: "이미지경로2", field: "imgPath2", width: 200, cellClass: 'text-left'},
  156. {headerName: "이미지경로3", field: "imgPath3", width: 200, cellClass: 'text-left'},
  157. {headerName: "이미지경로4", field: "imgPath4", width: 200, cellClass: 'text-left'},
  158. {headerName: "이미지경로5", field: "imgPath5", width: 200, cellClass: 'text-left'},
  159. {headerName: "이미지경로6", field: "imgPath6", width: 200, cellClass: 'text-left'},
  160. {headerName: "이미지경로7", field: "imgPath7", width: 200, cellClass: 'text-left'},
  161. {headerName: "이미지경로8", field: "imgPath8", width: 200, cellClass: 'text-left'},
  162. {headerName: "이미지경로9", field: "imgPath9", width: 200, cellClass: 'text-left'},
  163. {headerName: "이미지경로10", field: "imgPath10", width: 200, cellClass: 'text-left'},
  164. {headerName: "이미지경로11", field: "imgPath11", width: 200, cellClass: 'text-left'},
  165. {headerName: "이미지경로12", field: "imgPath12", width: 200, cellClass: 'text-left'},
  166. {headerName: "이미지경로13", field: "imgPath13", width: 200, cellClass: 'text-left'},
  167. {headerName: "이미지경로14", field: "imgPath14", width: 200, cellClass: 'text-left'},
  168. {headerName: "이미지경로15", field: "imgPath15", width: 200, cellClass: 'text-left'},
  169. {headerName: "이미지경로16", field: "imgPath16", width: 200, cellClass: 'text-left'},
  170. {headerName: "이미지경로17", field: "imgPath17", width: 200, cellClass: 'text-left'},
  171. {headerName: "이미지경로18", field: "imgPath18", width: 200, cellClass: 'text-left'},
  172. {headerName: "이미지경로19", field: "imgPath19", width: 200, cellClass: 'text-left'},
  173. {headerName: "이미지경로20", field: "imgPath20", width: 200, cellClass: 'text-left'},
  174. {headerName: "고시분류코드", field: "niClsfCd", width: 200, cellClass: 'text-center',
  175. cellEditorParams: { values: gagaAgGrid.extractValues(niClsfCdList) },
  176. valueFormatter: function (params) { return gagaAgGrid.lookupValue(niClsfCdList, params.value); },
  177. valueParser: function (params) { return gagaAgGrid.lookupKey(niClsfCdList, params.newValue); }
  178. },
  179. {headerName: "고시내용1", field: "niContent1", width: 200, cellClass: 'text-left'},
  180. {headerName: "고시내용2", field: "niContent2", width: 200, cellClass: 'text-left'},
  181. {headerName: "고시내용3", field: "niContent3", width: 200, cellClass: 'text-left'},
  182. {headerName: "고시내용4", field: "niContent4", width: 200, cellClass: 'text-left'},
  183. {headerName: "고시내용5", field: "niContent5", width: 200, cellClass: 'text-left'},
  184. {headerName: "고시내용6", field: "niContent6", width: 200, cellClass: 'text-left'},
  185. {headerName: "고시내용7", field: "niContent7", width: 200, cellClass: 'text-left'},
  186. {headerName: "고시내용8", field: "niContent8", width: 200, cellClass: 'text-left'},
  187. {headerName: "고시내용9", field: "niContent9", width: 200, cellClass: 'text-left'},
  188. {headerName: "고시내용10", field: "niContent10", width: 200, cellClass: 'text-left'},
  189. {headerName: "고시내용11", field: "niContent11", width: 200, cellClass: 'text-left'},
  190. {headerName: "고시내용12", field: "niContent12", width: 200, cellClass: 'text-left'},
  191. {headerName: "고시내용13", field: "niContent13", width: 200, cellClass: 'text-left'},
  192. {headerName: "고시내용14", field: "niContent14", width: 200, cellClass: 'text-left'},
  193. {headerName: "고시내용15", field: "niContent15", width: 200, cellClass: 'text-left'},
  194. {headerName: "고시내용16", field: "niContent16", width: 200, cellClass: 'text-left'},
  195. {headerName: "고시내용17", field: "niContent17", width: 200, cellClass: 'text-left'},
  196. {headerName: "고시내용18", field: "niContent18", width: 200, cellClass: 'text-left'},
  197. {headerName: "고시내용19", field: "niContent19", width: 200, cellClass: 'text-left'},
  198. {headerName: "고시내용20", field: "niContent20", width: 200, cellClass: 'text-left'},
  199. {headerName: "고시내용21", field: "niContent21", width: 200, cellClass: 'text-left'},
  200. {headerName: "고시내용22", field: "niContent22", width: 200, cellClass: 'text-left'},
  201. {headerName: "고시내용23", field: "niContent23", width: 200, cellClass: 'text-left'},
  202. {headerName: "고시내용24", field: "niContent24", width: 200, cellClass: 'text-left'},
  203. {headerName: "고시내용25", field: "niContent25", width: 200, cellClass: 'text-left'},
  204. {headerName: "고시내용26", field: "niContent26", width: 200, cellClass: 'text-left'},
  205. {headerName: "고시내용27", field: "niContent27", width: 200, cellClass: 'text-left'},
  206. {headerName: "고시내용28", field: "niContent28", width: 200, cellClass: 'text-left'},
  207. {headerName: "브랜드", field: "brandCd", width: 100, cellClass: 'text-center'},
  208. {headerName: "품목", field: "itemkindCd", width: 100, cellClass: 'text-center'},
  209. {headerName: "스타일연도", field: "styleYear", width: 100, cellClass: 'text-center'},
  210. {headerName: "시즌", field: "seasonCd", width: 80, cellClass: 'text-center'},
  211. {headerName: "성별", field: "sexGb", width: 80, cellClass: 'text-center'},
  212. {headerName: "품번", field: "goodsNum", width: 100, cellClass: 'text-center'},
  213. {headerName: "정상가", field: "listPrice", width: 100, cellClass: 'text-center'},
  214. {headerName: "판매가", field: "currPrice", width: 100, cellClass: 'text-center'},
  215. {headerName: "공급업체상품코드", field: "supplyGoodsCd", width: 130, cellClass: 'text-center'},
  216. {headerName: "정상이월", field: "formalGb", width: 100, cellClass: 'text-center'},
  217. /* {headerName: "옵션문자열", field: "optStr", width: 200, cellClass: 'text-center'},
  218. {headerName: "안전재고문자열", field: "baseStockStr", width: 200, cellClass: 'text-center'},
  219. {headerName: "현재고문자열", field: "currStockStr", width: 200, cellClass: 'text-center'}, */
  220. {headerName: "매입유형", field: "buyingType", width: 80, cellClass: 'text-center'}
  221. ];
  222. // Get GridOptions
  223. var gridOptions = gagaAgGrid.getGridOptions(columnDefs);
  224. $(document).ready(function() {
  225. cfnCreateCalendar('#sellTerms', 'stDate', 'edDate', true, '등록일', 'X');
  226. gagaAgGrid.createGrid('gridList', gridOptions);
  227. });
  228. //자사상품대량등록 클릭시
  229. $('#btnGoodsSelfCreate').on('click', function() {
  230. cfnExcelUploadPopup('createSelfGoods', 'createSelfGoods');
  231. });
  232. var createSelfGoods = function(result){
  233. var data = {procJob : result.procJob
  234. ,excelFileNm : result.excelFileNm
  235. };
  236. var jsonData = JSON.stringify(data);
  237. gagajf.ajaxJsonSubmit('/goods/mass/excelupload/create', jsonData, fnGoodsSelfCreateCallBack);
  238. }
  239. var fnGoodsSelfCreateCallBack = function(result){
  240. var date = new Date();
  241. $("#massForm input[name=stDate]").val(date.format("YYYY-MM-DD"));
  242. $("#massForm input[name=edDate]").val(date.format("YYYY-MM-DD"));
  243. fnGoodsListSearch();
  244. }
  245. //입점상품대량등록 클릭시
  246. $('#btnGoodsCreate').on('click', function() {
  247. cfnExcelUploadPopup('createGoods', 'createGoods');
  248. });
  249. var createGoods = function(result){
  250. var data = {procJob : result.procJob
  251. ,excelFileNm : result.excelFileNm
  252. };
  253. var jsonData = JSON.stringify(data);
  254. gagajf.ajaxJsonSubmit('/goods/mass/excelupload/create', jsonData, fnGoodsCreateCallBack);
  255. }
  256. var fnGoodsCreateCallBack = function(result){
  257. var date = new Date();
  258. $("#massForm input[name=stDate]").val(date.format("YYYY-MM-DD"));
  259. $("#massForm input[name=edDate]").val(date.format("YYYY-MM-DD"));
  260. fnGoodsListSearch();
  261. }
  262. //상품대량수정 클릭시
  263. $('#btnGoodsUpdate').on('click', function() {
  264. cfnExcelUploadPopup('updateGoods', 'updateGoods');
  265. });
  266. var updateGoods = function(result){
  267. var data = {procJob : result.procJob
  268. ,excelFileNm : result.excelFileNm
  269. };
  270. var jsonData = JSON.stringify(data);
  271. gagajf.ajaxJsonSubmit('/goods/mass/excelupload/update', jsonData, fnGoodsUpdateCallBack);
  272. }
  273. var fnGoodsUpdateCallBack = function(result){
  274. var date = new Date();
  275. $("#massForm input[name=stDate]").val(date.format("YYYY-MM-DD"));
  276. $("#massForm input[name=edDate]").val(date.format("YYYY-MM-DD"));
  277. fnGoodsListSearch();
  278. }
  279. $('#btnGoodsRegExcelDownLoad').on('click', function() {
  280. var date = new Date().format("YYYYMMDDHHmmss");
  281. var params = {
  282. fileName : "상품대량등록결과_"+ date,
  283. sheetName: "DATA"
  284. }
  285. gridOptions.excelStyles = [
  286. {
  287. id: 'text-center',
  288. dataType: 'string',
  289. font: {size : 10, bold: false}
  290. },
  291. {
  292. id: 'text-left',
  293. dataType: 'string',
  294. font: {size : 10, bold: false}
  295. }
  296. ]
  297. gridOptions.api.exportDataAsExcel(params);
  298. });
  299. // 초기화 클릭시
  300. $('#btnInit').on('click', function() {
  301. $('#massForm')[0].reset();
  302. });
  303. // 조회클릭시
  304. $('#btnSearch').on('click', function() {
  305. if( gagajf.isNull($("#massForm input[name=condition]").val())
  306. && gagajf.isNull($("#massForm input[name=stDate]").val())
  307. && gagajf.isNull($("#massForm input[name=edDate]").val())){
  308. mcxDialog.alertC("검색조건을 입력하세요.", {
  309. sureBtnText: "확인",
  310. sureBtnClick: function() {
  311. $('#massForm input[name=condition]').focus();
  312. }
  313. });
  314. return false;
  315. }
  316. var fromDate = $('#massForm input[name=stDate]').val();
  317. var toDate = $('#massForm input[name=edDate]').val();
  318. if (!gagajf.isNull(fromDate) || !gagajf.isNull(toDate)) {
  319. if (gagajf.isNull(fromDate) || gagajf.isNull(toDate)) {
  320. mcxDialog.alertC("등록일 조회시 시작일자와 종료일자를 입력하세요.", {
  321. sureBtnText: "확인",
  322. sureBtnClick: function() {
  323. $('#massForm input[name=stDate]').focus();
  324. }
  325. });
  326. return false;
  327. }
  328. if (fromDate > toDate) {
  329. mcxDialog.alertC("노출기간 시작일자는 종료일자 보다 클 수 없습니다.", {
  330. sureBtnText: "확인",
  331. sureBtnClick: function() {
  332. $('#massForm input[name=stDate]').focus();
  333. }
  334. });
  335. return false;
  336. }
  337. }
  338. fnGoodsListSearch();
  339. });
  340. // 조회
  341. var fnGoodsListSearch = function(gbn) {
  342. gagaAgGrid.fetch('/goods/reg/log/list', gridOptions, '#massForm');
  343. }
  344. //안내팝업
  345. var fnGoodsOpenCommentPopup = function(id) {
  346. var str = '<div class="popupWrap" id="'+id+'" style="z-index:30">';
  347. str = str + '<div class="popup modeless ui-widget-content ui-draggable ui-draggable-handle" style="display: block; position: relative;">';
  348. str = str + '<button type="button" class="close" onclick="uifnPopClose(\''+id+'\')"><i class="fa fa-times"></i></button>';
  349. str = str + '<div class="mdPopContent">';
  350. str = str + '<ul class="notice ">';
  351. str = str + '- <em>상품미등록</em>';
  352. str = str + '<li>상품코드 오류 : 빈값</li>';
  353. str = str + '<li>업체 오류 : 빈값</li>';
  354. str = str + '<li>상품명 오류 : 빈값</li>';
  355. str = str + '<li>제조국 오류 : 빈값</li>';
  356. str = str + '<li>제조년월일 오류 : 빈값, 날짜형식이 맞는지</li>';
  357. str = str + '<li>WMS 미존재 상품코드 : WMS에 상품코드가 존재하는지</li>';
  358. str = str + '<li>스타일 연도 오류 : 온라인에서 관리되지 않는 스타일 연도</li>';
  359. str = str + '<li>성별 오류 : 온라인에서 관리되지 않는 성별</li>';
  360. str = str + '<li>상품코드 중복등록요청 : 등록된 상품코드 등록요청</li>';
  361. str = str + '<li>품목 오류 : 온라인에서 관리되지 않는 품목</li>';
  362. str = str + '<li>WMS 브랜드 오류 : 온라인에서 관리되지 않는 WMS 브랜드</li>';
  363. str = str + '<li>이미지 유형 오류 : 온라인에서 관리되지 않는 이미지유형</li>';
  364. str = str + '<li>상품이미지 필수 오류 : A타입 : IMG_PATH1: 정사각형이미지(앞면),IMG_PATH3: 작사각형이미지(정면),<br/></li>';
  365. str = str + '<span style="padding-left:185px;"></span>';
  366. str = str + 'IMG_PATH4: 직사각형이미지(뒷면), IMG_PATH5: 상품상세컷(통자)';
  367. str = str + '<li>상품이미지 필수 오류 : B타입 : IMG_PATH1, IMG_PATH2</li>';
  368. str = str + '<li>품목의 고시정보 없음 : 품목의 고시분류 매핑이 안되어 있는 경우</li>';
  369. str = str + '<li>고시분류 오류 : 등록요청 고시분류 와 온라인에서 품목과 매핑된 고시분류가 다른 경우</li>';
  370. str = str + '- <em>상품등록</em>';
  371. str = str + '</ul>';
  372. str = str + '</div></div></div>';
  373. if ($('#'+ id).length == 0) {
  374. $('body').append(str);
  375. }
  376. $("#"+id).css({display:"block"});
  377. }
  378. /*]]>*/
  379. </script>
  380. </html>