
				//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
				//	@		Description			: This function is used to change the item matrix price depending 
				//	@		                	on the combination selection.
				//	@	  Pages Affected  : Items.asp
				//  @		Function Name		: refreshprice(iItemCount)									
				//	@		Input Parameters: iItemCount = index value of an item.
				//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

				function refreshprice(iItemCount,iCheck){
					var arrTemp,strselected,index,field
					arrTemp = eval("arrSelItems" + iItemCount)
					strselected = eval("document.frmAdd.SelMatrixAtt1" + iItemCount + ".options[document.frmAdd.SelMatrixAtt1" + iItemCount + ".selectedIndex].value"); 
					strselected = strselected + eval("document.frmAdd.SelMatrixAtt2" + iItemCount + ".options[document.frmAdd.SelMatrixAtt2" + iItemCount + ".selectedIndex].value"); 
					if(iCheck==1)
						strselected = strselected + eval("document.frmAdd.SelMatrixAtt3" + iItemCount + ".options[document.frmAdd.SelMatrixAtt3" + iItemCount + ".selectedIndex].value"); 
					for(index=0;index<=arrTemp.length-1;index++){
					  if(arrTemp[index][1]==strselected){
							eval("document.frmAdd.txtPrice" + iItemCount + ".value = " + arrTemp[index][2])
							field = "frmAdd.txtPrice" + iItemCount
							setFormat(field);
							return false;
						}
					}
					eval("document.frmAdd.txtPrice" + iItemCount + ".value = 0")
					field = "frmAdd.txtPrice" + iItemCount
					setFormat(field);
				}
				// End of the function refreshprice(iItemCount)



				//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
				//	@		Description			: This function used to format the contents in the field.
				//	@		                	If value is 100.0 , this funciton will change it to 100.00.
				//	@	  Pages Affected  : Items.asp
				//  @		Function Name		: setFormat(field)									
				//	@		Input Parameters: field = name of the form and field to be formatted
				//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

				function setFormat(field){
					var m_Field = eval("document." + field);
					if(m_Field.value.indexOf(".") < 0)
						m_Field.value = m_Field.value + ".00";
					if(m_Field.value.length-m_Field.value.indexOf(".") == 2)
						m_Field.value = m_Field.value + "0";
				}
				// End of the function setFormat(field)
