		/* 
		
			LifeSpot3.3 script
			Developer: OrangePascal
			
				Rev history
					3.3	- Added GoogleStatic Map  KEY support (for GEO images to work properly, see settings area below)
							- Added lsGEOZoom setting, to change the magnification on the google-map image
							- Removed extra Tumblr code that was added.. most of it is taken care of by FriendFeed now
							- Fixed images not being put on a new line after the likes/comments text
					3.2	- Fixed GEO tagging (image was wrong size)
					3.2	- Added "lscomments" container option (will display recent comments and likes from users on your feed)
							- Added service icons (set lsShowIcons=false if you don't want them)
							- Added option to show likes+comments below title (lsPostInfoTop=true) or at the bottom of a post (lsPostInfoTop=false)
							- Added option to show user-profile with a micro-blog (lsShowMicroIcon=true)
							- Added GEO-tagging information (with link to google maps, and google maps image.. for example: Brightkite)
							- Added optional images for specific post-types
							- Added lsLifeStreamInfo to contain a text string you want in your profile.
							- Added option to turn on/off the use of CSS-rounded box with every post
							
					3.1	- Added quoting of first comment if it's from user
							- Fixed tumblr posts, the link/text is now placed below the content (image/video/etc)
							
			
		*/
		
		/*  

			Change these settings to tweak your lifestream
			
		*/



		/*----------------------[ DONT CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING !]----------------------------------*/
		
		
		/* calculate our timeZone */
		var d = new Date();
		var offset = (d.getTimezoneOffset()/60);

		/* used for testing */
		function concatObject(obj) {
		  str='';
		  for(prop in obj)
		  {
			str+=prop + " value :"+ obj[prop]+"\n";
		  }
		  alert(str);
		}		


		// Used internally, takes ISO timestamp, makes it pwetty
		function prettyDate(time){
			var date = new Date((time || "").replace(/-/g,"/").replace(/[TZ]/g," "));
			
			date.setHours(date.getHours()-offset);
			diff = (((new Date()).getTime() - date.getTime()) / 1000);
			day_diff = Math.floor(diff / 86400);
					
			if ( isNaN(day_diff) || day_diff < 0 || day_diff >= 31 )
				return;
				
			return day_diff == 0 && (
					diff < 60 && "just now" ||
					diff < 120 && "1 minute ago" ||
					diff < 3600 && Math.floor( diff / 60 ) + " minutes ago" ||
					diff < 7200 && "1 hour ago" ||
					diff < 86400 && Math.floor( diff / 3600 ) + " hours ago") ||
				day_diff == 1 && "Yesterday" ||
				day_diff < 7 && day_diff + " days ago" ||
				day_diff < 31 && Math.ceil( day_diff / 7 ) + " weeks ago";
		}






		/*
			Get service type
		*/
		function getServiceType(obj) {
			switch (obj.id) {
				case "twitter" : return "micro"; 
				case "pownce" : return "micro"; 
				case "plurk" : return "micro"; 
				case "jaiku" : return "micro"; 
				case "googletalk" : return "micro"; 
				case "linkedin" : return "micro";
				case "identica" : return "micro";
				
				case "youtube" : return "video";
				case "vimeo" : return "video";
				case "qik" : return "video";
				case "seesmic" : return "video";
				
				case "lastfm" : return "audio";
				
				case "blog" : 
					if (obj.name.indexOf("Qik")>=0) return "video";
					return "blog"+obj.name;
					
				case "polyvore" : return "picture";
				case "picasa" : return "picture";
				
				case "furl" : return "share";
				case "googlereader" : return "share";
				case "delicious" : return "share";
			}
			return obj.id; 
		}



		/*
			We fetch a bit more info from tumblr (video's, conversations, photo's, etc)
		*/

