click ads on webpage using a button

They have: 1 posts

Joined: May 2009

plz tell me that how to open this ads function using a button in new window.

Code:

function ads()
{
<script type="text/javascript"><!--
google_ad_client = "pub-6044026340890176";
/* 468x60, created 3/17/08 */
google_ad_slot = "3105157606";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="(URL address blocked: See forum rules)">
</script>
}

<input type="button" value="Show Me" onClick="ads()" >

I DON'T WANNA PUBLISH ADS ON NEW PAGE,I WANT CLICK ON AD WITH BUTTON...PLZ HELP

plz mail me the solution {Mod edit - email address removed: People will kindly help in the forum, but you can't expect people to email you answers and help and support. It also helps other people when the information is publicly available too, so answers in the forum please, cheers}