well, after playing around for a while i finally figured it out...

HTML Code:
<html>
<body>
<a onclick="win1=open('name_of_this_file','winname','width=200,height=200')">click</a><br />
<a onclick="win1.document.bgColor='lightgreen';win1.focus()">click here</p>
</body>
</html>
well it looks simple and all, but the only thing i found was... lets say you want to open google... just replace "name_of_file" with "http://www.google.com" but then the color change wont work because it will be outside your domain.

to get around that, try playing around with frames.