<!--
function openPicture(image, alt, width, height) {
var img_w= Math.min(eval(width+32), 640);
var img_h= Math.min(eval(height+32), 480);
var option='width='+img_w+',height='+img_h+',resizable=yes,scrollbars=yes,menubar=no,status=no';
var win = window.open('','openPicture',option);
win.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"><title></title></head><body><img src="'+image+'" width='+width+' height='+height+' alt="'+alt+'"></body></html>');
win.document.close();
}

function ie_less_than_55() {
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion);
var is_minor = parseFloat(navigator.appVersion);
return ((agt.indexOf("msie") != -1) && (is_major <= 4) && (agt.indexOf("msie 5.5") == -1));
}

function show(src, desc) {
var body =
  '<html><head><title>'+desc+'</title></head><body style="background-color: #D9FFCC;">'+
  '<div align="center"><img src="'+src+'"><p style="text-align:center;font-size:12px;font-family:Verdana,Arial,Helvetica;">'+desc+'</p>'+
  '</div></body></html>';

var option = 'resizable=yes,scrollbars=no,menubar=no,status=no, width=400,height=400';
var win = window.open('','show',option);
win.document.write(body);
win.document.close();
}

function write_gallery_table_start(aname, title) {
document.write('<a name="'+aname+'"></a><table><tr><td><p class="subtitle">'+title+'</p></td></tr></table>'+
'<table class="gallery" cellpadding="5"><tr valign="top">');
}

function write_gallery_td(imgsrc, desc) {
document.write('<TD ALIGN="center">'+
'<p style="font-size: 10px; font-family: Verdana, Arial, Helvetica; text-align: center;">'+
'<A HREF="javascript:show(\''+imgsrc+'.jpg\',\''+desc+'\');" onmouseover="window.status=\'\'; return true;">'+
'<IMG SRC="'+imgsrc+'_t.jpg" HEIGHT=98 ALT="Kliknij, żeby zobaczyć powiększenie ..." border="0">'+
'</a>'+
'<BR CLEAR="all">'+
desc+
'</p>'+
'</TD>');
}

function write_gallery_td3(desc) {
document.write('<td colspan="3" align="center">'+
'<p style="font-size: 10px; font-family: Verdana, Arial, Helvetica; text-align: center;">'+
desc+'</p></td>');
}

function write_gallery_td2(desc) {
document.write('<td colspan="2" align="center">'+
'<p style="font-size: 10px; font-family: Verdana, Arial, Helvetica; text-align: center;">'+
desc+'</p></td>');
}


function write_picture_link(imgsrc, imgtitle, imgw, imgh, ahref_class, statmsg) {
var s = ahref_class;
var a = '<a';
if (s.length > 0)
  a += ' class="'+ahref_class+'"';
a += ' href="javascript:openPicture(\''+imgsrc+'\',\''+imgtitle+'\','+imgw+','+imgh+')"';
a += ' onmouseover="window.status=\''+statmsg+'\';return true;"';
a += ' onmouseout="window.status=\'\';return true;"';
a += '>';
document.write(a);
}

function write_picture_link_pl(imgsrc, imgtitle, imgw, imgh, ahref_class) {
  write_picture_link(imgsrc, imgtitle, imgw, imgh, ahref_class, 'Kliknij, żeby zobaczyć zdjęcie');
}

function write_picture_link_en(imgsrc, imgtitle, imgw, imgh, ahref_class) {
  write_picture_link(imgsrc, imgtitle, imgw, imgh, ahref_class, 'Click to see a picture');
}


function write_gototop_pl() {
document.write('<hr><div align="right"><a href="#top">'+
'<img src="../img/arrow155.gif" width="20" height="20" border="0" alt="Powrót na początek strony">'+
'</a></div>');
}

function write_gototop_en() {
document.write('<hr><div align="right"><a href="#top">'+
'<img src="../img/arrow155.gif" width="20" height="20" border="0" alt="Go back to the top of the page">'+
'</a></div>');
}

function back_to_frames_pl() {
if (self==top) document.location = "../index.html";
}

function back_to_frames_en() {
if (self==top) document.location = "../indexe.html";
}

function write_gototop_root_pl() {
document.write('<hr><div align="right"><a href="#top">'+
'<img src="img/arrow155.gif" width="20" height="20" border="0" alt="Powrót na początek strony">'+
'</a></div>');
}

function write_gototop_root_en() {
document.write('<hr><div align="right"><a href="#top">'+
'<img src="img/arrow155.gif" width="20" height="20" border="0" alt="Go back to the top of the page">'+
'</a></div>');
}

function back_to_frames_root_pl() {
if (self==top) document.location = "index.html";
}

function back_to_frames_root_en() {
if (self==top) document.location = "indexe.html";
}


function popup(src, w, h)
    {
    var left_x = (screen.width) ? (screen.width-w)/2 : 0;
    var top_y = (screen.height) ? (screen.height-h)/2 : 0;
    var option = 'top='+top_y+',left='+left_x+',width='+w+',height='+h+',resizable=no,scrollbars=no,menubar=no,status=no';
    var win = window.open('','popup', option);
    win.document.write(src);
    win.document.close();
    }

function popup_on_start(caption, title, msg) {
    var src=
    '<html><head><title>'+caption+'</title>'+
    '<style type="text/css">'+
    'body { background-color: aqua; } '+
    'p { color: black; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; text-align: center; } '+
    'p.title { color: yellow; font-size: 18px; font-weight: bolder; } '+
    '</style></head><body>'+
    '<p class="title">'+title+'</p>'+
    /*'<p style="text-align: center;"><img src="../img/eliksir1.jpg"></p>'+*/
    '<p>'+msg+'</p></body></html>';
    popup(src, 500, 200);
}


function popup_pl() {
	popup_on_start(	'UWAGA!!!',
		'Planujemy następny miot<br>szczeniąt szwajcarskich !!!<br><br>'+
		'Miot jest przewidywany na początek września.<br>',
        'Prowadzimy zapisy chętnych !');
	}

function popup_en() {
	popup_on_start(	'NEXT LITTER IS COMING !!!',
		'The new Swissy puppies are expected<br><br>in the beginning of Septemeber<br>',
		'If you are interested please contact us.');
	}

// -->
