/*首页轮播*/
(function(){
				/*
				function:	sgSlide
				depends:    jquery.js(1.2.6~1.4.0)
							sgSlide.js(sgSlide)
				*/
				var sg=$("#sgSlide").sgSlide({
					data:[
                      '<li><a href="http://games.bbgsite.com/content/einherjar/review/open-beta-review-by-zevri_1.shtml"><img src="http://images.bbgsite.com/games/2012/02/17/einherjar470230.jpg" width="470" height="230" /></a><div class="text_con"><h3><a href="http://games.bbgsite.com/content/einherjar/review/open-beta-review-by-zevri_1.shtml">Einherjar Open Beta Review by Zevri</a></h3><p>Einherjar the Viking\'s Blood, is a new tactical RPG browser game that runs off of flash. The game, in an unusual twist, actually originates from Japan but was brought over by a company called KBMJ...</p></li>',
                     '<li><a href="http://news.bbgsite.com/content/2012-02-15/know-yourself-see-what-type-of-browser-games-suits-you_1.shtml"><img src="http://images.bbgsite.com/news/2012/02/16/470230.jpg" width="470" height="230" /></a><div class="text_con"><h3><a href="http://news.bbgsite.com/content/2012-02-15/know-yourself-see-what-type-of-browser-games-suits-you_1.shtml">Know Yourself: See What Type of Web Games Suits You</a></h3><p>It seems to me that, anything we do in our daily life can reflect our personality. If you are addicted to games, then, what you do in-game reflects your personality...</p></li>',
                     '<li><a href="http://news.bbgsite.com/content/2012-02-14/sword-girls-episode-3-preview_1.shtml"><img src="http://images.bbgsite.com/news/2012/02/15/sword_girls470230.jpg" width="470" height="230" /></a><div class="text_con"><h3><a href="http://news.bbgsite.com/content/2012-02-14/sword-girls-episode-3-preview_1.shtml">Sword Girls Episode 3 Preview</a></h3><p>Sword Girls is the ultimate online anime card game, and in this preview, we\'ll give you a taste of the new cards waiting for you in the upcoming open beta test...</p></li>',						 
                     '<li><a href="http://games.bbgsite.com/content/jagged-alliance-online/review/jagged-alliance-online-review-by-zevri_1.shtml"><img src="http://images.bbgsite.com/games/2012/02/13/jagged_alliance_online470230.jpg" width="470" height="230" /></a><div class="text_con"><h3><a href="http://games.bbgsite.com/content/jagged-alliance-online/review/jagged-alliance-online-review-by-zevri_1.shtml">Jagged Alliance Online Review by Zevri</a></h3><p>It started in around 1994, not the browser game but the series that is Jagged Alliance. It has spawned games on the pc, handhelds and even some older consoles, but the series is still alive and a testament to that is the release of a new entry of the series this year...</p></li>',
						  '<li><a href="http://forum.bbgsite.com/thread/2/7/20120210/Wargame_1942_General_Status_Giveaway_for_Top_50_participants-4f35024555c75a713-1.html"><img src="http://images.bbgsite.com/www/flash/forum432x188/20120213_m.jpg" width="470" height="230" /></a><div class="text_con"><h3><a href="http://forum.bbgsite.com/thread/2/7/20120210/Wargame_1942_General_Status_Giveaway_for_Top_50_participants-4f35024555c75a713-1.html">Wargame1942  General Status Giveaway for Top 50 participants</a></h3><p>Wargame1942 - Welcome to the battlefields of the Second World War where you play a decisive role in the brutal confrontation between the Axis and the Allied Powers.</p></li>',
                   
                    
						  
						  
						  


                    
                    
                   
					],//数据数组
					d2:"ul",//相对this选择器，定位层
					d3:"ul > li",//相对this选择器，list对象
					gridLen:468,//格子长度
					seeLen:468,//可视容器宽度
					stepLen:468,//步长长度（每次滚动长度）
					speed:300,//滚动速度
					direction:"left",//默认方向
					directionSense:true,//是否启用方向感应
					gap:true,//回弹
					autoPlayTimes:5000,//自动播放间隔时间
					isBtn:{
						leftOrTop:"#sgSlideLeft",//向左按钮
						rightOrBottom:"#sgSlideRight",//向右按钮
						disableCss:"disable"//按钮失效css
					},//按钮树配置，false时禁用按钮控制功能
					callback:function(e){
						$("#sgSlidtNow").html(sg.star+1);
					}
				});
				sg.execute();
				$("#sgSlideTotal").html(sg.dataLen);
			})();
