function dPlayPre(){ if( 1 == 1 ){ return false; }else{ var prepage = 1 - 1; var totalpage = 3; var curl = "91170"; if(curl!=''){ window.location = curl+"_"+prepage+'_detail.html'; } } } function dPlayNext(){ var npage = 1 + 1; var totalpage = 3; var curl = "91170"; var curl_next = "91171"; if(1==totalpage){ if(curl_next==""){ window.location = 'https://www.geeteck.net/faxingwsheji/'; }else{ window.location = 'https://www.geeteck.net/faxingwsheji/fxsj/201711/91171_1_detail.html'; } }else{ if(curl!=''){ window.location = curl+"_"+npage+'_detail.html'; } } } function BenkeyUp(e) {var currKey=0,e=e||event;Benkey=e.keyCode||e.which||e.charCode;if (Benkey==37){dPlayPre();}if (Benkey==39){dPlayNext();}} document.onkeyup = BenkeyUp; $(function(){ $(".infotext").find("img").live('click', function(){ dPlayNext(); }) })