var x = window.location.href;
var y = new Array;
var z;
y = x.split("/");
z = y[y.length-1];
a=z.split(".");
b=a[a.length - 2]
c = b + ".zip";