function showPage(page) { // pause(400); // göm alla boxar document.getElementById('startbox').className = 'box box-hide'; document.getElementById('passerkort').className = 'box box-hide'; document.getElementById('ticse').className = 'box box-hide'; document.getElementById('unitinformation').className = 'box box-hide'; document.getElementById('ticsl').className = 'box box-hide'; document.getElementById('lao').className = 'box box-hide'; document.getElementById('distansaviseringcontainer').className = 'box box-hide'; document.getElementById('distansaviseringroro').className = 'box box-hide'; document.getElementById('epipe').className = 'box box-hide'; document.getElementById('grontkort').className = 'box box-hide'; document.getElementById('skaderapportering').className = 'box box-hide'; document.getElementById('visit').className = 'box box-hide'; document.getElementById('seglingslistan').className = 'box box-hide'; document.getElementById('inneliggande').className = 'box box-hide'; document.getElementById('klartgods').className = 'box box-hide'; document.getElementById('vtms').className = 'box box-hide' document.getElementById('edi').className = 'box box-hide' document.getElementById('catos_cargomanagement').className = 'box box-hide' document.getElementById('catos_tps').className = 'box box-hide' document.getElementById('catos_rps').className = 'box box-hide' document.getElementById('dot_rederiagent').className = 'dot-hide'; document.getElementById('dot_akeri').className = 'dot-hide'; document.getElementById('dot_jarnvagsoperator').className = 'dot-hide'; document.getElementById('dot_sjofartsvarket').className = 'dot-hide'; document.getElementById('dot_varuagare').className = 'dot-hide'; document.getElementById('dot_tankrederi').className = 'dot-hide'; document.getElementById('dot_oljehamnsforetag').className = 'dot-hide'; document.getElementById('dot_speditor').className = 'dot-hide'; document.getElementById('dot_myndigheter').className = 'dot-hide'; document.getElementById('dot_allmanheten').className = 'dot-hide'; document.getElementById('dot_vaktbolag').className = 'dot-hide'; document.getElementById('dot_repfirma').className = 'dot-hide';0, document.getElementById('dot_ovriga').className = 'dot-hide'; document.getElementById('dot_alla').className = 'dot-hide'; document.getElementById('dot_edi').className = 'dot-hide'; document.getElementById('dot_passerkort').className = 'dot-hide'; // document.getElementById('ansokan').className = 'box box-hide'; if(page == "sec_rederiagent") { document.getElementById('dot_rederiagent').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('lao').className = 'box box-show'; document.getElementById('ticsl').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; document.getElementById('skaderapportering').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; } else if(page == "sec_akeri") { document.getElementById('dot_akeri').className = 'dot-show'; document.getElementById('distansaviseringroro').className = 'box box-show'; document.getElementById('catos_tps').className = 'box box-show'; } else if(page == "sec_jarnvagsoperator") { document.getElementById('dot_jarnvagsoperator').className = 'dot-show'; document.getElementById('klartgods').className = 'box box-show'; document.getElementById('catos_rps').className = 'box box-show'; } else if(page == "sec_sjofartsvarket") { document.getElementById('dot_sjofartsvarket').className = 'dot-show'; document.getElementById('vtms').className = 'box box-show'; } else if(page == "sec_varuagare") { document.getElementById('dot_varuagare').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('ticsl').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; } else if(page == "sec_tankrederi") { document.getElementById('dot_tankrederi').className = 'dot-show'; document.getElementById('vtms').className = 'box box-show'; } else if(page == "sec_oljehamnsforetag") { document.getElementById('dot_oljehamnsforetag').className = 'dot-show'; document.getElementById('grontkort').className = 'box box-show'; document.getElementById('epipe').className = 'box box-show'; document.getElementById('visit').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; } else if(page == "sec_speditor") { document.getElementById('dot_speditor').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; } else if(page == "sec_myndigheter") { document.getElementById('dot_myndigheter').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('ticsl').className = 'box box-show'; document.getElementById('lao').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; } else if(page == "sec_allmanheten") { document.getElementById('dot_allmanheten').className = 'dot-show'; document.getElementById('inneliggande').className = 'box box-show'; document.getElementById('seglingslistan').className = 'box box-show'; } else if(page == "sec_vaktbolag") { document.getElementById('dot_vaktbolag').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('visit').className = 'box box-show'; } else if(page == "sec_repfirma") { document.getElementById('dot_repfirma').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; } else if(page == "sec_ovriga") { document.getElementById('dot_ovriga').className = 'dot-show'; document.getElementById('vtms').className = 'box box-show'; } else if(page == "sec_alla") { document.getElementById('dot_alla').className = 'dot-show'; document.getElementById('ticse').className = 'box box-show'; document.getElementById('unitinformation').className = 'box box-show'; document.getElementById('ticsl').className = 'box box-show'; document.getElementById('lao').className = 'box box-show'; document.getElementById('distansaviseringroro').className = 'box box-show'; document.getElementById('epipe').className = 'box box-show'; document.getElementById('grontkort').className = 'box box-show'; document.getElementById('skaderapportering').className = 'box box-show'; document.getElementById('visit').className = 'box box-show'; document.getElementById('seglingslistan').className = 'box box-show'; document.getElementById('inneliggande').className = 'box box-show'; document.getElementById('klartgods').className = 'box box-show'; document.getElementById('vtms').className = 'box box-show'; document.getElementById('catos_cargomanagement').className = 'box box-show'; document.getElementById('catos_tps').className = 'box box-show'; document.getElementById('catos_rps').className = 'box box-show'; } else if(page == "sec_edi") { document.getElementById('dot_edi').className = 'dot-show'; document.getElementById('edi').className = 'box box-show'; } else if(page == "sec_passerkort") { document.getElementById('dot_passerkort').className = 'dot-show'; document.getElementById('passerkort').className = 'box box-show'; } // visa boxen som skall visas // document.getElementById(page).className = 'box box-show'; }