'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ls400螺旋輸送機全套cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'LS400螺旋輸送機 (包含85個文件)', },{ id:'0000100001', pId:'00001', name:'Drawing12.dwg (139KB)', click:'getBookinfo(8375079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'LS40-1-1.bak (64KB)', },{ id:'0000100003', pId:'00001', name:'LS40-1-1.dwg (82KB)', click:'getBookinfo(8375080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'LS40-1-2.bak (21KB)', },{ id:'0000100005', pId:'00001', name:'LS40-1-2.dwg (61KB)', click:'getBookinfo(8375081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'LS40-1-3.bak (27KB)', },{ id:'0000100007', pId:'00001', name:'LS40-1-3.dwg (64KB)', click:'getBookinfo(8375082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'LS40.2.1-1.dwg (59KB)', click:'getBookinfo(8375083)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'LS40.2.1-2.dwg (56KB)', click:'getBookinfo(8375084)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'LS40.2.1-3.bak (35KB)', },{ id:'0000100011', pId:'00001', name:'LS40.2.1-3.dwg (62KB)', click:'getBookinfo(8375085)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'LS40.2.1-4.bak (60KB)', },{ id:'0000100013', pId:'00001', name:'LS40.2.1-4.dwg (73KB)', click:'getBookinfo(8375086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'LS40.2.1-5.dwg (31KB)', click:'getBookinfo(8375087)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'LS40.2.1.1-1.dwg (66KB)', click:'getBookinfo(8375088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'LS40.2.1.1-2.bak (68KB)', },{ id:'0000100017', pId:'00001', name:'LS40.2.1.1-2.dwg (91KB)', click:'getBookinfo(8375089)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'LS40.2.1.1-3-2.dwg (69KB)', click:'getBookinfo(8375090)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'LS40.2.1.1-3.bak (91KB)', },{ id:'0000100020', pId:'00001', name:'LS40.2.1.1-3.dwg (91KB)', click:'getBookinfo(8375091)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'LS40.2.1.1.bak (81KB)', },{ id:'0000100022', pId:'00001', name:'LS40.2.1.1.dwg (96KB)', click:'getBookinfo(8375092)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'LS40.2.1.bak (113KB)', },{ id:'0000100024', pId:'00001', name:'LS40.2.1.dwg (157KB)', click:'getBookinfo(8375093)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'LS40.2.1.左端蓋dwg.dwg (162KB)', click:'getBookinfo(8375094)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'LS40.2.2-1.bak (18KB)', },{ id:'0000100027', pId:'00001', name:'LS40.2.2-1.dwg (59KB)', click:'getBookinfo(8375095)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100028', pId:'00001', name:'LS40.2.2-2.bak (62KB)', },{ id:'0000100029', pId:'00001', name:'LS40.2.2-2.dwg (78KB)', click:'getBookinfo(8375096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100030', pId:'00001', name:'LS40.2.2-3.bak (18KB)', },{ id:'0000100031', pId:'00001', name:'LS40.2.2-3.dwg (59KB)', click:'getBookinfo(8375097)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100032', pId:'00001', name:'LS40.2.2.dwg (78KB)', click:'getBookinfo(8375098)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100033', pId:'00001', name:'LS40.2.4-1.bak (67KB)', },{ id:'0000100034', pId:'00001', name:'LS40.2.4-1.dwg (67KB)', click:'getBookinfo(8375099)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100035', pId:'00001', name:'LS40.2.4-2.bak (16KB)', },{ id:'0000100036', pId:'00001', name:'LS40.2.4-2.dwg (57KB)', click:'getBookinfo(8375100)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100037', pId:'00001', name:'LS40.2.4.bak (85KB)', },{ id:'0000100038', pId:'00001', name:'LS40.2.4.dwg (124KB)', click:'getBookinfo(8375101)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100039', pId:'00001', name:'LS40.2.5-1.bak (35KB)', },{ id:'0000100040', pId:'00001', name:'LS40.2.5-1.dwg (69KB)', click:'getBookinfo(8375102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100041', pId:'00001', name:'LS40.2.5-2.bak (15KB)', },{ id:'0000100042', pId:'00001', name:'LS40.2.5-2.dwg (57KB)', click:'getBookinfo(8375103)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100043', pId:'00001', name:'LS40.2.5.bak (41KB)', },{ id:'0000100044', pId:'00001', name:'LS40.2.5.dwg (71KB)', click:'getBookinfo(8375104)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100045', pId:'00001', name:'LS40.2.6A-6.bak (43KB)', },{ id:'0000100046', pId:'00001', name:'LS40.2.6A-6.dwg (62KB)', click:'getBookinfo(8375105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100047', pId:'00001', name:'LS40.2.6A-7.bak (20KB)', },{ id:'0000100048', pId:'00001', name:'LS40.2.6A-7.dwg (60KB)', click:'getBookinfo(8375106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100049', pId:'00001', name:'LS40.2.6B-1.bak (66KB)', },{ id:'0000100050', pId:'00001', name:'LS40.2.6B-1.dwg (87KB)', click:'getBookinfo(8375107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100051', pId:'00001', name:'LS40.2.6B-2.bak (40KB)', },{ id:'0000100052', pId:'00001', name:'LS40.2.6B-2.dwg (76KB)', click:'getBookinfo(8375108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100053', pId:'00001', name:'LS40.2.6B-3.bak (59KB)', },{ id:'0000100054', pId:'00001', name:'LS40.2.6B-3.dwg (88KB)', click:'getBookinfo(8375109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100055', pId:'00001', name:'LS40.2.6B-4.bak (17KB)', },{ id:'0000100056', pId:'00001', name:'LS40.2.6B-4.dwg (58KB)', click:'getBookinfo(8375110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100057', pId:'00001', name:'LS40.2.6B-5.bak (63KB)', },{ id:'0000100058', pId:'00001', name:'LS40.2.6B-5.dwg (80KB)', click:'getBookinfo(8375111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100059', pId:'00001', name:'LS40.2.6B.bak (133KB)', },{ id:'0000100060', pId:'00001', name:'LS40.2.6B.dwg (126KB)', click:'getBookinfo(8375112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100061', pId:'00001', name:'LS40.2.bak (129KB)', },{ id:'0000100062', pId:'00001', name:'LS40.2.dwg (115KB)', click:'getBookinfo(8375113)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100063', pId:'00001', name:'LS40.3.1.bak (80KB)', },{ id:'0000100064', pId:'00001', name:'LS40.3.1.dwg (99KB)', click:'getBookinfo(8375114)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100065', pId:'00001', name:'LS40.3.dwg (94KB)', click:'getBookinfo(8375115)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100066', pId:'00001', name:'LS40.4.1.bak (83KB)', },{ id:'0000100067', pId:'00001', name:'LS40.4.1.dwg (100KB)', click:'getBookinfo(8375116)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100068', pId:'00001', name:'LS40.4.bak (95KB)', },{ id:'0000100069', pId:'00001', name:'LS40.4.dwg (93KB)', click:'getBookinfo(8375117)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100070', pId:'00001', name:'LS40.5.1-1.bak (17KB)', },{ id:'0000100071', pId:'00001', name:'LS40.5.1-1.dwg (58KB)', click:'getBookinfo(8375118)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100072', pId:'00001', name:'LS40.5.1-2.bak (30KB)', },{ id:'0000100073', pId:'00001', name:'LS40.5.1-2.dwg (66KB)', click:'getBookinfo(8375119)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100074', pId:'00001', name:'LS40.5.1-3.bak (91KB)', },{ id:'0000100075', pId:'00001', name:'LS40.5.1-3.dwg (94KB)', click:'getBookinfo(8375120)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100076', pId:'00001', name:'LS40.5.1-4.bak (76KB)', },{ id:'0000100077', pId:'00001', name:'LS40.5.1-4.dwg (106KB)', click:'getBookinfo(8375121)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100078', pId:'00001', name:'LS40.5.1-5.bak (64KB)', },{ id:'0000100079', pId:'00001', name:'LS40.5.1-5.dwg (83KB)', click:'getBookinfo(8375122)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100080', pId:'00001', name:'LS40.5.1.bak (113KB)', },{ id:'0000100081', pId:'00001', name:'LS40.5.1.dwg (131KB)', click:'getBookinfo(8375123)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100082', pId:'00001', name:'LS40(總圖).bak (150KB)', },{ id:'0000100083', pId:'00001', name:'LS40(總圖).dwg (148KB)', click:'getBookinfo(8375124)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100084', pId:'00001', name:'Thumbs.db (94KB)', },{ id:'0000100085', pId:'00001', name:'電動機.dwg (56KB)', click:'getBookinfo(8375125)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ls400螺旋輸送機全套cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'Drawing12.dwg',url:'http://m.facezit.com/p-8375079.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'LS40-1-1.dwg',url:'http://m.facezit.com/p-8375080.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'LS40-1-2.dwg',url:'http://m.facezit.com/p-8375081.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'LS40-1-3.dwg',url:'http://m.facezit.com/p-8375082.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'LS40.2.1-1.dwg',url:'http://m.facezit.com/p-8375083.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'LS40.2.1-2.dwg',url:'http://m.facezit.com/p-8375084.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'LS40.2.1-3.dwg',url:'http://m.facezit.com/p-8375085.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'LS40.2.1-4.dwg',url:'http://m.facezit.com/p-8375086.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'LS40.2.1-5.dwg',url:'http://m.facezit.com/p-8375087.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'LS40.2.1.1-1.dwg',url:'http://m.facezit.com/p-8375088.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'LS40.2.1.1-2.dwg',url:'http://m.facezit.com/p-8375089.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'LS40.2.1.1-3-2.dwg',url:'http://m.facezit.com/p-8375090.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'LS40.2.1.1-3.dwg',url:'http://m.facezit.com/p-8375091.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'LS40.2.1.1.dwg',url:'http://m.facezit.com/p-8375092.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'LS40.2.1.dwg',url:'http://m.facezit.com/p-8375093.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'LS40.2.1.左端蓋dwg.dwg',url:'http://m.facezit.com/p-8375094.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'LS40.2.2-1.dwg',url:'http://m.facezit.com/p-8375095.html', target:'_blank' },{ id:'0000100029', pId:'00001', name:'LS40.2.2-2.dwg',url:'http://m.facezit.com/p-8375096.html', target:'_blank' },{ id:'0000100031', pId:'00001', name:'LS40.2.2-3.dwg',url:'http://m.facezit.com/p-8375097.html', target:'_blank' },{ id:'0000100032', pId:'00001', name:'LS40.2.2.dwg',url:'http://m.facezit.com/p-8375098.html', target:'_blank' },{ id:'0000100034', pId:'00001', name:'LS40.2.4-1.dwg',url:'http://m.facezit.com/p-8375099.html', target:'_blank' },{ id:'0000100036', pId:'00001', name:'LS40.2.4-2.dwg',url:'http://m.facezit.com/p-8375100.html', target:'_blank' },{ id:'0000100038', pId:'00001', name:'LS40.2.4.dwg',url:'http://m.facezit.com/p-8375101.html', target:'_blank' },{ id:'0000100040', pId:'00001', name:'LS40.2.5-1.dwg',url:'http://m.facezit.com/p-8375102.html', target:'_blank' },{ id:'0000100042', pId:'00001', name:'LS40.2.5-2.dwg',url:'http://m.facezit.com/p-8375103.html', target:'_blank' },{ id:'0000100044', pId:'00001', name:'LS40.2.5.dwg',url:'http://m.facezit.com/p-8375104.html', target:'_blank' },{ id:'0000100046', pId:'00001', name:'LS40.2.6A-6.dwg',url:'http://m.facezit.com/p-8375105.html', target:'_blank' },{ id:'0000100048', pId:'00001', name:'LS40.2.6A-7.dwg',url:'http://m.facezit.com/p-8375106.html', target:'_blank' },{ id:'0000100050', pId:'00001', name:'LS40.2.6B-1.dwg',url:'http://m.facezit.com/p-8375107.html', target:'_blank' },{ id:'0000100052', pId:'00001', name:'LS40.2.6B-2.dwg',url:'http://m.facezit.com/p-8375108.html', target:'_blank' },{ id:'0000100054', pId:'00001', name:'LS40.2.6B-3.dwg',url:'http://m.facezit.com/p-8375109.html', target:'_blank' },{ id:'0000100056', pId:'00001', name:'LS40.2.6B-4.dwg',url:'http://m.facezit.com/p-8375110.html', target:'_blank' },{ id:'0000100058', pId:'00001', name:'LS40.2.6B-5.dwg',url:'http://m.facezit.com/p-8375111.html', target:'_blank' },{ id:'0000100060', pId:'00001', name:'LS40.2.6B.dwg',url:'http://m.facezit.com/p-8375112.html', target:'_blank' },{ id:'0000100062', pId:'00001', name:'LS40.2.dwg',url:'http://m.facezit.com/p-8375113.html', target:'_blank' },{ id:'0000100064', pId:'00001', name:'LS40.3.1.dwg',url:'http://m.facezit.com/p-8375114.html', target:'_blank' },{ id:'0000100065', pId:'00001', name:'LS40.3.dwg',url:'http://m.facezit.com/p-8375115.html', target:'_blank' },{ id:'0000100067', pId:'00001', name:'LS40.4.1.dwg',url:'http://m.facezit.com/p-8375116.html', target:'_blank' },{ id:'0000100069', pId:'00001', name:'LS40.4.dwg',url:'http://m.facezit.com/p-8375117.html', target:'_blank' },{ id:'0000100071', pId:'00001', name:'LS40.5.1-1.dwg',url:'http://m.facezit.com/p-8375118.html', target:'_blank' },{ id:'0000100073', pId:'00001', name:'LS40.5.1-2.dwg',url:'http://m.facezit.com/p-8375119.html', target:'_blank' },{ id:'0000100075', pId:'00001', name:'LS40.5.1-3.dwg',url:'http://m.facezit.com/p-8375120.html', target:'_blank' },{ id:'0000100077', pId:'00001', name:'LS40.5.1-4.dwg',url:'http://m.facezit.com/p-8375121.html', target:'_blank' },{ id:'0000100079', pId:'00001', name:'LS40.5.1-5.dwg',url:'http://m.facezit.com/p-8375122.html', target:'_blank' },{ id:'0000100081', pId:'00001', name:'LS40.5.1.dwg',url:'http://m.facezit.com/p-8375123.html', target:'_blank' },{ id:'0000100083', pId:'00001', name:'LS40(總圖).dwg',url:'http://m.facezit.com/p-8375124.html', target:'_blank' },{ id:'0000100085', pId:'00001', name:'電動機.dwg',url:'http://m.facezit.com/p-8375125.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7123541'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });