var StoryImg = new Array; var StoryUrl = new Array; var StorySTitle = new Array; var StoryLTitle = new Array; var StoryDesc = new Array; StoryImg[0] = '../data/WGC_Story/1268010453'; StoryUrl[0] = 'http://chaos.webgamech.com/info/?ClassParent=17&ClassSeq=18'; StorySTitle[0] = '[카오스로드 초보가]'; StoryLTitle[0] = '[카오스로드 초보가이드]'; StoryDesc[0] = '['; StoryDesc[0] += "카오스로드 초보가이드"; StoryDesc[0] += ']'; StoryImg[1] = '../data/WGC_Story/1265173340'; StoryUrl[1] = 'http://www.webgamech.com/newgame/01.html'; StorySTitle[1] = '["신마령" 티저페이]'; StoryLTitle[1] = '["신마령" 티저페이지 오픈 안]'; StoryDesc[1] = '['; StoryDesc[1] += "신개념 롤플레잉 '신마령'의 티저페이지 오픈"; StoryDesc[1] += ']'; StoryImg[2] = '../data/WGC_Story/1257729655'; StoryUrl[2] = 'http://gs.webgamech.com/info_gameguide.php'; StorySTitle[2] = '[강산 초보자 가이드]'; StoryLTitle[2] = '[강산 초보자 가이드]'; StoryDesc[2] = '['; StoryDesc[2] += "정상에서 천하를 논한다! 강산! 초보자 가이"; StoryDesc[2] += ']'; StoryImg[3] = '../data/WGC_Story/1254198896'; StoryUrl[3] = 'http://7th.webgamech.com/event_20090929.php'; StorySTitle[3] = '[칠용전설]'; StoryLTitle[3] = '[칠용전설]'; StoryDesc[3] = '['; StoryDesc[3] += "칠용전설 첫 돌을 맞이여여, 영웅 레벨업의 "; StoryDesc[3] += ']'; StoryImg[4] = '../data/WGC_Story/1253842107'; StoryUrl[4] = 'http://www.webgamech.com/notice/?kids=charge'; StorySTitle[4] = '[무료충전소]'; StoryLTitle[4] = '[무료충전소]'; StoryDesc[4] = '['; StoryDesc[4] += "웹게임채널 무료 충전소"; StoryDesc[4] += ']'; StoryImg[5] = '../data/WGC_Story/1253841553'; StoryUrl[5] = 'http://7th.webgamech.com/vote.php?Vote_Seq=20024'; StorySTitle[5] = '[칠용전설 집중 투표]'; StoryLTitle[5] = '[칠용전설 집중 투표]'; StoryDesc[5] = '['; StoryDesc[5] += "아산다이아 소비 1순위 VIP 기능은?"; StoryDesc[5] += ']'; var storyn = 2; storyn = 2; var storyval = 5000; var storyTime = ''; function storyStop() { storyn = (storyn == 0) ? 2 : storyn-1; clearTimeout(storyTime); } function storyStart() { storyRoll(); } function storyRoll() { storyn = (storyn >= 2) ? 0 : storyn+1; setstoryRoll(); storyTime=setTimeout('storyRoll()',storyval); } function setstoryRoll() { storyLeftn = storyn * 2; storyRightn = storyLeftn+1; document.getElementById('StoryUrl1Left').href = StoryUrl[storyLeftn]; document.getElementById('StoryImgLeft').src = StoryImg[storyLeftn]; document.getElementById('StorySTitleLeft').innerHTML = StorySTitle[storyLeftn]; document.getElementById('StoryDescLeft').innerHTML = StoryDesc[storyLeftn]; document.getElementById('StoryUrl1Right').href = StoryUrl[storyRightn]; document.getElementById('StoryImgRight').src = StoryImg[storyRightn]; document.getElementById('StorySTitleRight').innerHTML = StorySTitle[storyRightn]; document.getElementById('StoryDescRight').innerHTML = StoryDesc[storyRightn]; storyNextn = (storyn >= 2) ? 0 : storyn+1; storyNextLeftn = storyNextn * 2; storyNextRightn = storyNextLeftn+1; document.getElementById('StoryUrl2Left').href = StoryUrl[storyNextLeftn]; document.getElementById('StoryLTitleLeft').innerHTML = StoryLTitle[storyNextLeftn]; document.getElementById('StoryUrl2Right').href = StoryUrl[storyNextRightn]; document.getElementById('StoryLTitleRight').innerHTML = StoryLTitle[storyNextRightn]; } function storyGoleft() { storyStop(); storyn = (storyn == 0) ? 2 : storyn-1; storyStart(); } function storyGoright() { storyStop(); storyn = (storyn >= 2) ? 0 : storyn+1; storyStart(); } storyStart();