function copy_xx_tr0(){ var all_obj0=document.getElementById("select_main").outerText; var select_obj0=document.selection.createRange().text if (select_obj0==''){ //alert('请先选择要引用的内容!'); document.yinyong_from0.copy_xx.value=all_obj0; yinyong_from0.submit(); }else{ if (all_obj0.indexOf(select_obj0)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from0.copy_xx.value=document.selection.createRange().text; yinyong_from0.submit(); } } } function copy_xx_tr1(){ var all_obj1=document.getElementById("select_back1").outerText; var select_obj1=document.selection.createRange().text if (select_obj1==''){ //alert('请先选择要引用的内容!'); document.yinyong_from1.copy_xx.value=all_obj1; yinyong_from1.submit(); }else{ if (all_obj1.indexOf(select_obj1)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from1.copy_xx.value=document.selection.createRange().text; yinyong_from1.submit(); } } } function copy_xx_tr2(){ var all_obj2=document.getElementById("select_back2").outerText; var select_obj2=document.selection.createRange().text if (select_obj2==''){ //alert('请先选择要引用的内容!'); document.yinyong_from2.copy_xx.value=all_obj2; yinyong_from2.submit(); }else{ if (all_obj2.indexOf(select_obj2)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from2.copy_xx.value=document.selection.createRange().text; yinyong_from2.submit(); } } } function copy_xx_tr3(){ var all_obj3=document.getElementById("select_back3").outerText; var select_obj3=document.selection.createRange().text if (select_obj3==''){ //alert('请先选择要引用的内容!'); document.yinyong_from3.copy_xx.value=all_obj3; yinyong_from3.submit(); }else{ if (all_obj3.indexOf(select_obj3)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from3.copy_xx.value=document.selection.createRange().text; yinyong_from3.submit(); } } } function copy_xx_tr4(){ var all_obj4=document.getElementById("select_back4").outerText; var select_obj4=document.selection.createRange().text if (select_obj4==''){ //alert('请先选择要引用的内容!'); document.yinyong_from4.copy_xx.value=all_obj4; yinyong_from4.submit(); }else{ if (all_obj4.indexOf(select_obj4)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from4.copy_xx.value=document.selection.createRange().text; yinyong_from4.submit(); } } } function copy_xx_tr5(){ var all_obj5=document.getElementById("select_back5").outerText; var select_obj5=document.selection.createRange().text if (select_obj5==''){ //alert('请先选择要引用的内容!'); document.yinyong_from5.copy_xx.value=all_obj5; yinyong_from5.submit(); }else{ if (all_obj5.indexOf(select_obj5)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from5.copy_xx.value=document.selection.createRange().text; yinyong_from5.submit(); } } } function copy_xx_tr6(){ var all_obj6=document.getElementById("select_back6").outerText; var select_obj6=document.selection.createRange().text if (select_obj6==''){ //alert('请先选择要引用的内容!'); document.yinyong_from6.copy_xx.value=all_obj6; yinyong_from6.submit(); }else{ if (all_obj6.indexOf(select_obj6)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from6.copy_xx.value=document.selection.createRange().text; yinyong_from6.submit(); } } } function copy_xx_tr7(){ var all_obj7=document.getElementById("select_back7").outerText; var select_obj7=document.selection.createRange().text if (select_obj7==''){ //alert('请先选择要引用的内容!'); document.yinyong_from7.copy_xx.value=all_obj7; yinyong_from7.submit(); }else{ if (all_obj7.indexOf(select_obj7)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from7.copy_xx.value=document.selection.createRange().text; yinyong_from7.submit(); } } } function copy_xx_tr8(){ var all_obj8=document.getElementById("select_back8").outerText; var select_obj8=document.selection.createRange().text if (select_obj8==''){ //alert('请先选择要引用的内容!'); document.yinyong_from8.copy_xx.value=all_obj8; yinyong_from8.submit(); }else{ if (all_obj8.indexOf(select_obj8)==-1){ alert('请先选择要引用的内容!'); }else{ document.yinyong_from8.copy_xx.value=document.selection.createRange().text; yinyong_from8.submit(); } } }