function txt2img(t2text, t2txtcolor, t2bgcolor, t2size, t2font, t2notcolor, t2notice ) { if (typeof t2text == "undefined" || t2text == "") t2text = "테스트"; if (typeof t2font == "undefined" || t2font == "") t2font = "nanum.ttf"; if (typeof t2size == "undefined" || t2size == "") t2size = "12"; if (typeof t2notice == "undefined" || t2notice == "") t2notice = "12"; if (typeof t2bgcolor == "undefined" || t2bgcolor == "") t2bgcolor = "ffffff"; if (typeof t2txtcolor == "undefined" || t2txtcolor == "") t2txtcolor = "000000"; if (typeof t2notcolor == "undefined" || t2notcolor == "") t2notcolor = "ffffff"; var t2fonturl = ""; var str = ""; t2fonturl = "/home/wcsolution/share_file/fonts/"; t2fonturl = "/newatobaby/www/data/fonts/"; t2font = t2fonturl + t2font; if (typeof t2notice == "undefined") t2notice = "false"; str += ''+t2text+''; document.write(str); } function txt2imgSrc(t2text, t2txtcolor, t2bgcolor, t2size, t2font, t2notcolor, t2notice ) { if (typeof t2text == "undefined" || t2text == "") t2text = "테스트"; if (typeof t2font == "undefined" || t2font == "") t2font = "nanum.ttf"; if (typeof t2size == "undefined" || t2size == "") t2size = "12"; if (typeof t2notice == "undefined" || t2notice == "") t2notice = "12"; if (typeof t2bgcolor == "undefined" || t2bgcolor == "") t2bgcolor = "ffffff"; if (typeof t2txtcolor == "undefined" || t2txtcolor == "") t2txtcolor = "000000"; if (typeof t2notcolor == "undefined" || t2notcolor == "") t2notcolor = "ffffff"; var t2fonturl = ""; var str = ""; t2fonturl = "/home/wcsolution/share_file/fonts/"; t2fonturl = "/newatobaby/www/data/fonts/"; t2font = t2fonturl + t2font; if (typeof t2notice == "undefined") t2notice = "false"; str += '/webcSolution/txt2img/txt2imgcore.php?text='+encodeURIComponent(t2text)+'&font='+t2font+'&size='+t2size+'¬ice='+t2notice+'&bgcolor='+t2bgcolor+'&txtcolor='+t2txtcolor+'¬color='+t2notcolor+''; return str; }