PageSourceSearch

https://online.ergo-ubezpieczeniapodrozy.pl/moje-podroze/js/DhtmlFunctions.js

js ergo-ubezpieczeniapodrozy.pl collected 2026-10-07 03:20:20 UTC 7,258 bytes, 188 lines download raw bytes

1<!--
2var waitPleaseString = "Przetwarzamy żądanie. Proszę czekać ...";
3
4//var alertPrintString = 'Váš prohlížeč pravděpodobně nepodporuje funkci pro automatický tisk.\n' +
5//'Nastavte ukazovátko do dokumentu, stiskněte pravé tlačítko myši\n' +
6//'a zvolte funkci Tisk(Print) nebo použijte příslušnou funkci z menu.';
7
8//Twoja przeglądarka nie obsługuje funkcji automatycznego drukowania.
9//Ustaw kursor na dokumencie, naciśnij prawy przycisk myszy
10//i wybierz Drukuj(Print) lub użyć odpowiedniej funkcji z menu
11
12var alertPrintString = 'Twoja przeglądarka nie obsługuje funkcji automatycznego drukowania.\n' +
13'Ustaw kursor na dokumencie, naciśnij prawy przycisk myszy\n' +
14'i wybierz Drukuj(Print) lub użyć odpowiedniej funkcji z menu.';
15
16// Funkce pro praci s obrazky
17function MM_preloadImages() { //v3.0
18  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
19    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
20    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
21}
22function MM_swapImgRestore() { //v3.0
23  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
24}
25function MM_findObj(n, d) { //v4.0
26  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
27    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
28  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
29  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
30  if(!x && document.getElementById) x=document.getElementById(n); return x;
31}
32function MM_swapImage() { //v3.0
33  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
34   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
35}
36function show(object) {
37    if (document.getElementById && document.getElementById(object) != null)
38         node = document.getElementById(object).style.visibility='visible';
39    else if (document.layers && document.layers[object] != null)
40        document.layers[object].visibility = 'visible';
41    else if (document.all)
42        document.all[object].style.visibility = 'visible';
43}
44function hide(object) {
45    if (document.getElementById && document.getElementById(object) != null)
46         node = document.getElementById(object).style.visibility='hidden';
47    else if (document.layers && document.layers[object] != null)
48        document.layers[object].visibility = 'hidden';
49    else if (document.all)
50         document.all[object].style.visibility = 'hidden';
51}
52function resetDrak() {
53// Funkce pro nastaveni obrazku krokodyla doprava dolu
54//	document.all.Drak.style.posTop = document.body.scrollTop + document.body.offsetHeight - 95;
55//	document.all.Drak.style.posLeft = (document.body.offsetWidth / 2) + 290;
56//	helpy = document.body.scrollTop + document.body.offsetHeight - 205;
57//	helpx = (document.body.offsetWidth / 2) + 138;
58//	nd();
59}
60// Funkce pro pohyb textove informace
61function houpejText() {
62	if (objGet('RotText')) {
63		var rt = objGet('RotText');
64		if (!document.houpejKrok) {
65			document.houpejObratky = new Number(2);
66			document.houpejKrok = new Number(-3);
67			document.houpejKmit = parseInt(rt.style.width,10) / 2;
68			rt.style.left = 0;
69		}
70		if (parseInt(rt.style.left,10) <= -(document.houpejKmit) || parseInt(rt.style.left,10) >= document.houpejKmit) {
71			document.houpejKrok = -document.houpejKrok;
72			document.houpejObratky--;
73		}
74		if (document.houpejObratky >= 0) {
75			rt.style.left = parseInt(rt.style.left,10) + document.houpejKrok;
76			if (!(document.houpejObratky == 0 && Math.abs(parseInt(rt.style.left,10)) < Math.abs(document.houpejKrok))) {
77				setTimeout(houpejText,50);
78			}
79		}
80	}
81}
82
83// ImgOn, ImgOff
84// parametrem je objekt obrazek;
85// funkce meni zdroj obrazku pri najeti mysi;
86// ke jmenu souboru se pripoji koncovka _on
87// nap. but_finish.jpg --> but_finish_on.jpg
88function ImgOn (objWhat) {
89	var strFil, strExt;
90	var d=document;
91	if (!d.strImageSave) d.strImageSave = new String('');
92	d.strImageSave = objWhat.src;
93	strFil = d.strImageSave.substring(0,d.strImageSave.lastIndexOf('.'));
94	strExt = d.strImageSave.substring(d.strImageSave.lastIndexOf('.') + 1, d.strImageSave.length);
95	objWhat.src = strFil + '_on.' + strExt;
96}
97function ImgOff (objWhat) {
98	var d=document;
99	if (!d.strImageSave) d.strImageSave = new String('');
100	if (d.strImageSave != '') objWhat.src = d.strImageSave;
101}
102
103// ButOn, ButOff
104// parametrem je pole tabulky;
105// funkce meni pozadi pole pri najeti mysi;
106// ke jmenu souboru se pripoji koncovka _on
107// napr. but_blank.jpg --> but_blank_on.jpg
108function ButOn (objWhat, strInfo) {
109	var strFil, strExt;
110	var d=document;
111	if (!d.strButSave) d.strButSave = new String('');
112	d.strButSave = objWhat.style.backgroundImage;
113	strFil = d.strButSave.substring(0,d.strButSave.lastIndexOf('.'));
114	strExt = d.strButSave.substring(d.strButSave.lastIndexOf('.') + 1, d.strButSave.length);
115	objWhat.style.backgroundImage = strFil + '_on.' + strExt;
116	if (strInfo!='') HelpOn(strInfo, ABOVE);
117}
118function ButOff (objWhat) {
119	var d=document;
120	if (!d.strButSave) d.strButSave = new String('');
121	if (d.strButSave != '') objWhat.style.backgroundImage = d.strButSave;
122	nd();
123}
124function HelpOn (strInfo,intPos) {
125	var parlen = arguments.length;
126	var pos = (typeof ABOVE != 'undefined') ? ABOVE : 'ABOVE';
127	if (parlen > 1) pos = intPos;
128	if (strInfo!='' && window.helpTooltip) window.helpTooltip.show(strInfo, pos);
129}
130function nd() {
131	if (window.helpTooltip) window.helpTooltip.hide();
132	return true;
133}
134// WaitPlease
135// parametrem je objekt dokumentu - textovy prvek
136// funkce vymaze obsah textoveho prvku, zvetsi velikost pisma, vycentruje
137// a vlozi text Cekejte prosim ...
138function WaitPlease (objWhat) {
139	if (objWhat.innerText == undefined)
140		objWhat.textContent = '';
141	else
142		objWhat.innerText = '';
143	objWhat.style.fontSize='larger';
144	objWhat.style.textAlign='center';
145	objWhat.innerHTML='<p class="nadpis" align="center"><br><br><br><br>' + waitPleaseString + '</p>';
146}
147
148// PrintDoc
149// funkce otevre tiskovy dialog, podporuje-li prohlizec funkci window.print
150function PrintDoc() {
151	if(Boolean(window.print))
152		window.print();
153	else
154		alert(alertPrintString);
155}
156function HitCounter() {
157	var s;
158	s='00'+Math.floor(Math.random()*100).toString(10);
159	s=s.substr(s.length-2,2);
160	return(s);
161}
162
163// objGet
164// funkce na hledani objektu podle ID
165function objGet(x) {
166	if (Boolean(document.getElementById)) {
167    return document.getElementById(x); 
168  }
169	else if (Boolean(document.all)) {
170    return document.all[x]; 
171  }
172	else if (Boolean(document.ids)) return document.ids[x];
173	else return null;
174}
175
176function showProduct(n)
177{
178	window.open('http://www.evropska.cz/files/produkty/kalk_poj'+n+'.htm', 'product' + n, 'width=635,height=380,directories=no,location=no,menubar=no,resizable=no,toolbar=no,scrollbars=yes');
179}
180
181function ShowAddress2(objAdr2,adr2info) {
182    objAdr2.style.display='inline';
183    adr2info.style.display='none';
184    objAdr2.focus();
185    objAdr2.select();
186}
187//-->
188

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.