var station_list=''; var stations=new Array(); var counter=0; var source = new Proj4js.Proj('EPSG:4326'); var dest = new Proj4js.Proj('EPSG:3785'); var p_list=""; var q_list=""; var station_x; var station_y; var p; var marker; function convert_coords(left,top,right,bottom,pic_height,pic_width,link_class,offset_x,offset_y,marker_height,marker_width,need_marker,large_map){ //var top_left=new Proj4js.Point(-88.253,55.789); var top_left=new Proj4js.Point(left,top); Proj4js.transform(source, dest, top_left); var bottom_right=new Proj4js.Point(right,bottom); //var bottom_right=new Proj4js.Point(-54.429,44.635); Proj4js.transform(source, dest, bottom_right); var map_width=top_left.x-bottom_right.x; var map_height=top_left.y-bottom_right.y; var x_ratio=pic_width/map_width; var y_ratio=pic_height/map_height; var new_x=marker_width/2; var new_y=marker_height/2; //document.write(marker_height+"/2="+new_y); p = new Proj4js.Point(-78.13,48.57); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="AMOS"; stnm="7090120"; name="Amos"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.95,46.02); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ARTHABASKA"; stnm="7020305"; name="Arthabaska"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-68.71,47.73); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="AUCLAIR"; stnm="7050388"; name="Auclair"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.00,48.33); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BAGOTVILLE_A"; stnm="7060400"; name="Bagotville A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.50,47.42); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BAIE_ST_PAUL"; stnm="7040446"; name="Baie St-Paul"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-79.24,47.55); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BARRAGE_ANGLIERS"; stnm="7080452"; name="Barrage Angliers"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-76.47,47.32); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BARRAGE_CABONGA"; stnm="7080449"; name="Barrage Cabonga"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.27,45.95); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BARRAGE_JULES-ALLARD"; stnm="7020M48"; name="Barrage Jules-Allard"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-79.10,46.71); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BARRAGE_TEMISCAMINGUE"; stnm="7080468"; name="Barrage Témiscamingue"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.57,45.18); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="BROME"; stnm="7020840"; name="Brome"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.41,48.25); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="CAP-ETERNITE"; stnm="7041097"; name="Cap-Éternité"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.27,46.87); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="CHARLESBOURG_PARC_ORLEAN"; stnm="7011309"; name="Charlesbourg Parc-Orléan"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-75.08,45.90); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="CHENEVILLE"; stnm="7031375"; name="Cheneville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-68.11,48.29); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="COTE-OUIMET"; stnm="7051942"; name="Côte-Ouimet"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.92,46.67); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="DESCHAMBAULT"; stnm="7011982"; name="Deschambault"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.25,45.37); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="DITTON"; stnm="7022010"; name="Ditton"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.48,45.88); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="DRUMMONDVILLE"; stnm="7022160"; name="Drummondville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.30,46.82); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="DUBERGER"; stnm="7012232"; name="Duberger"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.65,46.87); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="DUCHESNAY"; stnm="7012240"; name="Duchesnay"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.29,47.65); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="EDOUARD"; stnm="7012307"; name="Édouard"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.48,46.03); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="FAUSTIN"; stnm="7032362"; name="Faustin"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-69.08,48.73); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="FORESTVILLE"; stnm="7042378"; name="Forestville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.15,47.32); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="FORET_MONTMORENCY"; stnm="7042388"; name="Forêt Montmorency"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.05,46.48); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="FORTIERVILLE"; stnm="7022494"; name="Fortierville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-64.48,48.78); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="GASPE_A"; stnm="7052605"; name="Gaspé A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.23,45.13); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="GEORGEVILLE"; stnm="7022720"; name="Georgeville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.72,45.38); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="GRANBY"; stnm="7022800"; name="Granby"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.86,45.82); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="HILAIRE"; stnm="7023130"; name="Hilaire"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-78.08,58.47); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="INUKJUAK_UA"; stnm=""; name="Inukjuak UA"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.43,46.02); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="JOLIETTE_VILLE"; stnm="7013362"; name="Joliette Ville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-68.42,58.10); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="KUUJJUAQ_A"; stnm=""; name="Kuujjuaq A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.03,47.35); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LA_POCATIERE_CDA"; stnm="7054095"; name="La Pocatière CDA"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.78,47.40); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LA_TUQUE"; stnm="7074240"; name="La Tuque"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-67.57,48.28); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LAC_HUMQUI"; stnm="7053649"; name="Lac Humqui"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.87,45.60); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LAC_MEGANTIC_2"; stnm="7023677"; name="Lac Mégantic 2"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.75,48.42); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LAC_STE_CROIX"; stnm="7063690"; name="Lac Ste-Croix"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.43,45.81); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="L'ASSOMPTION"; stnm="7014160"; name="L'Assomption"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.82,45.37); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LENNOXVILLE"; stnm="7024280"; name="Lennoxville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.37,45.63); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="LINGWICK"; stnm="7024320"; name="Lingwick"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-76.01,46.30); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MANIWAKI_UA"; stnm="7034480"; name="Maniwaki UA"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-67.07,48.32); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MARGUERITE"; stnm="7054626"; name="Marguerite"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-68.22,48.60); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MONT-JOLI_A"; stnm="7055120"; name="Mont-Joli A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.58,45.50); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MONTREAL_MCGILL"; stnm="7025280"; name="Montréal McGill"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.03,45.67); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MONTREAL-MIRABEL_INT'L_A"; stnm="7035290"; name="Montréal-Mirabel Int'l A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.75,45.47); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MONTREAL-PIERRE_ELLIOTT_TRUDEAU_INTL_A"; stnm="7025250"; name="Montréal-Pierre Elliot Trudeau Intl A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.42,45.52); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="MONTREAL-ST-HUBERT_A"; stnm="7027320"; name="Montréal St-Hubert"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.62,46.20); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="NICOLET"; stnm="7025440"; name="Nicolet"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-75.08,46.40); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="NOMININGUE"; stnm="7035520"; name="Nominingue"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.53,48.85); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="NORMANDIN_CDA"; stnm="7065640"; name="Normandin CDA"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.45,46.85); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="NOTRE-DAME-DU-ROSAIRE"; stnm="7055405"; name="Notre-Dame-du-Rosaire"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-66.30,48.10); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="NOUVELLE"; stnm="7055705"; name="Nouvelle"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.07,45.50); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="OKA"; stnm="7015730"; name="Oka"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.05,45.12); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ORMSTOWN"; stnm="7025745"; name="Ormstown"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.74,48.81); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="PEMONCA"; stnm="7065900"; name="Pemonca"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.38,46.80); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="QUEBEC-JEAN_LESAGE_INTL_A"; stnm="7016294"; name="Québec-Jean Lesage Intl A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-68.52,48.45); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="RIMOUSKI"; stnm="7056480"; name="Rimouski"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.27,48.52); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ROBERVAL_A"; stnm="7066685"; name="Roberval A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-69.10,48.86); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ROUTE-385_FORESTVILLE"; stnm="7046710"; name="Route-385 Forestville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.84,45.72); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="SAINT-SIMON"; stnm="7027736"; name="Saint-Simon"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.53,45.37); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="SAWYERVILLE_NORD"; stnm="7027802"; name="Sawyerville Nord"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.75,46.57); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="SHAWINIGAN"; stnm="7018000"; name="Shawinigan"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-76.47,45.62); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="SHAWVILLE"; stnm="7038040"; name="Shawville"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.68,45.43); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="SHERBROOKE_A"; stnm="7028124"; name="Sherbrooke A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.08,46.72); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_ALBAN"; stnm="7016800"; name="St-Alban"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-67.07,47.98); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_ALEXIS_DE_MATAPEDIA"; stnm="7056814"; name="St-Alexis-de-Matapédia"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.50,46.73); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_AUGUSTIN"; stnm="7016900"; name="St-Augustin"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-69.78,47.45); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_BRUNO_KAMOURASKA"; stnm="7056922"; name="St-Bruno Kamouraska"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.20,46.32); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_DONAT"; stnm="7017100"; name="St-Donat"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.97,46.07); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_EPHREM"; stnm="7027200"; name="St-Ephrem"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.58,46.10); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_FERDINAND"; stnm="7027248"; name="St-Ferdinand"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.70,46.15); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_GEORGES"; stnm="7027283"; name="St-Georges"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.77,45.88); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_GUILLAUME"; stnm="7027302"; name="St-Guillaume"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-67.12,48.88); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_JEAN_DE_CHERBOURG"; stnm="7057395"; name="St-Jean-de-Cherbourg"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.05,45.80); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_JEROME"; stnm="7037400"; name="St-Jérôme"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.82,46.55); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_MALACHIE"; stnm="7057518"; name="St-Malachie"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.92,46.68); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_MICHEL_DES_SAINTS"; stnm="7077570"; name="St-Michel-des-Saints"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.22,46.25); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_PIERRE_DE_BROUGHTON"; stnm="7027656"; name="St-Pierre-de-Broughton"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.95,45.77); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_SEBASTIEN"; stnm="7027725"; name="St-Sébastien"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.48,45.93); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_THEOPHILE"; stnm="7027750"; name="St-Théophile"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.38,46.12); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ST_ZACHARIE"; stnm="7027785"; name="St-Zacharie"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.28,46.05); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_AGATHE_DES_MONTS"; stnm="7036762"; name="Ste-Agathe-des-Monts"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.93,45.43); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_ANNE_DE_BELLEVUE"; stnm="7026839"; name="Ste-Anne-de-Bellevue"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.60,46.20); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_BEATRIX"; stnm="7016902"; name="Ste-Beatrix"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.62,46.85); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_CATHERINE"; stnm="7016932"; name="Ste-Catherine"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.68,45.17); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_CLOTHILDE_CDA"; stnm="7027040"; name="Ste-Clothilde CDA"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.32,46.78); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_FOY_PIE_XII"; stnm="7017BFN"; name="Ste-Foy Pie XII"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.47,46.42); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_GERMAINE"; stnm="7057287"; name="Ste-Germaine"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-73.13,45.62); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STE_MADELEINE"; stnm="7027517"; name="Ste-Madeleine"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.26,45.37); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="STUKELY"; stnm="7028284"; name="Stukely"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.35,46.10); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="THETFORD_MINES"; stnm="7028441"; name="Thetford Mines"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.95,45.91); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="TINGWICK"; stnm="7028502"; name="Tingwick"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.62,46.38); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="TROIS_RIVIERES_AQUEDUC"; stnm="701HE63"; name="Trois-Rivières Aqueduc"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-77.79,48.06); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="VAL-D'OR_A"; stnm="7098600"; name="Val d'Or A"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.93,46.38); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="VALLEE_JONCTION"; stnm="7028676"; name="Vallee-Jonction"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-74.10,45.28); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="VALLEYFIELD"; stnm="7028680"; name="Valleyfield"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-71.30,45.40); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="WEST_DITTON"; stnm="7028906"; name="West Ditton"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-70.87,45.38); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="WOBURN"; stnm="7028946"; name="Woburn"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; } p = new Proj4js.Point(-72.66,46.04); Proj4js.transform(source, dest, p); station_x=(top_left.x-p.x)*x_ratio; station_y=((top_left.y-p.y)*y_ratio)-10; stid="ZEPHIRIN"; stnm="7029230"; name="Zéphirin"; rel=stid; //stations[counter]=new Array(); //stations[counter]['stid']=stid; //stations[counter]['stnm']=name; //stations[counter]['x']=(station_x+offset_x); //stations[counter]['y']=((station_y+10)+offset_y); //counter++; if(need_marker){ marker='dot.gif'; }else{ marker='none.gif'; } if(large_map){ q_list+=""; }else{ p_list+=""; }}