\n"; echo "window.location='mailto:".$_GET["mail1"]."@".$_GET["mail2"].".".$_GET["mail3"]."?subject=$sub&body=$body';"; echo "\nwindow.close();\n"; } else { //header("Location:index.php"); echo ""; } ?>