//Routes
routeArray=new Array();

route1=new Array();   
route1.push(new RWCPoint(1270122,6403785));   
route1.push(new RWCPoint(1269967,6403768));
route1.push(new RWCPoint(1269979,6403675));
route1.push(new RWCPoint(1270152,6403697));
route1.push(new RWCPoint(1270138,6403786));

route2=new Array();
route2.push(new RWCPoint(1270122,6403785)); 
route2.push(new RWCPoint(1269967,6403768));
route2.push(new RWCPoint(1269991,6403603));
route2.push(new RWCPoint(1270163,6403629));
route2.push(new RWCPoint(1270138,6403786));

routeArray.push(route1);

routeCentralGas=new Array();
routeCentralGas.push(new RWCPoint(1271692,6404652));
var RGpickUpPoint = new RWCPoint(1271692,6404652);
RGpickUpPoint.setState="occupied";
RGpickUpPoint.passengers=2;
RGpickUpPoint.delay=10000;
routeCentralGas.push(RGpickUpPoint);
routeCentralGas.push(new RWCPoint(1271651,6404635));
routeCentralGas.push(new RWCPoint(1271588,6404644));
routeCentralGas.push(new RWCPoint(1271539,6404684));
routeCentralGas.push(new RWCPoint(1271476,6404828));
routeCentralGas.push(new RWCPoint(1271508,6404858));
routeCentralGas.push(new RWCPoint(1271503,6404909));
routeCentralGas.push(new RWCPoint(1271586,6404939));
routeCentralGas.push(new RWCPoint(1271603,6404992));
routeCentralGas.push(new RWCPoint(1271552,6405095));
routeCentralGas.push(new RWCPoint(1271558,6405123));
routeCentralGas.push(new RWCPoint(1272007,6405398));
routeCentralGas.push(new RWCPoint(1272223,6405514));
routeCentralGas.push(new RWCPoint(1272193,6405569));
//Drop off here!
var RGdropOffPoint = new RWCPoint(1272182,6405567)
RGdropOffPoint.setState="vacant";
RGdropOffPoint.passengers=0;
RGdropOffPoint.delay=20000;
routeCentralGas.push(RGdropOffPoint);
routeCentralGas.push(new RWCPoint(1272210,6405527));
routeCentralGas.push(new RWCPoint(1272011,6405415));
routeCentralGas.push(new RWCPoint(1271520,6405114));
routeCentralGas.push(new RWCPoint(1271567,6404989));
routeCentralGas.push(new RWCPoint(1271556,6404968));
routeCentralGas.push(new RWCPoint(1271505,6404941));
routeCentralGas.push(new RWCPoint(1271395,6404968));
routeCentralGas.push(new RWCPoint(1271384,6404930));
routeCentralGas.push(new RWCPoint(1271420,6404867));
routeCentralGas.push(new RWCPoint(1271497,6404708));
routeCentralGas.push(new RWCPoint(1271605,6404625));
routeCentralGas.push(new RWCPoint(1271643,6404625));
routeCentralGas.push(new RWCPoint(1271721,6404655));
routeCentralGas.push(new RWCPoint(1271816,6404668));
routeCentralGas.push(new RWCPoint(1271816,6404685));
routeCentralGas.push(new RWCPoint(1271692,6404652));

