	function switchImg(firstimage,firstsrc){
			if (document.images) {
			document.images[firstimage].src = firstsrc;
			}
		}
		
		pathtoimages = "/experience/includes/images/";

		firstpartofimagename = "";

		phoneobj = {	"phonefan"		:	"http://www.motorola.ca/asp/english/pcs/phones.asp",
"V635"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V635",
				"V186"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V186",
				"V65p"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V65p",
				"V3"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V3",
				"V180"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V180",
				"V710"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V710",
				"V551"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V551",
				"C341"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C341",
				"C650"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C650",
				"V220"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V220&str_ref=",
				"V300"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V300&str_ref=",
				"V600"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V600&str_ref=",
				"V400"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V400&str_ref=",
				"T730"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=T730&str_ref=",
				"V60i_tdma_colour"	:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V60i+TDMA+Colour&str_ref=",
				"C370"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C370&str_ref=",
				"T731"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=T731c&str_ref=",
				"C256"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C256&str_ref=",
				"T720c"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=T720c&str_ref=",
				"V60i_gsm"		:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V60i+GSM&str_ref=",
				"V60i_telus"		:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V60ci+Telus&str_ref=",
				"V60i_bell"		:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V60ci+Bell&str_ref=",
				"C350"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C350g&str_ref=",
				"V60i_tdma"		:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V60i&str_ref=",
				"120e"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=120e&str_ref=",
				"T720g"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=T720g&str_ref=",
				"C333/C332"		:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=C330+Series&str_ref=",
				"V70"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V70&str_ref=",
				"V120x"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V120x&str_ref=",
				"120c"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=120c&str_ref=",
				"V66"			:	"http://www.motorola.ca/asp/english/pcs/features.asp?phone=V66&str_ref="
			};// init images and reset the form
					
		function init() 
		{
		// reset form
			document.phoneselectorform.reset();
		// preload images
			tmpimagearray = new Array();

		if (document.images) {
			var tmp = "";
			var i=0;

			for (var prop in phoneobj){
				tmpimagearray[i] = new Image();
				tmpimagearray[i].src = pathtoimages + firstpartofimagename + prop + ".jpg";
				i++;
			}
		}
		}
		// updates the graphic of the phone called from onchange
		function updatephone()
		{
			
			var myindex = document.phoneselectorform.dropdown.selectedIndex
			var myphone = document.phoneselectorform.dropdown.options[myindex].value
			
			if (myphone != -1){

				imageurl = pathtoimages + firstpartofimagename + myphone + ".gif"
				document.phoneselectorimage.src = imageurl;
				document.phoneselectorimage.alt = myphone;
			}
		}
		// called from the go button

		function gotophone()
		{
			var myindex = document.phoneselectorform.dropdown.selectedIndex
			var myphone = document.phoneselectorform.dropdown.options[myindex].value

			if (myphone == "-1"){
				alert("please select a phone");
			}else{
				if (phoneobj[myphone]=='selectphone'){
					popupCentre('../../../html/selectphone_'+myphone+'.htm','AccessoryPopup',365,175)
				}else{
					window.location.href = phoneobj[myphone];
				}				
			}
		}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


