

/* Comments for you script source lovers
* You don't actually have to place the <script> tag within the div. If you prefer it going into the <head> 
section of your site or page, that's no problem either. <div id="travellerspoint_affiliates_badge"></div> 
should then be put whereever you want to show the badge on the page.
* Contents within the <div id="travellerspoint_affiliates_badge"></div> are replaced by the script when it loads. 
We recommend a placeholder image for while the script is loading and in case something goes wrong in the load. If 
the image is no wider than 180px, it will fit nicely within the border.
* Special thanks to Stuart Langridge for the javascript code to load the badge! 
*/

// Run script after page is loaded but before images - http://www.kryogenix.org/days/2007/09/26/shortloaded
(function(i) {var u =navigator.userAgent;var e=/*@cc_on!@*/false; var st =
setTimeout;if(/webkit/i.test(u)){st(function(){var dr=document.readyState;
if(dr=="loaded"||dr=="complete"){i()}else{st(arguments.callee,10);}},10);}
else if((/mozilla/i.test(u)&&!/(compati)/.test(u)) || (/opera/i.test(u))){
document.addEventListener("DOMContentLoaded",i,false); } else if(e){     (
function(){var t=document.createElement('doc:rdy');try{t.doScroll('left');
i();t=null;}catch(e){st(arguments.callee,0);}})();}else{window.onload=i;}})(function() {

// Load the stylesheet into the HEAD tag.
var s=document.createElement('style');document.getElementsByTagName('head')[0].appendChild(s);
var css = "#travellerspoint_affiliates_badge {border:1px solid #ccc;padding:5px;width:170px;font:11px \'Lucida Grande\',Verdana,sans-serif;}#travellerspoint_affiliates_badge .aff_photos {border-bottom:3px double #eee;padding-bottom:5px;}#travellerspoint_affiliates_badge .photo {padding:3px;background-color:#fff;border:1px solid #ddd;-moz-border-radius:3px;margin:0 2px 3px 0;}#travellerspoint_affiliates_badge .aff_entry {padding:5px 0;}#travellerspoint_affiliates_badge .entrytitle{font-weight:bold;display:block;clear:both;padding:5px 0;}#travellerspoint_affiliates_badge .entrydetails{font-size:9px;clear:both;color:#666;margin:2px 0 10px;}#travellerspoint_affiliates_badge .entrydetails a{color:#666;}#travellerspoint_affiliates_badge p{margin:0 0 7px;clear:both;}#travellerspoint_affiliates_badge p.tp_plug {background:#fff url(http://www.travellerspoint.com/badges/badge_branding.gif) no-repeat right bottom;font-size:9px;padding:14px 5px 6px 30px;margin:-5px;line-height:24px;display:block;text-align:right;}";
  if(!!window.ActiveXObject) { // ie.
      document.styleSheets[document.styleSheets.length-1].cssText = css;
  } else {
      stylenode = document.createTextNode(css);
      s.appendChild(stylenode);
  }
badge = document.getElementById('travellerspoint_affiliates_badge');
if (badge) badge.innerHTML = "<div class=\"aff_photos\"><a href=\"http://www.travellerspoint.com/photos/stream/photoID/695307/features/orderByID/\"><img src=\"http://photos.travellerspoint.com/224860/square_CIMG2984.jpg\" width=\"75\" height=\"75\" alt=\"pynt\" class=\"photo\" /></a><a href=\"http://www.travellerspoint.com/photos/stream/photoID/695300/features/orderByID/\"><img src=\"http://photos.travellerspoint.com/224860/square_IMG_2573.jpg\" width=\"75\" height=\"75\" alt=\"trond\" class=\"photo\" /></a><a href=\"http://www.travellerspoint.com/photos/stream/photoID/695299/features/orderByID/\"><img src=\"http://photos.travellerspoint.com/224860/square_IMG_2565.jpg\" width=\"75\" height=\"75\" alt=\"r på stu\" class=\"photo\" /></a><a href=\"http://www.travellerspoint.com/photos/stream/photoID/695298/features/orderByID/\"><img src=\"http://photos.travellerspoint.com/224860/square_IMG_2545.jpg\" width=\"75\" height=\"75\" alt=\"flush\" class=\"photo\" /></a></div><div class=\"aff_entry\"><a href=\"http://jnorum.travellerspoint.com/11/\" class=\"entrytitle\">The Rock Tour</a> Etter en lang togtur fra Darwin til Alice Springs, kom vi oss til campingplassen vi skulle bo paa. Visste seg aa vaere 3 km fra togstasjonen, noe som er veldig langt naar en har tung sekk og det naermer seg 40 varmegrader. Hadde klart aa dobbeltbooke, saa maatte betale dobbelt opp. Bra det bare kostet 90kr per seng, og rommet var veldig bra-naermeste vi har kommet hotell!\r\n\r\nStod opp tidlig neste dag, og ble plukket opp av guiden vaar James. Vi... <p class=\"entrydetails\">Posted Nov 21, 2009 by JulieNorum in <a href=\"http://jnorum.travellerspoint.com\">Den store reisen</a></p><p>&raquo; <a href=\"http://www.travellerspoint.com/affiliates/blogs.cfm?affiliateID=2\">x-plore travel blogs</a></p><p>&raquo; <a href=\"http://www.travellerspoint.com/affiliates/signup.cfm?affiliateID=2\">Start a travel blog</a></p></div><p class=\"tp_plug\"><a href=\"http://www.travellerspoint.com/affiliates.cfm\">Affiliates</a> by <a href=\"http://www.travellerspoint.com/\" id=\"tp_logo\">Travellerspoint</a></p>";
});
