How to load a jQuery plugin?

Hello,

I am migrating a website from plain HTML to a WordPress theme. The website uses the following JQuery plugin in the header files:

<script type=”text/javascript” src=”/js/ui.selectmenu.js”></script>

<script type=”text/javascript”>

$(document).ready(function () {

$(“select”:wink:.selectmenu({style:’dropdown’});

});

</script>

I am struggling with the correct way to include this in my WordPress theme’s header file.

1) How do I load the script using wp_enqueue_script?

2) How do I ensure the script is using jQuery.noConflict mode?

Many thanks.