function ResultBox(image_link,url,product_name,category,copy,priority,product_mount,model_num,id_num)
{
	this.li;
	this.a;
	this.img=image_link;
	this.tBox;
	this.title=product_name;
	this.product_mount=product_mount;
	this.body=copy;
	this.url=url;
	this.model_num=model_num
	
	var result_wrapper=document.getElementById("search_results_wrapper");
	
	
	this.li=document.createElement("li");
	this.li.id="search_result_"+id_num;
	this.li.className="result_box";
	if(window.XMLHttpRequest && document.all) this.li.style.width="297px"; 	//ie7 will not play fair...can not assign by dynamic css...ugh
	if(window.XMLHttpRequest && document.all) this.li.style.height="50px";
	result_wrapper.appendChild(this.li);
	
	this.a=document.createElement("a");
	this.a.className="result_anchor";
	this.a.id="result_anchor_"+id_num;
	this.a.href=url;
	this.li.appendChild(this.a);
	
	var imgCont=document.createElement("div")
	imgCont.className="imgContainer";
	this.a.appendChild(imgCont);
	
	this.img=document.createElement('img');
	this.img.className="result_image";
	this.img.src=image_link;
	imgCont.appendChild(this.img)

	this.title=document.createElement("div");
	this.title.className="result_product";
	this.a.appendChild(this.title)
	
	//product title
	var h4=document.createElement("div")
	h4.className="title"
	h4.appendChild(document.createTextNode(product_name));
	this.title.appendChild(h4);
	
	//product name in paranethesis
	var sp=document.createElement("p")
	sp.className="product_subTitle";
	sp.innerHTML+="&nbsp;"+product_mount;
	//sp.appendChild(document.createTextNode(product_mount));
	h4.appendChild(sp)
	
	//model number box
	var modelSpan=document.createElement("div")
	modelSpan.className="model_num";
	modelSpan.innerHTML+="<p>&nbsp;"+model_num+"</p>";

//	modelSpan.appendChild(document.createTextNode(model_num));
	this.a.appendChild(modelSpan)
	
	//actual description box
	this.body=document.createElement("p");
	this.body.className="copy_text"
	this.body.id=product_name+"_"+id_num;
	this.body.appendChild(document.createTextNode(copy));
	this.title.appendChild(this.body);
	
	this.li.onmouseover=function()
	{
		
		this.className="darker";
	}
	this.li.onmouseout=function()
	{
		
		this.className="result_box";
	}
	this.li.onclick=function()
	{
		hideMenu=true;
	}
	
	
	
	

	
}


