var url1='http://findbeauty.info/surg/search.php?said=Msur2x106&q='; var url2=''; function a(k) { window.location=url1+k+url2; }