  // Define the callback function
  function wertAnzeigen(jsonData) {
     document.getElementById("cross_wrapper_"+cross_appid_wert_anzeigen).innerHTML = jsonData.app_view;  
     document.getElementById("cross_wrapper_bottom_"+cross_appid_wert_anzeigen).innerHTML = jsonData.app_bottom;     
     //alert('Name = ' + jsonData.name);
     bObj.removeScriptTag(); 
  }
  function return_weizmannwert(jsonData)
  {
    document.getElementById('wz_tarife_vergleich_result').innerHTML = jsonData.app_view;
  }
  function show_wz_tarife_vergleich(tarif_id)
  {
    var req  = 'http://www.waizmanntabelle.de/crossdomainfuncs/get_waizmannwert.php?callback=return_weizmannwert&tarif_id='+tarif_id;  
    bObj = new JSONscriptRequest(req); 
    bObj.buildScriptTag(); 
    bObj.addScriptTag();
    
    
  }

// The web service call
var req  = 'http://www.waizmanntabelle.de/crossdomainfuncs/wert_anzeigen.php?callback=wertAnzeigen'+'&app_id='+cross_appid_wert_anzeigen+'&app_style='+cross_appstyle_wert_anzeigen;
// Create a new request object
bObj = new JSONscriptRequest(req); 
// Build the dynamic script tag
bObj.buildScriptTag(); 
// Add the script tag to the page
bObj.addScriptTag();
