(.*)", $lines_string, $ebay);
//echo $ebay[0];
//This function ads the new window reference to the string
if ($ebay[0]==""){
echo "
Sorry there are no current Auctions on Ebay for $trader
";
} else {
echo "$trader's Current Ebay Auctions
";
echo ereg_replace( " [hH][rR][eE][fF]", " TARGET=\"awindow\" href", $ebay[0] );
//echo ereg_replace( " href=\"http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?ReturnUserEmail&requested=", " TARGET=\"awindow\" HREF=\"http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?userid=auction@jtlnet.com&pass=jtlee123ReturnUserEmail&requested=", $ebay[0] );
echo "";
$ebay = "";
}
} else {
if($trader!=""){
echo "Please click the submit button!
";
}
?>