
function NewsScroller1 ()
{
	if (window.NewsScrollerInstance != null)
		{
		window.alert("Only one NewsScroller control is allowed on a page.");
		return;
		}
	window.NewsScrollerInstance = this;
	
	this.Render = NewsScroller1_Render;
}

function NewsScroller1_Render(filePath)
{
	//specify path to your external page:
	var iframesrc=filePath;
	//You may change most attributes of iframe tag below, such as width and height:
	document.write('<iframe id="datamain" src="'+iframesrc+'" width="228px" height="325px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>');
}

