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