PageSourceSearch

https://genesisbiotechgroup.com/js/common.js?v=1699287855

js genesisbiotechgroup.com collected 2026-10-06 16:16:53 UTC 3,545 bytes, 121 lines download raw bytes

1$(function(){        
2	$('.toggle').click(function(){		
3		var show = $(this).attr('data-on');
4		
5		if($(show).hasClass('show')) {
6			$(show).removeClass('show');
7			$(show).addClass('hide');
8			$(this).removeClass('active');
9		} else if($(show).hasClass('hide')) {
10			$(show).removeClass('hide');
11			$(show).addClass('show');
12			$(this).addClass('active');
13		} else {
14			$(show).addClass('show');
15			$(this).addClass('active');
16		}
17	});
18	
19	if($('.page-personnel').length){
20		var tabber1 = new Yetii({
21			id: 'tab-container'
22		});
23	}
24	
25	if($('.page-careersDELETE').length){
26		var container = $('.content-wrap'),
27			$select = container.find('select'),
28			$btn = container.find('.button-size');
29		
30		document.querySelector('.button-size').addEventListener('click', function() {
31			console.log('click');
32			
33			window.location.href = this.getAttribute("href");;
34		});
35		
36		function setCareerLink(e){
37			var $chosen_company;
38            
39            if(e === $btn){
40                $chosen_company = $select.val();
41            }else{
42                $chosen_company = e.attr('data-company');
43            }
44			e.attr('href', 'https://workforcenow.adp.com/jobs/apply/posting.html?client=PeacockLLC&ccId=' + $chosen_company + '&type=JS&lang=en_US');
45		}
46		
47		container.on( 'change', $select, function () {
48			setCareerLink($btn);
49		});
50		
51		setCareerLink($btn);
52        
53        $('.company_career').each(function(){
54            var $this = $(this);
55            
56            setCareerLink($this);
57        });
58	}
59	
60	if($('.page-culture').length){
61		$('#culture_gallery img:gt(0)').hide();
62	    setInterval(function(){$('#culture_gallery :first-child').fadeOut().next('img').fadeIn().end().appendTo('#culture_gallery');}, 5000);
63	}
64	
65	if($('.page-view-files').length){
66		$('#main_view').fileTree({
67			root: 'files/',
68			script: $site + '/jqueryFileTree/connectors/jqueryFileTree.asp',
69			multiFolder: false
70		}, function(file) {
71			window.open(file);
72		});
73	}
74	
75	//Add navigation highlights
76	var $current_page = $('#menu-header-menu > .current-menu-item').prevAll('.nav_line'),
77		$current_subpage = $('.sub-menu .current-menu-item').closest('.parent').prevAll('.nav_line');
78	
79	$current_page.addClass('progress');
80	$current_subpage.addClass('progress');
81	$('.sub-menu .current-menu-item').closest('.parent').addClass('current-ancestor');
82	
83	var btns = document.querySelectorAll('.notice'),
84		cont_btn = document.querySelector('.continue');
85	
86	Array.prototype.forEach.call(btns, function(el, i){
87		var href = el.getAttribute('href');
88		
89		el.addEventListener('click', function(){
90			event.preventDefault();
91			document.querySelector('.link_modal').classList.add('reveal');
92			cont_btn.setAttribute('href', href);
93		});
94	});
95});
96
97 
98$(window).scroll(function() {
99    //After scrolling 100px from the top...
100    if ( $(window).scrollTop() >= 230 ) {
101        $('.full_width').css('height', '100px');
102        $('nav').css('margin-top', '10px');
103        $('#logo').css('height', '90px');
104        $('#logo').css('margin-left', '50px');
105        $('#logo').css('width', '201px');
106        $('.sc').css('position', 'fixed');
107        $('.sc').css('top', '584px');
108    //Otherwise remove inline styles and thereby revert to original stying
109    } else {
110        $('nav, .full_width, #logo, .sc').attr('style', '');
111    }
112});
113
114function show(ele, cl, fn){
115	var el = document.querySelector(ele);
116	el.classList.toggle(cl);
117	
118	if(fn !== null){
119		fn();
120	}
121}

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.