# Download the target web page, which we will use to identify images
$page_array = http_get(base64_decode($target_webpage), $ref="", GET, $data_array="", EXCL_HEAD);
# Clean-up the HTML formatting with TIDY
$web_page = tidy_html($page_array['FILE']);
# Get the base page address for this page (so we can later obtain fully resolved addresses)
$page_base = get_base_page_address($page_array['STATUS']['url']);
# Remove javascript and HTML comments from web page
$web_page = remove($web_page, "