var next = 2;
var faq = [
    {
        "Q": "Where can I get a Nikon repaired in Vienna?",
        "A": "Nikon Service Point Wien - Krca Kameraservice, Praterstr. 60/2/17, A-1020 Wien. T: +43-1-2180910"
    },
    {
        "Q": "Where can I catch a ferry to Koh Samui?",
        "A": "Ferries to Koh Samui go from Surat Thani every hour from 05.00 to 19.00"
    },
    {
        "Q": "When does the Getty close?",
        "A": "Getty Center (LA) closes 6pm Su-Th, 9pm Fr/Sa, closed Mon. T: (310) 440 7300"
    },
    {
        "Q": "Is May 1 a public holiday in Turkey? Will the banks be open?",
        "A": "May 1 is not a public holiday in Turkey, banks are open"
    },
    {
        "Q": "I have lost my credit cards. Can you send me the phone number to report it to Barclays?",
        "A": "The Barclaycard 24-hr lost card number is +44 1604 230 230"
    },
    {
        "Q": "Can you send me the number for a taxi in Berlin?",
        "A": "Funktaxi is +49-(0)30 - 26 10 26. Quality Taxi is +49-(0)800 - 26 30000"
    },
	  {
        "Q": "Any idea where I can catch some jazz in Paris?",
        "A": "A good jazz venue in Paris is New Morning, 7, Rue des Petites Ecuries T: +33 1 45 23 56 39"
    },
    {
        "Q": "What's the cheapest way to get from Melbourne to Tasmania?",
        "A": "Tiger Airways have flights Melbourne to Hobart and Launceston from A$40 one way"
    }
];
function getNextQuestion() {
//    console.log(next);
    if(next==faq.length) {
        next = 0;
    }
    return faq[next++];
}
/*
for(i=0; i<15; i++) {
    var o = getNextQuestion();
    console.log(o.Q + '|' + o.A);
}
*/
