﻿var ssrc = "";

// Start
var startPercentage = 0;

// Ratio Compensation Side 1
var ratioCompensation1 = 0;
// Ratio Compensation Side 2
var ratioCompensation2 = 0;
// Compensation Point?
var compensPoint = 0;
// Crossing Compensation Side 1; Side 2
function superCompensate(side, ssl, var1)
{
//No compensation needed
return ssl;
}
 
// Lengths
var SSW1 = 14306;
var SSW2 = 13860;

// File prefix
var surl = "portobello-road-notting-hill-";

//Keyboard Scroll Amount
var keyScroll = 80;
//Keyboard - true for leftright, false for updown
var mapIsHorizontal = true;

var s1p=new Array( 
 new GLatLng(51.5151508,-0.2046713),
 new GLatLng(51.5158051,-0.2050415),
 new GLatLng(51.5159270,-0.2051139),
 new GLatLng(51.5160722,-0.2052158),
 new GLatLng(51.5164778,-0.2055404),
 new GLatLng(51.5166864,-0.2057120),
 new GLatLng(51.5168216,-0.2058408),
 new GLatLng(51.5170536,-0.2060285),
 new GLatLng(51.5174475,-0.2063182)); 
 
var s2p = new Array(
 new GLatLng(51.5174726,-0.2061787),
 new GLatLng(51.5172673,-0.2060392),
 new GLatLng(51.5171654,-0.2059776),
 new GLatLng(51.5168633,-0.2056772),
 new GLatLng(51.5167198,-0.2055350),
 new GLatLng(51.5165095,-0.2053472),
 new GLatLng(51.5160488,-0.2049851),
 new GLatLng(51.5159820,-0.2049395),
 new GLatLng(51.5158402,-0.2048349),
 new GLatLng(51.5151341,-0.2044648));
   
if(navigator.appName=="Microsoft Internet Explorer")
{
 document.write("<sc" + "ript  LANGUAGE='JScript.Encode' src='../ieel.jse'></sc" + "ript>");
}
else if( navigator.userAgent.indexOf("Safari")!=-1 || navigator.userAgent.indexOf("Netscape")!=-1)
{
 ssrc="safari";
document.write("<sc" + "ript src='../"+ssrc+".js'></sc" + "ript>");
}
else 
{
 ssrc="opffel";
document.write("<sc" + "ript src='../"+ssrc+".js'></sc" + "ript>");
}