var pixWidth;
var pixHeight;
var svg;
var svgTitle;
var svgContext;
var svgLegend;
var svgLegendScroll;
var svgStatus;
var svgToolbar;
var svgInformation;
var svgScale;
var svgNorthArrow;
var svgAnnotationOptions;
var svgDoc;
function setUp(){
pixWidth = parseInt(document.SVGMap.getAttribute("width"));
pixHeight = parseInt(document.SVGMap.getAttribute("height"));
svg = document.SVGMap.getSVGDocument();
svgDoc=svg.getDocumentElement();
tempSVG=document.getElementById("SVGTitle");
if(tempSVG!=null) svgTitle = document.getElementById("SVGTitle").getSVGDocument();
tempSVG=document.getElementById("SVGStatus");
if(tempSVG!=null) svgStatus =document.getElementById("SVGStatus").getSVGDocument();
tempSVG=document.getElementById("SVGContext");
if(tempSVG!=null) svgContext =document.getElementById("SVGContext").getSVGDocument();
tempSVG=document.getElementById("SVGLegend");
if(tempSVG!=null) svgLegend =document.getElementById("SVGLegend").getSVGDocument();
tempSVG=document.getElementById("SVGLegendScroll");
if(tempSVG!=null) svgLegendScroll =document.getElementById("SVGLegendScroll").getSVGDocument();
tempSVG=document.getElementById("SVGToolbar");
if(tempSVG!=null) svgToolbar =document.getElementById("SVGToolbar").getSVGDocument();
tempSVG=document.getElementById("SVGInformation");
if(tempSVG!=null) svgInformation =document.getElementById("SVGInformation").getSVGDocument();
tempSVG=document.getElementById("SVGScale");
if(tempSVG!=null) svgScale =document.getElementById("SVGScale").getSVGDocument();
tempSVG=document.getElementById("SVGNorthArrow");
if(tempSVG!=null) svgNorthArrow =document.getElementById("SVGNorthArrow").getSVGDocument();
tempSVG=document.getElementById("SVGAnnotationOptions");
if(tempSVG!=null) svgAnnotationOptions =document.getElementById("SVGAnnotationOptions").getSVGDocument();
}


