var qs_options = [["", "quick search index"], ["/what_to_do/activities/", "Activities"], ["/hospitality/", "Accommodation"], ["/getting_here/airport/", "Airport"], ["/what_to_see/ao_nang/", "Ao nang beach"], ["/what_to_see/", "Attractions"], ["/about_krabi/health/#avian_flu", "Avian flu"], ["/hospitality/bars/", "Bars"], ["/getting_here/bus/", "Buses"], ["/getting_here/get_around/#car_hire", "Car Hire"], ["/what_to_do/climbing/", "Climbing"], ["/what_to_do/activities/#cooking", "Cooking courses"], ["/culture/", "Culture"], ["/how_to/change/", "Currency exchange"], ["/culture/", "Culture"], ["/what_to_do/diving/", "Diving"], ["/hospitality/", "Entertainment"], ["/essential/", "Essential services"], ["/getting_here/boats/", "Ferries"], ["/culture/", "Festivals"], ["/what_to_do/activities/#fishing", "Fishing"], ["/hospitality/restaurants/", "Food"], ["/gallery/", "Gallery"], ["/hospitality/guesthouses/", "Guest houses"], ["/culture/#batik", "Handicrafts"], ["/about_krabi/health/", "Health"], ["/what_to_see/", "Highlights"], ["/about_krabi/health_2/", "HIV"], ["/what_to_see/coast/", "Hong Island"], ["/hospitality/hotels/", "Hotels"], ["/what_to_see/phanga_bay/", "James Bond Island"], ["/what_to_do/kayaking/", "Kayaking"], ["/what_to_see/lanta/", "Koh Lanta"], ["/what_to_see/coast/", "Krabi river estuary"], ["/what_to_see/city_tours/", "Krabi town"], ["/hospitality/bars/", "Lanta bars"], ["/what_to_see/lanta/", "Lanta beaches"], ["http://hotels.1stopkrabi.com/thailand/koh-lanta-district1.htm", "Lanta hotels"], ["/what_to_see/lanta/", "Lanta island"], ["/about_krabi/health_2/", "Malaria"], ["/hospitality/massage/", "Massage"], ["/getting_here/get_around/#motorcycles", "Motorbike rental"], ["/what_to_see/attractions/", "Museum"], ["/what_to_see/attractions/", "National Parks"], ["/hospitality/bars/", "Nightlife"], ["/what_to_see/phanga_bay/", "Pha nga bay"], ["/what_to_see/phi_phi/", "Phi Phi"], ["http://hotels.1stopkrabi.com/thailand/koh-phi-phi-district1.htm", "Phi Phi hotels"], ["/what_to_see/railay/", "Phra Nang Beach"], ["/gallery/", "Pictures"], ["/what_to_see/railay/", "Railay beach"], ["http://hotels.1stopkrabi.com/thailand/krabi-district2.htm", "Railay hotels"], ["/hospitality/restaurants/", "Restaurants"], ["/about_krabi/health/", "Road Safety"], ["/what_to_do/climbing/", "Rock climbing"], ["/about_krabi/health/", "Safety"], ["/what_to_see/lanta/#saladan", "Saladan"], ["/hospitality/restaurants/", "Seafood"], ["/what_to_see/coast/", "Shell Cemetery"], ["/what_to_do/shopping/", "Shopping"], ["/what_to_do/guide/", "Sightseeing"], ["/what_to_do/diving/", "Snorkeling"], ["/hospitality/spas/", "Spas"], ["/getting_here/get_around/#taxis", "Taxis"], ["/what_to_see/coast/", "Tiger Cave Temple"], ["/what_to_see/coast/", "Tours"], ["/what_to_do/", "Tourist guide"], ["/getting_here/airport/", "Transportation"], ["/about_krabi/weather_seasons/", "Weather"]]

var select_tag = document.getElementById('qsselect');
for (i in qs_options) {
	var option_tag = document.createElement('option');
	option_tag.setAttribute('value', qs_options[i][0]);
	option_tag.innerHTML = qs_options[i][1];
	select_tag.appendChild(option_tag);
}



/* included here to avoid adding another file. Uses OneStop.insert_cool_thing_link in shared.js */ 
$(function() {
		var ctl = [
			["/t/1stopkrabi/images/cool/krabi_climb.jpg", "/what_to_do/climbing"],
			["/t/1stopkrabi/images/cool/krabi_fairy.jpg", "/what_to_see/phanga_bay"],
			["/t/1stopkrabi/images/cool/krabi_islands.jpg", "/what_to_see/coast"],
			["/t/1stopkrabi/images/cool/krabi_pool.jpg", "/what_to_see/coast"],
			["/t/1stopkrabi/images/cool/krabi_beach.jpg", "/articles/phra_nang"]
		]
		
		OneStop.insert_cool_thing_link(ctl, $("div#cool-thing"))	
})




