PageSourceSearch

https://www.usacm.org/scripts/scripts.js

js usacm.org collected 2026-10-01 12:02:57 UTC 4,603 bytes, 161 lines download raw bytes

1function DisplayLink(Location){
2       document.write('<a href="' + Location + '">');
3}
4
5function form_submit(sortby){
6document.directory_form.sortby.value = sortby;
7document.directory_form.submit();
8}
9
10function messaging_form_submit(process){
11if(document.messaging_form.RecipientList.value == '')
12{alert('Please Select The Recipients For This Email');}
13
14else if(document.messaging_form.SenderEmail.value == '')
15{alert('Please Enter A From Email Address');}
16
17else if(document.messaging_form.Subject.value == '')
18{alert('Please Enter A Message Subject');}
19
20else if(document.messaging_form.confirmation.checked == false)
21{alert('Please Confirm That You Would Like To Send This Email');}
22
23else{
24document.messaging_form.process.value = process;
25document.messaging_form.submit(); }
26}
27
28function committee_form_submit(sortby){
29document.committee_form.sortby.value = sortby;
30document.committee_form.submit();
31}
32
33function communication_form_submit(sortby){
34document.communication_form.sortby.value = sortby;
35document.communication_form.submit();
36}
37
38function event_form_submit(pk_association_event){
39document.event_form.pk_association_event.value = pk_association_event;
40document.event_form.submit();
41}
42
43function dues_history_form_submit(process,id){
44document.dues_history_form.process.value = process;
45document.dues_history_form.id.value = id;
46document.dues_history_form.submit();
47}
48
49function job_board_form_submit(sortby,process,id){
50document.job_board_form.sortby.value = sortby;
51document.job_board_form.process.value = process;
52document.job_board_form.id.value = id;
53document.job_board_form.submit();
54}
55
56function job_board_detail_form_submit(id){
57document.job_board_detail_form.pk_association_job.value = id;
58document.job_board_detail_form.submit();
59}
60
61function classified_ad_form_submit(sortby,process,id){
62document.classified_ad_form.sortby.value = sortby;
63document.classified_ad_form.process.value = process;
64document.classified_ad_form.id.value = id;
65document.classified_ad_form.submit();
66}
67
68function classified_ad_public_form_submit(ad_sortby,process,id){
69document.classified_ad_public_form.ad_sortby.value = ad_sortby;
70document.classified_ad_public_form.process.value = process;
71document.classified_ad_public_form.id.value = id;
72document.classified_ad_public_form.submit();
73}
74
75function classified_ad_detail_form_submit(id){
76document.classified_ad_detail_form.pk_association_classified.value = id;
77document.classified_ad_detail_form.submit();
78}
79
80function resume_board_form_submit(sortby,process,id){
81document.resume_board_form.sortby.value = sortby;
82document.resume_board_form.process.value = process;
83document.resume_board_form.id.value = id;
84document.resume_board_form.submit();
85}
86
87function resume_board_detail_form_submit(id){
88document.resume_board_detail_form.pk_association_resume.value = id;
89document.resume_board_detail_form.submit();
90}
91
92function primary_contact_form_submit(id){
93document.primary_contact_form.id.value = id;
94document.primary_contact_form.submit();
95}
96
97function education_form_submit(process,id){
98document.education_form.process.value = process;
99document.education_form.id.value = id;
100document.education_form.submit();
101}
102
103function ce_form_submit(sortby,process,id){
104document.ce_form.sortby.value = sortby;
105document.ce_form.process.value = process;
106document.ce_form.id.value = id;
107document.ce_form.submit();
108}
109
110function DisplayWebLink(domain){
111document.write('<a href=\"http://' + domain + '\" target=\"_blank\">');
112document.write(domain + '</a>');
113}
114
115function DisplayEMail(name,domain){
116document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
117document.write(name + '@' + domain + '</a>');
118}
119
120function googleTranslateElementInit() {
121  new google.translate.TranslateElement({
122    pageLanguage: 'en',
123    includedLanguages: 'fr,es'
124  }, 'google_translate_element');
125}
126
127function toggleContent(target)
128{
129	var theDiv = document.getElementById(target);
130	if(theDiv.style.display == 'block')
131	{
132		theDiv.style.display = 'none';	
133	}
134	else
135	{
136		theDiv.style.display = 'block';
137	}
138}
139
140function toggleLoad(target)
141{
142	var theDiv = document.getElementById(target);
143	
144	theDiv.style.display = 'none';
145	$('loading').style.display = 'block';
146}
147
148function messaging_form_submit(process){
149if(document.messaging_form.RecipientList.value == '')
150{alert('Please Select The Recipients For This Email');}
151
152else if(document.messaging_form.SenderEmail.value == '')
153{alert('Please Enter A From Email Address');}
154
155else if(document.messaging_form.Subject.value == '')
156{alert('Please Enter A Message Subject');}
157
158else{
159document.messaging_form.process.value = process;
160document.messaging_form.submit(); }
161}

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.