folderOpenImg = "img/epglist/arrow_open.gif";
folderClosedImg = "img/epglist/arrow_closed.gif";
borderImg = "img/epginfo/border.gif";
placeholderImg = "img/epginfo/placeholder.gif";
epginfoTopImg = "img/epginfo/epginfo_top.gif";
launchArrowLeft = "img/epginfo/launch_arrow_left.gif";
launchArrowRight = "img/epginfo/launch_arrow_right.gif";

function TopButton(type, posx, posy, buttonLink, buttonText, imageURL){
	this.type = type;
	this.posx = posx;
	this.posy = posy;
	this.buttonLink = buttonLink;
	this.buttonText = buttonText;
	this.imageURL = imageURL;
}

function ControlItem(type, posx, posy, controlBgImageURL, controlFgImageURL){
	this.type = type;
	this.posx = posx;
	this.posy = posy;
	this.controlBgImageURL = controlBgImageURL;
	this.controlFgImageURL = controlFgImageURL;
}

function LinkItem(title, epgid){
	this.title = title;
	this.epgid = epgid;
}

function MediaModule(version, posx, posy, posz, width, height, color, visible, topButtons, controlItems, link_font_color, link_font_decoration, link_font_family, link_font_mouseover_color, link_font_mouseover_style, link_font_size, link_font_weight){
	this.version = version;
	this.posx = posx;
	this.posy = posy;
	this.posz = posz;
	this.width = width;
	this.height = height;
	this.visible = visible;
	this.topButtons = topButtons;
	this.controlItems = controlItems;
	this.link_font_color = link_font_color;
	this.link_font_decoration = link_font_decoration;
	this.link_font_family = link_font_family;
	this.link_font_mouseover_color = link_font_mouseover_color;
	this.link_font_mouseover_style = link_font_mouseover_style;
	this.link_font_size = link_font_size;
	this.link_font_weight = link_font_weight;
}

function EpglistModule(version, posx, posy, posz, width, height, color, visible, defaultActionType){
	this.version = version;
	this.posx = posx;
	this.posy = posy;
	this.posz = posz;
	this.width = width;
	this.height = height;
	this.visible = visible;
	this.defaultActionType = defaultActionType;
	this.color = color;
}

function EpginfoModule(version, posx, posy, posz, width, height, color, visible){
	this.version = version;
	this.posx = posx;
	this.posy = posy;
	this.posz = posz;
	this.width = width;
	this.height = height;
	this.visible = visible;

//	this.smallImageWidth = "30px";
	this.smallImageWidth = "55px";
	this.smallImageHeight = "24px";
	this.largeImageWidth = "213px";
	this.largeImageHeight = "83px";
}

//function EpgmodeModule(version, posx, posy, posz, width, height, color, visible, linkItems){
function EpgmodeModule(version, posx, posy, posz, width, height, color, visible){	
	this.version = version;
	this.posx = posx;
	this.posy = posy;
	this.posz = posz;
	this.width = width;
	this.height = height;
	this.visible = visible;
}

function InfoDisplayModule(version, posx, posy, width, height, color, visible){
	this.version = version;
	this.posx = posx;
	this.posy = posy;
	this.width = width;
	this.height = height;
	this.visible = visible;
}