+Hske6gGv
/+ACoAKg
 +ACo Otwiera okienko o okreslonych wymiarach.
 +ACo-/
function window+AF8-open(url, w, h) +AHs
	szerokosc +AD0 w
	wysokosc  +AD0 h
	window.open(url, '+AF8-blank', 'toolbar+AD0-no,location+AD0-no,directories+AD0-no,status+AD0-yes,menubar+AD0-no,width+AD0' +- szerokosc +- ',height+AD0' +- wysokosc +- ',scrollbars+AD0-yes,resizable+AD0-no')+ADs
+AH0

/+ACoAKg
 +ACo Otwiera okienko bez rozmiaru.
 +ACo-/
function window+AF8-open2(url) +AHs
    window.open(url, '+AF8-blank', 'toolbar+AD0-no,location+AD0-no,directories+AD0-no,status+AD0-yes,menubar+AD0-no,scrollbars+AD0-no,resizable+AD0-yes')+ADs
+AH0

/+ACoAKg
 +ACo Zmienia klase obiektu
 +ACo-/
function changeClass(menu, newClass) +AHs 
	if (document.getElementById) +AHs 
		document.getElementById(menu).className +AD0 newClass+ADs
	+AH0 
+AH0 

/+ACoAKg
 +ACo Wysyla mail. Adres jest zakodowany.
 +ACo-/
function email(addr) +AHs
	window.open('mailto:' +- addr)+ADs
+AH0

/+ACoAKg
 +ACo Odwraca kolejnosc znakow
 +ACo-/
function reverse(addr) +AHs
	r +AD0 ''
	l +AD0 addr.length
	for (i +AD0 0+ADs i +ADw l+ADs i+-+-) +AHs
		r +-+AD0 addr.charAt(l - i - 1)+ADs
	+AH0
	return r+ADs
+AH0

// Show/hide element by id
// +AEA-ids Id or ids separated by +ADs
function sh(ids) +AHs
    t +AD0 ids.split('+ADs')
    for (i +AD0 0+ADs i +ADw t.length+ADs i+-+-)
        if (document.getElementById)
            with (document.getElementById(t+AFs-i+AF0).style) +AHs
                if (display +AD0APQ 'none')
                    display +AD0 'block'
                else
                    display +AD0 'none'
            +AH0
+AH0

/+ACoAKg
 +ACo Zmienia jezyk
 +ACo-/
function change+AF8-lang(lang) +AHs
    url +AD0 +ACI-http://+ACI +- lang +- +ACI.flybook.pl+ACI
    if (document.location.pathname)
        url +-+AD0 document.location.pathname 
    if (document.location.search)
        url +-+AD0 document.location.search
    if (document.location.hash)
        url +-+AD0 document.location.hash
    document.location.href +AD0 url
+AH0
