


function details(){

thisCity = document.markerForm.theCity.value;
thisCountry = document.country.menu.options[document.country.menu.selectedIndex].text;
cVal = document.country.menu.options[top.document.country.menu.selectedIndex].value;
sQuery = thisCity+" tourist attractions. "+thisCountry;

a = sQuery.split(" ");
b = a.join("+");

}

function tourism(){
details()

open("inc_directory.php?cat=tourism&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.planetware.com/search?cx=011211612846105694850%3Ab9m72zlkwws&cof=FORID%3A11&q="+b,"_blank")
//open("http://www.google.com/search?q="+b,"_blank")
//open("http://www.tripadvisor.com/Search?q="+b,"_blank")
//open("http://search.lonelyplanet.com/listing?Ntt="+b,"_blank")

}
function shopping(){
details()

sQuery = "Shop in "+thisCity+". "+thisCountry 
a = sQuery.split(" ");
b = a.join("+");

open("inc_directory.php?cat=shopping&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.google.com/search?q="+b,"_blank")


}
function money(){
details()

sQuery = "Foreign exchange shop in  "+thisCity+"." 
a = sQuery.split(" ");
b = a.join("+");

//open("inc_directory.php?cat=money&city="+thisCity+"&country="+thisCountry,"currencyFrame");
open("currency.php","currencyFrame")
//open("http://www.google.com/search?q="+b,"_blank")

}
function restaurants(){
details()

sQuery = thisCity+" restaurant guide."; 
a = sQuery.split(" ");
b = a.join("+");
open("inc_directory.php?cat=restaurants&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.google.com/search?q="+b,"_blank")


}
function bars(){
details()

sQuery = thisCity+" bars and cocktail lounges"; 
a = sQuery.split(" ");
b = a.join("+");
open("inc_directory.php?cat=bar&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.google.com/search?q="+b,"_blank")


}
function music(){
details()

sQuery = thisCity+" pubs, clubs and entertainment guide. "+thisCountry 
a = sQuery.split(" ");
b = a.join("+");
open("inc_directory.php?cat=music&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.google.com/search?q="+b,"_blank")


}
function plane(){
details()

sQuery = "Book tickets to/from "+ thisCity+". "+thisCountry 
a = sQuery.split(" ");
b = a.join("+");
open("inc_directory.php?cat=plane&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.google.com/search?q="+b,"_blank")

}
function phone(){
details()
open("inc_directory.php?cat=phone&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.timeanddate.com/worldclock/dialing.html?p2="+cVal,"_blank")


}
function backpackers(){
details()

//a = sQuery.split(" ");
//b = a.join("+");
sQuery = "Book tickets to/from "+ thisCity+". "+thisCountry 
a = sQuery.split(" ");
b = a.join("+");

open("inc_directory.php?cat=bed&city="+thisCity+"&country="+thisCountry,"currencyFrame");

//open("http://www.booking.com/searchresults.html?error_url=http%3A%2F%2Fwww.booking.com%2Findex.html%3Fsid%3D0a3da0b5e330a6d23b8fea550ac2042e%3B&sid=0a3da0b5e330a6d23b8fea550ac2042e&si=ai%2Cco%2Cci%2Cre&ss="+thisCountry,"_blank")

}


function dirSelMenu(what){

if(what!="heading") {
	
 		details()
 		open("inc_directory.php?cat="+what+"&city="+thisCity+"&country="+thisCountry,"currencyFrame");
		
}

}

