
var epi= document.domain;
//var main = '<a href="http://www.dpbolvw.net/m7122nmvsmu9DHGAEFA9BAGGGBCB?sid='+epi+'&cm_mmc=CJ-_-2863233-_-3760450-_-Promo%20Banner%2020%25%20Off%20Advance%20Purchase%20Multi-Brand%20300x250%20" target="_blank"><img src="http://www.lduhtrp.net/82108fz2rxvGKONHLMHGIHNNNIJI" alt="Book Early and Save Up To 20%   " border="0"/></a>';

var main = 'http://www.dpbolvw.net/m7122nmvsmu9DHGAEFA9BAGGGBCB?sid='+epi+'&cm_mmc=CJ-_-2863233-_-3760450-_-Promo%20Banner%2020%25%20Off%20Advance%20Purchase%20Multi-Brand%20300x250%20';

//compare sources
var compare_array = new Array();
compare_array[0] = new Array(2);
compare_array[0][0] = 'http://laterooms.at/t9media?CTY=1&amp;CID=1999&LID='+epi;
compare_array[0][1] = '<img src="http://b1.perfb.com/b1.php?ID=1999&amp;PURL=laterooms.at/t9media" border="0" width="120px" height="60px" />';
//superbreak
compare_array[1] = new Array(2);
compare_array[1][0] = 'http://www.anrdoezrs.net/jg117hz74z6MQUTNRSNMONQURQVV?sid='+epi;
compare_array[1][1] = '<img src="http://www.lduhtrp.net/96117jy1qwuFJNMGKLGFHGJNKJOO" border="0" width="120px" height="60px" />';
//expedia
compare_array[2] = new Array(2);
compare_array[2][0] = 'http://clkuk.tradedoubler.com/click?p=21874&a=1752019&g=17944994?epi='+epi;
compare_array[2][1] = '<img src="http://impgb.tradedoubler.com/imp?type(img)g(17944994)a(1752019)" border="0" width="120px" height="60px" />';
//lastminute
compare_array[3] = new Array(2);
compare_array[3][0] = 'http://clkuk.tradedoubler.com/click?p=118779&a=1752019&g=18083782?epi='+epi;
compare_array[3][1] = '<img src="http://impgb.tradedoubler.com/imp?type(img)g(18083782)a(1752019)" border="0" width="120px" height="60px" />';


compare_array.name = 'compare_array';

//compare others
var others_array = new Array();
//prem
others_array[0] = new Array(2);
others_array[0][0] = 'http://weekendbookings.at/t9media?CTY=1&amp;CID=9941&LID='+epi;
others_array[0][1] = '<img src="http://b1.perfb.com/b1.php?ID=9941&amp;PURL=weekendbookings.at/t9media" border="0" width="120px" height="60px" />';
//hol inn
others_array[1] = new Array(2);
others_array[1][0] = 'http://www.anrdoezrs.net/j4116hz74z6MQUTNRSNMONTTTVWO?sid='+epi;
others_array[1][1] = '<img src="http://www.ftjcfx.com/ki101nswkqo9DHGAEFA9BAGGGIJB" border="0" width="120px" height="60px" />';
// ibis
others_array[2] = new Array(2);
others_array[2][0] = 'http://www.tkqlhce.com/c4106efolfn26A93783243A55773?sid='+epi;
others_array[2][1] = '<img src="http://www.awltovhc.com/13111kpthnl6AED7BC7687E99BB7" border="0" width="120px" height="60px" />';

// marriot
others_array[3] = new Array(2);
others_array[3][0] = 'http://www.tkqlhce.com/lg98kjspjr6AED7BC7687BFACG7?sid='+epi;
others_array[3][1] = '<img src="http://www.tqlkg.com/cj102bosgmk59DC6AB6576AE9BF6" border="0" width="120px" height="60px" />';


//novo
others_array[4] = new Array(2);
others_array[4][0] = 'http://www.tkqlhce.com/pg70wktqks7BFE8CD8798FAACBE?sid='+epi;
others_array[4][1] = '<img src="http://www.lduhtrp.net/s797ax0pvtEIMLFJKFEGFMHHJIL" border="0" width="120px" height="60px" />';

//crowne
others_array[5] = new Array(2);
others_array[5][0] = 'http://www.tkqlhce.com/st76vpyvpxCGKJDHIDCEDJKIIEG?sid='+epi;
others_array[5][1] = '<img src="http://www.lduhtrp.net/j1108elpdjh26A937832439A8846" border="0" width="120px" height="60px" />';

//riu
others_array[6] = new Array(2);
others_array[6][0] = 'http://www.jdoqocy.com/ic108mu2-u1HLPOIMNIHJIPIOJLI?sid='+epi;
others_array[6][1] = '<img src="http://www.ftjcfx.com/8c108h48x20MQUTNRSNMONUNTOQN" border="0" width="120px" height="60px" />';
others_array.name = 'others_array';

function showMain()
{
     window.open(main);
}

function fire(start,theList)
{
    //open first
    window.open(theList[start][0]);

    for(i = 0; i < theList.length; i++)
    {
        //attempt to open all but start
        if(i!=start)
            window.open(theList[i][0]);
    }
    self.focus();
}

function ShowList(theList)
{

     for(i=0;i<theList.length;i++)
     {
        the_image = theList[i][1];
        the_link = theList[i][0];
        document.write('<a target="_blank" href="'+the_link+'" onclick="fire('+i+','+theList.name+');">'+the_image+'</a>')
     }

}