// JavaScript Document/*** @author Cody Swann* @version 1.0 sept, 2004*/function IEModel(){	this.m_strClass = "IEModel";}IEModel.inherits(Model);IEModel.method('makeHolder', function( /*String*/ strId, /*Boolean*/ writeNow){	this.uber('makeHolder', strId);	this.m_sModelText = '<div id="'+strId+'">blank<\/div>';	if(writeNow)	{		document.write(this.m_sModelText);	}});IEModel.method('getHolder', function(/*String*/ strHolderId){	return document.all[strHolderId];});IEModel.method('fillHolder',function(/*String*/ strHolderId, /*String*/ strHolderContent){		document.all[strHolderId].innerHTML = strHolderContent;		var index = this.findHolder(strHolderId);	this.m_arrHolders[index][this.m_iCurrTextColor] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigTextColor] =  document.all[strHolderId].style.color = "#000000";	this.m_arrHolders[index][this.m_iCurrBgColor] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigBgColor] = document.all[strHolderId].style.backgroundColor = "#FFFFFF";	this.m_arrHolders[index][this.m_iCurrWidth] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigWidth] = document.all[strHolderId].style.width = "auto";	this.m_arrHolders[index][this.m_iCurrHeight] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigHeight] = document.all[strHolderId].style.height = "auto";	this.m_arrHolders[index][this.m_iCurrContent] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigContent] = strHolderContent;	this.m_arrHolders[index][this.m_iCurrFontSize] = document.all[strHolderId].style.fontSize = "12px";	this.m_arrHolders[index][this.m_iOrigFontSize] = document.all[strHolderId].style.fontSize = "12px"; });IEModel.method('hideHolder', function(/*String*/ strHolderId){	var nTarget = document.all[strHolderId];	nTarget.style.display = "none";});IEModel.method('showHolder', function(/*String*/ strHolderId){	var nTarget = document.all[strHolderId];	nTarget.style.display = "block";});IEModel.method('resizeHolder', function(/*String*/strHolderId, /*mixed*/mWidth, /*mixed*/mHeight){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrWidth] = nTarget.style.width = mWidth;	this.m_arrHolders[index][this.m_iCurrHeight] = nTarget.style.height = mHeight;});IEModel.method('callParent', function(message){		//alert(message);	//alert(this.uber);	this.uber('callParent', message);});IEModel.method('changeBgColor', function(/*String*/ strHolderId, /*Hex*/hColor){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrBgColor] = nTarget.style.backgroundColor = hColor;});IEModel.method('changeFontColor', function(/*String*/ strHolderId, /*Hex*/hColor){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrTextColor] = nTarget.style.color = hColor;});IEModel.method('changeFontSize', function(/*String*/ strHolderId, /*mixed*/mSize){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrFontSize] = nTarget.style.fontSize = mSize;});IEModel.method('resetWidth', function(/*String*/ strHolderId){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrWidth] = nTarget.style.width = this.m_arrHolders[index][this.m_iOrigWidth];});IEModel.method('resetHeight', function(/*String*/ strHolderId){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrHeight] = nTarget.style.height = this.m_arrHolders[index][this.m_iOrigHeight];});IEModel.method('resetTextColor', function(/*String*/ strHolderId){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrTextColor] = nTarget.style.color = this.m_arrHolders[index][this.m_iOrigTextColor];});IEModel.method('resetFontSize', function(/*String*/ strHolderId){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrFontSize] = nTarget.style.fontSize = this.m_arrHolders[index][this.m_iOrigFontSize];});IEModel.method('resetBgColor', function(/*String*/ strHolderId){	var index = this.findHolder(strHolderId);	var nTarget = document.all[strHolderId];	this.m_arrHolders[index][this.m_iCurrBgColor] = nTarget.style.backgroundColor = this.m_arrHolders[index][this.m_iOrigBgColor];});