var Utils = new Object();

Utils.trim = function( text )
{
  if (typeof(text) == "string")
  {
    return text.replace(/^\s*|\s*$/g, "");
  }
  else
  {
    return text;
  }
}

var urlstr=document.getElementById("urlstr");

var productlist=document.getElementById("productlist");


function listchange(){
	var selectlist=productlist.options[productlist.selectedIndex].value;
	//alert("product is "+selectlist);
	if(selectlist=="" || selectlist==undefined)
	{
		
		}else{
			location=urlstr.value+"/"+productlist.options[productlist.selectedIndex].value;
		}
	
	
}