function changelocation(options_values_id,products_id)
{
	if (window.XMLHttpRequest) { 
		http_request = new XMLHttpRequest();
	} else if (window.ActiveXObject) { 
		http_request = new ActiveXObject("Microsoft.XMLHTTP");
	}

	//var linkurl="base_color.php?products_rid="+products_id+"&options_values_id="+options_values_id+"";
//	http_request.open("GET",linkurl,false);
//	http_request.send(null);
//	var returntxt=unescape(http_request.responseText)

	//document.getElementById('show_price_description').innerHTML=returntxt;

	var imglinkurl="base_img.php?products_rid="+products_id+"&options_values_id="+options_values_id+"";
	http_request.open("GET",imglinkurl,false);
	http_request.send(null);
	var imgreturntxt=unescape(http_request.responseText)
	document.getElementById('Bellocan_show').innerHTML=imgreturntxt;

} 

/***
 * 判断颜色的不能为空
 */
function regChk()
{
	
	var obj = document.getElementById("attrib-3");
	
	if(obj != undefined && obj != null){
		 if (document.getElementById("attrib-3").value=='')
		   {
			 alert("Please Select Hair Color!")
			 document.getElementById("attrib-3").focus();
			 return false;
		   }
		
		 return true;  
	 }
  
}