\n');
}
function getFlashElement (id) {
return MSIE ? window[id] : document[id];
}
function flashvar(origBox, destBox, type){
if(type == 0) {
window.document.map.SetVariable('advice','Valige saabumise punkt, KUHU, soovite saabuda ja vajutage sellel.');
var origIndex = eval(origBox.selectedIndex);
var orig = origBox.options[ origIndex ].value;
window.document.map.SetVariable("jsorig",orig.substr(1));
//alert(orig);
} else if(type == 3) {
// window.document.map.SetVariable('text','Âíèìàíèå!');
window.document.map.SetVariable('advice','Valige saabumise punkt, KUHU, soovite saabuda ja vajutage sellel.');
} else if(type == 4) {
window.document.map.SetVariable('advice','Osta pileteid Vaadata ajagraafikut Vaadata hindasid Vajutage vastavale nupule. Selleks, et valida teist marsruuti, vajutage nupule ?Eemalda?');
} else if(type == 6) {
// window.document.map.SetVariable('text','Âíèìàíèå!');
window.document.map.SetVariable('advice','Valitud linna (marsruuti) ajutiselt ei teenindata Lisainfo:info@ecolines.lv
Valige nupp ?Eemalda? selleks, et valida teine marsruut.');
} else if(type == 5) {
window.document.map.SetVariable('text','T');
window.document.map.SetVariable('advice','Valige väljumise punkt KUST soovite väljuda ja vajutage sellel');
window.document.map.SetVariable("jsclear",origBox);
} else if(type == 7) {
window.document.map.SetVariable('advice','Osta pileteid Vaadata ajagraafikut Vaadata hindasid Vajutage vastavale nupule. Selleks, et valida teist marsruuti, vajutage nupule ?Eemalda?');
var origIndex = eval(origBox.selectedIndex);
var orig = origBox.options[ origIndex ].value;
window.document.map.SetVariable("jsorig",orig.substr(1));
window.document.map.SetVariable("jsdest",destBox);
} else {
window.document.map.SetVariable('advice','Osta pileteid Vaadata ajagraafikut Vaadata hindasid Vajutage vastavale nupule. Selleks, et valida teist marsruuti, vajutage nupule ?Eemalda?');
var destIndex = eval(destBox.selectedIndex);
var dest = destBox.options[ destIndex ].value;
window.document.map.SetVariable("jsdest",dest);
}
}
function showfull(id, idc, id3) {
e=document.getElementById (id);
c=document.getElementById (idc);
if (!e) {
return;
}
if (!c) {
return;
}
showhide=document.getElementById (id3);
if (e.style.display == "none") {
e.style.display="inline";
showhide.innerHTML=' kinni';
} else if (e.style.display == "inline") {
e.style.display="none";
showhide.innerHTML=' terve marsuut';
}
if (c.style.display == "inline")
c.style.display="none";
else if (c.style.display == "none")
c.style.display="inline";
}
// -->