

function ebAd_395356()
{
	this.strDefaultImage = ebResourcePath + "Site-8206/Type-0/DEA85DE0-255E-41BF-B10E-C640AE8E89B6.gif";
	this.strDefaultFlash = "";
	if (this.strDefaultFlash != "")
	{
		this.strDefaultFlash = ebResourcePath + this.strDefaultFlash;
		this.nDefaultFlashWidth = 0;
		this.nDefaultFlashHeight = 0;
	}
	
	this.strRichFlash = "Site-8206/Type-2/09F849C8-4787-4EF0-9ABF-5D531B008057.swf";
	this.RichFlashStreaming = null;
	if (this.strRichFlash != "")
	{
		this.strRichFlash = ebResourcePath + this.strRichFlash;
		this.nRichFlashWeight = 14974;
		this.nRichFlashWidth = 468;
		this.nRichFlashHeight = 60;

		if ("1" == "1")
		{
			this.RichFlashStreaming = new Object();
			this.RichFlashStreaming.fAutoBuffer = "0";
			this.RichFlashStreaming.nMovieDuration = "0";
			this.RichFlashStreaming.nHighBWBuffer = "50";
			this.RichFlashStreaming.nLowBWBuffer = "100";
		}
	}
	this.fWaitForFlashCommand = ("0" == "1");
	this.fPreloader = ("0" == "1");
	this.flFlashVer = 6;
		
// Full-page skin URL

	// Default Skin
	this.strFSSkinURL = ebBigS + "/Res/EBFullScreenNone" + ebFullPageSkinVer + ".swf";
	this.nFSSkinWidth = 1024;
	this.nFSSkinHeight = 768;

this.nFSMute = 3;
this.fEnableFS = 0;
// Additional assets

this.arrAdditionalRes = new Array(); // backward compatibility - can be removed after upload to REL
this.additionalAssets = new Object();



	//	Update Remote Servers
	this.playRS = new ebCRemoteServers();
	
	//	Update Interactions
	this.interactions = new Object();
	
	//set the Default Interaction - "_eyeblaster"
	setDefaultInteraction(this);
	setInteractions(this);
	
	//		TODO ...
	//if (linkFlag.toLowerCase() == "true")
	//	gebInteractionBuffer[0].jumpURL = "www.shell.com/realenergy";
	//else
	//gebInteractionBuffer[0].jumpURL = "";

	function setDefaultInteraction(objRef)
	{
		objRef.interactions["_eyeblaster"] = new ebCInteraction("_eyeblaster");
		var inter = objRef.interactions["_eyeblaster"];
	
		inter.fCloseFlag = 1;
		inter.strJumpUrl = "www.shell.com/realenergy";
		if (inter.strJumpUrl != "")
			objRef.fLink = true;
		else
			objRef.fLink = false;
		inter.strTarget = "_blank";
		inter.RS.strNUrl = "";
		inter.RS.strAUrl = "";
		inter.fCountAsClick = 1;
		inter.jumpWin.strPosX = "";
		inter.jumpWin.strPosY = "";
		inter.jumpWin.strWidth = "";
		inter.jumpWin.strHeight = "";
		inter.jumpWin.strAddressBar = "0";
		inter.jumpWin.strMenuBar = "0";
	}
	


	//function setInteractions
	//	this function build all the interactions that came from the admin as objects
	//	in the interactions object.
	//	the interactions data that come from the admin is set in array in the folowing order:
	///////////////////////////
	//	0 : InteractionName
	//	1 : CloseFlag
	//	2 : JumpURL
	//	3 : JumpWinPosX
	//	4 : JumpWinPosY
	//	5 : JumpWinWidth
	//	6 : JumpWinHeight
	//	7 : JumpWinAddressBar
	//	8 : JumpWinMenuBar
	//	9 : NetworkTrackingURL
	// 10 :	AgencyTrackingURL
	// 11 : JumpTarget
	// 12 : CountAsClick
	// 13 : nType
	/////////////////////////////
	function setInteractions(objRef)
	{
		
	}
	
	function buildIntList(objRef,name,fClose,jumpURL,XPos,YPos,width,height,fAddress,fMenu,NUrl,AUrl,target,fClick,type,nInitiated)
	{
		//create a new interaction object and set all its properties.
			
		//inter[0] -> interaction name.
		objRef.interactions[name] = new ebCInteraction(name,type);
		var tempInter = objRef.interactions[name];
			
		tempInter.fCloseFlag = fClose;
		tempInter.strJumpUrl = jumpURL;

		tempInter.jumpWin.strPosX = XPos;
		tempInter.jumpWin.strPosY = YPos;
		tempInter.jumpWin.strWidth = width;
		tempInter.jumpWin.strHeight = height;
		tempInter.jumpWin.strAddressBar = fAddress;
		tempInter.jumpWin.strMenuBar = fMenu;
			
		tempInter.RS.strNUrl = NUrl;
		tempInter.RS.strAUrl = AUrl;
			
		var target = parseInt(target);
		switch (target)
		{
			case 0 :
				tempInter.strTarget = "_self";		// same window
				break;
			case 1 :
				tempInter.strTarget = "_blank";		// New window
				break;
			case 2 :
				tempInter.strTarget = "_top";		// Break the frameset
				break;
			default :
				tempInter.strTarget = "_blank";
		}

		tempInter.fCountAsClick = fClick;
		tempInter.nInitiated = nInitiated;		//0 - auto initiated;1 - user initiated
		//tempInter.print();		
	}
		
	
	
}

//	Mark this ad as loaded
if(typeof(gnEbAd_395356WasLoaded) == "undefined")
	gnEbAd_395356WasLoaded = 1;
else
	gnEbAd_395356WasLoaded++;

if (typeof(ebScriptLoaded) != "undefined")
	ebScriptLoaded("ebAd_395356");
if (typeof(ebDoOnBannerScriptLoad) != "undefined")
	ebDoOnBannerScriptLoad();
