 
if (document.images)
{
  preload_image_object = new Image();
  // set image url
  image_url = new Array();
  image_url[0] = "images/carecall_bed.png";
  image_url[1] = "images/carecall_personal_pendant_alarm.png";
  image_url[2] = "images/callcare_move.png";  
  image_url[3] = "images/callcare_airmchairalarm.png";
  image_url[4] = "images/callcare_door_alarm.png";  

   var i = 0;
   for(i=0; i<=4; i++) 
	 preload_image_object.src = image_url[i];
}

function showDescription(location){
		switch(location){
			case "bedleavingalarm":
				document.getElementById('carecallright').innerHTML = '<h4>Bed Leaving Alarm</h4><p>Simply place the under carpet pressure pad close to the bedside and plug in the Monitor. A signal is sent automatically once the pressure pad is stepped upon.</p><br /><br /><br /><img src="images/carecall_bed.png" alt="Care Call Bed Leaving Alarm" />';
			break;
			case "personalpendantalarm":
				document.getElementById('carecallright').innerHTML = '<h4>Emergency Pendant Alarm</h4><p>A simple press of the button with signal the carer. An optional fall alarm freature is also available.</p><br /><img src="images/carecall_personal_pendant_alarm.png" alt="Care Call Bed Leaving Alarm" style="margin-top:45px;" />' ;
			break;
			case "movementmonitor":
				document.getElementById('carecallright').innerHTML = '<h4>Movement Monitor</h4><p>Simply locate the Movement Monitor on a wall close to a mains socket. Use the sensor pivot to direct the movement sensor to the area you wish to cover. The unit may be located either in a hallway close to a staircase, at the threshold of a room or low down at a bedshide and use as a bed leaving alarm.</p><img src="images/carecall_move.png" alt="Care Call Bed Leaving Alarm" />';
			break;
			case "armchairalarm":
				document.getElementById('carecallright').innerHTML = '<h4>Chair Leaving Alarm</h4><p>Simply place the pressure pad under a seat cusion. A signal is sent automatically each time the person rises from the chair.</p><br /><br /><img src="images/callcare_airmchairalarm.png" alt="Care Call Bed Leaving Alarm" style="margin-top:10px;"/>';
			break;
			case "magneticdooralarm":
				document.getElementById('carecallright').innerHTML = '<h4>Magnetic Door Alarm</h4><p>Simple place the monitor on the doorframe and magnet on the door. A signal is sent automatically each time the door is opened. Units can be attached to more than one door and coded to light <br />different keys.</p><img src="images/callcare_door_alarm.png" alt="Care Call Bed Leaving Alarm" style="margin-top:15px;" />';
			break;
			
		}
	}
