/**************************************************************
    DolbySyndicatedContent.js
    
    This file creates an iFrame, calling Ektron to populate.
**************************************************************/

//DolbySyndicatedContent object
//This is the object that will contain and print the iFrame

function DolbySyndicatedContent(){
	this.width=800;
	this.height=600;
	this.filename="";

	this.setWidth = function (w) {
		this.width = w;
	}
	this.getWidth = function () {
		return this.width;
	}
	this.setHeight = function (h) {
		this.height = h;
	}
	this.getHeight = function () {
		return this.height;
	}
	this.setFilename = function (f) {
		this.filename = f;
	}
	this.getFilename = function () {
		return this.filename;
	}	
	this.generateIFrame = function () {
		document.write('<iframe id="syndContent" src="http://www.dolby.com' + this.filename + '" frameborder="0" height="'+this.height+'" width="'+this.width+'" scrolling="no" marginwidth="0" marginheight="0" ></iframe>');
	}
}

var dolbysc = new DolbySyndicatedContent();

