


		function enterview(obj) {
			document.getElementById('sys').style.display = 'block';
			obj.className='view2';
		}
		function quitview(obj) {
			document.getElementById('sys').style.display = 'none';
			obj.className='view1';
		}
		
		function ppt() {
			var sWidth = $("#focus1 ul li").width(); //鑾峰彇鐒︾偣鍥剧殑瀹藉害锛堟樉绀洪潰绉級
			var len = $("#focus1 ul li").length; //鑾峰彇鐒︾偣鍥句釜鏁�
			var index = 0;
			var picTimer;
			
			//浠ヤ笅浠ｇ爜娣诲姞鏁板瓧鎸夐挳鍜屾寜閽悗鐨勫崐閫忔槑鏉★紝杩樻湁涓婁竴椤点€佷笅涓€椤典袱涓寜閽�
			var btn = "<div class='btnBg'></div><div class='btn'>";
			for(var i=0; i < len; i++) {
				btn += "<span></span>";
			}
			btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
			$("#focus1").append(btn);
			$("#focus1 .btnBg").css("opacity",0.8);
		
			//涓哄皬鎸夐挳娣诲姞榧犳爣婊戝叆浜嬩欢锛屼互鏄剧ず鐩稿簲鐨勫唴瀹�
			$("#focus1 .btn span").css("opacity",0.8).mouseover(function() {
				index = $("#focus1 .btn span").index(this);
				showPics(index);
			}).eq(0).trigger("mouseover");
		
			//涓婁竴椤点€佷笅涓€椤垫寜閽€忔槑搴﹀鐞�
			$("#focus1 .preNext").css("opacity",0.8).hover(function() {
				$(this).stop(true,false).animate({"opacity":"1"},300);
			},function() {
				$(this).stop(true,false).animate({"opacity":"0.8"},300);
			});
		
			//涓婁竴椤垫寜閽�
			$("#focus1 .pre").click(function() {
				index += 1;
				if(index == -1) {index = len - 1;}
				showPics(index);
			});
		
			//涓嬩竴椤垫寜閽�
			$("#focus1 .next").click(function() {
				index -= 1;
				if(index == len-2) {index = 0;}
				showPics(index);
			});
		
			//鏈緥涓哄乏鍙虫粴鍔紝鍗虫墍鏈塴i鍏冪礌閮芥槸鍦ㄥ悓涓€鎺掑悜宸︽诞鍔紝鎵€浠ヨ繖閲岄渶瑕佽绠楀嚭澶栧洿ul鍏冪礌鐨勫搴�
			$("#focus1 ul").css("width",sWidth * (len));
			
			//榧犳爣婊戜笂鐒︾偣鍥炬椂鍋滄鑷姩鎾斁锛屾粦鍑烘椂寮€濮嬭嚜鍔ㄦ挱鏀�
			$("#focus1").hover(function() {
				clearInterval(picTimer);
			},function() {
				picTimer = setInterval(function() {
					showPics(index);
					index++;
					if(index == len) {index = 0;}
				},4000); //姝�4000浠ｈ〃鑷姩鎾斁鐨勯棿闅旓紝鍗曚綅锛氭绉�
			}).trigger("mouseleave");
			
			//鏄剧ず鍥剧墖鍑芥暟锛屾牴鎹帴鏀剁殑index鍊兼樉绀虹浉搴旂殑鍐呭
			function showPics(index) { //鏅€氬垏鎹�
				var nowLeft = -index*sWidth; //鏍规嵁index鍊艰绠梪l鍏冪礌鐨刲eft鍊�
				$("#focus1 ul").stop(true,false).animate({"left":nowLeft},300); //閫氳繃animate()璋冩暣ul鍏冪礌婊氬姩鍒拌绠楀嚭鐨刾osition
				$("#focus .btn span").removeClass("on").eq(index).addClass("on"); //涓哄綋鍓嶇殑鎸夐挳鍒囨崲鍒伴€変腑鐨勬晥鏋�
				$("#focus1 .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300); //涓哄綋鍓嶇殑鎸夐挳鍒囨崲鍒伴€変腑鐨勬晥鏋�
			}
		}
		
		function ppt1() {
			var sWidth = $("#focus2 ul li").width(); //鑾峰彇鐒︾偣鍥剧殑瀹藉害锛堟樉绀洪潰绉級
			var len = $("#focus2 ul li").length; //鑾峰彇鐒︾偣鍥句釜鏁�
			var index = 0;
			var picTimer;
			
			//浠ヤ笅浠ｇ爜娣诲姞鏁板瓧鎸夐挳鍜屾寜閽悗鐨勫崐閫忔槑鏉★紝杩樻湁涓婁竴椤点€佷笅涓€椤典袱涓寜閽�
			var btn = "<div class='btnBg'></div><div class='btn'>";
			for(var i=0; i < len; i++) {
				btn += "<span></span>";
			}
			btn += "</div><div class='preNext pre'></div><div class='preNext next'></div>";
			$("#focus2").append(btn);
			$("#focus2 .btnBg").css("opacity",0.8);
		
			//涓哄皬鎸夐挳娣诲姞榧犳爣婊戝叆浜嬩欢锛屼互鏄剧ず鐩稿簲鐨勫唴瀹�
			$("#focus2 .btn span").css("opacity",0.8).mouseover(function() {
				index = $("#focus2 .btn span").index(this);
				showPics(index);
			}).eq(0).trigger("mouseover");
		
			//涓婁竴椤点€佷笅涓€椤垫寜閽€忔槑搴﹀鐞�
			$("#focus2 .preNext").css("opacity",0.5).hover(function() {
				$(this).stop(true,false).animate({"opacity":"1"},300);
				
			},function() {
				$(this).stop(true,false).animate({"opacity":"0.5"},300);
			});
		
			//涓婁竴椤垫寜閽�
			$("#focus2 .pre").click(function() {
				index -= 1;
				if(index == -1) {index = len - 3;}
				showPics(index);
			});
		
			//涓嬩竴椤垫寜閽�
			$("#focus2 .next").click(function() {
				index += 1;
				if(index == len - 2) {index = 0;}
				showPics(index);
			});
		
			//鏈緥涓哄乏鍙虫粴鍔紝鍗虫墍鏈塴i鍏冪礌閮芥槸鍦ㄥ悓涓€鎺掑悜宸︽诞鍔紝鎵€浠ヨ繖閲岄渶瑕佽绠楀嚭澶栧洿ul鍏冪礌鐨勫搴�
			$("#focus2 ul").css("width",(sWidth + 16) * (len));
			
			//榧犳爣婊戜笂鐒︾偣鍥炬椂鍋滄鑷姩鎾斁锛屾粦鍑烘椂寮€濮嬭嚜鍔ㄦ挱鏀�
			$("#focus2").hover(function() {
				clearInterval(picTimer);
			},function() {
				picTimer = setInterval(function() {
					index++;
					if(index == len-2) {index = 0;}
					showPics(index);
				},4000); //姝�4000浠ｈ〃鑷姩鎾斁鐨勯棿闅旓紝鍗曚綅锛氭绉�
			}).trigger("mouseleave");
			
			//鏄剧ず鍥剧墖鍑芥暟锛屾牴鎹帴鏀剁殑index鍊兼樉绀虹浉搴旂殑鍐呭
			function showPics(index) { //鏅€氬垏鎹�
				var nowLeft = -index*(sWidth+16); //鏍规嵁index鍊艰绠梪l鍏冪礌鐨刲eft鍊�
				$("#focus2 ul").stop(true,false).animate({"left":nowLeft},300); //閫氳繃animate()璋冩暣ul鍏冪礌婊氬姩鍒拌绠楀嚭鐨刾osition
				//$("#focus .btn span").removeClass("on").eq(index).addClass("on"); //涓哄綋鍓嶇殑鎸夐挳鍒囨崲鍒伴€変腑鐨勬晥鏋�
				$("#focus2 .btn span").stop(true,false).animate({"opacity":"0.4"},300).eq(index).stop(true,false).animate({"opacity":"1"},300); //涓哄綋鍓嶇殑鎸夐挳鍒囨崲鍒伴€変腑鐨勬晥鏋�
			}
		}
		
		/**
		*鑿滃崟榧犳爣鐐瑰嚮
		*obj:鐐瑰嚮瀵硅薄
		*sel:
		*/
		function setClass() {
			var list = new Array();
                        list[0] = "http://720.ming-soft.com/a/changguan";
                        list[1] = "http://720.ming-soft.com/a/jiudian";
                        list[2] = "http://720.ming-soft.com/a/fangchan";
                        list[3] = "http://720.ming-soft.com/a/zhanhui";
			list[4] = "http://720.ming-soft.com/a/jingqu";
			list[5] = "http://720.ming-soft.com/a/zhanhui";
                        
			list[8] = "http://720.ming-soft.com/a/huodong";
			
			list[9] = "http://720.ming-soft.com/a/chanpin";
			list[11] = "http://720.ming-soft.com/a/qiye";
			list[12] = "http://720.ming-soft.com/a/qiche";
			list[13] = "http://720.ming-soft.com/a/hangye";
			list[6] = "http://720.ming-soft.com/a/jiequ";
			list[10] = "http://720.ming-soft.com/a/qita";
			$("#right li").each(function(i){
					$(this).click(function(){
						about(list[i]);
						});
					$(this).click(function(){
						});
				});
			}
		
			function about(url) {
				$("#list").html("<img src='"+baseUrl+"/images/loader.gif'/>");
				$.ajax({
					type:"get",
					url:url,
					
					success:function(data,textStauts){
						$("#list").html(data);
					},
					
					error:function(){
						$("#list").text("澶辫触");
					}
				});
			}
			
			
			/**
			*澶嶅埗浣滃搧鍦板潃
			*/
			function copyUrl()
							{
								var clipBoardContent = this.location.href;
								window.clipboardData.setData("Text",clipBoardContent);
							}
							
							
							