javascript:var%20metatags%20%3D%20document.getElementsByTagName(%22meta%22);var%20geoloc%3Dnull;for(var%20i%3D0;i%3Cmetatags.length;i%2B%2B)%7Bif%20(metatags.item(i).getAttribute(%22name%22))%7Bvar%20name%3Dmetatags.item(i).getAttribute(%22name%22);if((name%3D%3D%22ICBM%22%7C%7Cname%3D%3D%22geo.position%22)%26%26metatags.item(i).getAttribute(%22content%22))%7Bgeoloc%3Dmetatags.item(i).getAttribute(%22content%22);break;%7D%7D%7Dvar%20re%3D/(.%2B)%5B,;%5D(.%2B)/i;if(geoloc)%7Bif(re.test(geoloc))%7Bvar%20lat%3DRegExp.$1;var%20lon%3DRegExp.$2;var%20win%3Dwindow.open();var%20mqURL%3D%22http://www.mapquest.com/maps/map.adp?latlongtype=decimal%26latitude=%22+lat+%22%26longitude=%22+lon+%22%26zoom=8%22;win.document.location=mqURL;%7Delse%7Balert(%22couldnt%20parse%20location:%20%22%20%2B%20geoloc)%7D%7Delse%7Balert(%22no%20location%20meta-tag%20found%22);%7DHere is the same code without the URL-encoding, in case it helps you read it or otherwise manipulate it:
var metatags = document.getElementsByTagName("meta");
var geoloc=null;
for(var i=0;i<metatags.length;i++){
if (metatags.item(i).getAttribute("name")){
var name=metatags.item(i).getAttribute("name");
if( (name=="ICBM"||name=="geo.position")
&& metatags.item(i).getAttribute("content")) {
geoloc=metatags.item(i).getAttribute("content");break;
}
}
}
var re=/(\S+)\s*[,;]\s*(\S+)/;if(geoloc){
if(re.test(geoloc)){
var lat=RegExp.$1;var lon=RegExp.$2;
var win=window.open();
var mqURL="http://www.mapquest.com/maps/map.adp?latlongtype=decimal&latitude="+lat+"&longitude="+lon+"&zoom=8";
win.document.location=mqURL;
}else{
alert("couldnt parse location: " + geoloc)
}
} else { alert("no location meta-tag found"); }
Thank you, 
