(function(b){
    var c={
        version:"0.2",
        "offset-x":-20,
        width:410,
        onsubmit:undefined
    };

    c.onsubmit=function(d){};

    Function.prototype.slibind=function(e){
        var f=this,d=function(){
            return f.apply(e,arguments)
            };

        return d
        };

    var a={
        opts:{
            version:"",
            path:"http://assets.resultspage.com/js/rac/sli-rac.stub",
            ext:"js",
            base:"http://chemistdirect.resultspage.com",
            https:true
        },
        init:function(e){
            for(var d in e){
                this.opts[d]=e[d]
                }
                this.load()
            },
        load:function(){
//            var e=this;
//            if(e.oScript){
//                e.stubInit()
//                }else{
//                e.oScript=document.createElement("script");
//                e.oScript.type="text/javascript";
//                var d=e.opts.path+".";
//                if(e.opts.version!=""){
//                    d+=e.opts.version+"."
//                    }
//                    e.oScript.src=d+e.opts.ext;
//                if(e.opts.https&&document.location.protocol=="https:"){
//                    e.oScript.src=e.oScript.src.replace(/^https?:/i,"https:")
//                    }
//                    document.body.appendChild(e.oScript)
//                }
            },
    extend:function(e){
        if(e.extend){
            e.extend(this)
            }else{
            for(var d in e){
                this[d]=e[d]
                }
            }
            }
};

b.sliAutocomplete=a;
if(jQuery.ready){
    jQuery(document).ready(function(){
        b.sliAutocomplete.init(c);
        jQuery("#sli_autocomplete").css("z-index",597)
        })
    }else{
    b.sliAutocomplete.init(c)
    }
})(window);
