var tpOmnitureChannels = new Array();
var tpOmniturePages = new Array();
function callOmniture(channel, pageName)
{
	try
	{
		if(omnitureReady)
		{
			if(channel==null && pageName==null)
			{
				for(var i=0; i<tpOmnitureChannels.length; i++)
				{
					callOmniture(tpOmnitureChannels[i], tpOmniturePages[i]);
				}
			}
			else
			{
				try
				{
					if(omnS) //H code
					{
						omnS.pageName = pageName;
						omnS.channel = channel;
					    var s_code_h=omnS.t();if(s_code_h)document.write(s_code_h);
					    return;
					}
				}
				catch(err) {}
				//G code
				s_pageName = pageName;
				s_channel = channel;
				s_code=s_dc('cablevisionoptonline');
				if (s_code) { document.write(s_code) }
			}
			return;
		}
	}
	catch(err) {}
	if(channel==null && pageName==null)
	{
		return;
	}
	tpOmnitureChannels[tpOmnitureChannels.length] = channel;
	tpOmniturePages[tpOmniturePages.length] = pageName;
}
function callOmniture2(channel, pageName)
{
	callOmniture(channel, getChannelWithLevels().replace(/\//g, '-') + pageName);
}
