1
0
1
1
1
http://travel.aol.com/travel/AdMagicServlet?&query=Kuala+Lumpur&start=1&num=10&page=1&country=Malaysia&city=Kuala+Lumpur
-
asia
malaysia
http://information.travel.aol.com/travel-guide/asia/malaysia
kuala_lumpur
1
0
1
1
1
-
<div class=gsl' style="margin:0;padding:0;width:756px;height:110px;border:1px solid #BFC0C4; " >
<h3 style="margin:5px;padding:0px;font-family:arial;color:#000;font-size:16px;">Sponsored Links</h3>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=0&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB_QLgzj2LSJfwDImAywXG3JiUCeKGqUTWp72jBMCNtwHgxQgQARgBIN_WjwYoBTgAUL7V6JMFYMmGgIDcI6ABgvq7_gOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIByALigb4BqAMB6AOABugDQ_UDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.kayak.com%2Fin%253Fa%253Dgc%2526p%253Dairline_ticket_to_kuala_lumpur%2Fcity_%252B_airline_ticket_to_3%2Fair_tail_1%2526dq%253DIAAaA%255DIY%2526url%253Dhttp%25253A%25252F%25252Fwww.kayak.com%25252Fh%25252Flanding%25253Fdestination%25253DKuala%252BLumpur%252526kw%25253DAirline%252BTicket%252Bto%252BKuala%252BLumpur%252526product%25253Dair%252B%26client%3Dca-aol-service_traveldestination_xml&cs=rrY5MRAc5wAaJeKT6EDpXGj4e7M%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
Cheap Airline Ticket Deal</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Official Air Ticket Deals!</p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=0&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DB_QLgzj2LSJfwDImAywXG3JiUCeKGqUTWp72jBMCNtwHgxQgQARgBIN_WjwYoBTgAUL7V6JMFYMmGgIDcI6ABgvq7_gOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvgAIByALigb4BqAMB6AOABugDQ_UDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.kayak.com%2Fin%253Fa%253Dgc%2526p%253Dairline_ticket_to_kuala_lumpur%2Fcity_%252B_airline_ticket_to_3%2Fair_tail_1%2526dq%253DIAAaA%255DIY%2526url%253Dhttp%25253A%25252F%25252Fwww.kayak.com%25252Fh%25252Flanding%25253Fdestination%25253DKuala%252BLumpur%252526kw%25253DAirline%252BTicket%252Bto%252BKuala%252BLumpur%252526product%25253Dair%252B%26client%3Dca-aol-service_traveldestination_xml&cs=rrY5MRAc5wAaJeKT6EDpXGj4e7M%3D" target="_blank">www.AirlineTicket.Kayak.com</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=1&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBJf7Bzj2LSJfwDImAywXG3JiUCbv130DRjbiNA8CNtwGA8QQQAhgCIN_WjwYoBTgAUO38wPH-_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCzbeMBKgDAegDgAboA0P1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g298570-d302420-Reviews-m10995-Le_Meridien_Kuala_Lumpur-Kuala_Lumpur_Wilayah_Persekutuan-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=bIGZJgAt%2BOyu4TGLRIAygCpO9rc%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
<b>Kuala</b> <b>Lumpur</b> Hotels</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Find Deals, Read Reviews from Real</p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=1&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBJf7Bzj2LSJfwDImAywXG3JiUCbv130DRjbiNA8CNtwGA8QQQAhgCIN_WjwYoBTgAUO38wPH-_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL8gCzbeMBKgDAegDgAboA0P1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g298570-d302420-Reviews-m10995-Le_Meridien_Kuala_Lumpur-Kuala_Lumpur_Wilayah_Persekutuan-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=bIGZJgAt%2BOyu4TGLRIAygCpO9rc%3D" target="_blank">www.TripAdvisor.com</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=2&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBG5yfzj2LSJfwDImAywXG3JiUCZae-Fe2tLrDBcCNtwGwrhUQAxgDIN_WjwYoBTgAUKuHu8AHYMmGgIDcI6AB7J_z-AOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvqQKcIsI2U6SUPqgDAegDgAboA0P1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.propertick.com%26client%3Dca-aol-service_traveldestination_xml&cs=UmtiDjwbwxnAqWHPIFFM4Vz3NV0%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
KL Properties Sale & Rent</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Over Thousands Of <b>Kuala</b> <b>Lumpur</b></p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=2&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBG5yfzj2LSJfwDImAywXG3JiUCZae-Fe2tLrDBcCNtwGwrhUQAxgDIN_WjwYoBTgAUKuHu8AHYMmGgIDcI6AB7J_z-AOyAQRudWxsyAEB2gEMaHR0cDovL251bGwvqQKcIsI2U6SUPqgDAegDgAboA0P1AwAAAAD1AwQAAACIBAGQBAGYBAA%26num%3D3%26adurl%3Dhttp%3A%2F%2Fwww.propertick.com%26client%3Dca-aol-service_traveldestination_xml&cs=UmtiDjwbwxnAqWHPIFFM4Vz3NV0%3D" target="_blank">www.Propertick.com</a>
</div>
<div style="float:left;padding:0px 3px;display:inline;width:183px;border-right:0 solid #E0DEC6;">
<a href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=3&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBOzBRzj2LSJfwDImAywXG3JiUCbGi2mbHma6wBMCNtwGAxBMQBBgEIN_WjwYoBTgAUOXTrcD5_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAakCnCLCNlOklD6oAwHoA4AG6AND9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.fullhouse.com.my%2Fpublic%2Fpub_find_apart_condo.asp%26client%3Dca-aol-service_traveldestination_xml&cs=lQY%2BX5LNCTrjrazFD0HEjqwK5SU%3D" style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:12px;font-weight:bold;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" target="_blank">
Apartments & Condominiums</a>
<p style="height:28px;margin:0 0 0 3px;padding:0px;font-family:arial;color:#000;font-size:11px;">Malaysia aprt & condo online</p>
<a style="margin:0 0 0 3px;padding:0px;font-family:arial;font-size:11px;text-decoration:none;color:#2864B4"
onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'" href="http://switcher.dmn.aol.com/sw/r?ri=49apn7DLhKTIK09IGUrkyWsg&ai=3&dt=1217084878076&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBOzBRzj2LSJfwDImAywXG3JiUCbGi2mbHma6wBMCNtwGAxBMQBBgEIN_WjwYoBTgAUOXTrcD5_____wFgyYaAgNwjsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL4ACAakCnCLCNlOklD6oAwHoA4AG6AND9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.fullhouse.com.my%2Fpublic%2Fpub_find_apart_condo.asp%26client%3Dca-aol-service_traveldestination_xml&cs=lQY%2BX5LNCTrjrazFD0HEjqwK5SU%3D" target="_blank">www.fullhouse.com.my</a>
</div>
</div>
1
0
4
1
4
SC4
http://switcher.dmn.aol.com/sw/a?squery=Kuala+Lumpur&ip=64.12.90.124&sch=ca-aol-service_traveldestination_xml&ssch=listings_events&snum=4&skw=Kuala+Lumpur
-
http://switcher.dmn.aol.com/sw/r?ri=21Z5Fh1llSTSOZMAUUYx9V9A&ai=0&dt=1217084878062&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBtK_Vzj2LSIudDomOzAXSha2sCbv130DRjbiNA8CNtwHQhgMQARgBIN_WjwYoBDgAUO38wPH-_____wFgyQayAQRudWxsyAEB2gEMaHR0cDovL251bGwvyALNt4wEqAMB6AOABugDQ_UDAAAAAPUDBAAAAIgEAZAEAZgEAA%26num%3D1%26adurl%3Dhttp%3A%2F%2Fwww.tripadvisor.com%2FHotel_Review-g298570-d302420-Reviews-m10995-Le_Meridien_Kuala_Lumpur-Kuala_Lumpur_Wilayah_Persekutuan-GoogleUS0C.html%26client%3Dca-aol-service_traveldestination_xml&cs=2Q3JIG06qUJ5qXnXAhXnrJex1EM%3D
ppclick
<b>Kuala</b> <b>Lumpur</b> Hotels
Find Deals, Read Reviews from Real
www.TripAdvisor.com
People. Get the Truth. Then Go.
-
http://switcher.dmn.aol.com/sw/r?ri=21Z5Fh1llSTSOZMAUUYx9V9A&ai=1&dt=1217084878062&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBT2Fczj2LSIudDomOzAXSha2sCeKGqUTWp72jBMCNtwGw2wYQAhgCIN_WjwYoBDgAUL7V6JMFYMkGoAGC-rv-A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-AAgHIAuKBvgGoAwHoA4AG6AND9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D2%26adurl%3Dhttp%3A%2F%2Fwww.kayak.com%2Fin%253Fa%253Dgc%2526p%253Dairline_ticket_to_kuala_lumpur%2Fcity_%252B_airline_ticket_to_3%2Fair_tail_1%2526dq%253DIAAaA%255DIY%2526url%253Dhttp%25253A%25252F%25252Fwww.kayak.com%25252Fh%25252Flanding%25253Fdestination%25253DKuala%252BLumpur%252526kw%25253DAirline%252BTicket%252Bto%252BKuala%252BLumpur%252526product%25253Dair%252B%26client%3Dca-aol-service_traveldestination_xml&cs=IHfBNuk7hLZQBIA4%2BkoadOHFxIU%3D
ppclick
Cheap Airline Ticket Deal
Official Air Ticket Deals!
www.AirlineTicket.Kayak.com
Find Cheap Air Ticket at 120+ Sites
-
http://switcher.dmn.aol.com/sw/r?ri=21Z5Fh1llSTSOZMAUUYx9V9A&ai=2&dt=1217084878062&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBJCRXzj2LSIudDomOzAXSha2sCduO1iTjk5C1A8CNtwGwnxoQAxgDIN_WjwYoBDgAUL_swLgFYMkGoAGt14P_A7IBBG51bGzIAQHaAQxodHRwOi8vbnVsbC-oAwHoA4AG6AND9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D3%26ggladgrp%3D4849047884538380471%26gglcreat%3D15279112116640307246%26adurl%3Dhttp%3A%2F%2Fwww.carrentals.com%2F%253Fcid%253D11474%2526l%253DKUL%2526chan%253DKUL%26client%3Dca-aol-service_traveldestination_xml&cs=XHNWQwYiBBziV7WtHHuU%2BDYPXeU%3D
ppclick
KUL Airport Car Rentals
16 Car Vendors At 13,000+ Locations
www.CarRentals.com
Lowest Rates. Reserve A Car Online!
-
http://switcher.dmn.aol.com/sw/r?ri=21Z5Fh1llSTSOZMAUUYx9V9A&ai=3&dt=1217084878062&u=http%3A%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Ficlk%3Fsa%3Dl%26ai%3DBEw5Tzj2LSIudDomOzAXSha2sCff0o2XJ_emSCsCNtwGwxTcQBBgEIN_WjwYoBDgAUKW2odkGYMkGsgEEbnVsbMgBAdoBDGh0dHA6Ly9udWxsL6kC9bR44g1Ahj7IAvHhggaoAwHoA4AG6AND9QMAAAAA9QMEAAAAiAQBkAQBmAQA%26num%3D4%26adurl%3Dhttp%3A%2F%2Fwww.factualtv.com%2FKuala-Lumpur%26client%3Dca-aol-service_traveldestination_xml&cs=oDV1CKW%2BWl8rqOPwwgzqEpja4jk%3D
ppclick
<b>Kuala</b> <b>Lumpur</b>
Watch a TV programme about
factualtv.com/Kuala-Lumpur
<b>Kuala</b> <b>Lumpur</b> at factualTV
Kuala+Lumpur
6
1
listings_events
Kuala Lumpur
Kuala Lumpur
10
2
188
-6940294266431012843
web
50
Malaysia
events
ca-aol-service_traveldestination_xml
Kuala Lumpur
155
Kuala Lumpur
-6940294266431012845
http
/web
80
travel.aol.com
/destGuide/web
GET
64.12.90.124
-1
eng
HTTP/1.1
USA
/destGuide
http://travel.aol.com/destGuide/web
64.12.90.124
query=Kuala+Lumpur&cityId=155&city=Kuala+Lumpur&country=Malaysia&debug=2&Rule=50&start=1&end=10&dmnsch=ca-aol-service_traveldestination_xml&dmnssch=listings_events&skw=Kuala+Lumpur&listing=events
Kuala Lumpur
SANDBOX
moduleLogger
destGuideApp
>UTF-8
/
8080
clickedItemURN
abcdef
src
abcdef
/search
./newshome
/web
./web_idx
/image
./newshome
/imageDetails
./newshome
/video
./newshome
/audio
./newshome
/browse
./newshome
/news
./newshome
/business
./newshome
/sports
./newshome
/entertainment
./newshome
/
ClickThrough
websearch
websearch
searchType
MS
source
google
partner
Google
sponsored
sponsored
searchType
SL
source
google
partner
Google
searchType
TTF
source
ttf
adsInfo
EventsListingNeighSource
EventsListingCatSource
lib_sponsor
google_common_module
adsInfo
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
EventsListingNeighSource
url
cityId
cityId
EventsListingNeighSource
1
vss
3
Vss EventsListingNeighSource Source
EventsListingCatSource
url
cityId
cityId
EventsListingCatSource
1
vss
3
Vss EventsListingCatSource Source
lib_sponsor
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
google_common_module
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
Kuala Lumpur
viewAllEventsCat.I
inner
DIRTY_VER.1
viewAllEventsCat.I
SourceConfiguration
SourceConfiguration
put
viewAllEventsNbr.I
inner
DIRTY_VER.1
viewAllEventsNbr.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=viewAllEvents.M
false
url
cityId
cityId
EventsListingCatSource
1
vss
3
Vss EventsListingCatSource Source
url
cityId
cityId
EventsListingNeighSource
1
vss
3
Vss EventsListingNeighSource Source
http://travel.aol.com/destGuide/web?rt=1&id=viewAllEvents.M&start=1&dmnssch=listings_events&end=10&debug=2&userid=-6940294266431012843&Rule=50&country=Malaysia&listing=events&dmnsch=ca-aol-service_traveldestination_xml&query=Kuala Lumpur&cityId=155&skw=Kuala Lumpur&clickstreamid=-6940294266431012845&city=Kuala Lumpur
EventsListingNeighSource
url
cityId
cityId
EventsListingNeighSource
1
vss
3
Vss EventsListingNeighSource Source
EventsListingCatSource
url
cityId
cityId
EventsListingCatSource
1
vss
3
Vss EventsListingCatSource Source
EventsListingCatSource
EventsListingNeighSource
defaultController
viewAllEvents.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:template name="filterModule">
<link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/commonListingModules.css" />
<script>var queryparas = "<xsl:value-of select='/xmldoc/parameters/query'/>";</script>
<script>var cityidparas = '<xsl:value-of select="/xmldoc/parameters/cityId"/>';</script>
<script>var querystart = '<xsl:value-of select="/xmldoc/parameters/requestinfo/requesturi"/>';</script>
<script>
var cityname = "<xsl:value-of select='/xmldoc/parameters/city'/>";
var statename = "<xsl:value-of select='/xmldoc/parameters/state'/>";
var countryname = "<xsl:value-of select='/xmldoc/parameters/country'/>";
</script>
<script type="text/javascript" src="{$docRootSubDir}/js/listingdropdownevents.js">test</script>
<div id="Relatedguides_listing"><div id="guides_total">
<xsl:call-template name="headingCount"/>
<div id="select_drop">
<xsl:apply-templates select="/xmldoc/outcomes/EventsListingCatSource/results" mode="a"/>
<xsl:apply-templates select="/xmldoc/outcomes/EventsListingNeighSource/results" mode="b"/>
</div>
</div>
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=50</xsl:with-param>
<xsl:with-param name="with">Rule=49</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable>
<xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<div dojoType="LinkPane" id="change_ajax" style="width: 550px; " executeScripts="true" href="{$completeUrl}"><content/></div>
</div>
</xsl:template>
<xsl:template name="headingCount">
<div id="Related_heading">
<div style="margin-left:8px;color:#737e96;font-weight:bold;">
Events
</div>
</div>
<div id="totalguide_content">
<div id="totalguide">Loading...</div>
</div>
</xsl:template>
<xsl:template match="results" mode="a">
<b>show:</b>
<form name="selectform1">
<select id="select1" name="select1" onchange="selectOnChange('change_ajax',this.value)">
<option value="">All Categories</option>
<xsl:for-each select="item">
<xsl:variable name="category_nodecheck">
<xsl:value-of select="Name"/>
</xsl:variable>
<xsl:variable name="value_nodecheck">
<xsl:value-of select="Value"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length($category_nodecheck) > 0">
<option value="{$value_nodecheck}"><xsl:value-of select="Name"/></option>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</select>
</form>
</xsl:template>
<xsl:template match="results" mode="b">
<form name="selectform2">
<select id="select2" name="select2" onchange="selectOnChange('change_ajax',this.value)">
<option value="">All Neighborhoods</option>
<xsl:for-each select="item">
<xsl:variable name="neighborhood_nodecheck">
<xsl:value-of select="Neighborhood"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length($neighborhood_nodecheck) > 0">
<option value="{$neighborhood_nodecheck}"><xsl:value-of select="Neighborhood"/></option>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</select>
</form>
</xsl:template>
<xsl:template name="replace-string">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:variable name="before" select="substring-before($text, $replace)"/>
<xsl:variable name="after" select="substring-after($text, $replace)"/>
<xsl:variable name="prefix" select="concat($before, $with)"/>
<xsl:value-of select="concat($before,$with,$after)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
viewAllEvents.M
viewAllEvents.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<xsl:template name="filterModule">
<link rel="stylesheet" type="text/css" href="{$docRootSubDir}/css/commonListingModules.css" />
<script>var queryparas = "<xsl:value-of select='/xmldoc/parameters/query'/>";</script>
<script>var cityidparas = '<xsl:value-of select="/xmldoc/parameters/cityId"/>';</script>
<script>var querystart = '<xsl:value-of select="/xmldoc/parameters/requestinfo/requesturi"/>';</script>
<script>
var cityname = "<xsl:value-of select='/xmldoc/parameters/city'/>";
var statename = "<xsl:value-of select='/xmldoc/parameters/state'/>";
var countryname = "<xsl:value-of select='/xmldoc/parameters/country'/>";
</script>
<script type="text/javascript" src="{$docRootSubDir}/js/listingdropdownevents.js">test</script>
<div id="Relatedguides_listing"><div id="guides_total">
<xsl:call-template name="headingCount"/>
<div id="select_drop">
<xsl:apply-templates select="/xmldoc/outcomes/EventsListingCatSource/results" mode="a"/>
<xsl:apply-templates select="/xmldoc/outcomes/EventsListingNeighSource/results" mode="b"/>
</div>
</div>
<xsl:variable name="queryParams">
<xsl:call-template name="replace-string">
<xsl:with-param name="text" select="xmldoc/parameters/requestinfo/querystring"></xsl:with-param>
<xsl:with-param name="replace">Rule=50</xsl:with-param>
<xsl:with-param name="with">Rule=49</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="requestUri"><xsl:value-of select="xmldoc/parameters/requestinfo/requesturi"/></xsl:variable>
<xsl:variable name="completeUrl"><xsl:value-of select="concat($requestUri,'?',$queryParams)"/></xsl:variable>
<div dojoType="LinkPane" id="change_ajax" style="width: 550px; " executeScripts="true" href="{$completeUrl}"><content/></div>
</div>
</xsl:template>
<xsl:template name="headingCount">
<div id="Related_heading">
<div style="margin-left:8px;color:#737e96;font-weight:bold;">
Events
</div>
</div>
<div id="totalguide_content">
<div id="totalguide">Loading...</div>
</div>
</xsl:template>
<xsl:template match="results" mode="a">
<b>show:</b>
<form name="selectform1">
<select id="select1" name="select1" onchange="selectOnChange('change_ajax',this.value)">
<option value="">All Categories</option>
<xsl:for-each select="item">
<xsl:variable name="category_nodecheck">
<xsl:value-of select="Name"/>
</xsl:variable>
<xsl:variable name="value_nodecheck">
<xsl:value-of select="Value"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length($category_nodecheck) > 0">
<option value="{$value_nodecheck}"><xsl:value-of select="Name"/></option>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</select>
</form>
</xsl:template>
<xsl:template match="results" mode="b">
<form name="selectform2">
<select id="select2" name="select2" onchange="selectOnChange('change_ajax',this.value)">
<option value="">All Neighborhoods</option>
<xsl:for-each select="item">
<xsl:variable name="neighborhood_nodecheck">
<xsl:value-of select="Neighborhood"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length($neighborhood_nodecheck) > 0">
<option value="{$neighborhood_nodecheck}"><xsl:value-of select="Neighborhood"/></option>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</select>
</form>
</xsl:template>
<xsl:template name="replace-string">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="with"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:variable name="before" select="substring-before($text, $replace)"/>
<xsl:variable name="after" select="substring-after($text, $replace)"/>
<xsl:variable name="prefix" select="concat($before, $with)"/>
<xsl:value-of select="concat($before,$with,$after)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
viewAllEvents.MS
view
DIRTY_VER.1
viewAllEvents.MS
lib_sponsorlinks.I
inner
DIRTY_VER.1
lib_sponsorlinks.I
SourceConfiguration
SourceConfiguration
put
Adchange.I
inner
DIRTY_VER.1
Adchange.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=lib_sponsorlinks.M
false
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
http://travel.aol.com/destGuide/web?rt=1&id=lib_sponsorlinks.M&start=1&dmnssch=listings_events&end=10&debug=2&userid=-6940294266431012843&Rule=50&country=Malaysia&listing=events&dmnsch=ca-aol-service_traveldestination_xml&query=Kuala Lumpur&cityId=155&skw=Kuala Lumpur&clickstreamid=-6940294266431012845&city=Kuala Lumpur
adsInfo
url
city
state
country
city
state
country
adsInfo
1
vss
3
adsInfo Source
lib_sponsor
url
dmnsch
dmnssch
skw
dmnsch
dmnssch
skw
lib_sponsor
1
lib_sponsor
3
sponsored links
lib_sponsor
adsInfo
defaultController
lib_sponsorlinks.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : sponsored links horizontal templates -->
<xsl:template name="lib_sponsor_horizontal">
<xsl:choose>
<xsl:when test="count( //xmldoc/outcomes/google_common_module/results/item/result_page )>= 0 ">
<div id="googletest">
<xsl:value-of select="/xmldoc/outcomes/google_common_module/results/item/result_page" disable-output-escaping="yes"/>
<dummy/>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- end :sponsored link vertical -->
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
lib_sponsorlinks.M
lib_sponsorlinks.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : sponsored links horizontal templates -->
<xsl:template name="lib_sponsor_horizontal">
<xsl:choose>
<xsl:when test="count( //xmldoc/outcomes/google_common_module/results/item/result_page )>= 0 ">
<div id="googletest">
<xsl:value-of select="/xmldoc/outcomes/google_common_module/results/item/result_page" disable-output-escaping="yes"/>
<dummy/>
</div>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- end :sponsored link vertical -->
</xsl:template>
</xsl:stylesheet>
lib_sponsorlinks.MS
view
DIRTY_VER.1
lib_sponsorlinks.MS
false
false
http://travel.aol.com/destGuide/web?rt=1&id=omniture.M
false
http://travel.aol.com/destGuide/web?rt=1&id=omniture.M&start=1&dmnssch=listings_events&end=10&debug=2&userid=-6940294266431012843&Rule=50&country=Malaysia&listing=events&dmnsch=ca-aol-service_traveldestination_xml&query=Kuala Lumpur&cityId=155&skw=Kuala Lumpur&clickstreamid=-6940294266431012845&city=Kuala Lumpur
defaultController
omniture.M
module
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : omniture module -->
<xsl:template name="omnitureCode">
<xsl:param name="omniPageType"/>
<xsl:param name="omniCityState"/>
<xsl:param name="omnivar10"/>
<xsl:variable name="omniCityStateInfo">
<xsl:choose>
<xsl:when test="$omnivar10 = 'T'">
<xsl:value-of select="$omniCityState"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- xsl:when test="$omnivar10 = 'T'"><xsl:value-of select="$omniCityState"/></xsl:when -->
</xsl:variable>
<xsl:variable name="omniSearchTerm"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<script language="JavaScript">var s_account="aoltravel,aolsvc";</script>
<script language="javascript" type="text/javascript" src="http://o.aolcdn.com/omniunih.js">omni</script>
<script language="JavaScript">
s_265.campaign="";
s_265.channel="us.travel"
s_265.pfxID="trv";
s_265.server="travel.aol.com";
s_265.linkInternalFilters="javascript:,aol.com,travel,lmdeal";
s_265.pageType="";
s_265.prop1=s_265.pfxID + ": Destination Guides";
s_265.prop2=s_265.pfxID + '<xsl:text>: DG </xsl:text><xsl:value-of select="$omniPageType"/>';
s_265.prop3="";
s_265.prop4="";
s_265.prop5="";
s_265.prop6="";
s_265.prop7="";
s_265.prop8="";
s_265.prop9="";
s_265.prop10="";
s_265.prop11="";
s_265.prop12=window.location;
s_265.prop13="";
<!-- s_265.prop18= "<xsl:value-of select='$omniSearchTerm'/>"; -->
s_265.prop18=readCookieVal('searchTermDG');
s_265.prop18=s_265.prop18.toLowerCase();
s_265.prop20="<xsl:value-of select='$omniCityState'/>";
s_265.pageName=s_265.pfxID + "<xsl:text>: </xsl:text><xsl:value-of select='$omniCityState'/><xsl:text> </xsl:text><xsl:value-of select='$omniPageType'/>";
s_265.eVar1="";
s_265.eVar2="";
s_265.eVar3="";
s_265.eVar4="";
s_265.eVar5="";
s_265.eVar6="";
s_265.eVar10="<xsl:value-of select='$omniCityStateInfo'/>";
s_265.campaign="";
s_265.state="";
s_265.zip="";
s_265.purchaseID="";
//alert('s_265.prop12: ' + s_265.prop12 + '\n' + 's_265.prop1: ' + s_265.prop1 + '\n' + 's_265.prop2: ' + s_265.prop2 + '\n' + 's_265.prop18: ' + s_265.prop18 + '\n' + 's_265.prop20 :' + s_265.prop20 + '\n' + 's_265.pageName: ' + s_265.pageName + '\n' + 's_265.eVar10: ' + s_265.eVar10);
var s_code=s_265.t();if(s_code)document.write(s_code)
</script>
<script language="JavaScript">
<xsl:text disable-output-escaping="yes" >
if(navigator.appVersion.indexOf('MSIE') >= 0){
document.write(unescape('%3C')+'\!-'+'-');
}
</xsl:text>
</script><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.1. -->
<!-- end :omniture module ends here -->
<!-- starts: RSI behavior tracking -->
<script> </script>
<script type="text/javascript" src="http://o.aolcdn.com/art/_media/channels/dm_client_aol.js">rsi</script>
<!-- The escape values below would need to be dynamically populated with the same values that you are passing into the corresponding Omniture variables -->
<script xmlns:travel="aol.com/travel" language="JavaScript">
DM_addToLoc("s_pageName", escape(s_265.pageName));
DM_addToLoc("s_channel", escape("us.travel"));
DM_addToLoc("s_pfxID", escape("trv"));
DM_addToLoc("s_account", escape("aoltravel,aolsvc"));
DM_addToLoc("s_prop1", escape(s_265.prop1));
DM_addToLoc("s_prop2", escape(s_265.prop2));
DM_addToLoc("s_prop4", escape("938447246"));
DM_addToLoc("s_prop8", escape("broadband"));
DM_addToLoc("s_prop10", escape("4184"));
DM_addToLoc("s_prop19", escape("AOL Client"));
DM_tag();
</script>
<script type="text/javascript" src="http://js.revsci.net/gateway/gw.js?csid=J05532'CHARSET='ISO-8859-1">rsi</script>
<!-- end: RSI behavior tracking -->
</xsl:template>
</xsl:stylesheet>
DIRTY_VER.1
omniture.M
omniture.MS
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no"/>
<!-- start : omniture module -->
<xsl:template name="omnitureCode">
<xsl:param name="omniPageType"/>
<xsl:param name="omniCityState"/>
<xsl:param name="omnivar10"/>
<xsl:variable name="omniCityStateInfo">
<xsl:choose>
<xsl:when test="$omnivar10 = 'T'">
<xsl:value-of select="$omniCityState"/>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
<!-- xsl:when test="$omnivar10 = 'T'"><xsl:value-of select="$omniCityState"/></xsl:when -->
</xsl:variable>
<xsl:variable name="omniSearchTerm"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<script language="JavaScript">var s_account="aoltravel,aolsvc";</script>
<script language="javascript" type="text/javascript" src="http://o.aolcdn.com/omniunih.js">omni</script>
<script language="JavaScript">
s_265.campaign="";
s_265.channel="us.travel"
s_265.pfxID="trv";
s_265.server="travel.aol.com";
s_265.linkInternalFilters="javascript:,aol.com,travel,lmdeal";
s_265.pageType="";
s_265.prop1=s_265.pfxID + ": Destination Guides";
s_265.prop2=s_265.pfxID + '<xsl:text>: DG </xsl:text><xsl:value-of select="$omniPageType"/>';
s_265.prop3="";
s_265.prop4="";
s_265.prop5="";
s_265.prop6="";
s_265.prop7="";
s_265.prop8="";
s_265.prop9="";
s_265.prop10="";
s_265.prop11="";
s_265.prop12=window.location;
s_265.prop13="";
<!-- s_265.prop18= "<xsl:value-of select='$omniSearchTerm'/>"; -->
s_265.prop18=readCookieVal('searchTermDG');
s_265.prop18=s_265.prop18.toLowerCase();
s_265.prop20="<xsl:value-of select='$omniCityState'/>";
s_265.pageName=s_265.pfxID + "<xsl:text>: </xsl:text><xsl:value-of select='$omniCityState'/><xsl:text> </xsl:text><xsl:value-of select='$omniPageType'/>";
s_265.eVar1="";
s_265.eVar2="";
s_265.eVar3="";
s_265.eVar4="";
s_265.eVar5="";
s_265.eVar6="";
s_265.eVar10="<xsl:value-of select='$omniCityStateInfo'/>";
s_265.campaign="";
s_265.state="";
s_265.zip="";
s_265.purchaseID="";
//alert('s_265.prop12: ' + s_265.prop12 + '\n' + 's_265.prop1: ' + s_265.prop1 + '\n' + 's_265.prop2: ' + s_265.prop2 + '\n' + 's_265.prop18: ' + s_265.prop18 + '\n' + 's_265.prop20 :' + s_265.prop20 + '\n' + 's_265.pageName: ' + s_265.pageName + '\n' + 's_265.eVar10: ' + s_265.eVar10);
var s_code=s_265.t();if(s_code)document.write(s_code)
</script>
<script language="JavaScript">
<xsl:text disable-output-escaping="yes" >
if(navigator.appVersion.indexOf('MSIE') >= 0){
document.write(unescape('%3C')+'\!-'+'-');
}
</xsl:text>
</script><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.1. -->
<!-- end :omniture module ends here -->
<!-- starts: RSI behavior tracking -->
<script> </script>
<script type="text/javascript" src="http://o.aolcdn.com/art/_media/channels/dm_client_aol.js">rsi</script>
<!-- The escape values below would need to be dynamically populated with the same values that you are passing into the corresponding Omniture variables -->
<script xmlns:travel="aol.com/travel" language="JavaScript">
DM_addToLoc("s_pageName", escape(s_265.pageName));
DM_addToLoc("s_channel", escape("us.travel"));
DM_addToLoc("s_pfxID", escape("trv"));
DM_addToLoc("s_account", escape("aoltravel,aolsvc"));
DM_addToLoc("s_prop1", escape(s_265.prop1));
DM_addToLoc("s_prop2", escape(s_265.prop2));
DM_addToLoc("s_prop4", escape("938447246"));
DM_addToLoc("s_prop8", escape("broadband"));
DM_addToLoc("s_prop10", escape("4184"));
DM_addToLoc("s_prop19", escape("AOL Client"));
DM_tag();
</script>
<script type="text/javascript" src="http://js.revsci.net/gateway/gw.js?csid=J05532'CHARSET='ISO-8859-1">rsi</script>
<!-- end: RSI behavior tracking -->
</xsl:template>
</xsl:stylesheet>
omniture.MS
view
DIRTY_VER.1
omniture.MS
google_common_module.I
inner
DIRTY_VER.1
google_common_module.I
SourceConfiguration
SourceConfiguration
put
false
false
http://travel.aol.com/destGuide/web?rt=1&id=google_common_module.M
false
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
http://travel.aol.com/destGuide/web?rt=1&id=google_common_module.M&start=1&dmnssch=listings_events&end=10&debug=2&userid=-6940294266431012843&Rule=50&country=Malaysia&listing=events&dmnsch=ca-aol-service_traveldestination_xml&query=Kuala Lumpur&cityId=155&skw=Kuala Lumpur&clickstreamid=-6940294266431012845&city=Kuala Lumpur
google_common_module
url
dmnsch
dmnssch
skw
gls_limit
layer_width
dmnsch
dmnssch
skw
gls_limit
layer_width
google_common_module
1
vss
3
s_common_module Source
google_common_module
defaultController
google_common_module.M
module
DIRTY_VER.1
google_common_module.M
relevance
viewAllEvents.P
page
50th rule
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no" />
<!-- global variables starts here -->
<xsl:variable name="docRootSubDir" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'resourcesDir']" />
<xsl:variable name="addmavar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/dma"/></xsl:variable>
<xsl:variable name="adcontinentvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/continent"/></xsl:variable>
<xsl:variable name="adcountryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/country"/></xsl:variable>
<xsl:variable name="adstatevar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/state"/></xsl:variable>
<xsl:variable name="adcityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/city"/></xsl:variable>
<xsl:variable name="adcategoryvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/category"/></xsl:variable>
<xsl:variable name="adactivityvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/activities"/></xsl:variable>
<xsl:variable name="Adchangevar">
<xsl:choose><xsl:when test="string-length($adcityvar) > 0">&city=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/city"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($adstatevar) > 0">&st=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/state"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($addmavar) > 0">&reg=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/dma"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($adcountryvar) > 0">&co=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/country"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($adcontinentvar) > 0">&cont=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/continent"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($adcategoryvar) > 0">&cat=<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/category"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($adactivityvar) > 0"><xsl:call-template name="split"><xsl:with-param name="names" select="/xmldoc/outcomes/adsInfo/results/item/activities"/></xsl:call-template></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
</xsl:variable>
<xsl:template name="split">
<xsl:param name="names"/>
<xsl:variable name="first" select='substring-before($names,";")'/>
<xsl:variable name="rest" select='substring-after($names,";")'/>
<xsl:if test='$first'>&act=<xsl:value-of select="$first"/></xsl:if>
<xsl:if test='$rest'><xsl:call-template name='split'><xsl:with-param name='names' select='$rest'/></xsl:call-template></xsl:if>
<xsl:if test='not($rest)'>&act=<xsl:value-of select='$names'/></xsl:if>
</xsl:template>
<xsl:variable name="url-end">
<xsl:text>xslt/refreshAd.html?num=93226428&width=728&height=90</xsl:text>
</xsl:variable>
<xsl:variable name="bannerAd_url">
<xsl:value-of select="concat($docRootSubDir, '/', $url-end , $Adchangevar)"/>
</xsl:variable>
<xsl:variable name="jsURL">
<xsl:value-of select="concat($docRootSubDir, '/js/')"/>
</xsl:variable>
<xsl:variable name="imgURL">
<xsl:value-of select="concat($docRootSubDir, '/img/')"/>
</xsl:variable>
<xsl:variable name="_towerAd">
<xsl:text>xslt/refreshAd.html?num=93226429&width=160&height=600</xsl:text>
</xsl:variable>
<xsl:variable name="towerAd_url">
<xsl:value-of select="concat($docRootSubDir, '/', $_towerAd, $Adchangevar)"/>
</xsl:variable>
<xsl:variable name="adurlvar"><xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/url"/></xsl:variable>
<xsl:variable name="cityvar"><xsl:value-of select="/xmldoc/parameters/city"/></xsl:variable>
<xsl:variable name="statevar"><xsl:value-of select="/xmldoc/parameters/state"/></xsl:variable>
<xsl:variable name="countryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable>
<xsl:variable name="lowerCaseLetters">abcdefghijklmnopqrstuvwxyz</xsl:variable>
<xsl:variable name="upperCaseLetters">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
<xsl:variable name="query"><xsl:value-of select="/xmldoc/parameters/query"/></xsl:variable>
<xsl:variable name="cityid"><xsl:value-of select="/xmldoc/parameters/cityId"/></xsl:variable>
<xsl:variable name="destguidecrump">
<xsl:choose>
<xsl:when test="contains($countryvar, 'united states') or contains($countryvar, 'United states') or contains($countryvar, 'united States') or contains($countryvar, 'United States') ">
<xsl:text>Travel Guides</xsl:text>
<xsl:choose><xsl:when test="string-length($countryvar) > 0">,<xsl:value-of select="/xmldoc/parameters/country"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($statevar) > 0">,<xsl:value-of select="/xmldoc/parameters/state"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($cityvar) > 0">,<xsl:value-of select="/xmldoc/parameters/city"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:text>Travel Guides</xsl:text>
<xsl:choose><xsl:when test="string-length($countryvar) > 0">,<xsl:value-of select="/xmldoc/parameters/country"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($cityvar) > 0">,<xsl:value-of select="/xmldoc/parameters/city"/></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="destguidecrumpurl">
<xsl:choose>
<xsl:when test="contains($countryvar, 'united states') or contains($countryvar, 'United states') or contains($countryvar, 'united States') or contains($countryvar, 'United States') ">
<xsl:text>http://information.travel.aol.com/travel-guide</xsl:text>
<xsl:choose><xsl:when test="string-length($countryvar) > 0">,http://information.travel.aol.com/travel-guide/<xsl:call-template name="split1"><xsl:with-param name="names"><xsl:value-of select="translate(/xmldoc/parameters/country, $upperCaseLetters, $lowerCaseLetters)"/></xsl:with-param></xsl:call-template></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose><xsl:when test="string-length($statevar) > 0">,http://information.travel.aol.com/travel-guide/<xsl:call-template name="split1"><xsl:with-param name="names"><xsl:value-of select="translate(/xmldoc/parameters/country, $upperCaseLetters, $lowerCaseLetters)"/></xsl:with-param></xsl:call-template>/<xsl:call-template name="split1"><xsl:with-param name="names"><xsl:value-of select="translate(/xmldoc/parameters/state, $upperCaseLetters, $lowerCaseLetters)"/></xsl:with-param></xsl:call-template></xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
<xsl:choose>
<xsl:when test="string-length($cityvar) > 0">,/travel-guide/<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/city"/>
</xsl:call-template>
<xsl:choose>
<xsl:when test="string-length($statevar) > 0">
-<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/state"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($countryvar) > 0">
-<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/country"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
:<xsl:value-of select="$cityid"/>:<xsl:value-of select="$query"/>-destination-guide
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:text>http://information.travel.aol.com/travel-guide</xsl:text>
<xsl:choose><xsl:when test="string-length($adurlvar) > 0">,<xsl:value-of select="/xmldoc/outcomes/adsInfo/results/item/url"/></xsl:when>
<xsl:otherwise>,#</xsl:otherwise></xsl:choose>
<xsl:choose>
<xsl:when test="string-length($cityvar) > 0">,/travel-guide/<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/city"/>
</xsl:call-template>
<xsl:choose>
<xsl:when test="string-length($statevar) > 0">
-<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/state"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="string-length($countryvar) > 0">
-<xsl:call-template name="split2">
<xsl:with-param name="names" select="/xmldoc/parameters/country"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise></xsl:otherwise>
</xsl:choose>
:<xsl:value-of select="$cityid"/>:<xsl:value-of select="$query"/>-destination-guide
</xsl:when>
<xsl:otherwise></xsl:otherwise></xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:template name="split1">
<xsl:param name="names"/>
<xsl:variable name="first" select='substring-before($names," ")'/>
<xsl:variable name="rest" select='substring-after($names," ")'/>
<xsl:if test='$first'><xsl:value-of select="$first"/>-</xsl:if>
<xsl:if test='$rest'><xsl:call-template name='split1'><xsl:with-param name='names' select='$rest'/></xsl:call-template></xsl:if>
<xsl:if test='not($rest)'><xsl:value-of select='$names'/></xsl:if>
</xsl:template>
<xsl:template name="split2">
<xsl:param name="names"/>
<xsl:variable name="first" select='substring-before($names," ")'/>
<xsl:variable name="rest" select='substring-after($names," ")'/>
<xsl:if test='$first'><xsl:value-of select="$first"/>+</xsl:if>
<xsl:if test='$rest'><xsl:call-template name='split2'><xsl:with-param name='names' select='$rest'/></xsl:call-template></xsl:if>
<xsl:if test='not($rest)'><xsl:value-of select='$names'/></xsl:if>
</xsl:template>
<!-- Variables required for Page Title, Meta Keywords & Meta Description Starts -->
<xsl:variable name="state_or_ctry">
<xsl:choose>
<xsl:when test="$statevar != ''">
<xsl:value-of select="$statevar"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$countryvar"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="pageTitle">
<xsl:value-of select="concat($cityvar, ' ',$state_or_ctry,' Events - AOL Travel' )"/>
</xsl:variable>
<xsl:variable name="metaKeywords">
<xsl:value-of select="concat($cityvar,' ',$state_or_ctry,' events, events in ',$cityvar,' ',$state_or_ctry)"/>
</xsl:variable>
<xsl:variable name="metaDescrtiption">
<xsl:value-of select="concat('Find events in ',$cityvar,' ',$state_or_ctry)" />
</xsl:variable>
<xsl:variable name="serverAddr" select="/xmldoc/parameters/requestinfo/servername" />
<xsl:variable name="requestUri" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'requestUri']" />
<xsl:variable name="cityName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="countryName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/country"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="cityId" select="/xmldoc/parameters/cityId" />
<!-- Variables required for Page Title, Meta Keywords & Meta Description Ends -->
<!-- global variables ends here -->
<!-- page code starts here -->
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="$pageTitle" /></title>
<meta name="keywords" content="{$metaKeywords}" />
<meta name="description" content="{$metaDescrtiption}" />
<!--script type="text/javascript" src="{$docRootSubDir}/js/pagination.js">pagination</script-->
<xsl:call-template name="header-footer-scripts"/>
<xsl:variable name="dojoLibServer" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'dojoLibServer']" />
<script type="text/javascript" src="{$dojoLibServer}">dojo framework</script>
<script type="text/javascript">
dojo.require("dojo.widget.LinkPane");
</script>
<script type="text/javascript" src="{$docRootSubDir}/js/pagination.js">pagination</script>
</head>
<body>
<div id="overAll_div">
<div id="bannerAd_div">
<xsl:call-template name="libAbBanner">
<xsl:with-param name="banner_width">728</xsl:with-param>
<xsl:with-param name="banner_height">90</xsl:with-param>
<xsl:with-param name="direction">horizontal</xsl:with-param>
<!--<xsl:with-param name="url">/devApp/resources/destGuideApp/hub/head/resources/xslt/refreshAd.html?num=93222128&width=728&height=90</xsl:with-param>-->
<xsl:with-param name="url"><xsl:value-of select="$bannerAd_url"/></xsl:with-param>
<xsl:with-param name="margin-properties">2px</xsl:with-param>
</xsl:call-template>
</div>
<div id="travelHeader_div">
<xsl:call-template name="header" />
</div>
<div id="contentDiv">
<!-- call template for utility Events-->
<div id ="cityid_breadcrump">
<xsl:call-template name="UtilityBar">
<xsl:with-param name="bc_titles"><xsl:value-of select="$destguidecrump"/>,Events</xsl:with-param>
<xsl:with-param name="bc_urls"><xsl:value-of select="$destguidecrumpurl"/></xsl:with-param>
<xsl:with-param name="utility_components">EI</xsl:with-param>
<xsl:with-param name="ub_height">15</xsl:with-param>
<xsl:with-param name="ub_width">756</xsl:with-param>
<xsl:with-param name="base_image_url"><xsl:value-of select="$imgURL"/></xsl:with-param>
<xsl:with-param name="base_js_url"><xsl:value-of select="$jsURL"/></xsl:with-param>
</xsl:call-template>
</div>
<!-- Main Container Starts -->
<div id="mainContainerDiv">
<!-- Div Containing Filters, Lsiting & Tower Ad Starts -->
<!-- Filter, Hotel List & Paginations Starts -->
<div id="leftContentDiv">
<xsl:call-template name="filterModule"/>
</div>
<xsl:variable name="seoEventsUrl">
<xsl:choose>
<xsl:when test="string-length($stateName) > 0">
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $stateName,'-', $countryName, ':', $cityId,':1:10-ajax-seo-listing-events')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('http://',$serverAddr,'/',$requestUri, '/',$cityName,'-', $countryName,':', $cityId,':1:10-ajax-seo-listing-events')" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<!-- div id="seoDiv" style="display:none;">
<a href="{$seoEventsUrl}" title="Events Listing">Events Listing Page</a>
</div -->
<!-- Filter, Hotel List & Paginations Ends -->
<!-- Tower AD Div (Right Hand Side) Starts -->
<div id="rightContentDiv">
<xsl:call-template name="libAbBanner">
<xsl:with-param name = "banner_width">160</xsl:with-param>
<xsl:with-param name = "banner_height">600</xsl:with-param>
<xsl:with-param name = "direction">vertical</xsl:with-param>
<xsl:with-param name = "margin-properties">2px</xsl:with-param>
<xsl:with-param name = "border-properties">0</xsl:with-param>
<xsl:with-param name = "background-color">#FFFFFF</xsl:with-param>
<xsl:with-param name = "adv_label_needed">F</xsl:with-param>
<xsl:with-param name="url"><xsl:value-of select="$towerAd_url"/></xsl:with-param>
</xsl:call-template>
</div>
<!-- Tower AD Div (Right Hand Side) Ends -->
<!-- Div Containing Google Sponsered Links Starts -->
<div id="googleSponseredDiv">
<xsl:call-template name="lib_sponsor_horizontal">
</xsl:call-template>
</div>
<!-- Div Containing Google Sponsered Links Ends -->
</div>
<!-- Main Container Starts -->
</div>
<div id="travelFooter_div">
<xsl:call-template name="footer" />
</div>
</div>
<!-- omniture code starts here -->
<xsl:variable name="omnicityvar"><xsl:value-of select="/xmldoc/parameters/city"/></xsl:variable>
<xsl:variable name="omnistatevar"><xsl:value-of select="/xmldoc/parameters/state"/></xsl:variable>
<xsl:variable name="omnicountryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable>
<xsl:variable name="cityState_omni">
<xsl:value-of select="concat($omnicityvar, ', ', $omnistatevar)"/>
</xsl:variable>
<xsl:variable name="cityCountry_omni">
<xsl:value-of select="concat($omnicityvar, ', ', $omnicountryvar)"/>
</xsl:variable>
<xsl:variable name="omniCityState">
<xsl:choose>
<xsl:when test="/xmldoc/parameters/state != ''">
<xsl:value-of select="$cityState_omni"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$cityCountry_omni"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:call-template name="omnitureCode">
<xsl:with-param name="omniPageType">Events Listing</xsl:with-param>
<xsl:with-param name="omniCityState"><xsl:value-of select="$omniCityState"/></xsl:with-param>
</xsl:call-template>
<!-- omniture code ends here -->
</body>
</html>
</xsl:template>
<!-- page code ends here -->
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" standalone="no" />
<!-- Start: Displaying Utility bar -->
<xsl:template name="UtilityBar">
<xsl:param name="bc_titles" />
<xsl:param name="bc_urls" />
<xsl:param name="utility_components" />
<xsl:param name="ub_height" />
<xsl:param name="ub_width" />
<xsl:param name="base_image_url" />
<xsl:param name="base_js_url" />
<!-- Start: Calculating the depth of the Bread Crumb -->
<xsl:variable name="depth">
<xsl:call-template name="depthcalc">
<xsl:with-param name="bc_titles" select="$bc_titles" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<!-- End: Calculating the depth of the Bread Crumb -->
<!-- Start: Loading the javascirpt if the UB contains 'Email this' or 'IM this' -->
<xsl:if
test="contains($utility_components, 'E') or contains($utility_components, 'I')">
<script type="text/javascript"
src="{$base_js_url}ub_staf_init.js">
ub_staf_init.js
</script>
<script type="text/javascript">
var staf_obj = new staf_SE(); staf_obj.setLang("en-US");
staf_obj.setWidth(292); staf_obj.setHeight(500);
</script>
</xsl:if>
<!-- End: Loading the javascirpt if the UB contains 'Email this' or 'IM this' -->
<!-- Start: Loading the javascirpt if the UB contains 'Blog this' -->
<xsl:if test="contains($utility_components, 'B')">
<script language="javascript" type="text/javascript"
src="{$base_js_url}ub_journals_blog_this.js">
ub_journals_blog_this.js
</script>
<form name="blog_this_form" method="post"></form>
</xsl:if>
<!-- End: Loading the javascirpt if the UB contains 'Blog this' -->
<div
style="width:{$ub_width}px;margin:4px 0 {$ub_height}px;padding:0 0 0 0px;color:#666;border-bottom:solid 1px #BABABA;position:relative;">
<!-- Start: Displaying Bread Crumb -->
<ul
style="float:left;position:relative;top:3px;margin:0;padding:0;background:none;display:inline;">
<li
style="margin-right:3px;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
You are here:
</li>
<xsl:call-template name="breadCrumb">
<xsl:with-param name="depth" select="$depth" />
<xsl:with-param name="bc_titles"
select="$bc_titles" />
<xsl:with-param name="bc_urls" select="$bc_urls" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</ul>
<!-- End: Displaying Bread Crumb -->
<!-- Start: Displaying Utility Components -->
<ul
style="float:right;margin:0;padding:0;background:none;display:inline;">
<xsl:call-template name="UC">
<xsl:with-param name="utility_components"
select="$utility_components" />
<xsl:with-param name="len"
select="string-length($utility_components)" />
<xsl:with-param name="base_image_url"
select="$base_image_url" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</ul>
<!-- End: Displaying Utility Components -->
<div
style="display:block;float:none;clear:both;border:0;padding:0;margin:0;height:1px;line-height:1px;font-size:1px;">
<content/></div>
</div>
</xsl:template>
<!-- End: Displaying Utility bar -->
<!-- Start: Displaying WiderGrid Utility bar -->
<xsl:template name="WiderGridUtilityBar">
<xsl:param name="bc_titles" />
<xsl:param name="bc_urls" />
<xsl:param name="utility_components" />
<xsl:param name="ub_height" />
<xsl:param name="ub_width" />
<xsl:param name="base_image_url" />
<xsl:param name="base_js_url" />
<!-- Start: Calculating the depth of the Bread Crumb -->
<xsl:variable name="depth">
<xsl:call-template name="depthcalc">
<xsl:with-param name="bc_titles" select="$bc_titles" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<!-- End: Calculating the depth of the Bread Crumb -->
<!-- Start: Loading the javascirpt if the UB contains 'Email this' or 'IM this' -->
<xsl:if test="contains($utility_components, 'E') or contains($utility_components, 'I')">
<script type="text/javascript"
src="{$base_js_url}ub_staf_init.js">
ub_staf_init.js
</script>
<script type="text/javascript">
var staf_obj = new staf_SE(); staf_obj.setLang("en-US");
staf_obj.setWidth(292); staf_obj.setHeight(500);
</script>
</xsl:if>
<!-- End: Loading the javascirpt if the UB contains 'Email this' or 'IM this' -->
<!-- Start: Loading the javascirpt if the UB contains 'Blog this' -->
<xsl:if test="contains($utility_components, 'B')">
<script language="javascript" type="text/javascript"
src="{$base_js_url}ub_journals_blog_this.js">
ub_journals_blog_this.js
</script>
<form name="blog_this_form" method="post"></form>
</xsl:if>
<!-- End: Loading the javascirpt if the UB contains 'Blog this' -->
<div id="breadCrumb">
<!-- Start: Displaying Bread Crumb -->
<ul class="linearList">
<xsl:call-template name="breadCrumb">
<xsl:with-param name="depth" select="$depth" />
<xsl:with-param name="bc_titles"
select="$bc_titles" />
<xsl:with-param name="bc_urls" select="$bc_urls" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</ul>
</div>
<!-- End: Displaying Bread Crumb -->
<!-- Start: Displaying Utility Components -->
<div id="msgrBar">
<ul class="linearList">
<xsl:call-template name="UC">
<xsl:with-param name="utility_components"
select="$utility_components" />
<xsl:with-param name="len"
select="string-length($utility_components)" />
<xsl:with-param name="base_image_url"
select="$base_image_url" />
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</ul>
<!-- End: Displaying Utility Components -->
</div>
</xsl:template>
<!-- End: Displaying WiderGrid Utility bar -->
<!-- Start: Calculationg the depth by counting the total number of 'titles' -->
<xsl:template name="depthcalc">
<xsl:param name="bc_titles" />
<xsl:param name="i" />
<xsl:choose>
<xsl:when test="contains($bc_titles, ',')">
<xsl:call-template name="depthcalc">
<xsl:with-param name="bc_titles"
select="substring-after($bc_titles, ',')" />
<xsl:with-param name="i" select="$i + 1" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$i" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- End: Calculationg the depth by counting the total number of 'titles' -->
<xsl:variable name="cityid"><xsl:value-of select="/xmldoc/parameters/cityId"/></xsl:variable>
<xsl:variable name="countryvar"><xsl:value-of select="/xmldoc/parameters/country"/></xsl:variable>
<!-- Start: Displaying the Bread Crumb by taking titles and urls -->
<xsl:template name="breadCrumb">
<xsl:param name="depth" />
<xsl:param name="bc_titles" />
<xsl:param name="bc_urls" />
<xsl:param name="i" />
<xsl:variable name="depthminus" select="$depth - 1" />
<xsl:choose>
<xsl:when test="string-length($cityid) > 0">
<xsl:choose>
<xsl:when test="contains($bc_titles, ',')">
<xsl:if test="$i <= $depth">
<xsl:choose>
<xsl:when test="$i = 2 and (contains($bc_urls, 'travel'))">
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a
href="{substring-before($bc_urls, ',')}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:when>
<xsl:otherwise>
<li style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = 2">
<xsl:value-of select="substring-before($bc_titles, ',')" />
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a
href="{substring-before($bc_urls, ',')}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="breadCrumb">
<xsl:with-param name="depth" select="$depth" />
<xsl:with-param name="bc_titles"
select="substring-after($bc_titles, ',')" />
<xsl:with-param name="bc_urls"
select="substring-after($bc_urls, ',')" />
<xsl:with-param name="i" select="$i + 1" />
</xsl:call-template>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:value-of select="$bc_titles" />
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="contains($countryvar, 'united states') or contains($countryvar, 'United states') or contains($countryvar, 'united States') or contains($countryvar, 'United States') ">
<xsl:choose>
<xsl:when test="contains($bc_titles, ',')">
<xsl:if test="$i <= $depth">
<xsl:choose>
<xsl:when test="$i = 2 and (contains($bc_urls, 'travel'))">
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}" id="usa{$depth}{$i}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a id="usa{$depth}{$i}"
href="{substring-before($bc_urls, ',')}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:when>
<xsl:otherwise>
<li style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = 2">
<xsl:value-of select="substring-before($bc_titles, ',')" />
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}" id="usa{$depth}{$i}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a href="{substring-before($bc_urls, ',')}" id="usa{$i}{$i}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="breadCrumb">
<xsl:with-param name="depth" select="$depth" />
<xsl:with-param name="bc_titles"
select="substring-after($bc_titles, ',')" />
<xsl:with-param name="bc_urls"
select="substring-after($bc_urls, ',')" />
<xsl:with-param name="i" select="$i + 1" />
</xsl:call-template>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:value-of select="$bc_titles" />
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="contains($bc_titles, ',')">
<xsl:if test="$i <= $depth">
<xsl:choose>
<xsl:when test="$i = 2 and (contains($bc_urls, 'travel'))">
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}" id="nonusa{$depth}{$i}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a id="nonusa{$depth}{$i}"
href="{substring-before($bc_urls, ',')}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:when>
<xsl:otherwise>
<li style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:choose>
<xsl:when test="$i = 2">
<xsl:value-of select="substring-before($bc_titles, ',')" />
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$i = $depthminus">
<a href="{$bc_urls}" id="nonusa{$depth}{$i}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:when>
<xsl:otherwise>
<a href="{substring-before($bc_urls, ',')}" id="nonusa{$i}{$depth}"
style="margin:0;padding:0;background:none;display:inline;">
<xsl:value-of
select="substring-before($bc_titles, ',')" />
</a>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$i < 15">»</xsl:if>
</li>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="breadCrumb">
<xsl:with-param name="depth" select="$depth" />
<xsl:with-param name="bc_titles"
select="substring-after($bc_titles, ',')" />
<xsl:with-param name="bc_urls"
select="substring-after($bc_urls, ',')" />
<xsl:with-param name="i" select="$i + 1" />
</xsl:call-template>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<li
style="margin:0;padding:0;background:none;display:inline;font-family:arial;font-size:88%;">
<xsl:value-of select="$bc_titles" />
</li>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- End: Displaying the Bread Crumb by taking titles and urls -->
<!-- Start: Splitting the characters for displaying the Utility components -->
<xsl:template name="UC">
<xsl:param name="utility_components" />
<xsl:param name="i" />
<xsl:param name="len" />
<xsl:param name="base_image_url" />
<li
style="margin:0;padding:0;background:none;display:inline;">
<xsl:call-template name="UCdisplay">
<xsl:with-param name="str"
select="substring($utility_components, $i, 1)" />
<xsl:with-param name="base_image_url"
select="$base_image_url" />
</xsl:call-template>
</li>
<xsl:if test="$i < $len">|</xsl:if>
<xsl:choose>
<xsl:when test="$i < $len">
<xsl:call-template name="UC">
<xsl:with-param name="utility_components"
select="$utility_components" />
<xsl:with-param name="i" select="$i + 1" />
<xsl:with-param name="len" select="$len" />
<xsl:with-param name="base_image_url"
select="$base_image_url" />
</xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template>
<!-- End: Splitting the characters for displaying the Utility components -->
<!-- Start: Displaying the Utility components -->
<xsl:template name="UCdisplay">
<xsl:param name="str" />
<xsl:param name="base_image_url" />
<xsl:choose>
<xsl:when test="$str = 'E'">
<img src="{$base_image_url}ub_email.gif"
alt="E-Mail This"
style="padding:0;margin:0 3px 0 0;position:relative;top:3px;" />
<a onClick="staf_obj.sendEmail();" href="#"
style="padding:0;margin:0;text-decoration:none;color:#2864B4;background:none;display:inline;font-family:arial;font-size:88%;"
onMouseover="this.style.textDecoration='underline'"
onMouseout="this.style.textDecoration='none'">
E-Mail This
</a>
</xsl:when>
<xsl:when test="$str = 'I'">
<img src="{$base_image_url}ub_im.gif" alt="IM This"
style="padding:0;margin:0 3px 0 0;position:relative;top:3px;" />
<a onClick="staf_obj.sendIM();" href="#"
style="padding:0;margin:0;text-decoration:none;color:#2864B4;background:none;display:inline;font-family:arial;font-size:88%;"
onMouseover="this.style.textDecoration='underline'"
onMouseout="this.style.textDecoration='none'">
IM This
</a>
</xsl:when>
<xsl:when test="$str = 'B'">
<img src="{$base_image_url}ub_blog.gif" alt="Blog This"
style="padding:0;margin:0 3px 0 0;position:relative;top:3px;" />
<a href="#" onClick="openBlogThis('Blog_This');"
style="padding:0;margin:0;text-decoration:none;color:#2864B4;background:none;display:inline;font-family:arial;font-size:88%;"
onMouseover="this.style.textDecoration='underline'"
onMouseout="this.style.textDecoration='none'">
Blog This
</a>
</xsl:when>
<xsl:when test="$str = 'F'">
<img src="{$base_image_url}ub_feeds.gif"
alt="Feeds Directory"
style="padding:0;margin:0 3px 0 0;;position:relative;top:3px;" />
<a href="http://feeds.aol.com" target="_blank"
style="padding:0;margin:0;text-decoration:none;color:#2864B4;background:none;display:inline;font-family:arial;font-size:88%;"
onMouseover="this.style.textDecoration='underline'"
onMouseout="this.style.textDecoration='none'">
Feeds Directory
</a>
</xsl:when>
</xsl:choose>
</xsl:template>
<!-- End: Displaying the Utility components -->
<!-- Main Template Lib Addbanner : STARTS -->
<xsl:template name="libAbBanner">
<xsl:param name="magic_number" />
<xsl:param name="banner_width" />
<xsl:param name="banner_height" />
<xsl:param name="direction" />
<xsl:param name="url" />
<xsl:param name="adv_label_needed" />
<xsl:param name="margin-properties" />
<xsl:param name="border-properties" />
<xsl:param name="background-color" />
<script type="text/javascript">
var magic_number = "<xsl:value-of select='$magic_number' />";
var banner_width = "<xsl:value-of select='$banner_width' />";
var banner_height = "<xsl:value-of select='$banner_height' />";
</script>
<xsl:choose>
<!-- HORIZONTAL 728 X 90 -->
<xsl:when test=" $direction='horizontal'">
<div id="adt" height="{$banner_height}"
width="{$banner_width}"
style="margin:{$margin-properties};
border:{$border-properties};align:right; text-align: center; background-color:{$background-color}">
<xsl:choose>
<xsl:when test="string-length($url) < 1 ">
<xsl:call-template
name="adservercall_template">
<xsl:with-param name="magic_number">
<xsl:value-of
select="$magic_number" />
</xsl:with-param>
<xsl:with-param name="banner_width">
<xsl:value-of
select="$banner_width" />
</xsl:with-param>
<xsl:with-param name="banner_height">
<xsl:value-of
select="$banner_height" />
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:when test="string-length($url) > 1 ">
<iframe width="{$banner_width}"
height="{$banner_height}" src="{$url}" name="topBannerAd"
id="topBannerAd" frameborder="0" allowtransparency="true"
SCROLLING="NO">
<content />
</iframe>
</xsl:when>
</xsl:choose>
</div>
</xsl:when>
<!-- VERTICAL/BOX and LABEL FALSE -->
<xsl:when
test=" ($direction='vertical' or $direction='box') and $adv_label_needed='F' ">
<div id="adr" height="{$banner_height}"
width="{$banner_width}"
style="margin:{$margin-properties};
border:{$border-properties};align:right; valign:center; text-align:center; background-color:{$background-color}; padding: 0px 2px; ">
<xsl:choose>
<xsl:when test="string-length($url) < 1">
<xsl:call-template
name="adservercall_template">
<xsl:with-param name="magic_number">
<xsl:value-of
select="$magic_number" />
</xsl:with-param>
<xsl:with-param name="banner_width">
<xsl:value-of
select="$banner_width" />
</xsl:with-param>
<xsl:with-param name="banner_height">
<xsl:value-of
select="$banner_height" />
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:when test="string-length($url) > 1">
<iframe width="{$banner_width}"
height="{$banner_height}" src="{$url}" name="sideBannerAd"
id="sideBannerAd" frameborder="0" allowtransparency="true"
SCROLLING="NO">
<content />
</iframe>
</xsl:when>
</xsl:choose>
</div>
</xsl:when>
<!-- VERTICAL/BOX and LABEL TRUE -->
<xsl:when
test=" ($direction='vertical' or $direction='box' ) and $adv_label_needed='T' ">
<div id="adr" height="{$banner_height}"
width="{$banner_width}"
style="margin:{$margin-properties};
border:{$border-properties};align:right; valign: center; text-align:center; background-color:{$background-color};
background:url(http://cdn.digitalcity.com/ch_pf/pf_ad_advertisement) no-repeat {$background-color} 11px 611px; padding:9px 12px 15px 11px;">
<xsl:choose>
<xsl:when test="string-length($url) < 1">
<xsl:call-template
name="adservercall_template">
<xsl:with-param name="magic_number">
<xsl:value-of
select="$magic_number" />
</xsl:with-param>
<xsl:with-param name="banner_width">
<xsl:value-of
select="$banner_width" />
</xsl:with-param>
<xsl:with-param name="banner_height">
<xsl:value-of
select="$banner_height" />
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:when test="string-length($url) > 1">
<iframe width="{$banner_width}"
height="{$banner_height}" src="{$url}" name="sideBannerAd"
id="sideBannerAd" frameborder="0" allowtransparency="true"
SCROLLING="NO">
<content />
</iframe>
</xsl:when>
</xsl:choose>
</div>
</xsl:when>
</xsl:choose>
<!-- Main Template Lib Addbanner : ENDS -->
</xsl:template>
<xsl:template name="adservercall_template">
<xsl:param name="magic_number" />
<xsl:param name="banner_width" />
<xsl:param name="banner_height" />
<script type="text/javascript">
htmlAdWH( magic_number, banner_width,banner_height);
</script>
<noscript>
<a
href="http://ar.atwola.com/link/{$magic_number}/aoladp?target=_blank&border=0"
target="_blank">
<img src="http://ar.atwola.com/image/93222128/aoladp"
alt="advertisement" width="{ $banner_height }"
height="{ $banner_width }" border="0" />
</a>
</noscript>
</xsl:template>
<!-- AOL Hat code starts here -->
<!-- AOL Hat code ends here -->
<!-- AOL footer code starts here -->
<xsl:template name="footer">
<xsl:variable name="travelDestnationURL" select="/xmldoc/appconfig/uiConsts/properties/value[preceding-sibling::key = 'travelDestnationURL']" />
<div id="footer">
<div class="ft_bar">
<div class="ft_bar_img">
<a href="http://travel.aol.com">
<img src="{$docRootSubDir}/img/branding3.gif"
border="0" />
</a>
</div>
<div class="ft_bar_rt">
<form id="search2" name="bb_topform2" action="{$travelDestnationURL}/DestinationGuideServlet" onsubmit="validateSearch(document.bb_topform2);return false;">
<div class="Search_txt">Search Travel:</div>
<input type="text" name="query" id="search_box"
autocomplete="off" maxlength="100" alt="Enter Search Term" />
<input type="hidden" name="invocationType"
value="topsearchbox.webhome" />
<a href="javascript:validateSearch(document.bb_topform2);">Search</a>
</form>
</div>
</div>
<div id="ft_travel">
<br />
<span class="ft_greytext">More in Travel:</span>
<a href="/">Main</a>
|
<a href="/deals">Deals</a>
|
<a href="/flights">Flights</a>
|
<a href="/hotels">Hotels</a>
|
<a href="/car-rentals">Cars</a>
|
<a href="/cruises">Cruises</a>
|
<a href="/vacations">Vacations</a>
|
<a href="http://aolservice.lmdeals.com/index.html">
Last-Minute
</a>
|
<a href="http://information.travel.aol.com">
Inspiration
</a>
|
<a href="http://travel.aol.com/travel-guide">
Travel Guides
</a>
|
<a href="http://travel.aol.com/sitemap">Site Map</a>
</div>
<div id="ft_cn">
<span class="ft_greytext">More:</span>
<a href="http://mail.aol.com">Mail</a>
|
<a href="http://search.aol.com">Search</a>
|
<a href="http://music.aol.com">Music</a>
|
<a href="http://movies.aol.com">Movies</a>
|
<a href="http://www.mapquest.com">MapQuest</a>
|
<a href="http://shopping.aol.com">Shopping</a>
|
<a href="http://autos.aol.com">Autos</a>
|
<a href="http://cityguide.aol.com">CityGuide</a>
|
<a href="http://www.pinpointtravel.com">
Pinpoint Travel
</a>
</div>
<div id="ft_general">
<a href="http://free.aol.com/tryaolfree/cdt.adp?532439">
Download AOL
</a>
|
<span class="footer_menu_unauth">
<a href="http://www.aol.com/aolnetwork/aolcom_terms.html">
Terms of Use
</a>
|
<a href="http://about.aol.com/aolnetwork/aol_pp">
Privacy Policy
</a>
</span>
<span class="footer_menu_authmem">
<a href="http://about.aol.com/aolnetwork/mem_tos">
Terms of Service
</a>
|
<a
href="http://about.aol.com/aolnetwork/mem_commitments">
AOL Member Privacy
</a>
</span>
<span class="footer_menu_reguser">
<a
href="http://www.aol.com/aolnetwork/terms_use.html">
Terms of Service
</a>
|
<a href="http://about.aol.com/aolnetwork/aol_pp">
Privacy Policy
</a>
</span>
|
<a href="http://www.aol.com/aolnetwork/trademarks.html">
Trademarks
</a>
|
<span class="footer_menu_unauth">
<a href="http://help.aol.com/AIMhelp/">Help</a>
</span>
<span class="footer_menu_authmem">
<a href="http://help.aol.com">Help</a>
</span>
<span class="footer_menu_reguser">
<a href="http://help.aol.com/AIMhelp/">Help</a>
</span>
|
<a href="http://daol.aol.com/aolatoz">AOL A-Z</a>
<br />
<a onclick="window.open('http://svc.travelocity.com/info/info_popup/0,,AOLSVC:EN|FEES,00.html','window_name','toolbar=no,status=no,scrollbars=yes,resizable=yes,width=500,height=400'); return false;" href='#'>
'+' Means Some Taxes & Fees Additional
</a>
</div>
<div id="footertext">
<xsl:variable name="footerDecider"><xsl:value-of select="/xmldoc/parameters/Rule"/></xsl:variable>
<xsl:variable name="cityName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/city"/>
</xsl:with-param>
<xsl:with-param name="replace" select="' '"/>
<xsl:with-param name="with">+</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="stateName">
<xsl:call-template name="replace_char">
<xsl:with-param name="text">
<xsl:value-of select="/xmldoc/parameters/state"/>
&