  // Define the callback function
  function wertFuerUserAnzeigen(jsonData) { 
     document.getElementById("cross_wrapper_"+cross_appid_wert_fuer_user_anzeigen).innerHTML = jsonData.app_view;  
     document.getElementById("cross_wrapper_bottom_"+cross_appid_wert_fuer_user_anzeigen).innerHTML = jsonData.app_bottom;     
     //alert('Name = ' + jsonData.name);
     bObj1.removeScriptTag(); 
  }
  function return_weizmannwert_fuer_user(jsonData)
  {
    document.getElementById('wz_tarife_vergleich_result_fuer_user').innerHTML = jsonData.app_view;
  }
  function show_wz_tarife_vergleich_fuer_user(tarif_id)
  {
    var req2  = 'http://www.waizmanntabelle.de/crossdomainfuncs/get_waizmannwert_fuer_user.php?callback=return_weizmannwert_fuer_user&tarif_id='+tarif_id+'&wert_fuer_user_user_id='+wert_fuer_user_user_id;  
    bObj2 = new JSONscriptRequest(req2); 
    bObj2.buildScriptTag(); 
    bObj2.addScriptTag();
    
    
  }

// The web service call
var req1  = 'http://www.waizmanntabelle.de/crossdomainfuncs/wert_fuer_user_anzeigen.php?callback=wertFuerUserAnzeigen'+'&app_id='+cross_appid_wert_fuer_user_anzeigen+'&app_style='+cross_appstyle_wert_fuer_user_anzeigen+'&wert_fuer_user_user_id='+wert_fuer_user_user_id;
// Create a new request object
bObj1 = new JSONscriptRequest(req1); 
// Build the dynamic script tag
bObj1.buildScriptTag(); 
// Add the script tag to the page
bObj1.addScriptTag();
