<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxUrlConverter"></a>mxUrlConverter</h1><divclass=CBody><p>Converts relative and absolute URLs to absolute URLs with protocol and domain.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxUrlConverter">mxUrlConverter</a></td><tdclass=SDescription>Converts relative and absolute URLs to absolute URLs with protocol and domain.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxUrlConverter.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.enabled"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">enabled</a></td><tdclass=SDescription>Specifies if the converter is enabled. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.baseUrl"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">baseUrl</a></td><tdclass=SDescription>Specifies the base URL to be used as a prefix for relative URLs.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.baseDomain"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">baseDomain</a></td><tdclass=SDescription>Specifies the base domain to be used as a prefix for absolute URLs.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxUrlConverter.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.updateBaseUrl"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">updateBaseUrl</a></td><tdclass=SDescription>Private helper function to update the base URL.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.isEnabled"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">isEnabled</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.enabled"class=LVariableid=link6onMouseOver="ShowTip(event, 'tt1', 'link6')"onMouseOut="HideTip('tt1')">enabled</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.setEnabled"id=link7onMouseOver="ShowTip(event, 'tt6', 'link7')"onMouseOut="HideTip('tt6')">setEnabled</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConverter.enabled"class=LVariableid=link8onMouseOver="ShowTip(event, 'tt1', 'link8')"onMouseOut="HideTip('tt1')">enabled</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.getBaseUrl"id=link9onMouseOver="ShowTip(event, 'tt7', 'link9')"onMouseOut="HideTip('tt7')">getBaseUrl</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.baseUrl"class=LVariableid=link10onMouseOver="ShowTip(event, 'tt2', 'link10')"onMouseOut="HideTip('tt2')">baseUrl</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.setBaseUrl"id=link11onMouseOver="ShowTip(event, 'tt8', 'link11')"onMouseOut="HideTip('tt8')">setBaseUrl</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConverter.baseUrl"class=LVariableid=link12onMouseOver="ShowTip(event, 'tt2', 'link12')"onMouseOut="HideTip('tt2')">baseUrl</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.getBaseDomain"id=link13onMouseOver="ShowTip(event, 'tt9', 'link13')"onMouseOut="HideTip('tt9')">getBaseDomain</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.baseDomain"class=LVariableid=link14onMouseOver="ShowTip(event, 'tt3', 'link14')"onMouseOut="HideTip('tt3')">baseDomain</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.setBaseDomain"id=link15onMouseOver="ShowTip(event, 'tt10', 'link15')"onMouseOut="HideTip('tt10')">setBaseDomain</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConvert
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.enabled"></a>enabled</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.enabled</td></tr></table></blockquote><p>Specifies if the converter is enabled. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.baseUrl"></a>baseUrl</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.baseUrl</td></tr></table></blockquote><p>Specifies the base URL to be used as a prefix for relative URLs.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.baseDomain"></a>baseDomain</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.baseDomain</td></tr></table></blockquote><p>Specifies the base domain to be used as a prefix for absolute URLs.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.updateBaseUrl"></a>updateBaseUrl</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.updateBaseUrl = function()</td></tr></table></blockquote><p>Private helper function to update the base URL.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.isRelativeUrl"></a>isRelativeUrl</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.isRelativeUrl = function(</td><tdclass="PParameter prettyprint "nowrap>url</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns true if the given URL is relative.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.convert"></a>convert</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.convert = function(</td><tdclass="PParameter prettyprint "nowrap>url</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Converts the given URL to an absolute URL with protol and domain. Relative URLs are first converted to absolute URLs.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.enabled</td></tr></table></blockquote>Specifies if the converter is enabled. </div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.baseUrl</td></tr></table></blockquote>Specifies the base URL to be used as a prefix for relative URLs.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.baseDomain</td></tr></table></blockquote>Specifies the base domain to be used as a prefix for absolute URLs.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.updateBaseUrl = function()</td></tr></table></blockquote>Private helper function to update the base URL.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.isEnabled = function()</td></tr></table></blockquote>Returns enabled.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.setEnabled = function(</td><tdclass="PParameter prettyprint "nowrap>value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets enabled.</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.getBaseUrl = function()</td></tr></table></blockquote>Returns baseUrl.</div></div><divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.setBaseUrl = function(</td><tdclass="PParameter prettyprint "nowrap>value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets baseUrl.</div></div><divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><tdclass="prettyprint">mxUrlConverter.prototype.getBaseDomain = function()</td></tr></table></blockquote>Returns baseDomain.</div></div><divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.setBaseDomain = function(</td><tdclass="PParameter prettyprint "nowrap>value</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets baseDomain.</div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.isRelativeUrl = function(</td><tdclass="PParameter prettyprint "nowrap>url</td><tdclass="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Returns true if the given URL is relative.</div></div><divclass=CToolTipid="tt12"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass="PBeforeParameters prettyprint "nowrap>mxUrlConverter.prototype.convert = function(</td><tdclas