Struggling to install plugin

Struggling to install plugin

Hi guys,

I have been trying to install a little Jquery / Ajax plugin but can't seem to get it working.

You can see the translation flags in bottom left of the header here:

http://www.ggluk.co.uk

In Thesis options > additional scripts I have:

Code:
<script type="text/javascript" src="<?php bloginfo('url');?>/js/jquery.translate-1.4.5.js"></script>
In my root directory I have ajax.php, the images and the js file. 

Jquery is enabled.

In my custom_functions.php I have:

Code:
//translation plugin function translation_bar() { ?> <div id="translateBar"> <!-- These are the flag images, give your flags a class of 'translate' and an ID of the flags country code --> <img src="<?php bloginfo('url');?>/images/flags/gb.png" class="translate" id="en"/> <img src="<?php bloginfo('url');?>/images/flags/nl.png" class="translate" id="nl"/> <img src="<?php bloginfo('url');?>/images/flags/fr.png" class="translate" id="fr"/> <img src="<?php bloginfo('url');?>/images/flags/es.png" class="translate" id="es"/> <img src="<?php bloginfo('url');?>/images/flags/de.png" class="translate" id="de"/> <img src="<?php bloginfo('url');?>/images/flags/cn.png" class="translate" id="zh"/> <img src="<?php bloginfo('url');?>/images/flags/pl.png" class="translate" id="pl"/> <img src="<?php bloginfo('url');?>/images/flags/ru.png" class="translate" id="ru"/> <img src="<?php bloginfo('url');?>/images/flags/gr.png" class="translate" id="el"/> <img src="<?php bloginfo('url');?>/images/flags/it.png" class="translate" id="it"/> <img src="<?php bloginfo('url');?>/images/flags/jp.png" class="translate" id="ja"/> </div> <div id="notifier"> <img src="/images/loader.gif" /> </div> <?php } add_action('thesis_hook_header', 'translation_bar'); //do some java stuff for the translation function java_translation_script() { ?> <script type="text/javascript"> $(document).ready(function(){ $("#notifier").hide(); //On page load, hide the translation loader var Language = '<?php echo $_SESSION['language'] ?>'; // Set the Language variable from PHP $(".translate").click(function(){ // When something with the class of 'translate' is clicked trigger this function $("#notifier").slideDown(200); // Slide the notifer down, so people know its working var Language = $(this).attr("id"); // Set the Language variable to the value of the clicked items ID $.ajax({ // Initialise Ajax call url:'<?php bloginfo('url');?>/ajax.php?status=updateLanguage', // Set the Ajax URL data:'language='+Language, // Send it the correct data type:'GET', // Set the data transfer type success:function(data){ // If successful.. $("body").translate('en', data); // Translate the page from English to whatever langauge the Ajax page sent back $("#notifier").slideUp(600); // Slide the notifier back up } }) }); $("body").translate('en', Language); // Translate the page }); </script> <?php } add_action('thesis_hook_after_html', 'java_translation_script');
If anyone can help with this it would be greatly appreciated. 

You can see the working plugin here:

http://www.silicone.co.uk/

TIA