forked from WordPress/WordPress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Functions.js
81 lines (65 loc) · 1.73 KB
/
Functions.js
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
function LastUpdate(){
document.write("<img src='GuznerConsultingS.gif'><FONT SIZE=-1>Updated on 8/2/2018</FONT>");
}
function Header()
{
LastUpdate();
}
function Hr(){
document.write("<hr>");
}
function Link2Page(pPath, pLabel, bUpdated)
{
document.write(' <A HREF="'+pPath+'" target=_blank>');
if(bUpdated!=null)
document.write('<B>');
document.write(pLabel);
if(bUpdated!=null)
document.write('</B>');
document.write('</A>');
}
function More(pAddress){
Link2Page(pAddress, "More...");
}
function Email(pAddress){
document.write('<A href="mailto:'+pAddress+
'?Subject=RegmagiK&body=RegmagiK web address is: http://www.regmagik.com">'+
pAddress+'</A>');
}
function ContactMe(sSubject){
document.write('<A href="/contact/">Contact us</A><br>');
}
function SendMessage(pText, pTip, pSubject, pMessage)
{
document.write('<A href=');
document.write('"');
document.write('mailto:?subject=');
document.write(pSubject);
document.write('&body=');
document.write(pMessage);
document.write('"');
document.write('title="'+pTip+'"');
document.write('>');
document.write('<IMG border=0 src="icoEmail.gif">');
document.write(pText);
document.write('</A>');
}
defaultText="Tell a friend";
defaultTip="e-mail friend(s)";
function TellAFriend(pAddress, pTitle)
{
if(pAddress==null)
pAddress=document.location;
if(pTitle==null)
pTitle=pAddress;
SendMessage(defaultText, defaultTip, pTitle, "The address is: " + pAddress);
}
function Copyright(){
document.write("<font size=-1><p><i>"+
"Copyright © 1999-2018 <a href='/contact/'>Boris Guzner</a>. All rights reserved."+
"</i></p></font>");
}
function Footer(){
Hr();
Copyright();
}