// Modellocator mit var's
var ML = {
    IE: !!window.attachEvent,
    motiv: "",
    value: "",
    spruch: "",
    navObj: {},
    spruchObj: {},
    spruchRQ: {},
    navRQ: {},
    frageRQ: {},

    
    docW: function(){
        if (this.IE) {
            return document.body.clientWidth;
        }
        else {
            return window.innerWidth;
        }
    },
    docH: function(){
        if (this.IE) {
            return document.body.clientHeight;
        }
        else {
            return window.innerHeight;
        }
    },
    //REQUEST OBJEKT
    request: function(){
        var request = null;
        try {
            request = new ActiveXObject("Microsoft.XMLHTTP");
        } 
        catch (Error) {
            try {
                request = new ActiveXObject("MSXML2.XMLHTTP");
            } 
            catch (Error) {
                try {
                    request = new XMLHttpRequest();
                } 
                catch (Error) {
                    alert("Erzeugung des XMLHttpRequest-Objekts ist nicht moeglich");
                }
            }
        }
        return request;
    },
	//ABFRAGEN
	isNumber:function(value) {
		return typeof value ==='number' && isFinite(value);
	}
};

//COMMAND
var CL = {
    gotoURL: function(link){
    
        // var _url = "http://www.mein-kind-will-keinen-alkohol.de/"
        var _url = "";
        window.location.href = _url + link;
        
    }
};










