<!--
/*  You can get this script and many others 
    by visiting JavaScript City at: http://www.javascriptcity.com . */

pics_width=198;   /*change to match the height of all your images */
pics_height=285;   /* change to match the width of all your images */
border_size=0;   /* change to the border size you want on the images */
alignment=1;      /* 0=left,1=center */

var newbrowser = true;

/* define image urls */

if (document.images)
 {  
     pics1= new Image(pics_width,pics_height);
     pics1.src="banners/links_ads/banner_highrise_thseeds.gif"; 
     pics2= new Image(pics_width,pics_height);
     pics2.src="banners/198x285_GrowLLED_com_N.gif"; 
 }    

/* define banner urls */

urlads1="http://www.thseeds.com";
urlads2="http://www.growlled.com/";

/* no need to edit past this point (unless you want to add more image and url slots) */

if (alignment==1)
 {
  cent_it="<CENTER>";
  cent_it2="<\/CENTER>";
 }
else
 {
  cent_it="";
  cent_it2="";
 }
 
function get_random(maxNum)
{
  if (Math.random && Math.round)
  {
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return ranNum;
  }
}

function get_Banner()
{
 if (document.images)
 {
  var choose_one= get_random(2);  
  choose_one--;

  var picss= new Array(2)
   picss[0]=pics1.src;
   picss[1]=pics2.src;

  var aurls= new Array(2)
  aurls[0]=urlads1;
  aurls[1]=urlads2;

  document.write(cent_it+"<A HREF='"+aurls[choose_one]+"'><IMG SRC='"+picss[choose_one]+"' width='"+pics_width+"' height='"+pics_height+"' border='"+border_size+"'></A>"+cent_it2);
 }
}
//-->