/*
  File Name: cartbuttonrollover.js, v 2.5
  Author: Paul Crinigan, AmazingFlash.com

  AFCommerce, Amazing Flash Commerce Solutions
  http://www.afcommerce.com

  Copyright (c) 2004 - 2006 AFCommerce

  AFCommerce is Released under the AFCommerce Free Public License Agreement
  
  This file creates the default image roll overs that comes with the default installation. Currently, this file only works in English, and does NOT work with the language switching feature of the software. This means that if you are using multiple languages, you will have to modify this file, or simply change the way the default links are used.

  Please note: AFCommerce is a full and complete store front, but some of the files (very few), like this one, are not truly a part of the shopping cart software. When I released the software, I wanted someone with no knowledge of building a website to have all the scripts they would need to get started quickly, most carts do NOT do this at all. So this is a good script, and it has everything you need to provide a nice roll over effect on your site by default (I suggest using it). Just please remember that it is mainly used for the website I provide with the software, and is NOT part of the shopping cart itself, so it is not supported, generally not upgraded, and NOT necessary to using the shopping cart software. It helps lay a foundation to your website making it look better by default, when you customize the look of your site, you may have to change or replace this file to suit your needs.
  
  Good luck, and thank you for using AFCommerce !    - Paul
*/

function changeimage(imagenum,newfilename)  {
document.images[imagenum].src=newfilename;    }

// main link images here

Image3001 = new Image();
Image3001.src = "lang/1/1/home.gif";
Image4001 = new Image();
Image4001.src = "lang/1/1/home-roll.gif";

Image3002 = new Image();
Image3002.src = "lang/1/1/aboutus.gif";
Image4002 = new Image();
Image4002.src = "lang/1/1/aboutus-roll.gif";

Image3003 = new Image();
Image3003.src = "lang/1/1/resources.gif";
Image4003 = new Image();
Image4003.src = "lang/1/1/resources-roll.gif";

Image3004 = new Image();
Image3004.src = "lang/1/1/contactus.gif";
Image4004 = new Image();
Image4004.src = "lang/1/1/contactus-roll.gif";

// shopping cart images below

Image1001 = new Image();
Image1001.src = "lang/1/1/button_viewcart.gif";
Image2001 = new Image();
Image2001.src = "lang/1/1/button_viewcart-roll.gif";

Image1002 = new Image();
Image1002.src = "lang/1/1/button_checkout.gif";
Image2002 = new Image();
Image2002.src = "lang/1/1/button_checkout-roll.gif";

Image1003 = new Image();
Image1003.src = "lang/1/1/button_myaccount.gif";
Image2003 = new Image();
Image2003.src = "lang/1/1/button_myaccount-roll.gif";

Image1004 = new Image();
Image1004.src = "lang/1/1/button_vieworders.gif";
Image2004 = new Image();
Image2004.src = "lang/1/1/button_vieworders-roll.gif";

Image1005 = new Image();
Image1005.src = "lang/1/1/button_search.gif";
Image2005 = new Image();
Image2005.src = "lang/1/1/button_search-roll.gif";

Image1006 = new Image();
Image1006.src = "lang/1/1/button_bestsellers.gif";
Image2006 = new Image();
Image2006.src = "lang/1/1/button_bestsellers-roll.gif";

Image1007 = new Image();
Image1007.src = "lang/1/1/button_whatsnew.gif";
Image2007 = new Image();
Image2007.src = "lang/1/1/button_whatsnew-roll.gif";

Image1008 = new Image();
Image1008.src = "lang/1/1/button_reviews.gif";
Image2008 = new Image();
Image2008.src = "lang/1/1/button_reviews-roll.gif";

Image1009 = new Image();
Image1009.src = "lang/1/1/button_privacy.gif";
Image2009 = new Image();
Image2009.src = "lang/1/1/button_privacy-roll.gif";

Image1010 = new Image();
Image1010.src = "lang/1/1/button_shipandrefund.gif";
Image2010 = new Image();
Image2010.src = "lang/1/1/button_shipandrefund-roll.gif";