/*
		// CODE DISABLED, FRIENDFEED TAKES CARE OF MOST OF IT NOW.. STILL HERE FOR REFERENCE
		
		
		function handleTumblr(obj) {
			tumb=obj.posts[0];
			tumbHTML="";
			switch (tumb.type) {
				case "photo":
					tumbHTML="<a href='"+tumb['url']+"'>";
					tumbHTML+="<img src='"+tumb['photo-url-400']+"'>";
					tumbHTML+="</a>";
				break;
				
				case "regular":
					tumbHTML+="<span style='text-align:left;'>"+tumb['regular-body']+"</span>";
				break;
				
				case "video":
					tumbHTML+=tumb['video-player'];
				break;
				
				case "conversation":
					//concatObject(tumb);
					message=tumb['conversation-text']+"\r\n";
					while (message!='') {
						tumbHTML+="<div class='chat'>";
						curline=message.substr(0,message.indexOf("\r\n"));
							curuser=curline.substr(0,curline.indexOf(" "));
							tumbHTML+="<strong>"+curuser+"</strong> ";
							curline=curline.substr(curline.indexOf(" ")+1);
							tumbHTML+=curline+"<br/>";
						message=message.substr(message.indexOf("\r\n")+2);
						tumbHTML+="</div>";
						//alert(message);
					}
					//tumbHTML+=message;
				break;
			}
			
			document.getElementById("tumblr_"+tumb['id']).innerHTML=tumbHTML;
		}
*/				





		/*
			We fetch a bit more info from last.fm (album cover please!)
			-- not working yet,  api doesn't support getTrack()  :((
		*/
		function handleLastFM(track) {
		}



		/*
			
			Walk thru the feed items
		
		*/
		geoIsDone=false;
		function lifefeed(obj) {
			
			//concatObject(obj.entries[0]);
			
			// first get user info, only shown if "lsprofile" div container is on the page
			profileBar=document.getElementById("lsprofile");
			user=obj.entries[0].user;
			avatarURL=user.id.replace(/-/g,"");

			if (profileBar) {
				feedHTML="<img src='http://friendfeed.s3.amazonaws.com/pictures-"+avatarURL+"-medium.jpg?v=1'/>"; 
				feedHTML+="<h1><a href='"+user.profileUrl+"'>"+user.name+"</a>";
				feedHTML+="<br/><small>"+lsLifeStreamInfo+"</small>";
				feedHTML+="</h1>";
				profileBar.innerHTML=feedHTML;
			}

			lastService="";
			lastServiceType="";
			
			for(var i in obj.entries) {
				entry=obj.entries[i];
				
				feedHTML="";
				serviceType=getServiceType(entry.service);

				if (!entry.hidden) {// && serviceType!="share") {

						feedHTML+="<h2>"
						if (lsShowIcons) feedHTML+="<img class='serviceicon' src='"+entry.service.iconUrl+"' style='float:left;'> ";
						//if (serviceType!="micro") {
							//if (entry.service.name!=lastService) {
								if (serviceType=="blog") feedHTML+="Blog post on ";
								feedHTML+=entry.service.name;
							//}
						//} 
						feedHTML+="</h2>";
						
						// LIKES AND COMMENTS BAR


						
						feedHTML+="<div id='post'>";
						
	
						if (lsShowRoundedBox) {
							feedHTML+='<div id="xsnazzy">';
							feedHTML+='<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>';
							feedHTML+='<div class="xboxcontent">';
						}

						if (lsPostInfoTop) feedHTML+=lsPostInfo(entry);

						if (serviceType!=lastServiceType) {
							switch (serviceType) {
								case "audio" : if (ls_iconmusic) feedHTML+="<a href='"+entry.link+"'><img class='iconify' src='"+ls_iconmusic+"'></a>"; break;
								case "share" : if (ls_iconshare) feedHTML+="<a href='"+entry.link+"'><img class='iconify' src='"+ls_iconshare+"'></a>"; break;
								case "micro" : if (ls_iconmicro) feedHTML+="<a href='"+entry.link+"'><img class='iconify' src='"+ls_iconmicro+"'></a>"; break;
							}
						}
						
						lastService=entry.service.name;
						lastServiceType=serviceType;

						if (!entry.media || entry.media.length==0 || entry.service.id=='googlereader') {	// no images or video
							
							if (serviceType=="video") {
								if (entry.service.name.indexOf("Qik")>=0) {
									tubeURL=entry.link;
									tubeID=entry.link.substr(entry.link.indexOf("video/",0)+6);

									feedHTML+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='425' height='319' id='qik_player' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='allowFullScreen' value='false' /><param name='movie' value='http://qik.com/swfs/qik_player.swf' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#333333' /><param name='FlashVars' value='userlock=true&streamname=a1b832f01cd44a2f816d7487843eb8d2&vid="+tubeID+"&safelink=brandyleaphotography'/><embed src='http://qik.com/swfs/qik_player.swf' FlashVars='userlock=true&streamname=a1b832f01cd44a2f816d7487843eb8d2&vid="+tubeID+"&safelink=brandyleaphotography' quality='high' wmode='transparent' bgcolor='#333333' width='425'  height='319' name='qik_player' align='middle' allowScriptAccess='sameDomain' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
								}
							}
						
							if (serviceType=="micro") {
								if (lsShowMicroIcon) feedHTML+="<img src='http://friendfeed.s3.amazonaws.com/pictures-"+avatarURL+"-medium.jpg?v=1'/>"; 
								feedHTML+="<h2 class='ff3quote'><span style='font-size:300%; float:left;'>&#8220;</span>"

								// translate the URL's into real URL's
								twit=entry.title+" ";
								while (twit.indexOf("http://")>=0) {
									feedHTML+=twit.substr(0,twit.indexOf("http://"));
									twit=twit.substr(twit.indexOf("http://"));
									feturl=twit.substr(0,twit.indexOf(" "));
									feedHTML+="<a href='"+feturl+"'>"+feturl+"</a>";
									twit=twit.substr(twit.indexOf(" "));
								}
								feedHTML+=twit;
								
								feedHTML+="<small style='float:right;'> - "+user.name+" , ";
								feedHTML+=prettyDate(entry.published);
								feedHTML+="</small>";
								feedHTML+="</h2>";
								feedHTML+="<br/>";	// dirty IE fix
							} else {

/*
								if (entry.service.id=="tumblr") {
									tumbURL=entry.link;
									tumbUserID=tumbURL.substr(7,tumbURL.indexOf(".tumblr")-7);
									tumbID=tumbURL.substr(tumbURL.indexOf("post/")+5);

									feedHTML+="<div id='tumblr_"+tumbID+"'></div>";

									var JSONCode=document.createElement("script");
									JSONCode.setAttribute('src',"http://"+tumbUserID+".tumblr.com/api/read/json/?id="+tumbID+"&callback=handleTumblr");
									//JSONCode.setAttribute('defer','defer');	// IE fix, but makes IE very very slow
									document.getElementById("lscontent").appendChild(JSONCode);	       
								}
*/
							
								// if 1 comment, and it's from the user, then it's a quote that has to be shown with a link
								if (entry.comments && entry.comments.length==1 && entry.comments[0].user.id==entry.user.id) {
									feedHTML+="<h2 class='ff3quote'><span style='font-size:300%; float:left;'>&#8220;</span>"		
									
									// translate the URL's into real URL's
									twit=entry.comments[0].body+" ";
									while (twit.indexOf("http://")>=0) {
										feedHTML+=twit.substr(0,twit.indexOf("http://"));
										twit=twit.substr(twit.indexOf("http://"));
										feturl=twit.substr(0,twit.indexOf(" "));
										feedHTML+="<a href='"+feturl+"'>"+feturl+"</a>";
										twit=twit.substr(twit.indexOf(" "));
									}
									feedHTML+=twit;
									
									feedHTML+="<small style='float:right;'> - "+user.name+" , ";
									feedHTML+=prettyDate(entry.published);
									feedHTML+="</small>";
									feedHTML+="</h2>";
								}						

								// GEO tagging?
								if (entry.geo) {
									//if (!geoIsDone) concatObject(entry);
									//geoIsDone=true;
									feedHTML+="<br/>"+lsgeoTagInfo(entry.geo);
								}
								
								feedHTML+="<p><a href='"+entry.link+"'>";
								if (serviceType=="audio") feedHTML+="&#9834; ";	// music not for audio stuff
								feedHTML+=entry.title+"</a></p>";
							}

							/*
							if (entry.service.id=="lastfm") {
								artistname=entry.title.substr(0,entry.title.indexOf(" – "));
								trackname=entry.title.substr(entry.title.indexOf(" – ")+3);
								
								feedHTML+="<div id='lastfm_"+trackname+"_"+artistname+"'></div>";

								while (artistname.indexOf(" ")>0) artistname=artistname.replace(" ","+");
								while (trackname.indexOf(" ")>0) trackname=trackname.replace(" ","+");

								var JSONCode=document.createElement("script");
								JSONCode.setAttribute('src',"http://lastfm-api-ext.appspot.com/2.0/?method=track.getinfo&artist="+artistname+"&track="+trackname+"&user=RJ&api_key=b25b959554ed76058ac220b7b2e0a026&outtype=js&callback=handleLastFM");
								document.getElementById("lscontent").appendChild(JSONCode);	       
								
								//http://lastfm-api-ext.appspot.com/docs
							}
							*/
							

						
						} else {
							if (serviceType=="video" || entry.service.name.indexOf("12seconds")>=0) {
								if (entry.service.id=="youtube") {
									tubeURL=entry.link;
									tubeID=entry.link.substr(entry.link.indexOf("v=",0)+2);
									feedHTML+="<object width='425' height='344'><param name='movie' value='http://www.youtube.com/v/"+tubeID+"&hl=en&fs=1'></param><param name='allowFullScreen' value='true'></param><embed src='http://www.youtube.com/v/"+tubeID+"&hl=en&fs=1' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='344'></embed></object>";
								}	
							
								if (entry.service.id=="vimeo") {
									tubeURL=entry.link;
									tubeID=entry.link.substr(entry.link.indexOf(".com/",0)+5);
									feedHTML+="<object width='400' height='225'><param name='allowfullscreen' value='true' />	<param name='allowscriptaccess' value='always' />	<param name='movie' value='http://vimeo.com/moogaloop.swf?clip_id="+tubeID+"&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1' />	<embed src='http://vimeo.com/moogaloop.swf?clip_id="+tubeID+"&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1' type='application/x-shockwave-flash' allowfullscreen='true' allowscriptaccess='always' width='400' height='225'></embed></object>";
								}
								
								if (entry.service.id=="seesmic") {
									tubeURL=entry.link;
									tubeID=entry.link.substr(entry.link.indexOf("video/",0)+6);
									feedHTML+="<object width='435' height='355'><param name='movie' value='http://seesmic.com/embeds/wrapper.swf'></param><param name='bgcolor' value='#666666' /><param name='allowFullScreen' value='true' /><param name='allowScriptAccess' value='always' /><param name='flashVars' value='video="+tubeID+"&version=threadedplayer' /><embed src='http://seesmic.com/embeds/wrapper.swf' type='application/x-shockwave-flash' flashVars='video="+tubeID+"&version=threadedplayer'  allowFullScreen='true' 	bgcolor='#666666' allowScriptAccess='always' width='435' height='355' ></embed></object>";
								}
								
								if (entry.service.name.indexOf("12seconds")>=0) {
									tubeID=entry.link;
									while (tubeID.indexOf("/")>=0) {
										tubeID=tubeID.substr(tubeID.indexOf("/")+1);
									}
									feedHTML+="<object type='application/x-shockwave-flash' data='http://embed.12seconds.tv/players/remotePlayer.swf' width='430' height='360' ><param name='movie' value='http://embed.12seconds.tv/players/remotePlayer.swf' /><param name='FlashVars' value='vid="+tubeID+"'/><embed src='http://embed.12seconds.tv/players/remotePlayer.swf' width='430' height='360' flashvars='vid="+tubeID+"'></embed></object>";
								}

								// if 1 comment, and it's from the user, then it's a quote that has to be shown with a link
								if (entry.comments && entry.comments.length==1 && entry.comments[0].user.id==entry.user.id) {
									feedHTML+="<h2 class='ff3quote'><span style='font-size:300%; float:left;'>&#8220;</span>"		
									
									// translate the URL's into real URL's
									twit=entry.comments[0].body+" ";
									while (twit.indexOf("http://")>=0) {
										feedHTML+=twit.substr(0,twit.indexOf("http://"));
										twit=twit.substr(twit.indexOf("http://"));
										feturl=twit.substr(0,twit.indexOf(" "));
										feedHTML+="<a href='"+feturl+"'>"+feturl+"</a>";
										twit=twit.substr(twit.indexOf(" "));
									}
									feedHTML+=twit;
									
									feedHTML+="<small style='float:right;'> - "+user.name+" , ";
									feedHTML+=prettyDate(entry.published);
									feedHTML+="</small>";
									feedHTML+="</h2>";

								}						
								
							} else {

								mediaCount=entry.media.length;
								for (var m in entry.media) {
									if (mediaCount>5) imgWidth=96;
									else imgWidth=480/mediaCount;
									
									thumb=null;
									if (entry.media[m].content!=null && mediaCount<3) {
										thumb=entry.media[m].content[0];
										if (entry.service.id=="polyvore") thumb=entry.media[m].content[2];
									} else if (entry.media[m].thumbnails!=null) {
										if (entry.service.id=="amazon") thumb=entry.media[m].thumbnails[2];
										else thumb=entry.media[m].thumbnails[0];
									}
									if (entry.service.id=="picasa" ) thumb=entry.media[m].thumbnails[2];
									if (entry.service.id=="netflix" ) thumb=entry.media[m].thumbnails[1];
									
									

									if (thumb!=null) {
										if (thumb.type && thumb.type.indexOf("shockwave")>=0 ) {
											thumbID=thumb.url;
											feedHTML+="<object type='application/x-shockwave-flash' width='400' height='300' data='"+thumbID+"' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='flashvars' value='intl_lang=en-us'></param> <param name='movie' value='"+thumbID+"'></param> <param name='bgcolor' value='#000000'></param> <param name='allowFullScreen' value='true'></param><embed type='application/x-shockwave-flash' src='"+thumbID+"' bgcolor='#000000' allowfullscreen='true' flashvars='intl_lang=en-us' height='300' width='400'></embed></object>";
										} else {
											feedHTML+="<a href='"+entry.media[m].link+"'>";
												if (entry.geo) {
													// scale media image to size of GEO google-map image, just looks better
													feedHTML+="<img src='"+thumb.url+"' height='120'> ";
												} else if (!thumb.width || thumb.width>200) {
													// larger image, we can scale it to big size
													feedHTML+="<img src='"+thumb.url+"' width='"+imgWidth+"'> ";
												} else {
													// smaller image, so keep it small
													feedHTML+="<img src='"+thumb.url+"'> ";
												}
											feedHTML+="</a>";
										}
									}
								}
							}
							
							// GEO tagging data available?
							if (entry.geo) feedHTML+=lsgeoTagInfo(entry.geo);
							
							if (entry.media.length==1) feedHTML+="<center><p><a href='"+entry.link+"'>"+entry.title+"</a></p></center>";
						}
						
						feedHTML+="<br/>";
						
						if (!lsPostInfoTop) feedHTML+=lsPostInfo(entry);


						if (lsShowRoundedBox) {						
							feedHTML+='</div>';
							feedHTML+='<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>';
							feedHTML+="</div>";
						}
						
						feedHTML+="</div><div style='clear:both;'></div>";							// close post div

						document.getElementById('lscontent').innerHTML+=feedHTML;
						
						// handle comments? (only if "lscomments" div container is available)
						commentBar=document.getElementById("lscomments");
						if (commentBar) {
							feedHTML="";
							if (entry.comments && entry.comments.length>0 && entry.comments[entry.comments.length-1].user.id!=entry.user.id) {
								cmtuser=entry.comments[entry.comments.length-1].user;
								cmtavatarURL=cmtuser.id.replace(/-/g,"");
								
								feedHTML+="<div style='margin-top:15px;'>";
								feedHTML+="<a href='"+cmtuser.profileUrl+"'>"+cmtuser.name+"</a>";
								feedHTML+="<img src='http://friendfeed.s3.amazonaws.com/pictures-"+cmtavatarURL+"-medium.jpg?v=1'/>"; 
								feedHTML+=" "+entry.comments[0].body;
								feedHTML+="</div>";
								feedHTML+="<small><a href='http://friendfeed.com/e/"+entry.id+"'>"+prettyDate(entry.likes[0].date)+"</a></small>";
								feedHTML+="<div style='clear:both;'></div>";
								
								commentBar.innerHTML+=feedHTML;
							} else if (entry.likes && entry.likes.length>0) {
								cmtuser=entry.likes[0].user;
								cmtavatarURL=cmtuser.id.replace(/-/g,"");

								feedHTML+="<div style='margin-top:15px;'>";
								feedHTML+="<a href='"+cmtuser.profileUrl+"'>"+cmtuser.name+"</a>";
								feedHTML+="<img src='http://friendfeed.s3.amazonaws.com/pictures-"+cmtavatarURL+"-medium.jpg?v=1'/>"; 
								feedHTML+=" liked "+entry.title;
								feedHTML+="</div>";
								feedHTML+="<small><a href='http://friendfeed.com/e/"+entry.id+"'>"+prettyDate(entry.likes[0].date)+"</a></small>";
								feedHTML+="<div style='clear:both;'></div>";
								
								commentBar.innerHTML+=feedHTML;
							}
						}

				}		
			}
		
		
			document.getElementById('lscontent').innerHTML+="<p><br/><a href='http://code.google.com/p/lifespot/'>LifeSpot3</a> - powered by <a href='http://friendfeed.com'>FriendFeed</a> - (copyit!) <a href='http://orangepascaldev.blogspot.com'>orangepascal</a> - best in FireFox</p>";
		
			searchBar=document.getElementById('lssearchbar');
			if (searchBar) {
				sideHTML="<form name='ffsearch' action='http://friendfeed.com/search' method='get'>";
				sideHTML+="<input name='who' type='hidden' value='"+user.nickname+"' />";
				sideHTML+="<input class='inputbar' name='q' type='text' size='10' value='' />";
				//who:"+user.nickname+"'
				sideHTML+="<input type='submit' value='find'>"; // onClick='document.ffsearch.keywords.value+=\"&who="+user.nickname+"\";'/>";
				sideHTML+="</form>";
				searchBar.innerHTML+=sideHTML;
			}
			
			rssIcon=document.getElementById('lsrss');
			if (rssIcon) {
				rssIcon.innerHTML="<a href='http://friendfeed.com/"+user.nickname+"?format=atom'><img src='http://friendfeed.com/static/images/icons/blog.png?v=d3fe9e9d1dd09839623e597a92ecbb00'></a>";
			}
		}


		
		// Generate like and comments links
		function lsPostInfo(entry) {
			infoHTML="<small>";
			infoHTML+="<a href='http://friendfeed.com/e/"+entry.id+"'>";
			infoHTML+="<img src='http://friendfeed.com/static/images/smile.png?v=2'/>"; 
			if (entry.likes.length==1) infoHTML+=entry.likes.length+" like";
			else infoHTML+=entry.likes.length+" likes";
			infoHTML+="</a> | ";
			
			infoHTML+="<a href='http://friendfeed.com/e/"+entry.id+"'>";
			infoHTML+="<img src='http://friendfeed.com/static/images/comment-friend.png?v=2'/>"; 
			if (entry.comments.length==1) infoHTML+=entry.comments.length+" comment";
			else infoHTML+=entry.comments.length+" comments";
			infoHTML+="</a>";

			if (serviceType!="micro") {
				infoHTML+=" | ";
				infoHTML+=prettyDate(entry.published);
			}
			infoHTML+="</small><br/>";
			
			return infoHTML;
		}

								
		// Generate GEOTAG image (links to google maps)
		function lsgeoTagInfo(geo) {
			infoHTML="<a href='http://maps.google.com/maps?q="+geo.lat+","+geo.long+"+(Untitled)'>";
			infoHTML+="<img src='http://maps.google.com/staticmap?zoom="+lsGEOZoom+"&size=175x120&maptype=mobile&markers="+geo.lat+","+geo.long+"&key="+lsGEOKey+"'>";
			infoHTML+="</a>";
			infoHTML+="<br/>";
			return infoHTML;
		}
		
