var theImages = new Array()
var theProducts = new Array()
var theProductsID= new Array();
var theProductsDescrp=new Array();
var theProductPrice= new Array();

var prt=(("https:" == document.location.protocol) ? "https" : "http");

theImages[0] = prt+'://www.ictcompany.com/store/images/banner/[3C17462].png'
theProducts[0] = '3COM 3C17462 SuperStack 3 Switch 3870 Stacking Cable.'
theProductsID[0] = 284;
theProductsDescrp[0]="<b>3COM</b> 3C17462 SuperStack 3 Switch 3870 Stacking Cable.";
theProductPrice[0]='$95.00';

theImages[1] = prt+'://www.ictcompany.com/store/images/banner/[3CBLSG24PWR].png'
theProducts[1] = '3COM 3CBLSG24PWR Baseline Switch 2924-PWR Plus.'
theProductsID[1] = 2341;
theProductsDescrp[1]="<b>3COM</b> 3CBLSG24PWR Baseline Switch 2924-PWR Plus.";
theProductPrice[1]='$599.00';

theImages[2] = prt+'://www.ictcompany.com/store/images/banner/[3CR17172-91].png'
theProducts[2] = '3COM 3CR17172-91 Switch 5500-EI PWR 52-Port.'
theProductsID[2] = 1753;
theProductsDescrp[2]="<b>3COM</b> 3CR17172-91 Switch 5500-EI PWR 52-Port.";
theProductPrice[2]='$1500.00';

theImages[3] = prt+'://www.ictcompany.com/store/images/banner/[3C17203].png'
theProducts[3] = '3COM 3C17203-US SuperStack 3 Switch 4400 24-Port.'
theProductsID[3] = 2045;
theProductsDescrp[3]="<b>3COM</b> 3C17203-US SuperStack 3 Switch 4400 24-Port.";
theProductPrice[3]='$316.25';

theImages[4] = prt+'://www.ictcompany.com/store/images/banner/[3C17400nn].png'
theProducts[4] = '3COM 3C17400 SuperStack 3 Switch 3824 with 24 auto-negotiating 10/100/1000 ports.'
theProductsID[4] = 282;
theProductsDescrp[4]="<b>3COM</b> 3C17400 SuperStack 3 Switch 3824 with 24 auto-negotiating 10/100/1000 ports.";
theProductPrice[4]='$449.00';

theImages[5] = prt+'://www.ictcompany.com/store/images/banner/[3C17205].png'
theProducts[5] = '3COM 3C17205-US SuperStack 3 Switch 4400 24 ports.'
theProductsID[5] = 2046;
theProductsDescrp[5]="<b>3COM</b> 3C17205-US SuperStack 3 Switch 4400 24 ports.";
theProductPrice[5]='$891.25';

theImages[6] = prt+'://www.ictcompany.com/store/images/banner/[USR5686E].png';
theProducts[6] = 'U.S. ROBOTICS USR5686E 56K V.92 External Faxmodem.';
theProductsID[6] = 1655;
theProductsDescrp[6]="<b>U.S. ROBOTICS</b> USR5686E 56K V.92 External Faxmodem.";
theProductPrice[6]='$60.00';

theImages[7] = prt+'://www.ictcompany.com/store/images/banner/[3C17221].png';
theProducts[7] = '3COM 3C17221 Module for Switch 4400 Ethernet 1000Mbps 1-Port.';
theProductsID[7] = 271;
theProductsDescrp[7]="<b>3COM</b>3C17221 Module for Switch 4400 Ethernet 1000Mbps 1-Port.";
theProductPrice[7]='$200.00';

theImages[8] = prt+'://www.ictcompany.com/store/images/banner/[3C905CX-TXM].png';
theProducts[8] = '3COM 3C905CX-TX-M 10/100Base-TX PCI NIC Network Interface Card.';
theProductsID[8] = 418;
theProductsDescrp[8]="<b>3COM</b> 3C905CX-TX-M 10/100Base-TX PCI NIC Network Interface Card.";
theProductPrice[8]='$19.00';

