PageSourceSearch

https://www.astma.com.au/public/49/website/javascript.js?v=

js astma.com.au collected 2026-10-04 05:33:06 UTC 6,248 bytes, 132 lines download raw bytes

1$("#carousel-banner .item").append("")
2$('#header-social').appendTo('.social-media-top');
3$('#contentarea > div > div > h3').prependTo('.carousel-text');
4$('#contentarea > div > div > h1').prependTo('.carousel-text');
5$('#promo-bar .promopanel a').hover(function(){
6$(this).parent().next().find('a').addClass('hideBar');
7$(this).addClass('hideBar');
8},function(){
9$(this).removeClass('hideBar');
10$(this).parent().next().find('a').removeClass('hideBar');
11});
12if ($(window).width() < 767) {
13$('.navbar.navbar-inverse').prependTo('body');
14}
15$('.social-media-feed').insertAfter('#footer-top');
16$('#home-teasers-news').prependTo('#home-teasers');
17$('#home-teasers-employmentads').prependTo('#home-teasers');
18$('#home-teasers-news').removeClass('col-md-4').addClass('col-md-6');
19$('#home-teasers-employmentads').removeClass('col-md-4').addClass('col-md-6');
20$('#home-teasers-events').removeClass('col-md-4').addClass('col-md-12');
21$('#home-teasers-employmentads h3.panel-title').text('Latest Jobs');
22$('#home-teasers-employmentads a.btn-success').text('All Jobs');
23$('#home-teasers-employmentads .description p.ellipsis').each(function(i) {
24$(this).appendTo($('#home-teasers-employmentads .row').eq(i));
25});
26$('#home-teasers-news .description p.ellipsis').each(function(i) {
27$(this).appendTo($('#home-teasers-news .row').eq(i));
28});
29$('#pg-4105 .full-content .row .panel-primary .panel-body p.news-intro').each(function(i) {
30$(this).appendTo($('#pg-4105 .full-content > .row').eq(i));
31});
32$('#pg-3825 .full-content .row .panel-primary .panel-body .ad-introduction').each(function(i) {
33$(this).appendTo($('#pg-3825 .full-content > .row').eq(i));
34});
35$('#pg-3825 .full-content .row .panel-primary .panel-body > .ad-details').each(function(i) {
36$(this).appendTo($('#pg-3825 .full-content > .row').eq(i));
37});
38$('#home-teasers-employmentads .description > span').each(function(i) {
39$(this).appendTo($('#home-teasers-employmentads .row').eq(i));
40});
41$('#home-teasers-news .description > span').each(function(i) {
42$(this).appendTo($('#home-teasers-news .row').eq(i));
43});
44$('#home-teasers-events .description p.ellipsis').each(function(i) {
45$(this).appendTo($('#home-teasers-events .row').eq(i));
46});
47$('#home-teasers-events .description > span').each(function(i) {
48$(this).appendTo($('#home-teasers-events .row').eq(i));
49});
50$('#pg-4105 .full-content .row .panel-primary .panel-body > a').each(function(i) {
51$(this).appendTo($('#pg-4105 .full-content > .row').eq(i));
52});
53$('#pg-4105 .full-content .row .panel-primary .panel-body > .row').each(function(i) {
54$(this).appendTo($('#pg-4105 .full-content > .row').eq(i));
55});
56$('#pg-3825 .full-content .row .panel-primary .panel-body > .ad-more-open-wrapper').each(function(i) {
57$(this).appendTo($('#pg-3825 .full-content > .row').eq(i));
58});
59$('#home-teasers .panel-body > .row > span > a > span.read-more-label').each(function(i) {
60$(this).text('Find out more').eq(i);
61});
62$('#home-teasers .panel-body .description > span > a.btn-info.btn-sm.home-teaser-action-btn').each(function(i) {
63$(this).text('Find out more').eq(i);
64});
65$('#pg-4105 .full-content span.read-more-label').each(function(i) {
66$(this).text('Find out more').eq(i);
67});
68$('#partners').prependTo('footer');
69$('#pg-4119 .full-content .panel .panel-body p').each(function(i) {
70$(this).prependTo($('#pg-4119 .full-content .panel .panel-heading').eq(i));
71});
72$('#pg-4119 .full-content .panel .panel-heading h3').each(function(i) {
73$(this).prependTo($('#pg-4119 .full-content .panel .panel-heading').eq(i));
74});
75$('#pg-4119 .full-content .panel .panel-body img').each(function(i) {
76$(this).prependTo($('#pg-4119 .full-content .panel .panel-heading').eq(i));
77});
78if($(".ad-page")[0]){
79$('#carousel-banner').hide();
80$('#promo-bar-wrapper').hide();
81}
82$(document).ready(function () {
83  var path = window.location.pathname;
84
85  var pagesToHideBanner = [
86    "/about-us/news/",
87    "/some-other-page/"
88  ];
89
90  if (pagesToHideBanner.includes(path)) {
91    $("#footer-top").hide();
92    $("#footer-main").hide();  // <-- Hide the entire footer-main container
93
94    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(3)").hide();
95    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(4)").hide();
96    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(5)").hide();
97    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(6)").hide();
98    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(7)").hide();
99    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(8)").hide();
100    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(9)").hide();
101    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(10)").hide();
102    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(12)").hide();
103
104    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > h5").hide();
105    $("#footer-legals").hide();
106
107    $("p").filter(function() {
108      return $(this).text().trim().startsWith("RTO Training and Registration Enquiries:");
109    }).hide();
110
111  } else {
112    $("#footer-top").show();
113    $("#footer-main").show();  // <-- Show footer-main on other pages
114
115    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(3)").show();
116    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(4)").show();
117    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(5)").show();
118    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(6)").show();
119    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(7)").show();
120    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(8)").show();
121    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(9)").show();
122    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(10)").show();
123    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > p:nth-child(12)").show();
124
125    $("#footer-main > div > div:nth-child(1) > div.col-md-10 > h5").show();
126    $("#footer-legals").show();
127
128    $("p").filter(function() {
129      return $(this).text().trim().startsWith("RTO Training and Registration Enquiries:");
130    }).show();
131  }
132});

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.