jQuery.noConflict();

jQuery(document).ready(function($){
      $('span.popup_agb_de').click(function () {
    	  span = $(this);
         var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=84 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      close: function() {$(this).remove();}	        
	    });      
      });
});

jQuery(document).ready(function($){
    $('span.popup_agb_fr').click(function () {
  	  span = $(this);
       var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=84&L=2 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      resizable:false,
	      close: function() {$(this).remove();}	        
	    });      
    });
});

jQuery(document).ready(function($){
    $('span.popup_agb_it').click(function () {
  	  span = $(this);
       var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=84&L=1 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      resizable:false,
	      close: function() {$(this).remove();}	        
	    });      
    });
});

jQuery(document).ready(function($){
    $('span.popup_gewinn_de').click(function () {
  	  span = $(this);
       var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=86 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      resizable:false,
	      close: function() {$(this).remove();}	        
	    });      
    });
});

jQuery(document).ready(function($){
    $('span.popup_gewinn_fr').click(function () {
  	  span = $(this);
       var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=86&L=2 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      resizable:false,
	      close: function() {$(this).remove();}	        
	    });      
    });
});

jQuery(document).ready(function($){
    $('span.popup_gewinn_it').click(function () {
  	  span = $(this);
       var myDialog = $('<div style="max-height: 600px;"></div>')
	  		.load('http://www.floradix.ch/index.php?id=86&L=1 #maincontainer_gewinn', function(response, status, xhr){
	  			myDialog.dialog('open');
	  		})
	  .dialog({
	      title: span.text(), //$link.attr('title') ? $link.attr('title') : 
	  	  autoOpen: false,
	      modal: true,
	      minWidth: 540,
	      maxHeight: 600,
	      resizable:false,
	      close: function() {$(this).remove();}	        
	    });      
    });
});

