Menu Display

An error occurred while processing the template.
The following has evaluated to null or missing:
==> nav_item.getLayout()  [in template "20097#20123#43477" at line 799, column 61]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: nav_item_layout = nav_item.getLayout()  [in template "20097#20123#43477" at line 799, column 43]
----
1<#assign language = locale.getLanguage() /> 
2	<#assign theme_display = themeDisplay 
3	images_folder = theme_display.getPathThemeImages() 
4	/> 
5	<style> 
6		 
7		 
8		 @media all and (max-width:1367px){ 
9	   body.mobile { 
10	   display: block !important; 
11
12 
13	   .nav-section .col-lg-10{ 
14	   padding-left:0px 
15
16	   .top-bar>ul>li{     
17	   padding: 0 2px;border-right:0px 
18
19
20	   @media all and (max-width:1150px){ 
21	   .nav-section .col-lg-2, .nav-section .col-lg-10, .buyOnline .col-md-9, .buyOnline .col-md-3, .catagory-search .col-md-9, .catagory-search .col-md-3, .why-lic .col-md-6, .why-lic .col-md-10, .calculate .col-md-5, .Agent .col-md-3, .Agent .col-md-5, .Agent .col-md-4, .lfr-layout-structure-item-06dbed9e-9e10-4af4-e5f4-25aeb1025bc4 .col-lg-2, .lfr-layout-structure-item-06dbed9e-9e10-4af4-e5f4-25aeb1025bc4 .col-lg-3, .bima .col-sm-12 { 
22	   width: 100%; 
23
24	   .homeform .col-md-6 { 
25	   margin: 8px 0; 
26	   min-width: 300px; 
27	   transform: translate(-50%, 0); 
28	   margin-left: 50%; 
29
30	   .right-padding 
31
32	   padding-right:15px 
33	   }	 
34	   .ft-mid .row.py-5 { 
35	   padding:0px !important; 
36
37	   .ft-mid.py-5 { 
38	   padding:0px !important; 
39	   }	 
40	   .container, .container-md, .container-sm { 
41	   max-width: 100%; 
42	   padding: 0 25px; 
43
44	   .socialmedia1 { 
45	   margin-top: 12px; 
46	   padding: 15px 25px; 
47
48	   h2.portlet-title-text1 { 
49	   margin-top: 25px; 
50	   margin-bottom: 10px; 
51
52	   section.bg-yl { 
53	   background-position: -1900% -1000%; 
54	   }	 
55	   }  
56	   .test a { 
57	   display: block; 
58
59	   @media (max-width: 1150px){ 
60.site-nav>ul>li + li a { 
61    text-align: left; 
62    border: none; 
63    margin-left: 0px!important; 
64
65
66  
67	   @media (max-width: 768px) { 
68	   .test a br { 
69	   display: none; 
70
71	   .siteNav > ul > li { 
72	   position: relative; 
73	   margin-right: 0 !important; 
74	   line-height: 1.5 !important; 
75
76
77		li:has(.my-drop) ul {    
78		left: inherit !important; 
79		right: 100% !important; 
80	}  
81		@media all and  (min-width:1921px) { 
82	 .nav-section { 
83		justify-content: space-between; 
84
85			 body .contentwidth{ 
86	max-width:95%; 
87
88	.site-nav>ul>li:has(.my-drop) > i{ 
89	display:none; 
90
91		}  
92	   @media all and (min-width:991px){ 
93			 
94	.header.active{ 
95		position: fixed; 
96		padding: 5px 0; 
97		top: 0; 
98		right: 0; 
99		left: 0; 
100		background: white; 
101		box-shadow:0px 2px 2px #fbc707; 
102		z-index: 1000; 
103	}  
104	   .logo-part { 
105	   width: 200px; 
106
107	  
108	   .top-bar>ul>li { 
109	   border-right: 1px solid #dedede; 
110	   padding: 0 4px; 
111
112	   .nav-section{ 
113	   padding:0px !important; 
114
115	   header { 
116	   padding-top:0; padding-bottom:15px 
117
118	   .header-right { 
119	   margin-top: 20px; 
120
121	   .top-bar { 
122	   padding-top: 10px; 
123
124	   .why-lic, .buyOnline, .catagory-search, .why-lic, .calculate { 
125	   padding: 15px 0; 
126
127	   .overlap-wrapper { 
128	   bottom: -12px; 
129
130
131	   .dr-lang select { 
132	   border: 0; 
133	   }   
134 
135	   .ft-footer  ul { 
136	   list-style: none!important; 
137	   display: flex; 
138	   justify-content: flex-start; 
139	   align-items: center; 
140	   padding: 0; 
141	   margin: 0; 
142
143	   .ft-footer ul li a { 
144	   font-size: 0.9rem; 
145
146	   .ft-footer ul li::before { 
147	   position: relative; 
148	   content: '|'; 
149	   padding: 2px; 
150	   color: #80808070; 
151
152	   .ft-footer ul li a { 
153	   font-size: 0.8rem; 
154
155	   .ft-footer ul li:first-child::before { 
156	   content: ''; 
157
158		.socialmedia1{ 
159			display: none; 
160
161		.social-md { 
162		margin-right: 8px; 
163
164		 
165		#backToTop { 
166		position: fixed; 
167		bottom: 40px; 
168		left: 30px; 
169		z-index: 1000; 
170		font-size: 13px; 
171		background-color: #00417c; 
172		color: #fff; 
173		border-radius: 50%; 
174		padding: 9px 12px; 
175		cursor: pointer; 
176		line-height: 1; 
177		display: none; 
178		animation: horizontal-shaking 1s infinite 2s; 
179		transition: .3s ; 
180		border: 1px solid #ffcb08; 
181
182	#backToTop:hover { 
183		background-color: #f9c83f; 
184		color: #114e85; 
185
186	@keyframes horizontal-shaking { 
187	  0% { transform: translateX(0); } 
188	  25% { transform: translateX(5px); } 
189	  50% { transform: translateX(-5px); } 
190	  75% { transform: translateX(5px); } 
191	  100% { transform: translateX(0); } 
192
193		li.has-sub:not(:has(ul)) .fa { 
194		display:none; 
195
196	.back-btn { 
197		margin-bottom: 10px; 
198		padding: 5px 10px; 
199		cursor: pointer; 
200		border:2px solid #ffffff; 
201		outline:2px solid #002978; 
202		border-radius:10px; 
203		font-weight:600;     
204		background: linear-gradient(180deg,rgb(239 185 0) 0%, rgb(255 229 154) 48%, rgb(255 190 1) 100%); 
205		transition:.3s 
206
207	.back-btn:hover{ 
208	  background: linear-gradient(180deg,rgb(0 65 124) 0%, rgb(0 65 124) 48%, rgb(0 65 124) 100%); 
209		color:white; 
210
211 
212	/* Hide submenu by default */ 
213	.icon .gigw { 
214	  display: none; 
215	  position: absolute; 
216
217	  
218	/* Show submenu on hover (mouse) */ 
219	.icon:hover .gigw { 
220	  display: block; 
221
222	   
223	.icon:focus-within .gigw { 
224	  display: block; 
225
226	   
227	.senior-citizen:focus { 
228	  outline: 2px solid #000;  
229
230		 
231		 
232	.menu-part{ 
233	margin-left:30px; 
234
235		 
236		.site-nav>ul>li:has(a.btn.btn-default.my-drop[title="Login"]) i { 
237		display:none; 
238
239		 
240		body.dark-mode .mobClick span, body.dark-mode .mobClick1 span { 
241	  background: white; 
242
243		 
244		a.cyber-div { 
245		height: unset !important; 
246		padding: 35px; 
247
248		#bTp:hover { 
249		background: linear-gradient(180deg, rgb(239 185 0) 0%, rgb(255 229 154) 48%, rgb(255 190 1) 100%); 
250		color: unset; 
251
252		 
253	/*new search css*/ 
254		 
255		fieldset { 
256			border-width: 0; 
257			margin: 0; 
258			padding: 0; 
259
260	  
261	.search { 
262		max-width: 240px; 
263
264	  
265	.menu-search-box input{ 
266		border-radius:  100px 0 0 100px!important; 
267		background: transparent; 
268		border: 1px solid #c4c4c4; 
269		padding: 0 12px; 
270		font-size: 15px; 
271		width: 65%; 
272
273	.menu-search-box button ,  
274	.voice-search { 
275		cursor: pointer; 
276		background: #ededed; 
277		color: #00417c; 
278		border-radius: 0 10px 10px 0; 
279		border: 1px solid gainsboro; 
280		padding: 0px 11px; 
281		font-size: 15px; 
282
283	  
284	  
285	.menu-search-box form { 
286		display: flex; 
287	}  
288	.menu-search-box form .voice-search{ 
289		border-radius:0; 
290
291	@media (max-width: 768px) { 
292	body	div#corover-cb-widget { 
293			background-size: 46px!important; 
294			bottom: 20px!important; 
295
296 
297	body div#corover-cob-widget { 
298		height:10px!important; 
299		display: none; 
300
301 
302	body div#corover-cb-widget { 
303		max-width: 40px!important; 
304	   height:40px!important;   
305	}  
306		}	 
307	@media (max-width: 992px) { 
308		.site-nav > ul > li ul { 
309			transition: none; 
310			left: 0 !important; 
311
312
313		 
314		 
315	header.header.active { 
316		position: fixed; 
317		top: 0; 
318		left: 0; 
319		right: 0; 
320		box-shadow: 0px 0px 2px gray; 
321
322		  
323		 
324 
325	.whatsapp-link { 
326	  position: relative; 
327
328	  
329	.hover-image { 
330	  display: none; 
331	  position: absolute; 
332	  top: 30px; 
333	  right: 0; 
334	   color: #fff; 
335	  padding: 6px 10px; 
336	  border-radius: 4px; 
337	  white-space: nowrap; 
338
339	  
340	.whatsapp-link:hover .hover-image, 
341	.whatsapp-link:focus-within .hover-image { 
342	  display: block; 
343
344 
345	body:has(.bannersection) #buyonlineimage2 { 
346	display:inline-block!important; 
347
348	#buyonlineimage2 { 
349		display:none; 
350		top: calc(25% + 44px); 
351
352	   .fxBtn { 
353			top: 25%; 
354		transform: translateY(-75%); 
355	   right:0; 
356	   position: fixed;  
357	   animation-iteration-count: infinite; 
358
359	  
360	   @media only screen and (max-width: 460px){ 
361	    
362	   }	 
363	   @media only screen and (min-width: 1070px) and (max-width: 1605px) 
364	   {  
365	   
366	   .top-bar>ul>li { 
367	   font-size:0.7em; 
368
369	   }	 
370	   @keyframes shake { 
371	   0% { transform: translate(1px, 1px) rotate(0deg); } 
372	   5% { transform: translate(-1px, -2px) rotate(-1deg); } 
373	   10% { transform: translate(-3px, 0px) rotate(1deg); } 
374	   15% { transform: translate(3px, 2px) rotate(0deg); } 
375	   20% { transform: translate(1px, -1px) rotate(1deg); } 
376	   25% { transform: translate(-1px, 2px) rotate(-1deg); } 
377	   30% { transform: translate(-3px, 1px) rotate(0deg); } 
378	   35% { transform: translate(3px, 1px) rotate(-1deg); } 
379	   40% { transform: translate(-1px, -1px) rotate(1deg); } 
380	   45% { transform: translate(1px, 2px) rotate(0deg); } 
381	   50% { transform: translate(1px, -2px) rotate(-1deg); } 
382	   100% { transform: translate(0); } 
383	   }  
384	   .gg-n{ 
385	   opacity: 0!important; 
386	   width: 0!important; 
387
388	   .has-sub i{ 
389		 position: absolute; 
390			 top: 45%; 
391			 right: -6px;		  
392			 border-radius: 100px; 
393			 line-height: 1; 
394			 font-size: 0.5em; 
395
396	   .act .has-sub a.btn.btn-default {  
397	   width:auto; 
398	   border:none ; 
399	   margin-left:0; 
400
401	@media (max-width: 1150px){ 
402	  .site-nav>ul>li + li { 
403		border-bottom: 1px solid #80808069; 
404
405	   .site-nav .child-menu { 
406		display: none; 
407
408 
409	.site-nav .has-sub { 
410		position: relative; 
411
412 
413	.site-nav .has-sub > i { 
414		position: absolute; 
415		top: 6px; 
416		right: 3px; 
417		cursor: pointer; 
418		transition: transform .3s ease; 
419
420 
421	.site-nav .has-sub.active > i { 
422		transform: rotate(180deg); 
423
424
425 
426	   @media (max-width: 992px){ 
427	   .site-nav { 
428	   max-width: 76%; 
429
430	   .act a>i { 
431	   display:none!important; 
432
433	   ul.gigw { 
434	   display: flex; 
435	   transition: none; 
436
437	   .seinior-citizen { 
438	   background-color: #fff; 
439
440	   li.icon.link.font-size { 
441	   background: #40a9ff5e; 
442	   border-radius: 12px; 
443	   padding: 9px; 
444
445	   .has-sub i { 
446	   float: right; 
447	   border: 1px solid #72808d8f; 
448	   padding: 5px; 
449	   color: #00529c; 
450	   transition:all .3s ease-in-out; 
451	   margin-top: 5px; 
452
453	   .has-sub.active i { 
454	   rotate: -180deg; 
455
456	   .site-nav>ul>li ul{ 
457	   transition:none; 
458
459	   .site-nav > ul > li ul{ 
460	   transition:none; 
461
462	   .has-sub i{ 
463	   display:block; 
464
465
466		 
467		 
468		@media (min-width:1150px) and (max-width:1260px) { 
469		.social-md ul li a { 
470		padding-left: 3px; 
471
472
473 
474	@media (max-width:1230px) and (min-width:1150px) { 
475		body .social-md ul li a img { 
476		height: 20px; 
477		}  
478		.menu-part { 
479		width: 100%; 
480
481 
482		.logo-part { 
483			max-width: 153px; 
484			width: 100%; 
485
486 
487
488 
489	@media (max-width:1150px) { 
490		 
491		.mobClick { 
492		top: auto; 
493
494 
495
496		 
497		 @media (max-width:1201px) { 
498			.voice-search { 
499				right: 17% !important; 
500
501 
502			.portlet-search .search-input-group .form-group-item { 
503				width: 330px !important; 
504
505
506 
507		@media (max-width:1150px) { 
508			body .desktop-vissible { 
509				display: none; 
510
511 
512			body .mobile-vissible { 
513				display: flex; 
514				justify-content: center; 
515				align-items: center; 
516
517 
518			body .mobile-search-form .input-group.search { 
519				display: flex !important; 
520
521 
522
523 
524		@media (max-width:1360px) { 
525			.input-group-inset-item.input-group-inset-item-after { 
526				height: 52px; 
527				margin-top: 1px; 
528
529 
530			.portlet-search .search-input-group .form-group-item { 
531				width: 300px !important; 
532
533 
534			.voice-search { 
535				right: 29% !important; 
536
537
538		.sarthi-app-text{ 
539				width: max-content 
540
541 
542		@media (max-width:1350px) { 
543			.sarthi-app-text { 
544				display: none !important; 
545
546
547 
548		i.bi.bi-chevron-down.toggle-dropdown { 
549			background-color: transparent; 
550			font-size: 17px; 
551			font-weight: 700 !important; 
552
553 
554		@media (max-width: 768px) { 
555			.voice-search { 
556				right: 22% !important; 
557
558
559 
560		@media (max-width: 920px) { 
561			.voice-search { 
562				right: 23% !important; 
563
564
565 
566		@media (max-width: 870px) { 
567			.voice-search { 
568				right: 20% !important; 
569
570
571 
572		@media (max-width: 570px) { 
573			.voice-search { 
574				right: 34% !important; 
575
576
577 
578	  
579 
580		@media (max-width: 500px) { 
581			.voice-search { 
582				right: 31% !important; 
583				bottom: 0 !important; 
584
585
586		 
587		@media (max-width: 370px) { 
588			.voice-search { 
589				right: -12% !important; 
590
591				.portlet-search .search-input-group .form-group-item{ 
592				width:270px !important;	 
593
594
595		 
596		 
597		@media (max-width:1150px){ 
598		 .social-md >ul :nth-child(1){ 
599		 display:flex; 
600		 justify-content:space-around; 
601
602		 .social-md >ul :nth-child(1)> a { 
603		  padding:0.5em; 
604
605		  
606 
607		.top-bar>ul>li a 
608
609				color: #00529c; 
610				background: white; 
611				padding: 1em !important; 
612
613		 
614		  
615		 
616		.social-md ul li a:first-child { 
617			padding-left: unset; 
618
619		 
620		 
621		.menu-search-box input { 
622			background: transparent; 
623			border: 1px solid #c4c4c4; 
624			padding: 0.5em; 
625			width: 100%; 
626
627		 
628		.menu-search-box button, .voice-search { 
629			cursor: pointer; 
630			background: #ededed; 
631			color: #00417c; 
632			border-radius: 0 100px 100px 0; 
633			border: 1px solid gainsboro; 
634			padding: 0 1em; 
635			font-size: 15px; 
636
637		 
638
639		 
640		 
641		 
642	/* ===== Universal rotating arrow for all .has-sub elements ===== */ 
643	  
644	.has-sub { 
645		position: relative; 
646
647	  
648	/* Arrow via ::after — works for both .nav-link and .btn.my-drop links */ 
649	.has-sub > a::after { 
650		content: "\f078"; /* fontawesome chevron-down unicode */ 
651		font-family: "FontAwesome", "Font Awesome 5 Free"; 
652		font-weight: 900; 
653		font-size: 0.7em; 
654		margin-left: 6px; 
655		display: inline-block; 
656		transition: transform 0.3s ease; 
657		vertical-align: middle; 
658
659	  
660	/* Hide any pre-existing <i class="fa fa-chevron-down"> so it doesn't duplicate 
661	   (this covers the "Login" li where <i> sits as a sibling of <a>) */ 
662	.has-sub > i.fa.fa-chevron-down { 
663		display: none; 
664
665	  
666	/* Rotate on hover — works at every nesting level (About Us, Insurance Plans,  
667	   Premium Payment, Login, etc.) because selector is not depth-restricted */ 
668	.has-sub:hover > a::after { 
669		transform: rotate(180deg); 
670
671	  
672	/* Rotate when aria-expanded="true" (agar JS is attribute ko toggle karta hai) */ 
673	.has-sub > a[aria-expanded="true"]::after { 
674		transform: rotate(180deg); 
675
676	  
677	/* Rotate when JS adds .active or .open class on li (mobile click behavior) */ 
678	.has-sub.active > a::after, 
679	.has-sub.open > a::after { 
680		transform: rotate(180deg); 
681
682	  
683	.btn-default:focus-visible, 
684	.bl-btn:active { 
685		background-color: #fff !important; 
686		color: #000 !important; 
687		box-shadow: none !important; 
688		border-color: inherit !important; 
689		transform: none !important; 
690		outline:3px solid red; 
691		border: none; 
692	}   
693	  
694	</style> 
695 
696	<header id="navigation"> 
697	<div class="header"> 
698	   <div class="nav-section d-flex contentwidth pb-2"> 
699		  <div class="logo-part d-flex align-items-center"> 
700			 <div class="logo"> 
701				<div class="mobClick1"> 
702				   <span></span> 
703				   <span></span> 
704				   <span></span> 
705				</div> 
706				<a href="/home"><img src="/documents/d/guest/lic_log_updated" alt="Life Insurance Corporation of India" 
707		width="200" height="97"></a> 
708				<div class="mobClick"> 
709				   <span></span> 
710				   <span></span> 
711				   <span></span> 
712				</div> 
713			 </div> 
714		  </div> 
715		  <div class="menu-part"> 
716			 <div class="top-bar"> 
717				<ul class="list-group list-group-horizontal list-unstyled justify-content-end align-items-center"> 
718				   <li class="social-md"> 
719					  <ul> 
720						 <li > 
721							  <a href="javascript:void(0)" onclick="ExternalLink('https://www.instagram.com/licindiaforever/?hl=en');"><img src="${images_folder}/instagram.svg" alt="Instagram"></a> 
722							  <a href="javascript:void(0)" onclick="ExternalLink('https://www.facebook.com/LICIndiaForever/');"><img src="${images_folder}/facebook-original.svg" alt="Facebook"></a> 
723							  <a href="javascript:void(0)" onclick="ExternalLink('https://www.linkedin.com/company/lic/');"><img src="${images_folder}/linkedin-original.svg" alt="Linkedin"></a> 
724							  <a href="javascript:void(0)" onclick="ExternalLink('https://www.twitter.com/licindiaforever/');"><img src="/documents/d/guest/twitternew" alt="X"></a> 
725							  <a href="javascript:void(0)" onclick="ExternalLink('https://www.youtube.com/user/licindiaforever');"><img src="${images_folder}/youtube-original-1.svg"   alt="Youtube"></a> 
726					   </li> 
727					  </ul> 
728					 <#assign portalURL=themeDisplay.getPortalURL()> 
729					</li> 
730				   <li> 
731					  <div> 
732						  <!-- Voice Search Button --> 
733						   
734						 <div class="menu-search-box"> 
735							<form action="${portalURL}/web/guest/search" method="get">  
736		<input 
737			type="text" 
738			name="q" 
739			placeholder="Search..." 
740			class="menu-search-input" 
741			value="${htmlUtil.escapeAttribute(paramUtil.getString(request, 'q'))}" /> 		 
742		<button aria-label="Voice Search" class="voice-search"  
743			 onclick="runSpeechRecognition()" 
744			 title="Voice Search"> 
745			<i class="fa fa-microphone" aria-hidden="true"></i> 
746			   <span class="visually-hidden">Voice Search</span> 
747		</button> 
748 
749		<button type="submit" class="menu-search-btn"> 
750			<i class="icon-search" aria-label="Search"></i> 
751			 <span class="visually-hidden">Search</span> 
752		</button> 
753	</form>  
754						</div> 
755					  </div> 
756				   </li> 
757				   <#if  language == 'hi'> 
758				   <li><a href="#maincontent" title=" मुख्य विषयवस्तु में जाएं"> मुख्य विषयवस्तु में जाएं</a></li> 
759				   <#elseif language == 'mr'> 
760				   <li><a href="#maincontent" title="मुख्य सामग्रीवर जा"> मुख्य विषयसूचीवर जा</a></li> 
761				   <#else>  
762				   <li><a href="#maincontent" title="Skip to main content">Skip to main content</a></li> 
763				   </#if> 
764				   <li class="fontDrop"> 
765				  <a href="#" id="whatsappBtn" aria-label="Connect via WhatsApp" aria-controls="whatsModal" aria-expanded="true" aria-describedby="whatsTooltip"> <img src="https://licindia.in/o/lic-theme/images/whatsapp.svg" alt="whatsapp" aria-hidden="true"> <span>8976862090</span> </a> 
766					<div id="whatsModal" class="hover-image" tabindex="-1" aria-description="Say Hii to LIC on WhatsApp 8976862090"></div> 
767				  </li> 
768				   <li><a href="/phone-help-line" title="+91-22-68276827"><img src="${images_folder}/phone-1.svg" alt="phone-no" /> +91-22-68276827</a></li> 
769				   <#if  language == 'hi'> 
770				   <li><a href="/branch"><img src="${images_folder}/map-ico.svg" alt="कार्यालय लोकेटर"> कार्यालय लोकेटर</a></li> 
771				   <#elseif language == 'mr'> 
772				   <li><a href="/branch"><img src="${images_folder}/map-ico.svg" alt="ऑफिस लोकेटर"> शाखा लोकेटर</a></li> 
773				   <#else>  
774				   <li><a href="/branch"><img src="${images_folder}/map-ico.svg" alt="Branch Locator"> Branch Locator</a></li> 
775				   </#if> 
776				 <li class="dr-lang"> <@liferay.languages /> </li> 
777				   <li class="icon link font-size"> 
778					  <button  style="border: none;"   class="senior-citizen"> 
779					  <img src="${images_folder}/wheelchair.svg" alt="disabled - friendly"></button> 
780					  <ul class="gigw" style="visibility:unset;opacity:unset"> 
781						 <li><a href="javascript:void(0);" id="max" onclick="set_font_size('increase')">A+</a></li> 
782						 <li><a href="javascript:void(0);" id="normal" onclick="set_font_size('')">A</a></li> 
783						 <li><a href="javascript:void(0);" id="min" onclick="set_font_size('decrease')">A-</a></li> 
784						 <li><a id="lightmode" href="javascript:void(0)" class="theme-item theme-1 light">A</a></li> 
785						 <li><a id="darkmode" href="javascript:void(0)" class="theme-item theme-2 dark">A</a></li> 
786					  </ul> 
787				   </li> 
788				</ul> 
789			 </div> 
790			 <div class="header-right"> 
791				<nav class="site-nav clearfix"> 
792				   <ul class="clearfix"> 
793					  <li class=""><a href="/home" class="nav-link" aria-label="home"> <i class="fa-solid fa-house" aria-hidden="true"></i></a></li> 
794					  <#assign home_page_active="active" /> 
795					  <#list entries as nav_item> 
796					  <#assign 
797					  nav_item_attr_has_popup = "" 
798					  nav_item_css_class = "" 
799					  nav_item_layout = nav_item.getLayout() 
800					  /> 
801					  <#if nav_item.isSelected()> 
802					  <#assign 
803					  nav_item_attr_has_popup = "aria-haspopup='true'" 
804					  nav_item_css_class = "selected" 
805					  /> 
806					  </#if> 
807					  <#if nav_item.hasChildren()> 
808					  <#assign nav_item_css_class = (nav_item_css_class + " has-sub")?trim /> 
809					  </#if> 
810					  <li  class="${nav_item_css_class}" id="layout_${nav_item.getLayoutId()}"> 
811						 <a class="nav-link" ${nav_item_attr_has_popup}  href="${nav_item.getURL()}" ${nav_item.getTarget()} title="${nav_item.getName()}"  ><span><@liferay_theme["layout-icon"] layout=nav_item_layout /> ${nav_item.getName()}</span></a>	 
812						 <#assign home_page_active="" /> 
813						 <#if nav_item.hasChildren()> 
814						 <ul  class="child-menu" > 
815							<#list nav_item.getChildren() as nav_child> 
816							<#assign nav_child_css_class = "" /> 
817							<#if nav_item.isSelected()> 
818							<#assign nav_child_css_class = "selected" /> 
819							</#if>				 	 
820							<#if nav_child.hasChildren()> 
821							<#assign nav_child_css_class = (nav_child_css_class + " has-sub")?trim /> 
822							</#if>					 
823							<li  class="${nav_child_css_class}" id="layout_${nav_child.getLayoutId()} layout_53300" role="presentation"> 
824							   <span class="subDropAlt"></span> 
825							   <a href="${nav_child.getURL()}" ${nav_child.getTarget()} title="${nav_child.getName()}"  >${nav_child.getName()}</a>	 
826							   <#if nav_child.hasChildren()> 
827							   <ul  class="child-menu" > 
828								  <#list nav_child.getChildren() as nav_child1> 
829								  <#assign nav_child_css_class1 = "" /> 
830								  <#if nav_child.isSelected()> 
831								  <#assign nav_child_css_class1 = "selected" /> 
832								  </#if>				 
833								  <li  class="${nav_child_css_class1}" id="layout_${nav_child1.getLayoutId()} layout_709723" role="presentation"> 
834									 <a href="${nav_child1.getURL()}" ${nav_child1.getTarget()} title="${nav_child1.getName()}"  >${nav_child1.getName()}</a> 
835								  </li> 
836								  </#list> 
837							   </ul> 
838							   </#if> 
839							</li> 
840							</#list> 
841						 </ul> 
842						 </#if> 
843					  </li> 
844					  </#list>						 
845					   
846					  <#if  language == 'hi'> 
847					  <li class=""><a class="btn btn-default" href="https://ebiz.licindia.in/D2CPM/#DirectPay"> प्रीमियम भुगतान </a></li> 
848					  <#elseif language == 'mr'>	 
849					  <li class=""><a class="btn btn-default" href="https://ebiz.licindia.in/D2CPM/#DirectPay"> प्रीमियम भरा </a></li> 
850					  <#else> 
851					  <li class=""><a class="btn btn-default" href="https://ebiz.licindia.in/D2CPM/#DirectPay"> Pay Premium </a></li> 
852					  </#if> 
853					  <li class="has-sub"> 
854						 <#if  language == 'hi'> 
855						 <a class="btn btn-default my-drop" href="javascript:void(0)" onclick="ExternalLink('https://ebiz.licindia.in/D2CPM');" title="लॉग इन करें" > <i class="icon-icon-6"></i> लॉग इन करें  </a> 
856						 <#elseif language == 'mr'>	 
857						 <a class="btn btn-default my-drop" href="javascript:void(0)" onclick="ExternalLink('https://ebiz.licindia.in/D2CPM');" title="लॉगिन करा" > <i class="icon-icon-6"></i> लॉगिन करा  </a> 
858						 <#else> 	  
859						 <a class="btn btn-default my-drop" href="javascript:void(0)" onclick="ExternalLink('https://ebiz.licindia.in/D2CPM');" title="Login" > <i class="icon-icon-6"></i> Login  </a> 
860						 <i class="fa fa-chevron-down"></i> 
861						 </#if>				  
862						 <ul class="child-menu"> 
863							<li> 
864							   <#if  language == 'hi'> 
865							   <a href="https://ebiz.licindia.in/D2CPM/?_ga=2.72703123.1272923387.1677050657-120722208.1677050657#Login" title="ग्राहक पोर्टल"> ग्राहक पोर्टल</a> 
866							   <#elseif language == 'mr'>	 
867							   <a href="https://ebiz.licindia.in/D2CPM/?_ga=2.72703123.1272923387.1677050657-120722208.1677050657#Login"  title="ग्राहक पोर्टलवर">ग्राहक पोर्टलवर</a> 
868							   <#else> 
869							   <a href="https://ebiz.licindia.in/D2CPM/?_ga=2.72703123.1272923387.1677050657-120722208.1677050657#Login" title="Customer Portal">Customer Portal</a> 
870							   </#if> 
871							</li> 
872							<li> 
873							   <#if  language == 'hi'> 
874							   <a href="https://nriebiz.licindia.in/D2CPM/#Login"  title="एनआरआई ग्राहक पोर्टल"> एनआरआई ग्राहक पोर्टल</a> 
875							   <#elseif language == 'mr'>	 
876							   <a href="https://nriebiz.licindia.in/D2CPM/#Login"  title="एनआरआई ग्राहक पोर्टलवर"> एनआरआय ग्राहक पोर्टल</a> 
877							   <#else> 
878							   <a href="https://nriebiz.licindia.in/D2CPM/#Login"  title="NRI Customer Portal">NRI Customer Portal</a> 
879							   </#if> 
880							</li> 
881							<li> 
882							   <#if  language == 'hi'> 
883							   <a href="https://renew.licindia.in/licrevival/#Login"  title="ऑनलाइन पॉलिसी पुनर्जीवन">ऑनलाइन पॉलिसी पुनर्जीवन</a> 
884							   <#elseif language == 'mr'>	 
885							   <a href="https://renew.licindia.in/licrevival/#Login"  title="ऑनलाइन पॉलिसी पुनर्जीवन">ऑनलाइन पॉलिसी पुनर्जीवन</a> 
886							   <#else> 
887							   <a href="https://renew.licindia.in/licrevival/#Login"  title="Online Revival of  Policy">Online Revival of  Policy</a> 
888							   </#if> 
889							</li> 
890						   <!-- <li> 
891							   <#if  language == 'hi'> 
892							   <a href="https://mbiz.licindia.in/AgentPortal/#Login"  title="एजेंट पोर्टल"> एजेंट पोर्टल </a> 
893							   <#elseif language == 'mr'>	 
894							   <a href="https://mbiz.licindia.in/AgentPortal/#Login"  title="एजंट पोर्टल">एजंट पोर्टल </a> 
895							   <#else> 
896							   <a href="https://mbiz.licindia.in/AgentPortal/#Login"  title="Agent Portal">Agent Portal</a> 
897							   </#if> 
898							</li> --> 
899							<li> 
900							   <#if  language == 'hi'> 
901							   <a href="https://agencycareer.licindia.in/agt_req/index1.php?_ga=2.132252684.382589343.1685778008-998430420.1685778008&_gac=1.91017576.1685872184.Cj0KCQjw7PCjBhDwARIsANo7Cgnay0YVbEoO5MslMzNkmXXG6Ra5XrDaHLDJKjFV-6L6dFlvzbQ0PDAaAi9pEALw_wcB"  title="एलआईसी एजेंट बनना चाहते हैं">एलआईसी एजेंट बनना चाहते हैं </a> 
902							   <#elseif language == 'mr'>	 
903							   <a href="https://agencycareer.licindia.in/agt_req/index1.php?_ga=2.132252684.382589343.1685778008-998430420.1685778008&_gac=1.91017576.1685872184.Cj0KCQjw7PCjBhDwARIsANo7Cgnay0YVbEoO5MslMzNkmXXG6Ra5XrDaHLDJKjFV-6L6dFlvzbQ0PDAaAi9pEALw_wcB"  title="एलआयसी एजंट बनायचे आहे ">एलआयसी एजंट व्हायचे आहे का? </a> 
904							   <#else> 
905							   <a href="https://agencycareer.licindia.in/agt_req/index1.php?_ga=2.132252684.382589343.1685778008-998430420.1685778008&_gac=1.91017576.1685872184.Cj0KCQjw7PCjBhDwARIsANo7Cgnay0YVbEoO5MslMzNkmXXG6Ra5XrDaHLDJKjFV-6L6dFlvzbQ0PDAaAi9pEALw_wcB"  title="Want to be an LIC Agent">Want to be an LIC Agent</a> 
906							   </#if> 
907							</li> 
908							<li> 
909							   <#if  language == 'hi'> 
910							   <a href="https://merchant.licindia.in/merchant/?_ga=2.108944258.1272923387.1677050657-120722208.1677050657"  title="मर्चेंट पोर्टल"> मर्चेंट पोर्टल </a> 
911							   <#elseif language == 'mr'>	 
912							   <a href="https://merchant.licindia.in/merchant/?_ga=2.108944258.1272923387.1677050657-120722208.1677050657"  title="व्यापारी पोर्टल"> मर्चंट पोर्टल </a> 
913							   <#else> 
914							   <a href="https://merchant.licindia.in/merchant/?_ga=2.108944258.1272923387.1677050657-120722208.1677050657"  title="Merchant Portal">	Merchant Portal </a> 
915							   </#if> 
916							</li> 
917							<li> 
918							   <#if  language == 'hi'> 
919							   <a href="/employee-s-corner" title="कर्मचारी पोर्टल"> कर्मचारी पोर्टल </a> 
920							   <#elseif language == 'mr'>	 
921							   <a href="/employee-s-corner" title="व्कर्मचारी पोर्टल"> कर्मचारी पोर्टल </a> 
922							   <#else> 
923							   <a href="/employee-s-corner" title="Employee Portal">	Employee Portal </a> 
924							   </#if> 
925							</li> 
926							<li> 
927							   <#if  language == 'hi'> 
928							   <a href="https://ebiz.licindia.in/D2CPM/#Login" title="समूह ग्राहक / वार्षिकी कर्ता लॉगिन">	समूह ग्राहक / वार्षिकी कर्ता लॉगिन </a> 
929							   <#elseif language == 'mr'>	 
930							   <a href="https://ebiz.licindia.in/D2CPM/#Login" title="गट ग्राहक/वार्षिक लॉगिन"> गट ग्राहक/वार्षिक लॉगिन </a> 
931							   <#else> 
932							   <a href="https://ebiz.licindia.in/D2CPM/#Login" title="Group Customer/Annuitant Login">	Group Customer/Annuitant Login </a> 
933							   </#if> 
934							</li> 
935													<li> 
936														 <#if  language == 'hi'> 
937															  <a href="https://ebiz.licindia.in/OrgPortal/#Login" title="ग्रुप मास्टरपॉलिसीधारक पोर्टल">ग्रुप मास्टरपॉलिसीधारक पोर्टल</a> 
938														 <#elseif language == 'mr'>	 
939															  <a href="https://ebiz.licindia.in/OrgPortal/#Login" title="ग्रुप मास्टर पॉलिसीधारक पोर्टल">ग्रुप मास्टर पॉलिसीधारक पोर्टल</a> 
940														 <#else> 
941															<a href="https://ebiz.licindia.in/OrgPortal/#Login" title="Group MasterPolicyholder Portal">Group MasterPolicyholder Portal</a> 
942														 </#if> 
943													</li> 
944							<li> 
945							   <#if  language == 'hi'> 
946							   <a href="https://rep.licindia.in/penport/login?_ga=2.131348047.1319024671.1679223847-1480379755.1666842318"  title="सेवानिवृत्त कर्मचारी पोर्टल">	सेवानिवृत्त कर्मचारी पोर्टल </a> 
947							   <#elseif language == 'mr'>	 
948							   <a href="https://rep.licindia.in/penport/login?_ga=2.131348047.1319024671.1679223847-1480379755.1666842318"  title="सेवानिवृत्त कर्मचारी पोर्टल"> सेवानिवृत्त कर्मचारी पोर्टल </a> 
949							   <#else> 
950							   <a href="https://rep.licindia.in/penport/login?_ga=2.131348047.1319024671.1679223847-1480379755.1666842318"  title="Retired Employees Portal"> Retired Employees Portal </a> 
951							   </#if> 
952							</li> 
953						 </ul> 
954					  </li> 
955					  <#if  language == 'hi'> 
956					  <a id="buyonlineimage" class="fxBtn" href="/buy-online"> 
957					  <img src="/documents/d/guest/button-hindi-1" alt="buyonlineimage"></a>                    
958					  <#elseif language == 'mr'>	 
959					  <a id="buyonlineimage" class="fxBtn" href="/buy-online"> 
960					  <img src="/documents/d/guest/button-marathi-1" alt="buyonlineimage"></a>                   
961					  <#else> 
962					  <a id="buyonlineimage" class="fxBtn" href="/buy-online"> 
963					  <img src="/documents/d/guest/button-1" alt="buyonlineimage"></a>                  
964					  </#if> 
965				   </ul> 
966				</nav> 
967		  </div> 
968	   </div> 
969	</div> 
970 
971	</header>          </div> 
972 
973	<button id="backToTop" title="back to top" style="display:block"><i class="fas fa-arrow-up"></i><span class="visually-hidden">go to top</span></button> 
974		<script>	window.onscroll = function () { 
975	  const btn = document.getElementById("backToTop"); 
976	  btn.style.display = (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) 
977		? "block" : "none"; 
978	}; 
979																	  
980	   $(document).ready(function(){ 
981			 var slt = document.querySelector(".dr-lang select");  
982				if (slt) {  
983		slt.setAttribute("aria-expanded", "false");  
984		slt.addEventListener("focus", function () { 
985			this.setAttribute("aria-expanded", "true"); 
986		});  
987		slt.addEventListener("blur", function () { 
988			this.setAttribute("aria-expanded", "false"); 
989		});  
990		slt.addEventListener("change", function () { 
991			this.setAttribute("aria-expanded", "false"); 
992		});  
993	} else { 
994		console.log("Language selector not found."); 
995
996			  
997		const tables = document.querySelectorAll(".Internal table");  
998		if (!tables.length) return; 
999 
1000		tables.forEach(table => { 
1001			table.removeAttribute("role"); 
1002 
1003			table.querySelectorAll( 
1004				"thead th:not([scope]), tr:first-child th:not([scope])" 
1005			).forEach(th => th.setAttribute("scope", "col")); 
1006		});   
1007		  document.querySelectorAll(".input-group-text").forEach(el => { 
1008		  el.setAttribute("tabindex", "0"); // keeps natural tab order 
1009		}); 
1010			    
1011			  
1012			 var langPortlet = document.getElementById("_com_liferay_site_navigation_language_web_portlet_SiteNavigationLanguagePortlet_fm"); 
1013 
1014	if (langPortlet) { 
1015 
1016	  // Exact selector using name 
1017	  var toggle = langPortlet.querySelector('[name="languageId"]'); 
1018 
1019	  if (toggle) { 
1020		toggle.setAttribute("aria-label", "Select Language"); 
1021		toggle.setAttribute("aria-expanded", "false"); 
1022 
1023		toggle.addEventListener("click", function () { 
1024		  var expanded = this.getAttribute("aria-expanded") === "true"; 
1025		  this.setAttribute("aria-expanded", (!expanded).toString()); 
1026		}); 
1027
1028
1029 
1030		var langSelect = document.getElementById("_com_liferay_site_navigation_language_web_portlet_SiteNavigationLanguagePortlet_fm"); 
1031		if (langSelect) { 
1032		  langSelect.setAttribute("aria-label", "Select Language");  
1033
1034 
1035	   if (window.matchMedia('(max-width: 992px)').matches) 
1036
1037	   $(".gigw").slideUp(); 
1038	   $('.seinior-citizen').click(function(){ 
1039		  $(".gigw").slideToggle(); 
1040	   }); 
1041		   $('.has-sub').click(function(){ 
1042				$(this).toggleClass('active'); 
1043				$(this).find('.child-menu').slideToggle(); 
1044			});     
1045		   $(document).click(function(e) { 
1046				var container = $(".has-sub"); 
1047				if (!container.is(e.target) && container.has(e.target).length === 0) { 
1048					container.removeClass('active'); 
1049					container.find('.child-menu').slideUp(); 
1050
1051		   });    
1052	   }   
1053	   } );  
1054		window.onscroll = function () { 
1055	  const btn = document.getElementById("backToTop"); 
1056	  btn.style.display = (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) 
1057		? "block" 
1058		: "none"; 
1059	}; 
1060	  
1061	// Smooth scroll to top on click 
1062	document.getElementById("backToTop").addEventListener("click", function () { 
1063	  window.scrollTo({ top: 0, behavior: 'smooth' }); 
1064	}); 
1065 
1066		/*$('<button type="button" id="bTp" class="back-btn">Back to Previous</button>').prependTo('section.Internal'); 
1067	$('#bTp').on('click', function() { 
1068			window.history.back(); 
1069		}).appendTo('section.Internal');*/  
1070	  window.addEventListener("scroll", () => { 
1071		const header = document.querySelector(".header"); 
1072	  
1073		if (window.scrollY > 50) { 
1074			header.classList.add("active"); 
1075		} else { 
1076			header.classList.remove("active"); 
1077
1078	}); 
1079 
1080	/*Press Enter to open/show the WhatsApp tooltip/modal*/ 
1081	const whatsappBtn = document.querySelector("#whatsappBtn"); 
1082	const modal = whatsappBtn.nextElementSibling; 
1083 
1084	function closeModal() { 
1085		modal.style.display = "none"; 
1086		whatsappBtn.setAttribute("aria-expanded", "false"); 
1087		modal.setAttribute("aria-hidden", "true"); 
1088
1089 
1090	whatsappBtn.addEventListener("keydown", (e) => { 
1091		if (e.key === "Enter") { 
1092			modal.style.display = "block"; 
1093			whatsappBtn.setAttribute("aria-expanded", "true"); 
1094			modal.setAttribute("aria-hidden", "false"); 
1095			modal.focus(); 
1096
1097	}); 
1098 
1099	modal.addEventListener("keydown", (e) => { 
1100 
1101		if (e.key === "Escape") { 
1102			closeModal(); 
1103			whatsappBtn.focus(); 
1104
1105 
1106		if (e.key === "Tab") { 
1107			closeModal(); 
1108
1109 
1110	}); 
1111 
1112		 
1113	const btn = document.querySelector(".senior-citizen"); 
1114	const menu = btn.nextElementSibling;  
1115	// Open 
1116	btn.addEventListener("click", (e) => accessibilityMenu(e, btn)); 
1117	btn.addEventListener("keydown", (e) => accessibilityMenu(e, btn)); 
1118	  
1119	// Close from menu items 
1120	menu.addEventListener("keydown", (e) => accessibilityMenu(e, btn));	 
1121	function accessibilityMenu(e, btn) { 
1122		const menu = btn.nextElementSibling; // ul.gigw 
1123		if (!menu) return; 
1124	  
1125		if (e.key === "Enter") { 
1126			if (e.currentTarget === btn) { 
1127				e.preventDefault(); 
1128				menu.style.display = "block"; 
1129				btn.setAttribute("aria-expanded", "true"); 
1130				menu.querySelector("a")?.focus(); 
1131
1132
1133	  
1134		if (e.key === "Escape") { 
1135			menu.style.display = "none"; 
1136			btn.setAttribute("aria-expanded", "false"); 
1137			btn.focus(); 
1138
1139	  
1140		if (e.type === "focusout") { 
1141			const relatedTarget = e.relatedTarget; 
1142			if (!relatedTarget) return; 
1143			if (!menu.contains(relatedTarget) && relatedTarget !== btn) { 
1144				menu.style.display = "none"; 
1145				btn.setAttribute("aria-expanded", "false"); 
1146
1147
1148	}  
1149	const dbtn = document.querySelector('.senior-citizen'); 
1150	dbtn.setAttribute("aria-haspopup", "true"); 
1151	dbtn.setAttribute("aria-expanded", "false");  
1152	const dmenu = dbtn.nextElementSibling; 
1153	if (dmenu) { 
1154		dmenu.style.display = "none";  
1155	  
1156		dbtn.addEventListener("keydown", (e) => accessibilityMenu(e, dbtn)); 
1157		dbtn.addEventListener("focusout", (e) => accessibilityMenu(e, dbtn)); 
1158	  
1159		dmenu.querySelectorAll("a").forEach((link) => { 
1160			link.addEventListener("keydown", (e) => accessibilityMenu(e, dbtn)); 
1161			link.addEventListener("focusout", (e) => accessibilityMenu(e, dbtn)); 
1162		}); 
1163
1164		(function () { 
1165		function addBackButton() { 
1166			if (window.location.pathname === "/" || document.getElementById("bTp")) { 
1167				return; 
1168
1169 
1170			var container = document.querySelector(".Internal"); 
1171 
1172			if (!container) { 
1173				return false; 
1174
1175	  
1176			var button = document.createElement("button"); 
1177			button.id = "bTp"; 
1178			button.className = "back-btn"; 
1179			button.type = "button"; 
1180			button.textContent = "<#if language == 'hi'>वापस जाएं<#elseif language == 'mr'>मागे जा<#else>Back to Previous</#if>"; 
1181 
1182			button.onclick = function () { 
1183				window.history.length > 1 ? window.history.back() : window.location.assign("/"); 
1184						console.log(window.history.length); 
1185			}; 
1186 
1187			container.appendChild(button); 
1188			return true; 
1189		}  
1190		function init() { 
1191			var attempts = 0; 
1192			var interval = setInterval(function () { 
1193				if (addBackButton() || ++attempts > 20) { 
1194					clearInterval(interval); 
1195
1196			}, 500); 
1197		}  
1198		document.addEventListener("DOMContentLoaded", init); 
1199 
1200		if (typeof Liferay !== "undefined") { 
1201			Liferay.on("endNavigate", function () { 
1202				var button = document.getElementById("bTp"); 
1203				if (button) { 
1204					button.remove(); 
1205
1206				init(); 
1207			}); 
1208
1209	})();  
1210	document.addEventListener('DOMContentLoaded', function () { 
1211	document.addEventListener("contextmenu", function (e) { 
1212	e.preventDefault(); 
1213	}); 
1214	document.addEventListener("copy", function (e) { 
1215	e.preventDefault(); 
1216	alert("Copy paste is not allowed"); 
1217	}); 
1218	document.addEventListener("keydown", function (e) { 
1219	if (e.ctrlKey && (e.key ==="c"||e.key ==="C")) { 
1220	e.preventDefault(); 
1221
1222	});  
1223	});	 
1224	(function ($) {  
1225		function initMenuToggle() { 
1226			$(document) 
1227				.off('click.menuToggle', '.site-nav .has-sub > i') 
1228				.on('click.menuToggle', '.site-nav .has-sub > i', function (e) { 
1229					e.preventDefault(); 
1230					e.stopPropagation();  
1231					var $parent = $(this).closest('.has-sub'); 
1232 
1233					$parent.toggleClass('active'); 
1234					$parent.children('.child-menu').stop(true, true).slideToggle(300); 
1235				}); 
1236		}  
1237		$(document).ready(initMenuToggle);  
1238		if (typeof Liferay !== 'undefined') { 
1239			Liferay.on('endNavigate', initMenuToggle); 
1240
1241 
1242	})(jQuery); 
1243 
1244	// Generic function for Provide all the PDF size  
1245 
1246	function addPdfInfo() { 
1247		var pdfLinks = document.querySelectorAll('a[href*="/documents/"]'); 
1248	  
1249		// If no PDF links are found, exit the function 
1250		if (pdfLinks.length === 0) { 
1251			return; 
1252
1253	  
1254		pdfLinks.forEach(function(link) { 
1255	  
1256			fetch(link.href, { 
1257				method: "HEAD" 
1258			}) 
1259			.then(function(response) { 
1260	  
1261				var bytes = response.headers.get("Content-Length"); 
1262				var size = "Unknown"; 
1263	  
1264				if (bytes) { 
1265					var kb = bytes / 1024; 
1266	  
1267					if (kb < 1024) { 
1268						size = Math.round(kb) + " KB"; 
1269					} else { 
1270						size = (kb / 1024).toFixed(2) + " MB"; 
1271
1272
1273	  
1274				var info = document.createElement("span"); 
1275	  
1276				info.textContent = 
1277					" (Content: English | Format: PDF | View/Download | Size: " + 
1278					size + 
1279					")"; 
1280	  
1281				link.insertAdjacentElement("afterend", info); 
1282	  
1283			}) 
1284			.catch(function(error) { 
1285				console.error("Error fetching PDF size:", error); 
1286			}); 
1287	  
1288		}); 
1289
1290	  
1291	document.addEventListener("DOMContentLoaded", function() { 
1292		addPdfInfo(); 
1293	}); 
1294 
1295 
1296 
1297	//  Add below code for  
1298 
1299	</script> 
1300	<script> 
1301 function initMenu() { 
1302    if (document.body.dataset.menuInitialized === "true") return; 
1303    document.body.dataset.menuInitialized = "true"; 
1304 
1305    function getLinkAndMenu(li) { 
1306        return { 
1307            link: li.querySelector(":scope > a"), 
1308            menu: li.querySelector(":scope > .child-menu") 
1309        }; 
1310
1311 
1312    document.querySelectorAll(".has-sub").forEach(function (li) { 
1313        const { link, menu } = getLinkAndMenu(li); 
1314        if (!link || !menu) return; 
1315        link.setAttribute("aria-haspopup", "true"); 
1316        link.setAttribute("aria-expanded", "false"); 
1317    }); 
1318 
1319    function closeLi(li) { 
1320        li.querySelectorAll(".has-sub.open").forEach(function (subLi) { 
1321            const { link, menu } = getLinkAndMenu(subLi); 
1322            if (link) link.setAttribute("aria-expanded", "false"); 
1323            if (menu) menu.style.cssText = "display:none;visibility:hidden;opacity:0;"; 
1324            subLi.classList.remove("open"); 
1325        }); 
1326 
1327        const { link, menu } = getLinkAndMenu(li); 
1328        if (link) link.setAttribute("aria-expanded", "false"); 
1329        if (menu) menu.style.cssText = "display:none;visibility:hidden;opacity:0;"; 
1330        li.classList.remove("open"); 
1331
1332 
1333    function openLi(li) { 
1334        const { link, menu } = getLinkAndMenu(li); 
1335        if (!link || !menu) return; 
1336 
1337        Array.from(li.parentElement.children).forEach(function (sibling) { 
1338            if (sibling !== li && sibling.classList.contains("has-sub")) { 
1339                closeLi(sibling); 
1340
1341        }); 
1342 
1343        menu.style.cssText = "display:block;visibility:visible;opacity:1;"; 
1344        link.setAttribute("aria-expanded", "true"); 
1345        li.classList.add("open"); 
1346
1347 
1348    function closeAll() { 
1349        document.querySelectorAll(".has-sub.open").forEach(closeLi); 
1350
1351 
1352    document.addEventListener("click", function (e) { 
1353        const link = e.target.closest(".has-sub > a"); 
1354 
1355        if (link) { 
1356            const li = link.parentElement; 
1357            e.preventDefault(); 
1358            e.stopPropagation(); 
1359 
1360            li.classList.contains("open") ? closeLi(li) : openLi(li); 
1361 
1362            link.focus({ preventScroll: true }); 
1363            return; 
1364
1365 
1366        if (!e.target.closest(".has-sub")) { 
1367            closeAll(); 
1368
1369    }, true); 
1370 
1371    document.addEventListener("keydown", function (e) { 
1372        const link = e.target.closest(".has-sub > a"); 
1373        if (!link) return; 
1374 
1375        const li = link.parentElement; 
1376 
1377        switch (e.key) { 
1378            case "Enter": 
1379            case " ": 
1380            case "Spacebar": 
1381                e.preventDefault(); 
1382                e.stopPropagation(); 
1383 
1384                li.classList.contains("open") ? closeLi(li) : openLi(li); 
1385 
1386                link.focus({ preventScroll: true }); 
1387                break; 
1388 
1389            case "Escape": 
1390                e.preventDefault(); 
1391                e.stopPropagation(); 
1392 
1393                closeLi(li); 
1394 
1395                const parentLink = li.parentElement 
1396                    ?.closest(".has-sub") 
1397                    ?.querySelector(":scope > a"); 
1398 
1399                (parentLink || link).focus(); 
1400                break; 
1401
1402    }, true); 
1403 
1404    document.addEventListener("focusin", function () { 
1405        requestAnimationFrame(function () { 
1406            document.querySelectorAll(".has-sub.open").forEach(function (li) { 
1407                if (!li.contains(document.activeElement)) { 
1408                    closeLi(li); 
1409
1410            }); 
1411        }); 
1412    }, true); 
1413 
1414    $(document).on("click", "a[data-external-link]", function (e) { 
1415        e.preventDefault(); 
1416        ExternalLink(this.href); 
1417    }); 
1418 
1419    document.querySelector(".layout-content")?.removeAttribute("role"); 
1420
1421 
1422Liferay.on("allPortletsReady", initMenu); 
1423Liferay.on("endNavigate", initMenu); 
1424	  
1425	// External Link 
1426	$(document).on("click", "a[data-external-link]", function (e) { 
1427	  e.preventDefault(); 
1428	  var url = this.href; 
1429	  ExternalLink(url); 
1430	}); 
1431	 
1432	document.querySelectorAll(".layout-content")[0].removeAttribute('role') 
1433	</script> 

LIC Completes 52 years of service to its customer

LIC Completes 52 years of service to its customer

  • Unique New Health Plan
  • Last modified date :21/10/2015


Last modified date : Tue, 20 Jun 2023 12:19:39 +0000

Menu Display

Menu Display

Menu Display

Menu Display

Menu Display

Menu Display