var url = ""+window.location;
var parts = url.split("=")[1];
var prodid = parts.split("&")[0];
