function setTab(name,cursel,n,currentClass,otherClass){for(var i=1;i<=n;i++){var menu=document.getElementById(name+i);var con=document.getElementById("con_"+name+"_"+i);menu.className=i==cursel?currentClass:otherClass;if(con){con.style.display=i==cursel?"block":"none"}}} var position = 'kewantiku' if(!position){ position = 'course_data' document.write('
') } Function.prototype.getMultiLine = function () { var lines = new String(this); lines = lines.substring(lines.indexOf("/*") + 3, lines.lastIndexOf("*/")); return lines; } function getBrowserVersion() { var userAgent = navigator.userAgent.toLowerCase(); if (userAgent.match(/msie ([\d.]+)/) != null) {//ie6--ie9 uaMatch = userAgent.match(/msie ([\d.]+)/); return uaMatch[1]; } else if (userAgent.match(/(trident)\/([\w.]+)/)) { uaMatch = userAgent.match(/trident\/([\w.]+)/); switch (uaMatch[1]) { case "4.0": return 8; break; case "5.0": return 9; break; case "6.0": return 10; break; case "7.0": return 11; break; default: return 0; } } return 10; } var data = function () { /*
下一位 上一位
*/ } var data9 = function () { /*
下一位 上一位
*/ } var vison=getBrowserVersion(); if(vison&&vison>8) { $("html").attr("xmlns:gs", "https://www.gensee.com/ec"); $("#" + position).html(data9.getMultiLine()); } else { $("#" + position).html(data.getMultiLine()); } document.write('