-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexJS.js
43 lines (36 loc) · 972 Bytes
/
indexJS.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
/**
*
*/
function onLoadBody() {
initElements();
onLoadBody_header();
if(typeof onLoadBody_section_invite == 'function')onLoadBody_section_invite();
if(typeof onLoadBody_section_bride == 'function')onLoadBody_section_bride();
if(typeof onLoadBody_section_opening == 'function')onLoadBody_section_opening();
if(typeof onLoadBody_section_confirmation == 'function')onLoadBody_section_confirmation();
if(typeof onLoadBody_section_bonus == 'function')onLoadBody_section_bonus();
if(typeof onLoadBody_section_event == 'function')onLoadBody_section_event();
}
function initElements() {
}
function createXmlHttpRequestObject() {
var xmlHttp;
if (window.ActiveXObject) {
try {
xmlHttp = new ActiveXObject("Microsofot.XMLHTTP");
} catch (e) {
xmlHttp = false;
}
} else {
try {
xmlHttp = new XMLHttpRequest();
} catch (e) {
xmlHttp = false;
}
}
if (!xmlHttp) {
alert("Could not create XML Object");
} else {
return xmlHttp;
}
}