-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
65 lines (55 loc) · 1.61 KB
/
contact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
title: Contact Us
id: contact
photo-url: assets/operator.jpg
photo-alt: Operator!
photo-title:
---
<script>
function writeMailtoLink(text, addrWriter) {
document.write('<a href="ma');
document.write('ilto');
document.write(':');
addrWriter();
document.write('"">');
document.write(text);
document.write('</a>');
}
function writeMAFEmail() {
document.write('matthias.ferber');
document.write('@');
document.write('gma');
document.write('il.');
document.write('com');
}
function writeRAWEmail() {
document.write('rebecca.wrigley');
document.write('@');
document.write('gma');
document.write('il.');
document.write('com');
}
function writeMAFEmailLink() {
writeMailtoLink('Matthias', writeMAFEmail);
}
function writeRAWEmailLink() {
writeMailtoLink('Rebecca', writeRAWEmail);
}
function writeBothEmailLink() {
writeMailtoLink('Both of us', function() {
writeMAFEmail();
document.write(',');
writeRAWEmail();
})
}
</script>
<a href="mailto:[email protected]" aria-hidden="true" tabindex="-1" style="display: none;">[email protected]</a>
<div class="contact">
<p>Got questions? Email us:</p>
<ul class="contactEmail">
<li><script>writeMAFEmailLink();</script></li>
<li><script>writeRAWEmailLink()</script></li>
<li><script>writeBothEmailLink()</script></li>
</ul>
<p>Or call Matthias at <span class="tel">617-909-5685</span>.</p>
</div>