Please help me with this simple code

Please help me with this simple code

I have a question and problem and really will be happy if someone helps me to solve it.
I have a website and want to enable the webmaster of other websites to insert a javascript code from my website to their own sites and this code enables visitors of their websites to submit their pages to my website. For example you see many digg buttons in most websites that enable visitors to submit the content of other websites to digg using this button. I myself made the code for doing it now and it works fine. The code i have made uses jquery version 1.2.3 and also jquery.dimensions.js file.
The only problem i have now is this:
The code that i give to webmaster of other websites is something like below:

  1. <script language="javascript" type="text/ecmascript" src="http://www.mydomain.com/jquery.js"></script>
  2. <script language="javascript" type="text/ecmascript" src="http://www.mydomain.com/jquery.dimensions.js"></script>
  3. <script language="javascript" type="text/ecmascript" src="http://www.mydomain.com/mywrittencode.js"></script>
  4. <link href="http://www.mydomain.com/th.css" rel="stylesheet" type="text/css" />
  5. <img src="http://www.mydomain.com/image.png" />
This code work fine without any problem but as you see this code uses CSS that by clicking on link, it opens a window (that uses css) in center of screen that open the submission page on my domain that enable visitor to submit that content to my website. Now i want you to help me to use jquery instead of this css link to open a nice jquery window. Please write both the jquery of window and also the code that i should write instead of <link href="...... in above code. If its possible please explain with details ans step by step as i am newbie.