﻿var home_nr = Math.random() > 0.5 ? 3 : 2;

function getNr() {
    if (home_nr == 2)
        home_nr = 3;
    else
        home_nr = 2;
    return home_nr;
}
$(document).ready(function() {
    $("#promo_main").load("steractie.ashx?nr=" + getNr());
    setInterval(function() { $("#promo_main").load("steractie.ashx?nr=" + getNr()) }, 6000);
});

