function CloseMetrics()
{
if( /LeftTree\.aspx$/.test(window.parent.leftbar.location.href) == false) {window.parent.leftbar.location.href='LeftTree.aspx';}
}
{
if( /LeftTree\.aspx$/.test(window.parent.leftbar.location.href) == false) {window.parent.leftbar.location.href='LeftTree.aspx';}
}
{
if( /lefttree\.aspx$/.test(window.parent.leftbar.location.href.toLowerCase()) == false) {window.parent.leftbar.location.href='LeftTree.aspx';}
}
你alert(window.parent.leftbar.location.href)试试看....
多谢ricky460的关注,送上10分一表心意!