

    function createLinkWarnings(linkCollection) {

		var msg1 = 'Attention, vous allez quitter le site UCB Pharma France. Le lien proposé est donné à titre indicatif. Les informations que vous trouverez ne sont pas sous la responsabilité d\'UCB Pharma France et peuvent ne pas être strictement conformes à la réglementation française.';

		var msg2 = 'Attention, vous allez quitter le site UCB Pharma France. Le lien proposé est donné à titre indicatif. Les informations que vous trouverez ne sont pas sous la responsabilité d\'UCB Pharma France et peuvent ne pas être strictement conformes à la réglementation française.';

		$(linkCollection).each(function(i) {

			var msg = false;

			var tgt = false;

			if ($(this).hasClass('disclaimer-1')) {

				msg = msg1;

			} else if ($(this).hasClass('disclaimer-2')) {

				msg = msg2;

			}

			if ($(this).attr('target')) {

			    tgt = $(this).attr('target') == '_blank' ? '_blank' : false;

			}

			if (!msg) return true;

			$(this).bind('click', function() {

			    var tmp = confirm(msg);

				if (tmp) {

				    if (tgt) {

				        window.open($(this).attr('href'), tgt);

				    } else {

					    location.href = $(this).attr('href');

					}

				}

				return false;

			});

		});

	}

	

	$(document).ready(function() {

		var linkCollection = $('a');

		createLinkWarnings(linkCollection);

	});

	

	function quickSelectBlock(list) {

	    

		// In case of MSIE, read the <BASE HREF=''/> attribute from the DOM

		// This has to be done because MSIE ingnores the base href when doing a redirect via location.href 

		if (jQuery.browser.msie) 

			base_href = $('base').attr('href');

		else 

			base_href = '';

		

		if (list.options[list.selectedIndex].value) {	    	

	        location.href = base_href+list.options[list.selectedIndex].value;

	    }

	    return false;

	}

	

	
