Javascript Impression Code

oasisi-j.php contains the code used to deliver content as Javascript source, feature that allows you to embed the banner directly into the HTML of your page (for browsers that support remote Javascript invocation).

This code is exactly like oasisi-i.php, except for a call to javafy (), which turns the HTML for the creative into Javascript.

A link to oasisi-j.php will spit out Javascript which writes HTML to the current document.

Some shared code between the delivery scripts would be advantageous from a code maintenance standpoint, but for performance reasons, it is better just to replicate code in each script.