/*添加附件 click*/
var contentindex=0;
function addFileHtml(){
var contentHTML="<input id=\"file"+contentindex+"\" style=\"width: 635px;\" type=\"file\" size=80 name=\"supportattachement"+contentindex+"\" ><a href=\"javascript:void(0);\" οnclick=\"delFileHtml(file"+contentindex+");\" style=\"margin-left: 4px;\">删除</a>";
document.getElementById('addfile').innerHTML=document.getElementById('addfile').innerHTML+"<br/>"+contentHTML;
contentindex++;
}
function delFileHtml(the){
var objDiv=document.getElementById("addfile");
objDiv.removeChild(the);
var contentindex=0;
function addFileHtml(){
var contentHTML="<input id=\"file"+contentindex+"\" style=\"width: 635px;\" type=\"file\" size=80 name=\"supportattachement"+contentindex+"\" ><a href=\"javascript:void(0);\" οnclick=\"delFileHtml(file"+contentindex+");\" style=\"margin-left: 4px;\">删除</a>";
document.getElementById('addfile').innerHTML=document.getElementById('addfile').innerHTML+"<br/>"+contentHTML;
contentindex++;
}
function delFileHtml(the){
var objDiv=document.getElementById("addfile");
objDiv.removeChild(the);
}
imp:name=\"supportattachement"+contentindex+"\" ><a