var arrItems = new Array();
var arrItemsGrp = new Array();
var arrItemsValue = new Array();

arrItems[101] = "Who is The TelTel Team?";
arrItemsGrp[101] = 'p1';
arrItemsValue[101] = 'p1.html#q01';

arrItems[102] = "What technologies do TelTel use?";
arrItemsGrp[102] = 'p1';
arrItemsValue[102] = 'p1.html#q02';

arrItems[103] = "How much does it cost to use TelTel?";
arrItemsGrp[103] = 'p1';
arrItemsValue[103] = 'p1.html#q03';

arrItems[104] = "What equipment and software do I need to use TelTel?";
arrItemsGrp[104] = 'p1';
arrItemsValue[104] = 'p1.html#q04';

arrItems[105] = "Does my Internet connection speed affect the sound quality?";
arrItemsGrp[105] = 'p1';
arrItemsValue[105] = 'p1.html#q05';

arrItems[106] = "Will TelTel sell my personal information?";
arrItemsGrp[106] = 'p1';
arrItemsValue[106] = 'p1.html#q06';

arrItems[107] = "How do I install TelTel?";
arrItemsGrp[107] = 'p1';
arrItemsValue[107] = 'p1.html#q07';

arrItems[108] = "Where do I go for more information?";
arrItemsGrp[108] = 'p1';
arrItemsValue[108] = 'p1.html#q08';

arrItems[201] = "What do I do after I have logged in to TelTel?";
arrItemsGrp[201] = 'p2';
arrItemsValue[201] = 'p2.html#q01';

arrItems[202] = "How do I make a call using TelTel?";
arrItemsGrp[202] = 'p2';
arrItemsValue[202] = 'p2.html#q02';

arrItems[203] = "I need to talk to a friend who is rarely online/available. What can I do?";
arrItemsGrp[203] = 'p2';
arrItemsValue[203] = 'p2.html#q03';

arrItems[204] = "Can other people who use my computer also use TelTel?";
arrItemsGrp[204] = 'p2';
arrItemsValue[204] = 'p2.html#q04';

arrItems[205] = "How do I start an instant text conversation?";
arrItemsGrp[205] = 'p2';
arrItemsValue[205] = 'p2.html#q05';

arrItems[206] = "How do I launch the dial-pad?";
arrItemsGrp[206] = 'p2';
arrItemsValue[206] = 'p2.html#q06';

arrItems[207] = "What is the timestamp in a text conversation window and how do I display/hide it?";
arrItemsGrp[207] = 'p2';
arrItemsValue[207] = 'p2.html#q07';

arrItems[208] = "How do I invite a Friend who is already a TelTel user?";
arrItemsGrp[208] = 'p2';
arrItemsValue[208] = 'p2.html#q08';

arrItems[209] = "How to remove a Friend?";
arrItemsGrp[209] = 'p2';
arrItemsValue[209] = 'p2.html#q09';

arrItems[301] = "What should I do if I see the \"Network Connectivity Lost\" message?";
arrItemsGrp[301] = 'p3';
arrItemsValue[301] = 'p3.html#q01';

arrItems[302] = "What should I do if I have problems downloading and installing TelTel?";
arrItemsGrp[302] = 'p3';
arrItemsValue[302] = 'p3.html#q02';

arrItems[303] = "I forgot my password. How do I login?";
arrItemsGrp[303] = 'p3';
arrItemsValue[303] = 'p3.html#q03';

arrItems[304] = "How do I change my password?";
arrItemsGrp[304] = 'p3';
arrItemsValue[304] = 'p3.html#q04';

arrItems[305] = "I can't hear anything. (My friends can't hear me. There's an echo in the background.) What do I do?";
arrItemsGrp[305] = 'p3';
arrItemsValue[305] = 'p3.html#q05';

arrItems[401] = "When do my TelTel credits expire?";
arrItemsGrp[401] = 'p4';
arrItemsValue[401] = 'p4.html#q01';

arrItems[402] = "What happens when my TelTel credits run out?";
arrItemsGrp[402] = 'p4';
arrItemsValue[402] = 'p4.html#q02';

arrItems[403] = "Who provides your payment service?";
arrItemsGrp[403] = 'p4';
arrItemsValue[403] = 'p4.html#q03';

arrItems[404] = "What is your refund policy?";
arrItemsGrp[404] = 'p4';
arrItemsValue[404] = 'p4.html#q04';

arrItems[501] = "How do I build a TelTel Group?";
arrItemsGrp[501] = 'p5';
arrItemsValue[501] = 'p5.html#q01';

arrItems[502] = "How do I add members to my TelTel Group?";
arrItemsGrp[502] = 'p5';
arrItemsValue[502] = 'p5.html#q02';

arrItems[503] = "How do I access the group voice attendant?";
arrItemsGrp[503] = 'p5';
arrItemsValue[503] = 'p5.html#q03';

arrItems[504] = "How do I record prompts in my group voice attendant?";
arrItemsGrp[504] = 'p5';
arrItemsValue[504] = 'p5.html#q04';

arrItems[505] = "How do I setup the extension numbers, management code, conference room, etc.?";
arrItemsGrp[505] = 'p5';
arrItemsValue[505] = 'p5.html#q05';

arrItems[506] = "How do I, the member, set up the extension call settings, voicemail, etc.?";
arrItemsGrp[506] = 'p5';
arrItemsValue[506] = 'p5.html#q06';

arrItems[507] = "How to purchase TelTel credits and optional add-ons for the package?";
arrItemsGrp[507] = 'p5';
arrItemsValue[507] = 'p5.html#q07';

arrItems[508] = "How to upgrade / extend /re-activate the package subscription?";
arrItemsGrp[508] = 'p5';
arrItemsValue[508] = 'p5.html#q08';

arrItems[509] = "How to downgrade the package subscription?";
arrItemsGrp[509] = 'p5';
arrItemsValue[509] = 'p5.html#q09';

arrItems[510] = "What happens to the group credits when the subscription has ended and is not re-activated?";
arrItemsGrp[510] = 'p5';
arrItemsValue[510] = 'p5.html#q10';

arrItems[511] = "What is the cancellation/refund policy for TelTel Group package/add-on purchases?";
arrItemsGrp[511] = 'p5';
arrItemsValue[511] = 'p5.html#q11';

arrItems[512] = "What if I need someone to help me setup my group?";
arrItemsGrp[512] = 'p5';
arrItemsValue[512] = 'p5.html#q12';

var nav = "IE";
if (window.navigator.userAgent.indexOf("Firefox")>=1)
{
   //Èç¹ûä¯ÀÀÆ÷ÎªFirefox
   nav = "FX";
}

function selectChange(control, controlToPopulate, ItemArray, GroupArray, valueArray)
{
	var myEle;
  	var x;
  	for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null;
  	myEle = document.createElement("option");
 	myEle.value = "0";
 	myEle.text = "Select......";
 	if (nav == "IE") controlToPopulate.add(myEle);
 	else controlToPopulate.appendChild(myEle);
  	
  	for (x = 0; x < ItemArray.length; x++)
   {
      if (GroupArray[x] == control.value) 
      {
         myEle = document.createElement("option");
         myEle.value = valueArray[x];
         myEle.text = ItemArray[x];
         if (nav == "IE") controlToPopulate.add(myEle);
 	      else controlToPopulate.appendChild(myEle);
      }
   }
}