routeScandinavium = new Array();
routeScandinavium.push(new RWCPoint(1271897,6404580));
routeScandinavium.push(new RWCPoint(1271901,6404618));
//Polhem tram int
var RSts3 = new RWCPoint(1271891,6404657);
RSts3.delay=6000;
routeScandinavium.push(RSts3);
routeScandinavium.push(new RWCPoint(1271891,6404657));
routeScandinavium.push(new RWCPoint(1271861,6404676));
routeScandinavium.push(new RWCPoint(1271817,6404680));
routeScandinavium.push(new RWCPoint(1271778,6404684));
//Central Station delay
var RSts4 = new RWCPoint(1271745,6404678);
RSts4.delay=6000;
routeScandinavium.push(RSts4);
//Central station pickup
var RSts5 = new RWCPoint(1271745,6404678);
RSts5.setState="occupied";
RSts5.passengers=4;
routeScandinavium.push(RSts5);
routeScandinavium.push(new RWCPoint(1271732,6404676));
routeScandinavium.push(new RWCPoint(1271738,6404657));
routeScandinavium.push(new RWCPoint(1271759,6404659));
routeScandinavium.push(new RWCPoint(1271785,6404608));
routeScandinavium.push(new RWCPoint(1271795,6404606));
routeScandinavium.push(new RWCPoint(1271872,6404625));
//polhem tram crossing
var RSts6 = new RWCPoint(1271884,6404618);
RSts6.delay=5000;
routeScandinavium.push(RSts6);
routeScandinavium.push(new RWCPoint(1271886,6404608));
routeScandinavium.push(new RWCPoint(1271884,6404574));
routeScandinavium.push(new RWCPoint(1271891,6404525));
routeScandinavium.push(new RWCPoint(1271903,6404483));
routeScandinavium.push(new RWCPoint(1271922,6404468));
routeScandinavium.push(new RWCPoint(1272306,6404449));
//Ullevi-skåne int
var RSts7 = new RWCPoint(1272318,6404445);
RSts7.delay=3000;
routeScandinavium.push(RSts7);
routeScandinavium.push(new RWCPoint(1272320,6404436));
routeScandinavium.push(new RWCPoint(1272306,6404132));
routeScandinavium.push(new RWCPoint(1272310,6404015));
routeScandinavium.push(new RWCPoint(1272322,6403829));
routeScandinavium.push(new RWCPoint(1272346,6403672));
routeScandinavium.push(new RWCPoint(1272352,6403653));
var RSts8= new RWCPoint(1272369,6403649);
RSts8.delay=12000;
routeScandinavium.push(RSts8);
routeScandinavium.push(new RWCPoint(1272461,6403655));
var RSDropOffPoint = new RWCPoint(1272461,6403655);
RSDropOffPoint.setState="vacant";
RSDropOffPoint.passengers=0;
RSDropOffPoint.delay=12000;
routeScandinavium.push(RSDropOffPoint);
routeScandinavium.push(new RWCPoint(1272502,6403662));
routeScandinavium.push(new RWCPoint(1272502,6403672));
routeScandinavium.push(new RWCPoint(1272369,6403660));
//Delay vallhalla-skånegatan int
var RSts1 = new RWCPoint(1272356,6403662);
RSts1.delay=3000;
routeScandinavium.push(RSts1);
routeScandinavium.push(new RWCPoint(1272333,6403871));
routeScandinavium.push(new RWCPoint(1272322,6404030));
routeScandinavium.push(new RWCPoint(1272320,6404161));
routeScandinavium.push(new RWCPoint(1272335,6404436));
//Delay Skåne-Ullevigatan int
var RSts2 = new RWCPoint(1272331,6404455);
RSts2.delay=4000;
routeScandinavium.push(RSts2);
routeScandinavium.push(new RWCPoint(1272312,6404462));
routeScandinavium.push(new RWCPoint(1271948,6404481));
routeScandinavium.push(new RWCPoint(1271901,6404555));
routeScandinavium.push(new RWCPoint(1271897,6404580));


