//onerror = stopError;function stopError(){ return true; }
//document.write ("<script type="text/javascript" src="script/popup.js"></script>");
document.write ("<script type=\"text/javascript\" src=\"http://www.emons.com/script/ruthsarian_utilities.js\"><\/script>");
//document.write ("<script type=\"text/javascript\" src=\"http://www.emons.com/script/minmax.js\"><\/script>");

//function loader () { document.body.style.visibility  = "visible"; document.body.style.overflow = "visible";if (navigator.appName=="Microsoft Internet Explorer") {document.body.style.overflow = "auto"} }

//function unloader () {document.body.style.visibility  = "hidden"}

//function loaderclick () {window.clearTimeout(hidebox('AL')); window.clearTimeout(loader()); }

var myloc = window.location.href;

var locorray = myloc.split("/");delete locorray[(locorray.length-1)];var aliray = locorray.join("/");

var locarray = myloc.split("/");delete locarray[(locarray.length-1)];var arraytext = locarray.join("/");

var locorray = myloc.split("/");
delete locorray[(locorray.length-2)];delete locorray[(locorray.length-3)];delete locorray[(locorray.length-4)];delete locorray[(locorray.length-5)];delete locorray[(locorray.length-6)];delete locorray[(locorray.length-7)];var arroytext = locorray.join("");

var arroytext = arroytext.split("-");delete arroytext[(arroytext.length-1)];var arroytext = arroytext.join("");
var ali =  arroytext + ".html";var endurl = aliray + ali;

function highlightCurrentPageLink() {
// Alle Links durchlaufen und pruefen
var anzHrefs = document.getElementsByTagName("a").length;

for (var i = 0; i <= anzHrefs - 1; i++) {
// Link auf aktuelle Seite gefunden, also umsetzen CSS auf aktiv
if (document.getElementsByTagName("a")[i].href == document.location.href || document.getElementsByTagName("a")[i].href == endurl)
{
var currentClassName = document.getElementsByTagName("a")[i].className;
var newClassName = currentClassName.replace("marker","ihover");
document.getElementsByTagName("a")[i].className = newClassName;
}}}

function andix() {
var browser = new browser_detect();
if (browser.isIE6up || (browser.isGecko && (!browser.isNS) && browser.versionMinor >= 1) || (browser.isOpera && browser.versionMinor >= 8)) {
var s1 =document.getElementById("s1").innerHTML;document.getElementById("a1").setAttribute("title", s1);
var s2 =document.getElementById("s2").innerHTML;document.getElementById("a2").setAttribute("title", s2);
var s3 =document.getElementById("s3").innerHTML;document.getElementById("a3").setAttribute("title", s3);
var s4 =document.getElementById("s4").innerHTML;document.getElementById("a4").setAttribute("title", s4);
var s5 =document.getElementById("s5").innerHTML;document.getElementById("a5").setAttribute("title", s5);
var s6 =document.getElementById("s6").innerHTML;document.getElementById("a6").setAttribute("title", s6);
var s7 =document.getElementById("s7").innerHTML;document.getElementById("a7").setAttribute("title", s7);
var s8 =document.getElementById("s8").innerHTML;document.getElementById("a8").setAttribute("title", s8);
var s9 =document.getElementById("s9").innerHTML;document.getElementById("a9").setAttribute("title", s9);
var s10 =document.getElementById("s10").innerHTML;document.getElementById("a10").setAttribute("title", s10);
var s11 =document.getElementById("s11").innerHTML;document.getElementById("a11").setAttribute("title", s11);
var s12 =document.getElementById("s12").innerHTML;document.getElementById("a12").setAttribute("title", s12);
var s13 =document.getElementById("s13").innerHTML;document.getElementById("a13").setAttribute("title", s13);
var s14 =document.getElementById("s14").innerHTML;document.getElementById("a14").setAttribute("title", s14);
var s15 =document.getElementById("s15").innerHTML;document.getElementById("a15").setAttribute("title", s15);
// var s16 =document.getElementById("s16").innerHTML;document.getElementById("a16").setAttribute("title", s16);
var s17 =document.getElementById("s17").innerHTML;document.getElementById("a17").setAttribute("title", s17);
var s18 =document.getElementById("s18").innerHTML;document.getElementById("a18").setAttribute("title", s18);
var s19 =document.getElementById("s19").innerHTML;document.getElementById("a19").setAttribute("title", s19);
var s20 =document.getElementById("s20").innerHTML;document.getElementById("a20").setAttribute("title", s20);
var s21 =document.getElementById("s21").innerHTML;document.getElementById("a21").setAttribute("title", s21);
var s22 =document.getElementById("s22").innerHTML;document.getElementById("a22").setAttribute("title", s22);
var s23 =document.getElementById("s23").innerHTML;document.getElementById("a23").setAttribute("title", s23);
}}

window.onload=function() {
highlightCurrentPageLink(); andix();}


//unloader();new popUp(-1 , -1 , 120 , 120 , "AL" , "<table width="75%" height="95%" bgcolor="#FFFDE8"><tr><td valign="middle" align="center" id="popuptabelle"><a href="#" onclick="loaderclick()"><img src="http://www.emons.de/bilder/intro.jpg" alt="sdfsdf" style="border:1px solid #cc0000"></a><br><span style="font-size:10pt">Seite wird geladen ... </span><br><img src="pics/loading.gif" alt="Lade..." width="147" height="21" align="center"></td></tr></table>" , "#FFFDE8" , "black" , "10pt sans-serif" , "." , "#FFFDE8" , "#FFFDE8" , "#FFFDE8", "#FFFDE8" , "black" , true , true , false , true , false , false , 'min.gif' , 'max.gif' , 'close.gif' , 'resize.gif');window.setTimeout("loader()", 300);

//document.write('<link rel="stylesheet" type="text/css" href="script/1024.css" media="screen">');

if (screen.height > 1023) {document.write('<link rel="stylesheet" type="text/css" href="http://www.emons.com/script/1024.css" media="screen">')} else if (screen.height > 863) {document.write('<link rel="stylesheet" type="text/css" href="http://www.emons.com/script/864.css" media="screen">')} else if (screen.height > 799)  {document.write('<link rel="stylesheet" type="text/css" href="http://www.emons.com/script/800.css" media="screen">')} else if (screen.height > 767) {document.write('<link rel="stylesheet" type="text/css" href="http://www.emons.com/script/768.css" media="screen">')} else {document.write('<link rel="stylesheet" type="text/css" href="http://www.emons.com/script/600.css" media="screen">')} 

document.write ("<script type=\"text/javascript\" src=\"http://www.emons.com/script/sweetTitles.js\"></script>");

function bookmark () {window.external.AddFavorite('http://www.emons.com', 'Emons Forwarding & Logistics')}

function ali_winLaunch(theURL,winName,targetName,features) {eval(winName+"=window.open('"+theURL+"','"+targetName+"','"+features+"')")};