cpix = '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3354&b=2" border="0" alt="neckermann.de allgemein" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3657&b=26" border="0" alt="Quelle - Markenmode fuer alle!" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=4134&b=127" border="0" alt="Gamesload.de - Hier klicken!" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=2564&b=5" border="0" alt="www.blume2000.de" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=2906&b=284" border="0" alt="Vodafone D2 Onlineshop" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3720&b=1" border="0" alt="karstadt.de" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3119&b=95" border="0" alt="PREMIERE Fussball Bundesliga - hier bestellen!" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3354&b=26" border="0" alt="Neckermann fuer Sie!" width="468" height="60"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=4615&b=1" border="0" alt="TVToday - Fernsehzeitschrift"/>';
cpix += '<img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3752&b=67" border="0" alt="Musicload" width="468" height="60"/>';

var tlink = new Array();

tlink[0] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3354&type=b2&bnb=2" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3354&b=2" border="0" alt="neckermann.de machts möglich 46860" width="468" height="60"/></a>'; // Neckermann
tlink[1] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3657&type=b26&bnb=26" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3657&b=26" border="0" alt="Top-Angebote bei QUELLE" width="468" height="60"/></a>'; // Quelle
tlink[2] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=4134&type=b127&bnb=127" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=4134&b=127" border="0" alt="Hier klicken!" width="468" height="60"/></a>'; // Gamesload
tlink[3] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=2564&type=b5&bnb=5" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=427757&site=2564&b=5" border="0" alt="www.blume2000.de" width="468" height="60"/></a>'; // Blume2000
tlink[4] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=2906&type=b284&bnb=284" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=427757&site=2906&b=284" border="0" alt="Vodafone D2 Onlineshop" width="468" height="60"/></a>'; // Vodafone
tlink[5] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3720&type=b1&bnb=1" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=427757&site=3720&b=1" border="0" alt="karstadt.de" width="468" height="60"/></a>'; // Karstadt
tlink[6] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3119&type=b95&bnb=95" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=427757&site=3119&b=95" border="0" alt="PREMIERE Fussball Bundesliga - hier bestellen!" width="468" height="60"/></a>'; // Premiere
tlink[7] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3354&type=b26&bnb=26" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3354&b=26" border="0" alt="neckermann.de ModeWelt für Sie 46860" width="468" height="60"/></a>'; // Neckermann fuer Sie
tlink[8] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=4615&type=b1&bnb=1" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=4615&b=1" border="0"/></a>'; // TV-Today
tlink[9] = '<a rel="nofollow" href="http://partners.webmasterplan.com/click.asp?ref=459011&site=3752&type=b67&bnb=67" target="_blank"><img src="http://banners.webmasterplan.com/view.asp?ref=459011&site=3752&b=67" border="0" alt="Musicload" width="468" height="60"/></a>'; // Musicload

var ads = new Array();
ads[0] = '<div id="adpop">' + tlink[0] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3354&type=b2&bnb=2" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[1] = '<div id="adpop">' + tlink[1] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3657&type=b26&bnb=26" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[2] = '<div id="adpop">' + tlink[2] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=4134&type=b127&bnb=127" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[3] = '<div id="adpop">' + tlink[3] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=2564&type=b5&bnb=5" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[4] = '<div id="adpop">' + tlink[4] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=2906&type=b284&bnb=284" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[5] = '<div id="adpop">' + tlink[5] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3720&type=b1&bnb=1" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[6] = '<div id="adpop">' + tlink[6] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3119&type=b95&bnb=95" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[7] = '<div id="adpop">' + tlink[7] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3354&type=b26&bnb=26" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[8] = '<div id="adpop">' + tlink[8] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=4615&type=b1&bnb=1" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[9] = '<div id="adpop">' + tlink[9] + '<br /><iframe src="http://partners.webmasterplan.com/click.asp?ref=459011&site=3752&type=b67&bnb=67" style="border:0px #FFFFFF none;" name="ad" scrolling="no" frameborder="0" align=aus marginheight="0px" marginwidth="0px" height="50" width="450"></iframe><br /><br /><br />' + cpix + '</div>';
ads[10] = tlink[0];
ads[11] = tlink[1];
ads[12] = tlink[2];
ads[13] = tlink[3];
ads[14] = tlink[4];
ads[15] = tlink[5];
ads[16] = tlink[6];
ads[17] = tlink[7];
ads[18] = tlink[8];
ads[19] = tlink[9];
ads[20] = tlink[0];

function select_ad() {
    var random  = Math.floor( Math.random() * ads.length);
    document.writeln( ads[random]);
}