theImages[9] = prt+'://www.ictcompany.com/store/images/banner/[3C2000-LP].png';
theProducts[9] = '3COM 3C2000-LP Gigabit Low Profile PCI Network Interface Card.';
theProductsID[9] = 306;
theProductsDescrp[9]="<b>3COM</b> 3C2000-LP Gigabit Low Profile PCI Network Interface Card.";
theProductPrice[9]='$72.00';

theImages[10] = prt+'://www.ictcompany.com/store/images/banner/[3CR990B-FX-97].png';
theProducts[10] = '3COM 3CR990B-FX-97 100 Secure Fiber-FX NIC.';
theProductsID[10] = 539;
theProductsDescrp[10]="<b>3COM</b> 3CR990B-FX-97 100 Secure Fiber-FX NIC.";
theProductPrice[10]='$125.00';

theImages[11] = prt+'://www.ictcompany.com/store/images/banner/[3C17261nnn].png';
theProducts[11] = '3COM 3C17261 Switch 5500G-EI 1-Port 10G Module.';
theProductsID[11] = 2172;
theProductsDescrp[11]="<b>3COM</b> 3C17261 Switch 5500G-EI 1-Port 10G Module.";
theProductPrice[11]='$2498.00';

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}


function getNumbers() {
    temp = 0
    newnumber = 0
    lottery = new Array(12)

    for (i = 1; i < 13; i++) {
        lottery[i] = i
    }

    for (i = 1; i < 13; i++) {
        newnumber = (Math.random() * 12) + 1
        newnumber = parseInt(newnumber, 10)
        temp = lottery[i]
        lottery[i] = lottery[newnumber]
        lottery[newnumber] = temp
    }
    var prt=(("https:" == document.location.protocol) ? "https" : "http");
    document.getElementById("bnr1").innerHTML='<a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[1]-1]+'" Title="'+theProducts[lottery[1]-1]+'"><img src="'+theImages[lottery[1]-1]+'" border="0" width="160" height="105" class="banner_image" alt="'+theProducts[lottery[1]-1]+'" ></a><img src="'+prt+'://www.ictcompany.com/images/banner_price_bg.png" class="banner_price_bg"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[1]-1]+'" Title="'+theProducts[lottery[1]-1]+'"><span class="banner_price">'+theProductPrice[lottery[1]-1]+'</span></a><span class="banner_description"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[1]-1]+'" Title="'+theProducts[lottery[1]-1]+'"  style="color:white;">'+theProductsDescrp[lottery[1]-1]+'</a></span>';
    
    document.getElementById("bnr2").innerHTML='<a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[2]-1]+'" Title="'+theProducts[lottery[1]-1]+'"><img src="'+theImages[lottery[2]-1]+'" border="0" width="160" height="105" class="banner_image" alt="'+theProducts[lottery[2]-1]+'" ></a><img src="'+prt+'://www.ictcompany.com/images/banner_price_bg.png" class="banner_price_bg"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[2]-1]+'" Title="'+theProducts[lottery[2]-1]+'"><span class="banner_price">'+theProductPrice[lottery[2]-1]+'</span></a><span class="banner_description"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[2]-1]+'" Title="'+theProducts[lottery[2]-1]+'"  style="color:white;">'+theProductsDescrp[lottery[2]-1]+'</a></span>';
    
    document.getElementById("bnr3").innerHTML='<a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[3]-1]+'" Title="'+theProducts[lottery[3]-1]+'"><img src="'+theImages[lottery[3]-1]+'" border="0" width="160" height="105" class="banner_image" alt="'+theProducts[lottery[3]-1]+'" ></a><img src="'+prt+'://www.ictcompany.com/images/banner_price_bg.png" class="banner_price_bg"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[3]-1]+'" Title="'+theProducts[lottery[3]-1]+'"><span class="banner_price">'+theProductPrice[lottery[3]-1]+'</span></a><span class="banner_description"><a href="http://www.ictcompany.com/store/products.php?pt=1&amp;id='+theProductsID[lottery[3]-1]+'" Title="'+theProducts[lottery[3]-1]+'"  style="color:white;">'+theProductsDescrp[lottery[3]-1]+'</a></span>';
    
}