PageSourceSearch

https://usastudenttour.com/booking/scripts/booking_email_popups.js

js usastudenttour.com collected 2026-10-06 13:14:34 UTC 1,224 bytes, 45 lines download raw bytes

1		$(function(){
2		
3			var window_width = $(window).width();
4			var window_height = $(window).height();
5			var id;
6			
7			$('.close').click(function (){
8				$(this).parent().hide();
9				return false;
10			})
11
12			$('.emailbutton').click(
13				function () {
14					var id = $(this).attr('id');
15					$.ajax ({
16						url:'includes/email.php',
17						type:'get',
18						data:{'towho':id},
19						success: whatnext
20					}) 
21				}
22			);
23			
24			$('.printbutton').click(
25				function () {
26					window.open('includes/print.php', 'print');
27				}
28			);
29
30
31			$('#pop_whatnext a').click(function (){ $(this).parent().hide()});
32			
33			function whatnext (returned) {
34				var scroll_top = $(window).scrollTop();
35				var center_width = ((window_width/2)-200);
36				var center_height = (scroll_top+(window_height)/2);
37				if (returned=='conf_agent') {
38					$('.conff_agent').css({'left':center_width,'top':center_height}).show();
39				} else if (returned=='conf_customer') {
40					$('.conff_customer').css({'left':center_width,'top':center_height}).show();
41				} else if (returned=='conf_customer_agent') {
42					$('.conff_customer_agent').css({'left':center_width,'top':center_height}).show();
43				}
44			}
45		})

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.