function WriteEmbed(emb_id){ 
    document.write(document.getElementById(emb_id).value);
} 


function NewWindow(mypage, myname, w, h, re, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops =
'width=' +w+ ',height=' +h+ ',top=' +wint+ ',left=' +winl+ ',resizable=' +re+ ',scrollbars=' + scroll;
win = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
