function adjustWindow () {
    if ($("std_text") != null && $("std_bilder") != null) {
        text = $("std_text").getStyle('height');
        img = $("std_bilder").getStyle('height');
        pos1 = text.indexOf('px');
        pos2 = img.indexOf('px');
        txt = text.slice(0, pos1);
        img = img.slice(0, pos2);
        value = (Math.max(txt, img)-img+20)+'px';
        $("std_bilder").setStyle({
          paddingBottom: value
        });
    }
}