routeTheatreLiseberg = new Array();
//Storan Pickup
routeTheatreLiseberg.push(new RWCPoint(1271476,6403978));
var RTL01 = new RWCPoint(1271476,6403978);
RTL01.setState="occupied";
RTL01.passengers=1;
RTL01.delay=10000;
routeTheatreLiseberg.push(RTL01);
routeTheatreLiseberg.push(new RWCPoint(1271458,6403972));
var RTL02 = new RWCPoint(1271476,6403958);
RTL02.delay=3000;
routeTheatreLiseberg.push(RTL02);
routeTheatreLiseberg.push(new RWCPoint(1271478,6403945));
routeTheatreLiseberg.push(new RWCPoint(1271426,6403905));
routeTheatreLiseberg.push(new RWCPoint(1271362,6403854));
routeTheatreLiseberg.push(new RWCPoint(1271288,6403818));
routeTheatreLiseberg.push(new RWCPoint(1271286,6403807));
var RTL03 = new RWCPoint(1271307,6403778);
RTL03.delay=4000;
routeTheatreLiseberg.push(RTL03);
routeTheatreLiseberg.push(new RWCPoint(1271320,6403767));
routeTheatreLiseberg.push(new RWCPoint(1271341,6403769));
routeTheatreLiseberg.push(new RWCPoint(1271544,6403911));
var RTL04 = new RWCPoint(1271544,6403911);
RTL04.delay=5000;
routeTheatreLiseberg.push(RTL04);
routeTheatreLiseberg.push(new RWCPoint(1271631,6403964));
routeTheatreLiseberg.push(new RWCPoint(1272192,6403386));
routeTheatreLiseberg.push(new RWCPoint(1272287,6403306));
routeTheatreLiseberg.push(new RWCPoint(1272367,6403238));
routeTheatreLiseberg.push(new RWCPoint(1272397,6403228));
routeTheatreLiseberg.push(new RWCPoint(1272420,6403264));
routeTheatreLiseberg.push(new RWCPoint(1272418,6403302));
routeTheatreLiseberg.push(new RWCPoint(1272429,6403308));
routeTheatreLiseberg.push(new RWCPoint(1272484,6403310));
routeTheatreLiseberg.push(new RWCPoint(1272765,6403346));
routeTheatreLiseberg.push(new RWCPoint(1272839,6403350));
routeTheatreLiseberg.push(new RWCPoint(1272850,6403323));
//Dropoff at Liseberg
var RTL05 = new RWCPoint(1272863,6403293);
RTL05.setState="vacant";
RTL05.passengers=0;
RTL05.delay = 14000;
routeTheatreLiseberg.push(RTL05);
routeTheatreLiseberg.push(new RWCPoint(1272842,6403283));
routeTheatreLiseberg.push(new RWCPoint(1272832,6403324));
routeTheatreLiseberg.push(new RWCPoint(1272849,6403331));
routeTheatreLiseberg.push(new RWCPoint(1272846,6403351));
routeTheatreLiseberg.push(new RWCPoint(1272990,6403372));
routeTheatreLiseberg.push(new RWCPoint(1273059,6403393));
routeTheatreLiseberg.push(new RWCPoint(1273094,6403392));
routeTheatreLiseberg.push(new RWCPoint(1273113,6403421));
routeTheatreLiseberg.push(new RWCPoint(1273101,6403440));
routeTheatreLiseberg.push(new RWCPoint(1273069,6403436));
routeTheatreLiseberg.push(new RWCPoint(1273050,6403404));
routeTheatreLiseberg.push(new RWCPoint(1272931,6403375));
routeTheatreLiseberg.push(new RWCPoint(1272768,6403364));
routeTheatreLiseberg.push(new RWCPoint(1272580,6403337));
routeTheatreLiseberg.push(new RWCPoint(1272465,6403324));
routeTheatreLiseberg.push(new RWCPoint(1272425,6403326));
//Delay Korsvägen
var RTL06 = new RWCPoint(1272425,6403326);
RTL06.delay=3000;
routeTheatreLiseberg.push(new RWCPoint(RTL06));
routeTheatreLiseberg.push(new RWCPoint(1272394,6403339));
routeTheatreLiseberg.push(new RWCPoint(1272372,6403343));
routeTheatreLiseberg.push(new RWCPoint(1272309,6403317));
routeTheatreLiseberg.push(new RWCPoint(1272281,6403330));
routeTheatreLiseberg.push(new RWCPoint(1272154,6403451));
//Delay Södra-Park
var RTL07 = new RWCPoint(1271651,6403967);
RTL07.delay=5000;
routeTheatreLiseberg.push(new RWCPoint(RTL07));
routeTheatreLiseberg.push(new RWCPoint(1271602,6404016));
routeTheatreLiseberg.push(new RWCPoint(1271587,6404022));
routeTheatreLiseberg.push(new RWCPoint(1271570,6404016));
routeTheatreLiseberg.push(new RWCPoint(1271473,6403948));
routeTheatreLiseberg.push(new RWCPoint(1271464,6403957));
routeTheatreLiseberg.push(new RWCPoint(1271458,6403969));
routeTheatreLiseberg.push(new RWCPoint(1271475,6403978));
