﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" surrealistic geological formation cappadocia wonders world result opposing forces nature--volcanic activity constructive stage erosion destructive this amazing volcanic area known offers most incredible formations fairy chimneys rock churches monasteries rich historical heritage region hittite monuments rock carvings unlimited number mounds waiting their turn excavated also houses great painted churches covering periods byzantine from beginning 20th century valley goreme developed important monastic center after iconoclast period centuries when icons other figurative representations were prohibited region earliest back while latest date these cappadocia located mainly soganlı valley ihlara some part isolated \",\" \",\" geological formation cappadocia surrealistic geological formation cappadocia wonders world result opposing forces nature--volcanic activity constructive stage erosion destructive wind climate mechanical weathering breaking rocks rain rivers types that gave unusual characteristic formations cappadocian with sharp changes temperature heavy rains melting snow spring plays important role landscape addition responsible fragmentation because expand when heated break they cool water freezing cracks also cause however most sources heavy rainfall transformed smooth surface plateau into complex pattern gullies followed preexisting fissures eroded materials were then removed sometimes streams made very vertical cuts volcanic soil created isolated pinnacles intersection more rain formed valleys such zelve goreme valley \",\" goreme village avcilar village goreme formerly known located banks kodarak river which flows through valley central turkey characterized perfect harmony between man-made dwellings natural environment size with vineyards fields gardens determined number cones used rock-cut these surrounded high cliffs that form borders even stone structures region blend harmoniously fantastic times surrealistic landscapes ancient matiana macan oldest towns farming community during attacks arabs lost much population because area isolated like other cappadocia valleys provided camouflage defenses most existing churches this were built after arab raids when re-established itself developed into religious center although many yusuf kilise durmus kadir most important ones village \",\" love valley \",\" distant fortress highest point goreme uchisar offers marvelous introduction region excellent examples various types volcanic formations found cappadocia been seen from fort natural rock formation consists enormous cones surrounded multitude smaller ones resembling towers many rock-cut dwellings have living rooms kitchens storage areas stables carved levels avalanches houses foot longer inhabited \",\" goreme village avcilar village goreme formerly known located banks kodarak river which flows through valley central turkey characterized perfect harmony between man-made dwellings natural environment size with vineyards fields gardens determined number cones used rock-cut these surrounded high cliffs that form borders even stone structures region blend harmoniously fantastic times surrealistic landscapes ancient matiana macan oldest towns farming community during attacks arabs lost much population because area isolated like other cappadocia valleys provided camouflage defenses most existing churches this were built after arab raids when re-established itself developed into religious center although many yusuf kilise durmus kadir most important ones village \",\" zelve zelve best examples troglodyte cave dweller communities existence today exemplifies man's mans ability adapt himself environment harmonious manner because volcanic rocks cones provided insulation from unrelenting heat summer freezing cold winter dwellers this region developed ingenious ways creating comfortable living quarters churches monasteries pigeon houses storage areas village extends along sheer cliffs three valleys that converge avanos plain these natural rock formations create avenues where erosion caused numerous avalanches over centuries what appear rectangular caves actually interior rooms former dwellings have been exposed result earliest inhabitants made their homes cracks carved additional needed dwellings were originally created level streams water eroded soil subsequent closer ever-lowering stream thus with passage time assumed honeycomb appearance \",\" ortahisar middle fortress ortahisar another cappadocian village dominated fortress-like rock rising above winding roads present-day town located foot fortress complicated network paths leads abandoned dwellings addition cultivating land inhabitants earn their living storing fruits yearlong caves from volcanic from summit which accessible stairs enjoy wonderful panoramic view surrounding area \",\" avanos avanos formerly known venassa most important cities ancient cappadocia local cult zeus hellenistic tombs centuries found there indicate that city religious political economic prominence kizilirmak river longest river turkey divides half soil region provides potters with material used produce pottery bricks which famous wheel controlled foot pedal model probably differs little from type people central anatolia beginning second millennium unfortunately some typical shapes have been lost advent electricity example special jars store cool water replaced refrigerators addition also carpet weaving \",\" soganli valley churches soganli valley which continuously inhabited since earliest days christian churches that date from 13th centuries some contain inscriptions giving exact dates construction thus have provided scholars with valuable clues help other cappadocia like valleys exemplifies harmony between nature over carved shelters themselves cliffs rock cones they also used rocks create expressions their religious faith devotion first time exterior surfaces some were form unique high drums domes \",\" ihlara belisirama valleys cappadocia remarkable ihlara belisirama valleys historical geological treasures turkey that were inaccessible travelers long time their location hasan region central anatolia magnificent landscape mosques churches this provide richly textured panorama anatolian history religion culture architecture order reach these visitor must cross vast expanses arid plains where parched earth occasionally punctuated patches green trees grass which reveal presence small rivers rises majestically above peasants tend flocks cultivate wheat fields ride donkeys ancestors thousands years rectangular stone houses nearby rock-cut caves blend into slopes mountains formed over millennia erosion wind rain climatic changes nestle side with unusual fairy chimneys struck both lifestyle inhabitants some magical fashion seem have made stand still \",\" fairy chimneys peri bacalari fairy chimneys were formed when lava covering tuff consolidated volcanic gave along preexisting cracks sloping areas became isolated pinnacles which attain height forty meters have conical shapes consist caps harder rock resting pillars softer fairy chimney exists until neck cone erodes protective falls subsequent disintegration remaining pinnacle continues completely leveled down \",\" goreme open museum valley goreme cappadocia developed important monastic center after iconoclast period centuries when icons other figurative representations were prohibited from second half century number small single-nave churches built most outstanding examples being kiliclar kilise first 10th yeni tokali mid-10th both which contain finest byzantine paintings 11th represents golden religious three from this period known columned churches because they share same iconography architecture neighboring valleys nazar have great variety cannot exactly life ended cappadocian however dating later than been discovered some refectories with rock-cut tables benches also undecorated rooms formerly used storage areas kitchens possibly dormitories manner these complexes organized provides evidence existence many groups \",\" \",\" \",\" have questions about cappadocia please fill this form send will answered quickly possible name e-mail address comments \",\" \",\" underground cities derinkuyu kaymakli another interesting phenomenon found cappadocia underground cities although many were discovered finest examples derinkuyu kaymakli which located between nevsehir nigde beneath earth these rock-cut extend several kilometers different directions certain parts have eight nine levels form veritable labyrinth narrow tunnels leading rooms various sizes numbering thousands meet intersections where they squares these almost perfect system defense times danger very large slabs rock resembling millstones placed entrances everything required life carved from posts guards escape furnished with beds tables storage areas stables chapels efficient man-made shafts provided ventilation even deepest existed prior christian especially useful during arab attacks numerous military strategies stop arabs unsuccessful therefore people forced retreat their those lived mountainous other hand skillfully dwellings high cliffs cones natural camouflage inaccessibility note that appear been used before invasions oldest known descriptions city century historian xenophon's xenophons anabasis this work describes visit nearby town named dana villagers xenophon mentions resembled wells however quite some housing goats sheep poultry corn rice barley wine stored jars warns about potent advises diluted water \",\" \");");
d.write("var pageMap = new Array(\"Cappadocia Guide\",\"History\",\"Geological Formations\",\"Goreme Village\",\"Cappadocia Villages\",\"Uchisar\",\"Goreme Village\",\"Zelve\",\"Ortahisar\",\"Avanos\",\"Soganli\",\"Ihlara\",\"Pasabag\",\"Goreme Museum\",\"Table of Contents\",\"cappadocia1\",\"Contact\",\"Cappadocia Blog\",\"Underground Cities\",\"uchisar movies\");");
d.write("var linkMap = new Array(\"index.html\",\"history.html\",\"geological formations.html\",\"goreme village.html\",\"cappadocia villages.html\",\"uchisar.html\",\"goreme village1.html\",\"zelve.html\",\"ortahisar.html\",\"avanos.html\",\"soganli.html\",\"ihlara.html\",\"page13.html\",\"goreme museum.html\",\"page15.html\",\"cappadocia1.html\",\"contact.html\",\"page23.html\",\"underground cities.html\",\"page21.html\");");
d.write("var preMap = new Array(\"The surrealistic geological formation of Cappadocia is one of the wonders of the world. It is the result of two opposing forces in nature--volcanic activity in the constructive stage and erosion in th\",\" \",\"GEOLOGICAL FORMATION OF CAPPADOCIA The surrealistic geological formation of Cappadocia is one of the wonders of the world. It is the result of two opposing forces in nature--volcanic activity in the c\",\"GOREME VILLAGE (Avcilar) The village of Goreme (formerly known as Avcilar) is located on the banks of the Kodarak River, which flows through the valley of Goreme in Central Turkey. The village is char\",\"Love Valley \",\"(Distant Fortress) As the highest point in Goreme, Uchisar offers a marvelous introduction to the region. Excellent examples of various types of volcanic formations found in Cappadocia can been seen\",\"GOREME VILLAGE (Avcilar) The village of Goreme (formerly known as Avcilar) is located on the banks of the Kodarak River, which flows through the valley of Goreme in Central Turkey. The village is char\",\"ZELVE Zelve is one of the best examples of troglodyte (cave dweller) communities in existence today, and exemplifies mans ability to adapt himself to his environment in a harmonious manner. Because t\",\"ORTAHISAR  (Middle Fortress) Ortahisar is another Cappadocian village dominated by a fortress-like rock rising above winding roads. The present-day town is located at the foot of the fortress, and\",\"AVANOS Avanos, formerly known as Venassa, was one of the most important cities in ancient Cappadocia. A local cult of Zeus and Hellenistic tombs (4th to 1st centuries B.C.) found there indicate that t\",\"SOGANLI VALLEY AND ITS CHURCHES Soganli valley, which was continuously inhabited since the earliest days of the Christian era, has churches that date from the 9th to 13th centuries. Some of the church\",\"IHLARA AND BELISIRAMA VALLEYS In Cappadocia are the remarkable Ihlara and Belisirama valleys, two historical and geological treasures of Turkey that were inaccessible to travelers for a long time due \",\"FAIRY CHIMNEYS (Peri Bacalari) Fairy chimneys were formed when lava covering the tuff (consolidated volcanic ash) gave way along preexisting cracks of sloping areas and became isolated pinnacles. \",\"GOREME OPEN AIR MUSEUM The valley of Goreme in Cappadocia developed as an important monastic center after the Iconoclast Period (8th to 9th centuries), when icons and other figurative representations \",\"\",\"\",\"If you have any questions about Cappadocia Please fill this form  and send us, you will be answered as quickly as possible. Name E-mail Address Comments \",\"\",\"UNDERGROUND CITIES OF DERINKUYU AND KAYMAKLI Another interesting phenomenon found in Cappadocia is its underground cities. Although many underground cities were discovered in Cappadocia, the finest ex\",\"\");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" result(s) found for search term: \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}