END_AD; // Chance of popup $ad_percent = 50; ?> SimGames.net Advertisement \n"; if ($ad_rand <= $ad_percent) { print $ad_popup_code; } ?>