// The Array Function

function makeArray(len) {
    for (var i = 0; i < len; i++) this[i] = null;
this.length = len;
}

// This is where the array of text/images/sounds is created.

ideas = new makeArray(8);
ideas[0] = "81% of DTC marketers are concentrating their plans on patient education materials.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: Optas Research</span>";
ideas[1] = "Doctor&#39;s programs are a priority, with 58% of marketers expressing a preference for this channel.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: Optas Research</span>";
ideas[2] = "When asked what kinds of in-office programs marketers employ, more than 50% said support materials and disease management kits.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: Optas Research</span>";
ideas[3] = "Physician offices should be leveraged as the starting point for the relationship with consumers.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: Optas Research</span>";
ideas[4] = "The sea of change will reduce outlays on TV and...perhaps most importantly, reduce ad messaging to focus almost exclusively on encouraging dialogue between patients and physicians...<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: Advertising Age, July 25, 2005</span>";
ideas[5] = "Comparative measurements indicate in-office programs deliver average script gains of 10% and as high as 20%.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: NDCHealth, January 2005</span>";
ideas[6] = "50% to 75% of the time a patient asks for a brand, the physician will prescribe it.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: FDA, Kaiser &amp; Prevention Magazine, January 2005</span>";
ideas[7] = "Only 4% of patients make a physician office visit for the sole purpose of discussing an ad they have seen on TV.<br><span style='font-size: 9px;color:#ffffff;text-align:center'>Source: FDA Report on DTC Advertising of Rx Drugs, 2002</span>";


// The random number generator.

function rand(n) {
seed = (0x015a4e35 * seed) % 0x7fffffff;
return (seed >> 16) % n;
}

var now = new Date()
var seed = now.getTime() % 0xffffffff


