<!-- Activate Cloaking Device
//*****************************************************************
//
//                 Random Image/Link Generator
//
//           by Tim Wallace   (timothy@essex1.com)
//
//   Original generator by Paul Houle  (ph18@cornell.edu)
//
//****************************************************************

// Set to number of image/links available.
var number=10;
// Becomes generated random  number.
var random_number=0;

// Random number generating.
today=new Date();
jran=today.getTime();
ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;
random_number=Math.ceil( (jran/(im*1.0)) *number);

// Create and define arrays.
image = new Array(20);
link = new Array(20);
simage = new Array(20);
slink = new Array(20);

image[0] = "/images/roll/5.gif";
link[0] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";
image[1] = "/images/roll/7.gif";
link[1] = "http://www.healthbosnia.com/lijeci/OTC/ranibos75.htm";
image[2] = "/images/roll/5.gif";
link[2] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";
image[3] = "/images/roll/7.gif";
link[3] = "http://www.healthbosnia.com/lijeci/OTC/ranibos75.htm";
image[4] = "/images/roll/5.gif";
link[4] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";
image[5] = "/images/roll/6.gif";
link[5] = "http://www.healthbosnia.com/alternativna/aloe/distribut/indexa.html";
image[6] = "/images/roll/1.gif";
link[6] = "http://www.healthbosnia.com/lijeci/OTC/rhinostop.htm";
image[7] = "/images/roll/5.gif";
link[7] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";
image[8] = "/images/roll/9.gif";
link[8] = "http://www.kjudom.com";
image[9] = "/images/roll/10.gif";
link[9] = "http://www.bosnalijek.ba/";
image[10] = "/images/roll/1.gif";
link[10] = "http://www.healthbosnia.com/lijeci/OTC/rhinostop.htm";
image[11] = "/images/roll/4.gif";
link[11] = "http://www.bosnalijek.ba/";
image[12] = "/images/roll/3.gif";
link[12] = "http://www.healthbosnia.com/alternativna/aloe/distribut/indexa.html";
image[13] = "/images/roll/1.gif";
link[13] = "http://www.healthbosnia.com/lijeci/OTC/rhinostop.htm";
image[14] = "/images/roll/5.gif";
link[14] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";
image[15] = "/images/roll/7.gif";
link[15] = "http://www.healthbosnia.com/lijeci/OTC/ranibos75.htm";
image[16] = "/images/roll/4.gif";
link[16] = "http://www.bosnalijek.ba/";
image[17] = "/images/roll/7.gif";
link[17] = "http://www.healthbosnia.com/lijeci/OTC/ranibos75.htm";
image[18] = "/images/roll/10.gif";
link[18] = "http://www.bosnalijek.ba/";
image[19] = "/images/roll/5.gif";
link[19] = "http://www.healthbosnia.com/lijeci/OTC/bospyrin100.htm";

//a sada mali baneri
simage[0] = "/images/sroll/1.gif";
slink[0] = "http://www.aventis-pharma.ba";
simage[1] = "/images/sroll/6.gif";
slink[1] ="http://http://www.bosnalijek.ba";
simage[2] = "/images/sroll/6.gif";
slink[2] = "http://http://www.bosnalijek.ba";
simage[3] = "/images/sroll/4.gif";
slink[3] = "http://www.aventis-pharma.ba";
simage[4] = "/images/sroll/6.gif";
slink[4] = "http://www.fwww.bosnalijek.ba";
simage[5] = "/images/sroll/6.gif";
slink[5] = "http://www.bosnalijek.ba";
simage[6] = "/images/sroll/7.gif";
slink[6] = "http://www.aventis-pharma.ba";
simage[7] = "/images/sroll/8.gif";
slink[7] = "http://www.aventis-pharma.ba";
simage[8] = "/images/sroll/9.gif";
slink[8] = "http://www.bosnalijek.ba";
simage[9] = "/images/sroll/10.gif";
slink[9] = "http://www.kcus.net";
simage[10] = "/images/sroll/1.gif";
slink[10] = "http://www.aventis-pharma.ba";
simage[11] = "/images/sroll/6.gif";
slink[11] = "http://www.bosnalijek.ba";
simage[12] = "/images/sroll/9.gif";
slink[12] = "http://www.bosnalijek.ba";
simage[13] = "/images/sroll/1.gif";
slink[13] = "http://www.aventis-pharma.ba";
simage[14] = "/images/sroll/1.gif";
slink[14] = "http://www.aventis-pharma.ba";
simage[15] = "/images/sroll/6.gif";
slink[15] = "http://www.bosnalijek.ba";
simage[16] = "/images/sroll/9.gif";
slink[16] = "http://www.bosnalijek.ba";
simage[17] = "/images/sroll/11.gif";
slink[17] = "http://www.kjudom.com";
simage[18] = "/images/sroll/9.gif";
slink[18] = "http://www.bosnalijek.ba";
simage[19] = "/images/sroll/6.gif";
slink[19] = "http://www.bosnalijek.ba";

// 06.02.2002. dodao setovanje datuma

function doClock(){ // By Paul Davis - www.kaosweaver.com
  var t=new Date(),a=doClock.arguments,str="",i,a1,lang="1";
  var month=new Array('Januar','Jan', 'Februar','Feb', 'Mart','Mar', 'April','Apr', 'Maj','Maj', 'Jun','Jun', 'Jul','Jul', 'August','Aug', 'Septembar','Sep', 'Octobar','Oct', 'Novembar','Nov', 'Decembar','Dec');
  var tday= new Array('Nedjelja','Ned','Ponedjeljak','Pon', 'Utorak','Uto', 'Srijeda','Sri','Cetvrtak','Cet','Petak','Pet','Subota','Sub');
  for(i=0;i<a.length;i++) {a1=a[i].charAt(1);switch (a[i].charAt(0)) {
  case "M":if  ((Number(a1)==3) && ((t.getMonth()+1)<10)) str+="0";
  str+=(Number(a1)>1)?t.getMonth()+1:month[t.getMonth()*2+Number(a1)];break;
  case "D": if ((Number(a1)==1) && (t.getDate()<10)) str+="0";str+=t.getDate();break;
  case "Y": str+=(a1=='0')?t.getFullYear():t.getFullYear().toString().substring(2);break;
  case "W":str+=tday[t.getDay()*2+Number(a1)];break; default: str+=unescape(a[i]);}}return str;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// Deactivate Cloaking -->

