
//********************************************************************************************
//***********		This part should be changed for integration and release          *********
//********************************************************************************************
//	Check compression and cache settings
gEbfOfflineDemo = true;
var strScriptPrefix = "";
if (typeof(gfEbUseCompression) == "undefined")
	gfEbUseCompression = true;
if (typeof(gfEbCacheResources) == "undefined")
	gfEbCacheResources = true;

if (typeof(gnEbLowBWLimit) == "undefined")
	gnEbLowBWLimit = 120;
if (!gfEbUseCompression)
	strScriptPrefix = "NCM";
	
var strResPrefix = "";
if (!gfEbCacheResources)
	strResPrefix = "NC";
else
if (!gfEbUseCompression)
	strResPrefix = "NCM";

var gEbAspFile = false;

var ebDLInvetationVer = "";
ebSmallS = ebStrDemoSiteName + "Ad/ebServing.js";
ebBigS = ebStrDemoSiteName + "Ad/";
ebResourcePath = ebStrDemoSiteName + "Ad/Res/";
ebBannerScriptVer = "";
ebBrowserCheckVer = "";
ebTemplateVer = "";
ebPositionVer = "";
ebBS = "";
ebDataCapture = "";
ebConduitVer = "";
ebIntTimeVer = "";


// Streaming settings (for additional assets)
var ebFLVStreamingPrefix = "";
var ebFLVStreamingSuffix = "";


var ebPluID = "0";
var nEbCSVersion = "5.7";
var gEbnMaxTimerTime = 15 * 1000 * 60;	//thye maximum time for timers
//********************************************************************************************
//********************************************************************************************

var gstrEbData = "";
if(typeof(document.documentElement) != "undefined")
	gstrEbData = document.documentElement.innerHTML;	//	This parameter is only used for Iframe

//	We add a variable : gfEbOldIframe 
//	This is only used in the old Iframe script (eyeblasterIframe). We want the eyeblasterIframe script
//	to work only once and not after adding it to the inner Iframe - so we add this flag that will
//	only be defined in the inner Iframe.
//	Note - this must be declared BEFORE the gstrEbData since in Netscape it won't be defined until
//	this statement is reached.
gstrEbData = "<scr" + "ipt>var gfEbOldIframe = '';</scr" + "ipt>" + gstrEbData;

//*************************************
//	Write BrowserCheck Script
//*************************************
//	We should only load the browserCheck script for the first ad on the page

if (typeof(gnEbCounter) == "undefined")
{
	gnEbCounter = 1;
	var src = ebBigS + "BrowserCheck" + ebBrowserCheckVer + ".js";
		
	if (typeof(gfEbActiveXPreview) == "undefined")
		document.write("<SCR"+"IPT src='" + src + "'></SCR"+"IPT>");
	else		//	in the activeX PREVIEW the scripts are inserted after the onload
	{
		var element = document.createElement("script");
		element.setAttribute("src",src);
		document.body.appendChild(element);
	}
}
else
{
	gnEbCounter ++;
	if (typeof(ebIsCompat) != "undefined")
		ebIsCompat();
}

