function google_search_images ($search){
$json = file_get_contents('http://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=large&q='.urlencode($search).'&start=0');
$data = json_decode($json);
$img = array();
if($data->responseData->cursor->estimatedResultCount > 0) {
foreach ($data->responseData->results as $v){
$img[] = $v->unescapedUrl;
}
}
}