function showUploadDialog(s_Type, s_Link, s_Thumbnail){
    var arr = showModalDialog("eWebEditor/dialog/i_upload.htm?style=coolblue&type="+s_Type+"&link="+s_Link+"&thumbnail="+s_Thumbnail, window, "dialogWidth: 0px; dialogHeight: 0px; help: no; scroll: no; status: no");
}

function num_1()
{
    var num_1=document.getElementById("Num_1").value;
    var num_1_str=document.getElementById("num_1_str");
    var str;
    str="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
    for(var i=0;i<num_1;i++)
    {
        str=str+"   <tr height='25'>";
        str=str+"       <td><input type='text' size='60' name='OtherPic"+(parseInt(i)+1)+"' id='OtherPic"+(parseInt(i)+1)+"' /> <input type=\"button\" value=\"ÉÏ´«Í¼Æ¬\" onclick=\"showUploadDialog('image', 'myform.OtherPic"+(parseInt(i)+1)+"', '')\"></td>";
        str=str+"   </tr>";
    }
    str=str+"</table>";
    num_1_str.innerHTML=str;
}

function num_1_1()
{
    var num_1=document.getElementById("Num_1").value;
    var num_1_str=document.getElementById("num_1_str");
    var str;
    str="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
    str=str+"   <tr height='25'>";
    str=str+"       <td><input type='text' size='60' name='OtherPic"+(parseInt(num_1)+1)+"' id='OtherPic"+(parseInt(num_1)+1)+"' /> <input type=\"button\" value=\"ÉÏ´«Í¼Æ¬\" onclick=\"showUploadDialog('image', 'myform.OtherPic"+(parseInt(num_1)+1)+"', '')\"></td>";
    str=str+"   </tr>";
    str=str+"</table>";
    num_1_str.innerHTML=num_1_str.innerHTML+str;
    document.getElementById("Num_1").value=(parseInt(num_1)+1);
}