    $(document).ready(function()
      {       
              
        
        $('#onlineprodukte').append('<dl />');    
    
    
    
        $.ajax({      
  				dataType: 'jsonp',
  				jsonp: 'jsonp_callback',
  				data:'aktion='+window.location.search.substring(8),   				 
  				url: 'http://motorcustom.de/listing/prodlistmc.php',
 				  success: function (data) {

            $.each(data.items, function(i,item){
              var name = item.name;
              var url = item.url;             
              var description = item.description;
              var imageurl = item.image;
              var price = item.price;            
              
              if (typeof price!='undefined') { 
                url = 'http://www.motorcustom.de/' + url;
              }
                        
              html = '<div style="margin-top: 30px;"> <span class="loadingPic" alt="Loading" />';
              html += '<p class="title"><a href="' +url+'" target="_blank">' + name + '</a></p>';              
              html += '<table style="margin-top:-20px; border:none;"><tbody>';
              
              if (typeof price != 'undefined') { 
                html += '<tr><td><a href="' +url+'" target="_blank"><img class="bookImage" alt=""  style="width: 80px; padding-right:10px;" src="' + imageurl + '" /></a></td>';
              }
                             
              html += '<td>';
              
              if (typeof price!='undefined') { 
                html += '<b>EUR ' + price + '</b></p>';
              }                                                      
              html += '<p> ' + description + '</p></td></tr></table>' ;
              html += '<br/>';
              html += '</div>';
            
              $('dl').append($(html));            
              $('.loadingPic').fadeOut(1400);            

            });    				
    				
  				} // Ende success        	
			  }); // Ende $.ajax			
			}); // Ende .ready			
			
			

      function getGETParameter( name ){
        name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
        var results = regex.exec( window.location.href );         
        if( results == null )                                     
          return "";                                              
        else                                                      
          return results[1];

      }
