<!--// This hides the script from ancient browsers

var image = "";
var banners = 0;

/* The next bit of code specifies how many images will be rotating, in this case 3. It also specifies how many instances of your rotating images will appear on the page, in this case, 2. */

function cycle() {
  if (++banners > 4) banners=1;
    loadbanners();
    document.banner1.src = image;


   window.setTimeout('cycle();',3000);
  }
 
function loadbanners() {
   if (banners==1)
      {
      image="/catalogue_images/378229_tn.jpg";
      }
   if (banners==2)
      {
      image="/catalogue_images/10944_tn.jpg";

      }
   if (banners==3)
      {
      image="/catalogue_images/59014_tn.jpg";
      }
	 if (banners==4)
      {
      image="/catalogue_images/1lun2270_tn.jpg";
      }
}


/* Banner Up! - Part Two

List your links below. 

The default link variable ("var link") is where you want people to go when they click on the place-holding image (the image specified in your HTML code). "banners==1" should be followed by the link you want them to go to when they click on the first image to replace the place-holding image, and so on. */

var link = "http://www.partyworld.net/catalog/"

function urlswitch() {
if (banners==1)
{
link = "http://www.partyworld.net/catalog/detail.epl?shop=category&category_id=CSPEC&subcategory_id=SHELLO&page=12&product_id=44180";
}
if (banners==2)
{
link = "http://www.partyworld.net/catalog/detail.epl?shop=category&category_id=CTOPP&subcategory_id=SPIDER&product_id=43760";
}
if (banners==3)
{
link = "http://www.partyworld.net/catalog/detail.epl?shop=category&category_id=CTABL&subcategory_id=SMOVIE&product_id=44600";
}
if (banners==4)
{
link = "http://www.partyworld.net/catalog/thumbnail.epl?shop=category&category_id=CTOPP&subcategory_id=SPRANG";
}
return link;
}

//  Ends hiding from ancient browsers -->