In other words,
1. There will be several blocks of ad code that may be used, depending on the page height. Not all ad codes will be used on every page. Longer pages in pixels will use more code blocks.
2. It will measure total pixel height of the page. (maybe using jQuery.height() )
a. If page height is less than 2400 pixels, we will insert ads according to paragraph structure of post content, available in div id="post-content", for example. 1 ad after 2nd paragraph, 1 ad after paragraph halfway through content, 1 ad before 2nd paragraph from end. Stop workflow.
b. If page height is greater than 2400 pixels, we will insert ads at set intervals measured by pixels on user's display.
1. Insert ad code after 2nd paragraph of content....