function __expandFrame(expandOnly)
{
	//if (window.event && window.event.type == "resize")
	var expandFunc;
	// the second iframe floor, execute expand function.
	if (window.top != window.parent)
		expandFunc = window.parent.expandDetail;
	else
		expandFunc = eval("window.parent.onload_" + window.name);

	if (typeof(expandFunc) == "function")
	{
		expandFunc(expandOnly);
	}
}

function __init_page()
{
	//window.onload = __expandFrame;

	// comment down this line, because it will cause that the special item page very busy under "Orange" skin.
	//window.onresize = _expandFrame;
	__expandFrame();
}

__init_page();
