var tmp1 = document.location.toString();
var tmp2 = tmp1.split("v=");
alert(tmp2[1]);