function CheckboxControl(c,a,b,d){this.label=a;this.checked=b;this.callback=d;this.container=this.initialize(c)}CheckboxControl.prototype.getContainer=function(){return this.container};CheckboxControl.prototype.initialize=function(d){var a=document.createElement("div");a.className="checkboxControl";a.style.padding="5px";var b=document.createElement("input");b.type="checkbox";if(this.checked){b.setAttribute("defaultChecked","defaultChecked");b.checked=true}a.appendChild(b);var c=document.createElement("span");c.innerHTML=this.label;a.appendChild(c);this.callback(this.checked);google.maps.event.addDomListener(b,"click",EventBinder.bind(this,this.onClick));return a};CheckboxControl.prototype.onClick=function(a){var b=a.target.checked;this.callback(b);EventTracker.trackEvent(["_trackEvent","layer",this.label,""+b])};function LinkControl(b,a,c){this.label=a;this.callback=c;this.container=this.initialize()}LinkControl.prototype.getContainer=function(){return this.container};LinkControl.prototype.onClick=function(a){this.callback(a);EventTracker.trackEvent(["_trackEvent",this.label,"click"])};LinkControl.prototype.initialize=function(d){var c=document.createElement("div");c.className="linkControl";c.style.padding="5px";var b=document.createElement("a");b.href="#";b.appendChild(document.createTextNode(this.label));c.appendChild(b);google.maps.event.addDomListener(b,"click",EventBinder.bind(this,this.onClick));return c};
