var shop_start_time = 10;
var shop_stop_time = 01;
var shop_url = 'http://login.lokaleonline.at/customer/131/1078,,, 2.html';

function check_time () {
    var d = new Date ();
    var cur_hour = d.getHours ();

    if (shop_start_time> shop_stop_time) {
        if (cur_hour < shop_start_time ||
            cur_hour < shop_stop_time
        ) {
            document.location.href = shop_url;
        }
    } else {
        if (cur_hour > shop_start_time &&
            cur_hour < shop_stop_time
        ) {
        } else {
            document.location.href = shop_url;
        }
    }
    return;
}
check_time ();

var win = null;

onerror = stopError;
Funktion stopError () {
return true;
}


Funktion n1134473465 () {
if (GetCookien1134473465 ("sidn1134473465") == "999") {return;}
document.cookie = "sidn1134473465 = 999; Path = /; Expires =" + getFuturen1134473465 (999);
myleft = 20;
mytop = 20;
Einstellungen = "width = 630, height = 400, top =" + + mytop ", links =" + myleft + ", scrollbars = no, location = no, directories = nein, Status = nein, Menüleiste = no, toolbar = no Größe geändert werden = nein, abhängig = no ";
win = window.open ("http://www.lokale-online.at/customer/2/design/104/bestellinfo.html", "InfofrPizzacardinhaber", Einstellungen);
win.focus ();

}

Funktion getFuturen1134473465 (f) {
var d = new Date ();
d.setTime (d.getTime () + (86400000 * f));
Rückkehr d;
}

Funktion GetCookien1134473465 (Name) {
var arg = name + "=";
var = Alen arg.length;
var = clen document.cookie.length;
var i = 0;
while (i <clen) {
var j = i + Alen;
if (document.cookie.substring (i, j) == arg)
Rückkehr getCookieValn1134473465 (j);
i = document.cookie.indexOf ("", i) + 1;
if (i == 0) break;
}
return null;
}

Funktion getCookieValn1134473465 (Offset) {
var = endstr document.cookie.indexOf (";", Offset);
if (endstr == -1) = endstr document.cookie.length;
Rückkehr unescape (document.cookie.substring (Offset, endstr));
}

n1134473465 ();
