var local_dir = "tour-of-ireland"; var event_badge = "/2009/tour-of-ireland/tour-of-ireland-on-steephil.jpg"; var dashboard_title = "Tour of Ireland 2009"; var dashboard_link = "http://www.steephill.tv/"+local_dir; var num_stages = 21; var last_completed_stage=0; var archived_stages = 12; var has_prologue = false; var start_date = new Date(2009,5,7); var race_country = "Ireland"; var race_time_utc_offset = 2; var race_time_zone = "IST"; var distance_units = "km"; var thumbs_dir = "/2009/tour-of-ireland/photos/thumbs/"; var base_urls = new Array(); base_urls["profile"] = "http://www.tourofireland.ie/images/stages/stage{$1}.jpg"; base_urls["map"] = "http://www.bikemap.net/route/{$1}"; base_urls["timetable"] = "http://www.tourofireland.ie/stage{$1}.php"; base_urls["preview"] = ""; base_urls["results"] = ""; base_urls["photos"] = "/2009/"+local_dir+"/photos/{$1}"; base_urls["video"] = ""; var base_urls_list = ["profile", "map", "timetable", "preview", "results", "photos", "video"]; weather_base_url="http://www.wunderground.com/cgi-bin/findweather/getForecast?query={$1}&wuSelect=WEATHER"; bike_map_base_url="http://www.bikemap.net/route/{$1}"; var anchor_extras = new Array(); anchor_extras["profile"] = "onclick=\"click_track_explicit(this.href);NewWindow(this.href,'photo player',500,700,'yes'); return false;\""; anchor_extras ["map"] = "target=\"_blank\""; anchor_extras ["video"] = "onclick=\"click_track_explicit(this.href);NewWindow(this.href, 'vimeo', 744, 567, 'no'); return false;\""; var stages = new Array(); var stage = {"stage": 1, "date": new Date(2009,7,21,10,0,0), "distance": 196, "type": "", "start_host": "Enniskerry", "start_country": "", "start_url": "", "finish_host": "Waterford", "finish_country": "", "finish_url": "", "start_time": "10:00", "video_time": "", "finish_time": "14:28", "start_weather": "", "finish_weather": "", "bike_map": 262115, "profile": "series", "finish": "", "map": "", "timetable": "series", "preview": "", "results": "http://www.cyclingnews.com/races/tour-of-ireland-2-1/stages/stage-1/results", "photos": "http://www.itv.com/sport/cycling/tourofireland/galleries09/stage1/default.html", "video": "http://www.tourofireland.ie/video09_stage1.php", "headline": "", "thumb": ""}; stages.push(stage); var stage = {"stage": 2, "date": new Date(2009,7,22,10,0,0), "distance": 196, "type": "", "start_host": "Clonmel", "start_country": "", "start_url": "", "finish_host": "Killarney", "finish_country": "", "finish_url": "", "start_time": "10:00", "video_time": "", "finish_time": "14:28", "start_weather": "", "finish_weather": "", "bike_map": 262156, "profile": "series", "finish": "", "map": "", "timetable": "series", "preview": "", "results": "http://www.cyclingnews.com/races/tour-of-ireland-2-1/stages/stage-2/results", "photos": "http://www.tourofireland.ie/results09_stage2.php", "video": "http://www.tourofireland.ie/results09_stage2.php", "headline": "", "thumb": ""}; stages.push(stage); var stage = {"stage": 3, "date": new Date(2009,7,23,10,0,0), "distance": 184, "type": "", "start_host": "Bantry", "start_country": "", "start_url": "", "finish_host": "Cork City", "finish_country": "", "finish_url": "", "start_time": "10:25", "video_time": "", "finish_time": "14:33", "start_weather": "", "finish_weather": "", "bike_map": 262201, "profile": "series", "finish": "", "map": "", "timetable": "series", "preview": "", "results": "", "photos": "", "video": "", "headline": "", "thumb": ""}; stages.push(stage); function start_finish_details(stage_num) { var i = lookup_stage_offet(stage_num); //document.write('