1/// <reference path="Fw-appstart.js" /> 2 3//This is the starting point for script execution 4$(function () { 5 if ($("#HeaderNew").length > 0) { 6 Abou.topmenu.init(); 7 } 8 9 if ($(".feedbackForm").length > 0) { 10 Abou.contactus.init(); 11 } 12 13 if ($(".shareDialogIcon").length > 0) { 14 Abou.sharedialog.init(); 15 } 16 17 if ($("#CompareBag").length > 0) { 18 Abou.comparefacilities.init(); 19 } 20 21 if ($("#AlternativeStartPage, #TargetGroupPage, #StartPage").length > 0) { 22 Abou.imageViewer.init(); 23 } 24 25 if ($("#InfoPage, #NewsPage").length > 0) { 26 Abou.imageViewer.init(); 27 } 28 29 if ($("#GuidePage").length > 0) { 30 Abou.guideswipe.init(); 31 } 32 33 if ($("#GuideStepPage").length > 0) { 34 Abou.guideswipe.init(); 35 } 36 37 //if ($(".linkNavBox").length > 0) { 38 // Abou.linknavbox.init(); 39 //} 40 41 if ($("#SearchPage").length > 0) { 42 Abou.mainsearch.init(); 43 Abou.searchfilters.init(); 44 } 45 46 if ($("#TargetGroupPage").length > 0) { 47 Abou.toggle.init(); 48 Abou.situationslist.init(); 49 } 50 51 if ($("#FacilityListPage").length > 0) { 52 //Abou.listfacilitiesfilter.init(); 53 54 //NOTE: Very strange fix for handling that onGismoApiInitialized don't get attached in certain browsers. 55 setTimeout(Abou.listfacilitiesfilter.init, 1); 56 } 57 58 if ($("#FacilityPage .factsTable").length > 0) { 59 Abou.factstable.init(); 60 } 61 62 if ($("#EventsListPage").length > 0) { 63 Abou.listeventsfilter.init(); 64 } 65 66 // if ($("#EventListPage").length > 0) { 67 // Abou.listeventfilter.init(); 68 // } 69 70 if ($("#EServiceListPage").length > 0) { 71 //TODO: Might not need timeout 72 Abou.listeservicefilter.init(); 73 } 74 75 if ($("#NewsListPage").length > 0) { 76 Abou.listnewsfilter.init(); 77 } 78 79 if ($("#BtEvent").length > 0) { 80 Abou.btevent.init(); 81 } 82 83 //if ($("#SubMenu").length > 0) { 84 // Abou.submenu.init(); 85 //} 86 87 if ($(".shepherdStarter").length > 0) { 88 Abou.shepherd.init(); 89 } 90 91 if ($(".imageAndMapWrapper").length > 0) { 92 Abou.imageandmapwrapper.init(); 93 } 94 95 if ($(".responsiveImage").length > 0) { 96 Abou.responsiveimages.init(); 97 } 98 99 if ($(".emergencyDialog").length > 0) { 100 Abou.emergency.init(); 101 } 102 103 if ($(".flowStart").length > 0) { 104 Abou.flowchart.init(); 105 } 106 107 if ($(".cookieInfo").length > 0) { 108 Abou.cookieinfo.init(); 109 } 110 111 if ($(".relatedPages").length > 0) { 112 Abou.relatedpages.init(); 113 } 114 115 if ($(".touch iframe").length > 0) { 116 Abou.ipadiframescrollfix.init(); 117 } 118 119 if ($(".xform").length > 0) { 120 Abou.xform.init(); 121 } 122 123 if ($(".linkList.filterList").length > 0) { 124 Abou.filterlist.init(); 125 } 126 127 if ($(".heightAdjustWrapper").length > 0) { 128 Abou.blockwrapperadjuster.init(); 129 } 130 131 //Open e-service links in a new window. 132 $("a").each(function () { 133 var self = $(this); 134 if (self.hasClass("EServicePage")) { 135 self.attr("target", "_blank"); 136 } 137 }); 138});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.