// functions with language specific texts

function ovlGeoNet(token,linkcodelist,ID,langID,link) {
	var aLnk=linkcodelist.split(",");
	var users='<img src="'+curl+'siteimg/icons/16/users4.gif" width="16" height="16" alt="" border="0" align="absmiddle"> <a href="'+link+'?fuseaction=nettools.SearchNetwork&selectmode=results&';
	var wrld='<img src="'+curl+'siteimg/icons/16/earth.gif" width="16" height="16" alt="" border="0" align="absmiddle"> <a href="'+link+'?fuseaction=';
	var forum='<img src="'+curl+'siteimg/icons/16/messages.gif" width="16" height="16" alt="" border="0" align="absmiddle"> <a href="'+link+'?fuseaction=forum.SearchNetworks&';
	var captiontext='';
	var ptxt='<nobr>';
	var lc=0;
	
	captiontext='&nbsp;I want to search for:';
	while (lc < aLnk.length) {
		switch(aLnk[lc]) {
			case "country":
			ptxt+=wrld+'country.Infopage&country_ID='+ID+'">the country "'+token+'"';
			break;
			case "region":
			ptxt+=wrld+'region.Infopage&region_ID='+ID+'">the region "'+token+'"';
			break;
			case "city_ID":
			ptxt+=wrld+'city.Infopage&city_ID='+ID+'">the city "'+token+'"';
			break;
			case "city":
			ptxt+=wrld+'geo.Search&city='+token+'">the city "'+token+'"';
			break;
			case "spot_ID":
			ptxt+=wrld+'spot.Infopage&spot_ID='+ID+'">the spot "'+token+'"';
			break;
			case "spot":
			ptxt+=wrld+'geo.Search&spot='+token+'">the spot "'+token+'"';
			break;
			case "geosearch":
			ptxt+=wrld+'geo.Search&searchstring='+ID+'">the spot "'+token+'"';
			break;
			case "homecountry":
			ptxt+=users+'country_ID='+ID+'">other people with "'+token+'" as home country';
			break;
			case "homeregion":
			ptxt+=users+'region_ID='+ID+'">other people with "'+token+'" as home region';
			break;
			case "homecity":
			ptxt+=users+'city_ID='+ID+'">other people with "'+token+'" as home town';
			break;
			case "company":
			ptxt+=users+'companyname='+ID+'">other people who currently work at "'+token+'"';
			break;
			case "prevcompany":
			ptxt+=users+'excompanyname='+ID+'">other people who once worked at "'+token+'"';
			break;
			case "bizcountry":
			ptxt+=users+'bizcountry_ID='+ID+'">other people who work in "'+token+'"';
			break;
			case "bizcity":
			ptxt+=users+'bizcity_ID='+ID+'">other people who work in "'+token+'"';
			break;
			case "eduinstitute":
			ptxt+=users+'educationinstitute='+ID+'">other people who currently go to "'+token+'"';
			break;
			case "preveduinstitute":
			ptxt+=users+'exeducationinstitute='+ID+'">other people who once went to "'+token+'"';
			break;
			case "travfutcountry":
			ptxt+=users+'travnearfutcountry_ID='+ID+'">other people who plan to go to "'+token+'" in the near future</a><br>';
			ptxt+=users+'travremotefutcountry_ID='+ID+'">other people who plan to go to "'+token+'" in the remote future';
			break;
			case "travfutregion":
			ptxt+=users+'travnearfutregion_ID='+ID+'">other people who plan to go to "'+token+'" in the near future</a><br>';
			ptxt+=users+'travremotefutregion_ID='+ID+'">other people who plan to go to "'+token+'" in the remote future';
			break;
			case "travfutcity":
			ptxt+=users+'travnearfutcity_ID='+ID+'">other people who plan to go to "'+token+'" in the near future</a><br>';
			ptxt+=users+'travremotefutcity_ID='+ID+'">other people who plan to go to "'+token+'" in the remote future';
			break;
			case "travfutspot":
			ptxt+=users+'travnearfutspot_ID='+ID+'">other people who plan to go to "'+token+'" in the near future</a><br>';
			ptxt+=users+'travremotefutspot_ID='+ID+'">other people who plan to go to "'+token+'" in the remote future';
			break;
			case "travcurrcountry":
			ptxt+=users+'currentcountry_ID='+ID+'">other people who are currently in "'+token+'"';
			break;
			case "travcurrregion":
			ptxt+=users+'currentregion_ID='+ID+'">other people who are currently in the region "'+token+'"';
			break;
			case "travcurrcity":
			ptxt+=users+'currentcity_ID='+ID+'">other people who are currently in the city "'+token+'"';
			break;
			case "travcurrspot":
			ptxt+=users+'currentspot_ID='+ID+'">other people who are currently at the spot "'+token+'"';
			break;
			case "travpastcountry":
			ptxt+=users+'historycountry_ID='+ID+'">other people who traveled to "'+token+'"';
			break;
			case "travpastregion":
			ptxt+=users+'historyregion_ID='+ID+'">other people who traveled to "'+token+'"';
			break;
			case "travpastcity":
			ptxt+=users+'historycity_ID='+ID+'">other people who traveled to "'+token+'"';
			break;
			case "travpastspot":
			ptxt+=users+'historyspot_ID='+ID+'">other people who traveled to the spot "'+token+'"';
			break;
			case "favcountry":
			ptxt+=users+'favoritecountry_ID='+ID+'">other people with "'+token+'" as favorite travel destination';
			break;
			case "favregion":
			ptxt+=users+'favoriteregion_ID='+ID+'">other people with "'+token+'" as favorite travel destination';
			break;
			case "favcity":
			ptxt+=users+'favoritecity_ID='+ID+'">other people with "'+token+'" as favorite travel destination';
			break;
			case "favspot":
			ptxt+=users+'favoritespot_ID='+ID+'">other people with "'+token+'" as favorite travel destination';
			break;
			case "activity_ID":
			ptxt+=users+'activity_ID='+ID+'">other people who are active in "'+token+'"';
			break;
			case "activity":
			ptxt+=users+'activity='+ID+'">other people who are active in "'+token+'"';
			break;
			case "activity_IDmaster":
			ptxt+=users+'activity_ID='+ID+'&master=true">other people who are active and good (** or ***) in "'+token+'"';
			break;
			case "expoffercountry_ID":
			ptxt+=users+'expertiseoffercountry_ID='+ID+'">other people with "'+token+'"-expertise';
			break;
			case "expofferregion_ID":
			ptxt+=users+'expertiseofferregion_ID='+ID+'">other people with "'+token+'"-expertise';
			break;
			case "expoffercity_ID":
			ptxt+=users+'expertiseoffercity_ID='+ID+'">other people with "'+token+'"-expertise';
			break;
			case "expofferspot_ID":
			ptxt+=users+'expertiseofferspot_ID='+ID+'">other people with "'+token+'"-expertise';
			break;
			case "expofferactivity_ID":
			ptxt+=users+'expertiseofferactivity_ID='+ID+'">other people with "'+token+'"-expertise';
			break;
			case "expreqcountry_ID":
			ptxt+=users+'expertiserequestcountry_ID='+ID+'">other people who are looking for "'+token+'"-expertise';
			break;
			case "expreqregion_ID":
			ptxt+=users+'expertiserequestregion_ID='+ID+'">other people who are looking for "'+token+'"-expertise';
			break;
			case "expreqcity_ID":
			ptxt+=users+'expertiserequestcity_ID='+ID+'">other people who are looking for "'+token+'"-expertise';
			break;
			case "expreqspot_ID":
			ptxt+=users+'expertiserequestspot_ID='+ID+'">other people who are looking for "'+token+'"-expertise';
			break;
			case "expreqactivity":
			ptxt+=users+'expertiserequestactivity_ID='+ID+'">other people who are looking for "'+token+'"-expertise';
			break;
			case "forumcountry":
			ptxt+=forum+'country_ID='+ID+'">other forum messages related to the country "'+token+'"';
			break;
			case "forumregion":
			ptxt+=forum+'region_ID='+ID+'">other forum messages related to the region "'+token+'"';
			break;
			case "forumcity":
			ptxt+=forum+'city_ID='+ID+'">other forum messages related to the city "'+token+'"';
			break;
			case "forumspot":
			ptxt+=forum+'spot_ID='+ID+'">other forum messages related to the spot "'+token+'"';
			break;
			case "birthdate":
			ptxt+=users+'birthdate='+ID+'">other people whose birthday is on '+token+'</a><br>';
			ptxt+=users+'birthdatetoday='+ID+'">other people whose birthday is today';
			break;
			case "age":
			ptxt+=users+'age='+ID+'">other people who are '+token+' years old';
			// Todo Step2: Personen "um die" n
			break;
		}
		lc+=1;
		ptxt+='</a><br>';
  	} 
	ptxt+='</nobr>';
	overlib(ptxt, STICKY, CAPTION, captiontext, WIDTH, 270, BELOW, OFFSETX, -20, OFFSETY, 0, CELLPAD, 4, 4, CLOSETEXT, '<img src="'+curl+'siteimg/util/closepop.gif" width="14" height="14" alt="" border="0">', CAPCOLOR, '#000000', CAPTIONSIZE, '11px', TEXTSIZE, '11px', FGCOLOR, '#FFFFFF', BGCOLOR, '#e9e9e9', BORDER, 2, HAUTO);
}
