//��ҳ��ͼ�л� function settab(name, cursel, n) { for (i = 1; i <= n; i++) { var menu = document.getelementbyid(name + i); var con = document.getelementbyid("con_" + name + "_" + i); menu.classname = i == cursel ? "hover" : ""; con.style.display = i == cursel ? "block" : "none"; } } $(document).ready(function(){ // ͼƭ���¹��� var count = $("#imagemenu2 li").length - 5; /* ��ʾ 6 �� li��ǩ���� */ var interval = $("#imagemenu2 li:first").width(); var curindex = 0; $('.scrollbutton').click(function(){ if( $(this).hasclass('disabled') ) return false; if ($(this).hasclass('smallimgup')) --curindex; else ++curindex; $('.scrollbutton').removeclass('disabled'); if (curindex == 0) $('.smallimgup').addclass('disabled'); if (curindex == count-1) $('.smallimgdown').addclass('disabled'); $("#imagemenu2 ul").stop(false, true).animate({"marginleft" : -curindex*interval + "px"}, 600); }); // ��� ie6 select�� ���� $.fn.decorateiframe = function(options) { if ($.browser.msie && $.browser.version < 7) { var opts = $.extend({}, $.fn.decorateiframe.defaults, options); $(this).each(function() { var $mythis = $(this); //����һ��iframe var diviframe = $("