/*
   LIBRERIA:  "bunner.js"
   CANALE:    "IL NUOVO"
   VERSIONE:  1.0.4
   AGG. DATA: 02/03/2001
*/

var ArrayCU = null;
var browser = "";

function parseString(data,num)
{
  var pos = data.indexOf('|');
  
  return (!num) ? data.substring(0,pos) : data.substring(pos+1);
}

function getBrowser()
{
  ArrayCU = new Array(
//  [Size]       [SpeceDesc][Site]          [SubSite]       [ContentUnit]

    // Home Page 
	"bottone"  + "1"      + "nuovo"       + "nuovo"       + "|42198",
	"bottone"  + "2"      + "nuovo"       + "nuovo"       + "|42199",
	"half"     + "dx"     + "nuovo"       + "nuovo"       + "|42200",
	"half"     + "sx"     + "nuovo"       + "nuovo"       + "|42200",

    // Edicola
	"bottone"  + "1"      + "edicola"     + "edicola"     + "|42201",
	"bottone"  + "2"      + "edicola"     + "edicola"     + "|42202",
	"half"     + "dx"     + "edicola"     + "edicola"     + "|42203",
	"half"     + "sx"     + "edicola"     + "edicola"     + "|42203",

    // Editoriali
	"bottone"  + "1"      + "editoriali"  + "editoriali"  + "|42201",
	"bottone"  + "2"      + "editoriali"  + "editoriali"  + "|42202",
	"half"     + "dx"     + "editoriali"  + "editoriali"  + "|42203",
	"half"     + "sx"     + "editoriali"  + "editoriali"  + "|42203",

    // Speciali
	"bottone"  + "1"      + "speciali"    + "speciali"    + "|42204",
	"bottone"  + "2"      + "speciali"    + "speciali"    + "|42205",
	"half"     + "dx"     + "speciali"    + "speciali"    + "|42206",
	"half"     + "sx"     + "speciali"    + "speciali"    + "|42206",
    // full x speciali
	"full"     + "1"      + "speciali"    + "speciali"    + "|42243",

    // Paese Italia
	"bottone"  + "1"      + "paeseitalia" + "paeseitalia" + "|42207",
	"bottone"  + "2"      + "paeseitalia" + "paeseitalia" + "|42208",
	"half"     + "dx"     + "paeseitalia" + "paeseitalia" + "|42209",
	"half"     + "sx"     + "paeseitalia" + "paeseitalia" + "|42209",

	"bottone"  + "1"      + "paeseitalia" + "fattivita"   + "|42207",
	"bottone"  + "2"      + "paeseitalia" + "fattivita"   + "|42208",
	"half"     + "dx"     + "paeseitalia" + "fattivita"   + "|42209",
	"half"     + "sx"     + "paeseitalia" + "fattivita"   + "|42209",

	"bottone"  + "1"      + "paeseitalia" + "cronacanera" + "|42207",
	"bottone"  + "2"      + "paeseitalia" + "cronacanera" + "|42208",
	"half"     + "dx"     + "paeseitalia" + "cronacanera" + "|42209",
	"half"     + "sx"     + "paeseitalia" + "cronacanera" + "|42209",

	"bottone"  + "1"      + "paeseitalia" + "tempimoderni" + "|42207",
	"bottone"  + "2"      + "paeseitalia" + "tempimoderni" + "|42208",
	"half"     + "dx"     + "paeseitalia" + "tempimoderni" + "|42209",
	"half"     + "sx"     + "paeseitalia" + "tempimoderni" + "|42209",

	"bottone"  + "1"      + "paeseitalia" + "persone"     + "|42207",
	"bottone"  + "2"      + "paeseitalia" + "persone"     + "|42208",
	"half"     + "dx"     + "paeseitalia" + "persone"     + "|42209",
	"half"     + "sx"     + "paeseitalia" + "persone"     + "|42209",

    // Politica
	"bottone"  + "1"      + "politica"    + "politica"    + "|42207",
	"bottone"  + "2"      + "politica"    + "politica"    + "|42208",
	"half"     + "dx"     + "politica"    + "politica"    + "|42209",
	"half"     + "sx"     + "politica"    + "politica"    + "|42209",

    // Esteri
	"bottone"  + "1"      + "esteri"      + "esteri"      + "|42210",
	"bottone"  + "2"      + "esteri"      + "esteri"      + "|42212",
	"half"     + "dx"     + "esteri"      + "esteri"      + "|42213",
	"half"     + "sx"     + "esteri"      + "esteri"      + "|42213",

	"bottone"  + "1"      + "esteri"      + "americhe"    + "|42210",
	"bottone"  + "2"      + "esteri"      + "americhe"    + "|42212",
	"half"     + "dx"     + "esteri"      + "americhe"    + "|42213",
	"half"     + "sx"     + "esteri"      + "americhe"    + "|42213",

	"bottone"  + "1"      + "esteri"      + "asiaoceania" + "|42210",
	"bottone"  + "2"      + "esteri"      + "asiaoceania" + "|42212",
	"half"     + "dx"     + "esteri"      + "asiaoceania" + "|42213",
	"half"     + "sx"     + "esteri"      + "asiaoceania" + "|42213",

	"bottone"  + "1"      + "esteri"      + "medioriente" + "|42210",
	"bottone"  + "2"      + "esteri"      + "medioriente" + "|42212",
	"half"     + "dx"     + "esteri"      + "medioriente" + "|42213",
	"half"     + "sx"     + "esteri"      + "medioriente" + "|42213",

	"bottone"  + "1"      + "esteri"      + "africa"      + "|42210",
	"bottone"  + "2"      + "esteri"      + "africa"      + "|42212",
	"half"     + "dx"     + "esteri"      + "africa"      + "|42213",
	"half"     + "sx"     + "esteri"      + "africa"      + "|42213",

    // Europa
	"bottone"  + "1"      + "europa"      + "europa"      + "|42210",
	"bottone"  + "2"      + "europa"      + "europa"      + "|42212",
	"half"     + "dx"     + "europa"      + "europa"      + "|42213",
	"half"     + "sx"     + "europa"      + "europa"      + "|42213",

	"bottone"  + "1"      + "europa"      + "capitali"    + "|42210",
	"bottone"  + "2"      + "europa"      + "capitali"    + "|42212",
	"half"     + "dx"     + "europa"      + "capitali"    + "|42213",
	"half"     + "sx"     + "europa"      + "capitali"    + "|42213",

	"bottone"  + "1"      + "europa"      + "bruxelles"   + "|42210",
	"bottone"  + "2"      + "europa"      + "bruxelles"   + "|42212",
	"half"     + "dx"     + "europa"      + "bruxelles"   + "|42213",
	"half"     + "sx"     + "europa"      + "bruxelles"   + "|42213",

	"bottone"  + "1"      + "europa"      + "russia"      + "|42210",
	"bottone"  + "2"      + "europa"      + "russia"      + "|42212",
	"half"     + "dx"     + "europa"      + "russia"      + "|42213",
	"half"     + "sx"     + "europa"      + "russia"      + "|42213",

	"bottone"  + "1"      + "europa"      + "altraeuropa" + "|42210",
	"bottone"  + "2"      + "europa"      + "altraeuropa" + "|42212",
	"half"     + "dx"     + "europa"      + "altraeuropa" + "|42213",
	"half"     + "sx"     + "europa"      + "altraeuropa" + "|42213",

    // Economia
	"bottone"  + "1"      + "economia"    + "economia"    + "|42214",
	"bottone"  + "2"      + "economia"    + "economia"    + "|42215",
	"half"     + "dx"     + "economia"    + "economia"    + "|42216",
	"half"     + "sx"     + "economia"    + "economia"    + "|42216",

	"bottone"  + "1"      + "economia"    + "finanza"     + "|42214",
	"bottone"  + "2"      + "economia"    + "finanza"     + "|42215",
	"half"     + "dx"     + "economia"    + "finanza"     + "|42216",
	"half"     + "sx"     + "economia"    + "finanza"     + "|42216",

	"bottone"  + "1"      + "economia"    + "italia"      + "|42214",
	"bottone"  + "2"      + "economia"    + "italia"      + "|42215",
	"half"     + "dx"     + "economia"    + "italia"      + "|42216",
	"half"     + "sx"     + "economia"    + "italia"      + "|42216",

	"bottone"  + "1"      + "economia"    + "estero"      + "|42214",
	"bottone"  + "2"      + "economia"    + "estero"      + "|42215",
	"half"     + "dx"     + "economia"    + "estero"      + "|42216",
	"half"     + "sx"     + "economia"    + "estero"      + "|42216",

	"bottone"  + "1"      + "economia"    + "fiscopensioni" + "|42214",
	"bottone"  + "2"      + "economia"    + "fiscopensioni" + "|42215",
	"half"     + "dx"     + "economia"    + "fiscopensioni" + "|42216",
	"half"     + "sx"     + "economia"    + "fiscopensioni" + "|42216",

	"bottone"  + "1"      + "economia"    + "lavoro"      + "|42214",
	"bottone"  + "2"      + "economia"    + "lavoro"      + "|42215",
	"half"     + "dx"     + "economia"    + "lavoro"      + "|42216",
	"half"     + "sx"     + "economia"    + "lavoro"      + "|42216",

    // Borsa
	"bottone"  + "1"      + "borsa"       + "borsa"       + "|42237",
	"bottone"  + "2"      + "borsa"       + "borsa"       + "|42238",
	"half"     + "dx"     + "borsa"       + "borsa"       + "|42239",
	"half"     + "sx"     + "borsa"       + "borsa"       + "|42240",

    // Spettacolo
	"bottone"  + "1"      + "spettacoli"  + "spettacoli"  + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "spettacoli"  + "|42218",
	"half"     + "dx"     + "spettacoli"  + "spettacoli"  + "|42219",
	"half"     + "sx"     + "spettacoli"  + "spettacoli"  + "|42219",

	"bottone"  + "1"      + "spettacoli"  + "cinema"      + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "cinema"      + "|42218",
	"half"     + "dx"     + "spettacoli"  + "cinema"      + "|42219",
	"half"     + "sx"     + "spettacoli"  + "cinema"      + "|42219",

	"bottone"  + "1"      + "spettacoli"  + "televisioni" + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "televisioni" + "|42218",
	"half"     + "dx"     + "spettacoli"  + "televisioni" + "|42219",
	"half"     + "sx"     + "spettacoli"  + "televisioni" + "|42219",

	"bottone"  + "1"      + "spettacoli"  + "poprock"     + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "poprock"     + "|42218",
	"half"     + "dx"     + "spettacoli"  + "poprock"     + "|42219",
	"half"     + "sx"     + "spettacoli"  + "poprock"     + "|42219",

	"bottone"  + "1"      + "spettacoli"  + "classicajazz" + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "classicajazz" + "|42218",
	"half"     + "dx"     + "spettacoli"  + "classicajazz" + "|42219",
	"half"     + "sx"     + "spettacoli"  + "classicajazz" + "|42219",

	"bottone"  + "1"      + "spettacoli"  + "palcoscenico" + "|42217",
	"bottone"  + "2"      + "spettacoli"  + "palcoscenico" + "|42218",
	"half"     + "dx"     + "spettacoli"  + "palcoscenico" + "|42219",
	"half"     + "sx"     + "spettacoli"  + "palcoscenico" + "|42219",

    // Sport
	"bottone"  + "1"      + "sport"       + "sport"       + "|42220",
	"bottone"  + "2"      + "sport"       + "sport"       + "|42221",
	"half"     + "dx"     + "sport"       + "sport"       + "|42222",
	"half"     + "sx"     + "sport"       + "sport"       + "|42222",

	"bottone"  + "1"      + "sport"       + "calcio"      + "|42220",
	"bottone"  + "2"      + "sport"       + "calcio"      + "|42221",
	"half"     + "dx"     + "sport"       + "calcio"      + "|42222",
	"half"     + "sx"     + "sport"       + "calcio"      + "|42222",

	"bottone"  + "1"      + "sport"       + "motori"      + "|42220",
	"bottone"  + "2"      + "sport"       + "motori"      + "|42221",
	"half"     + "dx"     + "sport"       + "motori"      + "|42222",
	"half"     + "sx"     + "sport"       + "motori"      + "|42222",

	"bottone"  + "1"      + "sport"       + "altrisport"  + "|42220",
	"bottone"  + "2"      + "sport"       + "altrisport"  + "|42221",
	"half"     + "dx"     + "sport"       + "altrisport"  + "|42222",
	"half"     + "sx"     + "sport"       + "altrisport"  + "|42222",

    // Culture
	"bottone"  + "1"      + "culture"     + "culture"     + "|42223",
	"bottone"  + "2"      + "culture"     + "culture"     + "|42224",
	"half"     + "dx"     + "culture"     + "culture"     + "|42211",
	"half"     + "sx"     + "culture"     + "culture"     + "|42211",

	"bottone"  + "1"      + "culture"     + "idee"        + "|42223",
	"bottone"  + "2"      + "culture"     + "idee"        + "|42224",
	"half"     + "dx"     + "culture"     + "idee"        + "|42211",
	"half"     + "sx"     + "culture"     + "idee"        + "|42211",

	"bottone"  + "1"      + "culture"     + "danonperdere" + "|42223",
	"bottone"  + "2"      + "culture"     + "danonperdere" + "|42224",
	"half"     + "dx"     + "culture"     + "danonperdere" + "|42211",
	"half"     + "sx"     + "culture"     + "danonperdere" + "|42211",

	"bottone"  + "1"      + "culture"     + "letture"     + "|42223",
	"bottone"  + "2"      + "culture"     + "letture"     + "|42224",
	"half"     + "dx"     + "culture"     + "letture"     + "|42211",
	"half"     + "sx"     + "culture"     + "letture"     + "|42211",

	"bottone"  + "1"      + "culture"     + "scienze"     + "|42223",
	"bottone"  + "2"      + "culture"     + "scienze"     + "|42224",
	"half"     + "dx"     + "culture"     + "scienze"     + "|42211",
	"half"     + "sx"     + "culture"     + "scienze"     + "|42211",

	"bottone"  + "1"      + "culture"     + "scuola"      + "|42223",
	"bottone"  + "2"      + "culture"     + "scuola"      + "|42224",
	"half"     + "dx"     + "culture"     + "scuola"      + "|42211",
	"half"     + "sx"     + "culture"     + "scuola"      + "|42211",

    // Stare Bene
	"bottone"  + "1"      + "starbene"    + "starbene"    + "|42225",
	"bottone"  + "2"      + "starbene"    + "starbene"    + "|42226",
	"half"     + "dx"     + "starbene"    + "starbene"    + "|42227",
	"half"     + "sx"     + "starbene"    + "starbene"    + "|42227",

	"bottone"  + "1"      + "starbene"    + "salute"      + "|42225",
	"bottone"  + "2"      + "starbene"    + "salute"      + "|42226",
	"half"     + "dx"     + "starbene"    + "salute"      + "|42227",
	"half"     + "sx"     + "starbene"    + "salute"      + "|42227",

	"bottone"  + "1"      + "starbene"    + "mentecorpo"  + "|42225",
	"bottone"  + "2"      + "starbene"    + "mentecorpo"  + "|42226",
	"half"     + "dx"     + "starbene"    + "mentecorpo"  + "|42227",
	"half"     + "sx"     + "starbene"    + "mentecorpo"  + "|42227",

	"bottone"  + "1"      + "starbene"    + "alimentazione" + "|42225",
	"bottone"  + "2"      + "starbene"    + "alimentazione" + "|42226",
	"half"     + "dx"     + "starbene"    + "alimentazione" + "|42227",
	"half"     + "sx"     + "starbene"    + "alimentazione" + "|42227",

	"bottone"  + "1"      + "starbene"    + "bellezza"    + "|42225",
	"bottone"  + "2"      + "starbene"    + "bellezza"    + "|42226",
	"half"     + "dx"     + "starbene"    + "bellezza"    + "|42227",
	"half"     + "sx"     + "starbene"    + "bellezza"    + "|42227",

    // Tecnologie
	"bottone"  + "1"      + "tecnologie"  + "tecnologie"  + "|42228",
	"bottone"  + "2"      + "tecnologie"  + "tecnologie"  + "|42229",
	"half"     + "dx"     + "tecnologie"  + "tecnologie"  + "|42230",
	"half"     + "sx"     + "tecnologie"  + "tecnologie"  + "|42230",

    // Milano
	"bottone"  + "1"      + "milano"      + "milano"      + "|42231",
	"bottone"  + "2"      + "milano"      + "milano"      + "|42232",
	"half"     + "dx"     + "milano"      + "milano"      + "|42233",
	"half"     + "sx"     + "milano"      + "milano"      + "|42233",

	"bottone"  + "1"      + "milano"      + "galleria"    + "|42231",
	"bottone"  + "2"      + "milano"      + "galleria"    + "|42232",
	"half"     + "dx"     + "milano"      + "galleria"    + "|42233",
	"half"     + "sx"     + "milano"      + "galleria"    + "|42233",

	"bottone"  + "1"      + "milano"      + "cronacanerami" + "|42231",
	"bottone"  + "2"      + "milano"      + "cronacanerami" + "|42232",
	"half"     + "dx"     + "milano"      + "cronacanerami" + "|42233",
	"half"     + "sx"     + "milano"      + "cronacanerami" + "|42233",

	"bottone"  + "1"      + "milano"      + "affarilavoro"  + "|42231",
	"bottone"  + "2"      + "milano"      + "affarilavoro"  + "|42232",
	"half"     + "dx"     + "milano"      + "affarilavoro"  + "|42233",
	"half"     + "sx"     + "milano"      + "affarilavoro"  + "|42233",

	"bottone"  + "1"      + "milano"      + "direfareaiutare" + "|42231",
	"bottone"  + "2"      + "milano"      + "direfareaiutare" + "|42232",
	"half"     + "dx"     + "milano"      + "direfareaiutare" + "|42233",
	"half"     + "sx"     + "milano"      + "direfareaiutare" + "|42233",

	"bottone"  + "1"      + "milano"      + "milanotasca" + "|42231",
	"bottone"  + "2"      + "milano"      + "milanotasca" + "|42232",
	"half"     + "dx"     + "milano"      + "milanotasca" + "|42233",
	"half"     + "sx"     + "milano"      + "milanotasca" + "|42233",

	"bottone"  + "1"      + "milano"      + "cpmi"        + "|42231",
	"bottone"  + "2"      + "milano"      + "cpmi"        + "|42232",
	"half"     + "dx"     + "milano"      + "cpmi"        + "|42233",
	"half"     + "sx"     + "milano"      + "cpmi"        + "|42233",

    // Roma
	"bottone"  + "1"      + "roma"        + "roma"        + "|42234",
	"bottone"  + "2"      + "roma"        + "roma"        + "|42235",
	"half"     + "dx"     + "roma"        + "roma"        + "|42236",
	"half"     + "sx"     + "roma"        + "roma"        + "|42236",

	"bottone"  + "1"      + "roma"        + "cittarm"     + "|42234",
	"bottone"  + "2"      + "roma"        + "cittarm"     + "|42235",
	"half"     + "dx"     + "roma"        + "cittarm"     + "|42236",
	"half"     + "sx"     + "roma"        + "cittarm"     + "|42236",

	"bottone"  + "1"      + "roma"        + "cronache"    + "|42234",
	"bottone"  + "2"      + "roma"        + "cronache"    + "|42235",
	"half"     + "dx"     + "roma"        + "cronache"    + "|42236",
	"half"     + "sx"     + "roma"        + "cronache"    + "|42236",

	"bottone"  + "1"      + "roma"        + "romatasca"   + "|42234",
	"bottone"  + "2"      + "roma"        + "romatasca"   + "|42235",
	"half"     + "dx"     + "roma"        + "romatasca"   + "|42236",
	"half"     + "sx"     + "roma"        + "romatasca"   + "|42236",

	"bottone"  + "1"      + "roma"        + "cprm"        + "|42234",
	"bottone"  + "2"      + "roma"        + "cprm"        + "|42235",
	"half"     + "dx"     + "roma"        + "cprm"        + "|42236",
	"half"     + "sx"     + "roma"        + "cprm"        + "|42236",

    // Inserti - Associato a homepage
	"bottone"  + "1"      + "inserti"     + "inserti"     + "|42198",
	"bottone"  + "2"      + "inserti"     + "inserti"     + "|42199",
	"half"     + "dx"     + "inserti"     + "inserti"     + "|42200",
	"half"     + "sx"     + "inserti"     + "inserti"     + "|42200",

    // Rotocalco - Associato a homepage
	"bottone"  + "1"      + "rotocalco"   + "rotocalco"   + "|42198",
	"bottone"  + "2"      + "rotocalco"   + "rotocalco"   + "|42199",
	"half"     + "dx"     + "rotocalco"   + "rotocalco"   + "|42200",
	"half"     + "sx"     + "rotocalco"   + "rotocalco"   + "|42200",

    // Popup
        "full"     + "1"      + "nuovotg"     + "nuovotg"     + "|42241",
	"full"     + "1"      + "nuovotg56"   + "nuovotg56"   + "|42242",
	"full"     + "1"      + "nuovotg128"  + "nuovotg128"  + "|42242",
	"full"     + "1"      + "nuovotg300"  + "nuovotg300"  + "|42242",

	"full"     + "1"      + "forum"       + "forum"       + "|42243",
	"full"     + "1"      + "sondaggio"   + "sondaggio"   + "|42243",
	"full"     + "1"      + "posta"       + "posta"       + "|42243",
	"full"     + "1"      + "oroscopo"    + "oroscopo"    + "|42243",
	"full"     + "1"      + "almanacco"   + "almanacco"   + "|42243",
	"full"     + "1"      + "tempo"       + "tempo"       + "|42243",

    // !!!! SMS - il codice html della chiamata è associato alla Popup "cerca", "cerca"
	"full"     + "1"      + "sms"         + "sms"         + "|42243",

	"full"     + "1"      + "cerca"       + "cerca"       + "|42243",
	"full"     + "1"      + "gfoto"       + "gfoto"       + "|42243",
	"full"     + "1"      + "numeri"      + "numeri"      + "|42243",
	"full"     + "1"      + "ultimora"    + "ultimora"    + "|42243",
	"full"     + "1"      + "arte"        + "arte"        + "|42243",
	"full"     + "1"      + "dizionario"  + "dizionario"  + "|42243",
	"full"     + "1"      + "punuovotg"   + "punuovotg"   + "|42243",
	"full"     + "1"      + "scadenze"    + "scadenze"    + "|42243"

  );
  
  if( parseInt(navigator.appVersion.charAt(0)) >= 4 )
  {	
    if( navigator.appName == "Netscape" )
      browser = "netscape";
    else if( navigator.appName == "Microsoft Internet Explorer" )
      browser = "ie";
  }
}

