function requestCrossDomain( site, callback ) {  
     if ( !site ) {  
         alert('No site was passed.');  
         return false;  
     }  
     var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from html where url="' + site + '"') + '&format=xml&callback=?';  
     $.getJSON( yql, cbFunc );  
     
   function cbFunc(data) {  
     if ( data.results[0] ) {  
       data = data.results[0].replace(/<script[^>]*>[\s\S]*?<\/script>/gi, '');  
       if ( typeof callback === 'function') {  
         callback(data);  
       }  
     }  
     else throw new Error('Nothing returned from getJSON.');  
   }  
 }
