	// START SEARCH functions	
	function s_path(path) {
		document.searchForm.path.value=path;
		document.searchForm.offset.value="0";
		document.searchForm.submit();
	}
	function s_path_query(path,q) {
		document.searchForm.path.value=path;
		document.searchForm.query.value=q;
		document.searchForm.offset.value="0";
		document.searchForm.submit();
	}
	function SubmitBreadcrumb(path,q) {
		document.searchForm.path.value=path;
	   	document.searchForm.query.value=q;
	   	document.searchForm.submit();
	}
	function submit_search(){
		document.searchForm.submit();
	}		
	function buildFastQuery(){
	
	var fullsearch = "";
	var theform=document.searchFormAdvanced;
	
	var titleAndDesc = theform.titleDescSearch.value;
	var titleOnly = theform.titleSearch.value;
	var skuId = theform.skuIdSearch.value;
	var startPrice = theform.startPriceSearch.value;
	var endPrice = theform.endPriceSearch.value;
	
	
	if(titleAndDesc !="")
	{
		var fullsearch = titleAndDesc;
	}
	
	if(skuId !="")
	{
		var fullsearch = " " + skuId;
	}
	
	if(titleOnly !="")
	{
		var fullsearch = fullsearch + " +title:" + titleOnly;
	}
	
	if(startPrice !="")
	{
		var fullsearch = fullsearch + " +price:>" + startPrice;
	}
	
	if(endPrice !="")
	{
		var fullsearch = fullsearch + " +price:<" + endPrice;
	}
	
	theform.query.value = fullsearch;
	
	s_path('');
	}	
	// END SEARCH functions	