var xmlhttp; var gamestr; var gameid; gamestr=new Array(); gameid=new Array(); gamestr[0]='PLEASE CHOOSE THE GAME'; gameid[0]=0; gamestr[1]="Final Fantasy XI"; gameid[1]=49; gamestr[2]="cabal online"; gameid[2]=45; gamestr[3]="Dofus"; gameid[3]=38; gamestr[4]="EVE online"; gameid[4]=46; gamestr[5]="2moons"; gameid[5]=44; gamestr[6]="Maplestory-US"; gameid[6]=55; gamestr[7]="Maplestory-EU"; gameid[7]=56; gamestr[8]="Fly for Fun"; gameid[8]=64; gamestr[9]="Lineage2"; gameid[9]=54; gamestr[10]="World Of Warcraft-EU"; gameid[10]=2; gamestr[11]="World Of Warcraft-US"; gameid[11]=1; gamestr[12]="Lord of The Ring online"; gameid[12]=39; gamestr[13]="EVER Quest2"; gameid[13]=47; gamestr[14]="Gaia Online"; gameid[14]=50; gamestr[15]="Archlord Online"; gameid[15]=37; gamestr[16]="Guild Wars"; gameid[16]=53; gamestr[17]="Anarchy online"; gameid[17]=52; gamestr[18]="EVER Quest"; gameid[18]=48; gamestr[19]="RF Online"; gameid[19]=57; gamestr[20]="Ragnarok Online"; gameid[20]=58; gamestr[21]="Scions of Fate"; gameid[21]=59; gamestr[22]="Tabula Rasa"; gameid[22]=60; gamestr[23]="Silkroad Online"; gameid[23]=41; gamestr[24]="Rappelz"; gameid[24]=40; gamestr[25]="Sword of the new world"; gameid[25]=61; gamestr[26]="Tales of pirates"; gameid[26]=62; gamestr[27]="Second Life"; gameid[27]=63; gamestr[28]="City of villains"; gameid[28]=51; function BuildSel_one() { document.fastorder.s1.options.length=0; for(var i=0;i < gamestr.length;i++) { document.fastorder.s1.options[document.fastorder.s1.options.length]=new Option(gamestr[i],gameid[i]); } document.fastorder.s1.disabled=false; } BuildSel_one(); function getXMLRequester( ) { var xmlhttp_request = false; try { if( window.ActiveXObject ) { for( var i = 5; i; i-- ){ try{ if( i == 2 ) { xmlhttp_request = new ActiveXObject( "Microsoft.XMLHTTP" ); } else { xmlhttp_request = new ActiveXObject( "Msxml2.XMLHTTP." + i + ".0" ); xmlhttp_request.setRequestHeader("Content-Type","text/xml"); xmlhttp_request.setRequestHeader("Content-Type","utf8"); } break;} catch(e){ xmlhttp_request = false; } } } else if( window.XMLHttpRequest ) { xmlhttp_request = new XMLHttpRequest(); if (xmlhttp_request.overrideMimeType) { xmlhttp_request.overrideMimeType('text/xml'); } } } catch(e){ xmlhttp_request = false; } return xmlhttp_request ; } function doContents(){ var sstr; var sid = new Array(); var str = new Array(); if (xmlhttp.readyState == 4) { if (xmlhttp.status == 200){ str=xmlhttp.responseText.split('||'); document.fastorder.s2.options.length=0; for(var i=0;i < str.length;i++) { sstr=str[i]; sid=sstr.split('|'); document.fastorder.s2.options[document.fastorder.s2.options.length]=new Option(sid[0],sid[1]); } document.fastorder.s2.disabled=false; } } } function s_two(n){ var url; document.fastorder.s2.options.length=0; document.fastorder.s2.options[document.fastorder.s2.options.length]=new Option("Please Waiting...",0); url='/module/js_select_two.asp?gid='+n; xmlhttp=getXMLRequester(); xmlhttp.onreadystatechange = doContents; xmlhttp.open('GET', url, true); xmlhttp.send(null); } function doContents3(){ var sstr; var sid = new Array(); var vid = new Array(); var str = new Array(); if (xmlhttp.readyState == 4) { if (xmlhttp.status == 200){ vid=xmlhttp.responseText.split('#'); sstr=vid[0]; document.fastorder.hiddbz.value=vid[1]; str=sstr.split('||'); document.fastorder.s3.options.length=0; for(var i=0;i < str.length;i++) { sstr=str[i]; sid=sstr.split('|'); document.fastorder.s3.options[document.fastorder.s3.options.length]=new Option(sid[0],sid[1]); } document.fastorder.s3.disabled=false; } } } function s_three(n){ var url; document.fastorder.s3.options.length=0; document.fastorder.s3.options[document.fastorder.s3.options.length]=new Option("Please Waiting...",0); url='/module/js_select_three.asp?mid='+n; xmlhttp=getXMLRequester(); xmlhttp.onreadystatechange = doContents3; xmlhttp.open('GET', url, true); xmlhttp.send(null); }