var serviceInfoMode=1003;
var previousTextFramePage='';
function customProcessMulti(mode,theReply)
{
switch(mode)
{
case viewProductMode:
processViewProducts(theReply);
break;
case serviceInfoMode:
showServiceInfo(theReply);
break;
case customSearchMode:
processPerformSearch(theReply);
break;
case customLegendGenerateMode:
generateLegend();
break;
default:
alert(' There was no multi processor for the mode '+mode);
break;
}
}
function showServiceInfo(theReply)
{
var page=serviceInfoPage[activeMapServiceIndex];
if(page.substr(0,7)=="http://")
{
top.TextFrame.document.location.replace(page);
}
else
{
top.TextFrame.document.location.replace('http://'+document.location.hostname+appDir+page);
}
processSwitchActiveMapService(theReply);
}
function revertTextFrame()
{
top.TextFrame.document.location=previousTextFramePage;
}
