flashWrite('video/flash_visual.swf','774','326','main_flash','#ffffff','','transparent'); var ggameIndex = 0; var ggameMap = new Array(); ggameMap[ggameMap.length]=new Array(1026,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527070970.jpg'); ggameMap[ggameMap.length]=new Array(1025,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527070983.jpg'); ggameMap[ggameMap.length]=new Array(1024,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527070675.jpg'); ggameMap[ggameMap.length]=new Array(1023,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527070995.jpg'); ggameMap[ggameMap.length]=new Array(1022,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527070955.jpg'); ggameMap[ggameMap.length]=new Array(1021,'http://www.3guu.com/3guuadmin/uploadImage/2014/10/17/1413527071008.jpg'); var isLock=false; $j(document).ready(function(){ showGgame(); $j(".ico_left img").bind("click",function(){ if(isLock){ return; } isLock=true; changeGgame(-1); showGgame(); }); $j(".ico_left img").css("cursor","pointer"); $j(".ico_right img").bind("click",function(){ if(isLock){ return; } isLock=true; changeGgame(1); showGgame(); }); $j(".ico_right img").css("cursor","pointer"); }); /** *改变G+游戏的号码 */ function changeGgame(num){ ggameIndex = (ggameIndex+num+ggameMap.length)%ggameMap.length; } /** *显示G+游戏 */ var is_ie6 = navigator.userAgent.indexOf("MSIE 6")!=-1; function showGgame(){ if(is_ie6){ var fullHref = "game/gshow.do?type=1&gid="+ggameMap[ggameIndex][0]; $j("#ggameLink").attr("href",fullHref); $j("#ggameLogo").attr("src",ggameMap[ggameIndex][1]); isLock=false; }else{ $j("#ggameLogo").fadeOut("normal",function(){ var fullHref = "game/gshow.do?type=1&gid="+ggameMap[ggameIndex][0]; $j("#ggameLink").attr("href",fullHref); $j("#ggameLogo").attr("src",ggameMap[ggameIndex][1]); $j("#ggameLogo").fadeIn("normal",function(){ isLock=false; }); }); } }