function PreplayObj (displayMarkup, customDaughterWindowURL)
{
	var me = this;

	me.displayMarkup = displayMarkup;
	me.customDaughterWindowURL = customDaughterWindowURL;
	//me.browserSupported = 'getElementById' in document;

	// Clears out the div that is displaying the ad and fills in the
	// html of the div that's displaying the content
	me.showContent = function ()
	{
		var divE = document.getElementById ('ponShockwave');
		divE.innerHTML = '<div class="game_window">' + me.displayMarkup + '</div>';
	}



	// called after errorDuration seconds to show content just in case.
	me.errorCheck = function ()
	{
			me.showContent ();		
	}

    // Start an error timeout as a fall-back in case preplay never loads
    me.startErrorCheck = function ()
    {
        me.errorTimeout = setTimeout (me.errorCheck, me.errorDuration * 1000);
    }
	
	


};


