// BpBrowser 0.11 Copyright 2006 BitPerfect http://www.gmaptools.com - All rights reserved.
function BpBrowser(){var a=['opera','msie','safari','firefox','mozilla'];var b=['x11;','macintosh','windows'];function h(c){this.OPERA=0;this.MSIE=1;this.SAFARI=2;this.FIREFOX=3;this.MOZILLA=4;this.X11=0;this.MAC=1;this.WINDOWS=2;this.type=-1;this.os=-1;this.version=0;var d=c.toLowerCase();for(var i=0;i<a.length;i++){var e=a[i];if(d.indexOf(e)!=-1){this.type=i;var f=new RegExp(e+'[ /]?([0-9]+)');if(f.exec(d)){this.version=parseFloat(RegExp.$1)}break;}}for(var i=0;i<b.length;i++){var g=b[i];if(d.indexOf(g)!=-1){this.os=i;break}}}window.BpBrowser=new h(navigator.userAgent);}BpBrowser();if(typeof(GControl)!='undefined'){function BpLogo(){GControl.apply(this,arguments);}BpLogo.prototype=new GControl();BpLogo.prototype.initialize=function(bpMap){var bpContainer=document.createElement("div");var bpImg=document.createElement('img');var bpSrc='http://www.gmaptools.com/images/bplogo.png';if(BpBrowser.type==BpBrowser.MSIE){bpImg.setAttribute('src','http://www.gmaptools.com/images/clear.gif');bpImg.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=crop; src="+bpSrc+")";}else{bpImg.setAttribute('src',bpSrc);}bpImg.setAttribute('border','0');bpImg.onclick=function(){window.parent.location.href='http://www.gmaptools.com/maplink';};try{bpImg.style.cursor='pointer';}catch(e){bpImg.style.cursor='hand';}bpContainer.appendChild(bpImg);
/* bpMap.getContainer().appendChild(bpContainer); */
return bpContainer;};BpLogo.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_BOTTOM_LEFT,new GSize(4,35));};}
