i would like to know where should i put the javascript for customizing the new window,

<a href="http://www.customize"target=NEW ..?What...?..What ??...?




where must i put the
window.open("some_url","window_name","location,menubar");


can someone make the html for me ???.
with a text "welcome"
, link http://www.cool.com ,and openign in a new window CUSToMIZED PLEAASE ??