/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
// arrImages  arrLinks


advimg1=new Array();
adv1=new Array();

for(i=0;i<arrImages1.length;i++)
{
    adv1.push(" <img border='0' src='"+ arrImages1[i]+"' width='414' height='250' />");

}

function cahngeImage1(adv1,j1)
{
     var ImgNode1=document.getElementById("advTD1");
     ImgNode1.innerHTML=adv1[j1];
     j1++;

     if(j1>=adv1.length)
     {
         j1=0;
     }
}
j1=0;
function calling1()
{
    cahngeImage1(adv1, j1);
    j1++;
    if(j1>=adv1.length)
     {
         j1=0;
         
     }
}
/*window.onload=function()
{calling1();
    setInterval('calling1()',5000);
}
*/
