var xmlhttp; var gamestr; var gameid; gamestr=new Array(); gameid=new Array(); gamestr[0]='PLEASE CHOOSE THE GAME'; gameid[0]=0; gamestr[1]="World Of Warcraft-US"; gameid[1]=1; gamestr[2]="World Of Warcraft-EU"; gameid[2]=2; gamestr[3]="Maplestory-US"; gameid[3]=55; gamestr[4]="Maplestory-EU"; gameid[4]=56; gamestr[5]="Silkroad Online"; gameid[5]=41; gamestr[6]="EVER Quest2"; gameid[6]=47; gamestr[7]="Lord of The Ring online"; gameid[7]=39; gamestr[8]="Archlord Online"; gameid[8]=37; gamestr[9]="Dofus"; gameid[9]=38; gamestr[10]="Rappelz"; gameid[10]=40; gamestr[11]="City of villains"; gameid[11]=51; gamestr[12]="2moons"; gameid[12]=44; gamestr[13]="cabal online"; gameid[13]=45; gamestr[14]="EVE online"; gameid[14]=46; gamestr[15]="EVER Quest"; gameid[15]=48; gamestr[16]="Gaia Online"; gameid[16]=50; gamestr[17]="Fly for Fun"; gameid[17]=64; gamestr[18]="Anarchy online"; gameid[18]=52; gamestr[19]="Guild Wars"; gameid[19]=53; gamestr[20]="Lineage2"; gameid[20]=54; gamestr[21]="RF Online"; gameid[21]=57; gamestr[22]="Ragnarok Online"; gameid[22]=58; gamestr[23]="Scions of Fate"; gameid[23]=59; gamestr[24]="Tabula Rasa"; gameid[24]=60; 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]="Final Fantasy XI"; gameid[28]=49; 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); }