function tramain () { var el = top.get_by_id (document, 'mains'); if (el) el.style.width = document.body.clientWidth - 16; } function start_mpage (p) { document.write (''); document.write (''); window.onresize=tramain; document.write (''+ ''+ ''+ '
'); } function close_mpage () { document.write ('
'); } // bord type, center width, left top width, left top height, right width, inner padding, bg color function start_bord_t (t,w,ltw,lth,lw,p,bg,mgh,twd) { return ''+ ''+ ''+ ''+ ''; } function start_bord (t,w,ltw,lth,lw,p,bg) { document.write (start_bord_t (t,w,ltw,lth,lw)); } function close_bord_t (t,w,bh) { return ''+ ''+ ''+ '
'; } // +bottom height function close_bord (t,w,bh) { document.write (close_bord_t (t,w,bh)); } function prop_resize () { if (document.all) { window.resizeBy (16, 0); return false; } var el = get_by_idl ('odesc'); if (el) { var hdif = window.outerHeight - window.innerHeight; if (hdif == 0) hdif = 16; if (window.innerHeight != el.clientHeight) { var nhgt = el.clientHeight + 2 * hdif; var edif = (window.outerHeight - nhgt) / 2; window.resizeTo (window.outerWidth, nhgt); window.moveBy (0, edif); } } return false; }