// JavaScript Document

//Procuct image switching for the index1 and index2 pages
if (document.images) 
{
	
	 // Set width and height of all images
	 var img_width=100;
	 var img_height=70;

	 // SET DEFAULT IMAGES FOR EACH FAMILY (onmouseout)    
	 laserjet_off     = new Image(img_width,img_height);
	 laserjet_off.src = "images/p2035.jpg";
	 
	 col_laser_off     = new Image(img_width,img_height);
	 col_laser_off.src = "images/cp2025.jpg";
	 
	 laserjet_mfp_off     = new Image(img_width,img_height);
	 laserjet_mfp_off.src = "images/m2727.jpg";

	 col_laser_mfp_off     = new Image(img_width,img_height);
	 col_laser_mfp_off.src = "images/cm2320.jpg";
	 
	 officejet_off		   = new Image(img_width,img_height);
	 officejet_off.src = "images/oj8000.jpg";
	 
	 scanjet_off		   = new Image(img_width,img_height);
	 scanjet_off.src = "images/n9120.jpg";
	 
	 // LASERJET IMAGES
	 p2035     = new Image(img_width,img_height);
	 p2035.src = "images/p2035.jpg";

	 p2055     = new Image(img_width,img_height);
	 p2055.src = "images/p2055.jpg";
	 
	 p3005     = new Image(img_width,img_height);
	 p3005.src = "images/p3000.jpg";
	 
	 p4014     = new Image(img_width,img_height);
	 p4014.src = "images/p4014.jpg";
	 
	 p4015     = new Image(img_width,img_height);
	 p4015.src = "images/p4015.jpg";
	 
	 p4515     = new Image(img_width,img_height);
	 p4515.src = "images/p4515.jpg";
	 
	 // COLOUR LASER IMAGES
	 cp2025     = new Image(img_width,img_height);
	 cp2025.src = "images/cp2025.jpg";

	 cp3525     = new Image(img_width,img_height);
	 cp3525.src = "images/cp3525.jpg";
	 
	 clj4700     = new Image(img_width,img_height);
	 clj4700.src = "images/clj4700.jpg";	
	 
	 // LASER MFP IMAGES
	 m2727     = new Image(img_width,img_height);
	 m2727.src = "images/m2727.jpg";

	 m3035     = new Image(img_width,img_height);
	 m3035.src = "images/m3035.jpg";
	 
	 m4345     = new Image(img_width,img_height);
	 m4345.src = "images/m4345.jpg";
	 
	 //COLOUR LASER MFP IMAGES
	 cm2320     = new Image(img_width,img_height);
	 cm2320.src = "images/cm2320.jpg";

	 cm3530     = new Image(img_width,img_height);
	 cm3530.src = "images/cm3530.jpg";
	 
	 cm4730     = new Image(img_width,img_height);
	 cm4730.src = "images/cm4730.jpg";
	 
	 //OFFICEJET IMAGES
	 oj8000     = new Image(img_width,img_height);
	 oj8000.src = "images/oj8000.jpg";
	 
	 oj8500     = new Image(img_width,img_height);
	 oj8500.src = "images/oj8500.jpg";
	 
	 oj8500p     = new Image(img_width,img_height);
	 oj8500p.src = "images/oj8500p.jpg";
	 
	 //SCANJET IMAGES
	 n9120     = new Image(img_width,img_height);
	 n9120.src = "images/n9120.jpg";
	 
	 n8460     = new Image(img_width,img_height);
	 n8460.src = "images/n8460.jpg";
	 
	 sj7000     = new Image(img_width,img_height);
	 sj7000.src = "images/sj7000.jpg";
	 
	 sj8270     = new Image(img_width,img_height);
	 sj8270.src = "images/sj8270.jpg";
	 
	 sj5000     = new Image(img_width,img_height);
	 sj5000.src = "images/sj5000.jpg";
	 
	 n6310     = new Image(img_width,img_height);
	 n6310.src = "images/n6310.jpg";
	 
	 n6010     = new Image(img_width,img_height);
	 n6010.src = "images/n6010.jpg";
	 
	 ds9250c     = new Image(img_width,img_height);
	 ds9250c.src = "images/ds9250c.jpg";
	 
}

// Change the image
function swap(imgName,picobj) 
{
	if (document.images) 
	{ 
		document.images[imgName].src= picobj.src;
	}
}