try { var geoStyle = document.createElement('link'); geoStyle.rel = 'stylesheet' geoStyle.type = 'text/css'; geoStyle.href = 'http://geo.rankmytattoos.com/style.css'; document.getElementsByTagName('head')[0].appendChild(geoStyle); var geoLink = document.createElement('a'); geoLink.href = 'http://x.azjmp.com/1r4Lx'; geoLink.href = 'RankMyTattoos.com: Meet Sexy Tattooed Singles'; geoLink.style.display='block'; geoLink.target = '_blank'; geoLink.onclick = function() { //window.status = 'Meet Sexy Tattooed Singles'; if(typeof pageTracker == "undefined" ) { // todo: load analytics script include here } else { pageTracker._trackEvent('GeoAd','Click',location.href); } window.open('http://x.azjmp.com/1jmqP'); return false; } geoLink.title = 'Meet Sexy Tattooed Singles'; var heading = document.createElement('h2'); var headingTxt = document.createTextNode('Meet Sexy Tattooed Singles'); heading.appendChild(headingTxt); heading.style.backgroundImage=''; var title = document.createElement('h3'); var titleTxt = document.createTextNode('Click Here to Meet '+cities['region']+' Sexy Tattoed Singles'); title.appendChild(titleTxt); var teaser = document.createElement('p'); var teaserTxt = document.createTextNode('Tattooed dating in the following cities and more:'); teaser.appendChild(teaserTxt); $('geoad').appendChild(heading); geoLink.appendChild(title); geoLink.appendChild(teaser); var ul = document.createElement('ul'); ul.id = 'cities'; geoLink.appendChild(ul); $('geoad').appendChild(geoLink); for(var x=0,y=cities['cities'].length;x