var ligatusTags = new Object();

ligatusTags["dattelner-morgenpost"] = new Object(); // Dattelner Morgenpost
ligatusTags["dattelner-morgenpost"]["artikel"] = 16738; // Artikel
ligatusTags["dattelner-morgenpost"]["index"] = 16728; // Index
ligatusTags["dattelner-morgenpost"]["rectangle"] = 16748; // Rectangle

ligatusTags["hertener-allgemeine"] = new Object(); // 
ligatusTags["hertener-allgemeine"]["artikel"] = 16734; // Artikel
ligatusTags["hertener-allgemeine"]["index"] = 16724; // Index
ligatusTags["hertener-allgemeine"]["rectangle"] = 16744; // Rectangle

ligatusTags["recklinghaeuser-zeitung"] = new Object(); // 
ligatusTags["recklinghaeuser-zeitung"]["artikel"] = 16740; // Artikel
ligatusTags["recklinghaeuser-zeitung"]["index"] = 16730; // Index
ligatusTags["recklinghaeuser-zeitung"]["rectangle"] = 16750; // Rectangle

ligatusTags["stimberg-zeitung"] = new Object(); // 
ligatusTags["stimberg-zeitung"]["artikel"] = 16732; // Artikel
ligatusTags["stimberg-zeitung"]["index"] = 16722; // Index
ligatusTags["stimberg-zeitung"]["rectangle"] = 16742; // Rectangle

ligatusTags["waltroper-zeitung"] = new Object(); // 
ligatusTags["waltroper-zeitung"]["artikel"] = 16736; // Artikel
ligatusTags["waltroper-zeitung"]["index"] = 16726; // Index
ligatusTags["waltroper-zeitung"]["rectangle"] = 16746; // Rectangle

ligatusTags["marler-zeitung"] = new Object(); // 
ligatusTags["marler-zeitung"]["artikel"] = 18754; // Artikel
ligatusTags["marler-zeitung"]["index"] = 18752; // Index
ligatusTags["marler-zeitung"]["rectangle"] = 18756; // Rectangle

function ligatus(type) {
  var domain = window.location.hostname.split(".");
  domain = domain[1];
  if ( typeof(ligatusTags[domain]) != "undefined" ) {
    document.write( '<scr' + 'ipt language="javascript" src="http://a.ligatus.com/?ids=' + ligatusTags[domain][type] + '&t=js"></scr' + 'ipt>' );
  }
}