I need to know how can I call the below Javascript with a button click event in Asp.Net
<script type='text/javascript'>
$("#various3").fancybox({
'width': '75%',
'height': '75%',
'autoScale': false,
'transitionIn': 'none',
'transitionOut': 'none',
'type': 'iframe'
});
</script>
This is my normal Asp.Net button
<asp:Button ID="Button1" runat="server" Text="Button" />