/*
  Funzione: buildBanner
  Parametri: size      = formato banner
  			 spacedesc = posizione del banner
			 site      = sezione del sito
			 subsite   = sotto sezione
			 ch        = canale (non utilizzato)
*/
function buildBanner(size, spacedesc, site, subsite, ch)
{
  var tag       = "";
  var found     = "NO";
  var SizeID    = "";
  var ContUnit  = "";
  var NetworkID = "178"

  // cerco il banner da visualizzare
  for(i=0; i < ArrayCU.length; ++i)
  {
    if (parseString(ArrayCU[i], 0) == size.toLowerCase()+ spacedesc.toLowerCase()+ site.toLowerCase()+ subsite.toLowerCase())
    {
      ContUnit = parseString(ArrayCU[i], 1);
      found = "YES";
      break;
    }
  }

  // Se non viene trovato il banner prendo il primo per default
  if (found == "NO")
  { 
    ContUnit = parseString(ArrayCU[0], 1);
  }
  
  switch(size.toLowerCase())
  {
	case "full":
	  geometry = "WIDTH=468 HEIGHT=60";
	  SizeID = "1";
	  break;
	  
	case "half":
	  geometry = "WIDTH=234 HEIGHT=60";
	  SizeID = "4";
	  break;
	  
	case "bottone":
	  geometry = "WIDTH=120 HEIGHT=60";
	  SizeID = "12";
	  break;
	  
	case "bcs120x90":
	  geometry = "WIDTH=120 HEIGHT=90";
	  SizeID = "5";
	  break;
	  
	case "tvbfs":
	  geometry = "WIDTH=468 HEIGHT=60";
	  SizeID = "1";
	  break;
	  
	default: // se size non standard il default bottone 
	  geometry = "WIDTH=120 HEIGHT=60";
	  SizeID = "12";
	  break;
  }

  if ( browser == "ie" )
  {	
    tag = "<iframe " + geometry + " NORESIZE SCROLLING=no FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0 "; 
    tag += "src='http://adforce.adtech.de/?adiframe|2.0|" + NetworkID + "|" + ContUnit + "|1|" + SizeID + "|target=blank;'>";
    tag += "<img src='http://adforce.adtech.de/?adserv|2.0|" + NetworkID + "|" + ContUnit + "|1|" + SizeID + "|ADFORCE;loc=300;' BORDER=0 " + geometry + "></a>";
    tag += "</iframe>";
  }
  else if ( browser == "netscape" )
  {	
    tag += "<script language=javascript src='http://adforce.adtech.de/?addyn|2.0|" + NetworkID + "|" + ContUnit + "|1|" + SizeID + "|ADFORCE;loc=700;'></script>";
  }
  else
  {	
    tag += "<img src='http://adforce.adtech.de/?adserv|2.0|" + NetworkID + "|" + ContUnit + "|1|" + SizeID + "|ADFORCE;loc=300;' BORDER=0 " + geometry + "></a>";
  }
  
//  alert(tag);
  
  document.write(tag);
}

