YAHOO.example.ACFlatData = function(){

			var mylogger;

			var oACDS;

			var oAutoComp0,oAutoComp1,oAutoComp2;

	

			return {

				init: function() {

					//Logger

					//mylogger = new YAHOO.widget.LogReader("logger");



					// Instantiate one XHR DataSource and define schema as an array:

					//     ["Record Delimiter",

					//     "Field Delimiter"]

					oACDS = new YAHOO.widget.DS_XHR("index.php?Action=searchOutput", ["\n", "\t"]);

					oACDS.responseType = YAHOO.widget.DS_XHR.TYPE_FLAT;

					oACDS.maxCacheEntries = 60;

					oACDS.queryMatchSubset = true;



					// Instantiate second AutoComplete

					oAutoComp1 = new YAHOO.widget.AutoComplete('searchinput','searchinputoutput', oACDS);

					oAutoComp1.delimChar = " ";

					oAutoComp1.queryDelay = "0.1";

					oAutoComp1.maxResultsDisplayed = "30";

					oAutoComp1.formatResult = function(oResultItem, sQuery) {

						var sKey = oResultItem[0];

						var nQuantity = oResultItem[1];

						var sKeyQuery = sKey.substr(0, sQuery.length);

						var sKeyRemainder = sKey.substr(sQuery.length);

						var aMarkup = ["<div class='ysearchresult'><div class='ysearchquery'>",

								nQuantity,

								"</div><span style='color:#0099D1'>",

								sKeyQuery,

								"</span>",

								sKeyRemainder,

								"</div>"];

						return (aMarkup.join(""));

					};

				},

						

				validateForm: function() {

						// Validate form inputs here

						return false;

				}

			};

	}();

/*
	function wishlist(source) {

		var attributes = {

			points: {

				to: YAHOO.util.Dom.getXY('movetarget'),

				control: [ [400, 800] ]

			},

      width: {to: 0},

      height: {to: 0} 

		};

		YAHOO.util.Dom.setStyle('moveobject','visibility','visible');

		YAHOO.util.Dom.setStyle('moveobject','left',YAHOO.util.Dom.getX(source)+'px');

		YAHOO.util.Dom.setStyle('moveobject','top',YAHOO.util.Dom.getY(source)+'px');

		YAHOO.util.Dom.setStyle('moveobject','width','100px');

		YAHOO.util.Dom.setStyle('moveobject','height','100px');

		YAHOO.util.Dom.setStyle('moveobject','background-image',YAHOO.util.Dom.getStyle(source,'background-image'));

		var anim = new YAHOO.util.Motion('moveobject', attributes, 1, YAHOO.util.Easing.easeOut); 

		anim.animate();

	}
*/