var url1='http://www.google.com/'; var url2=''; function a(k) { window.location=url1; }