function $(objName){
	if(document.getElementById){
		return eval('document.getElementById("' + objName + '")');
	}else{
		return eval('document.all.' + objName);
	}
}

function AutoHidden(checkStr, objList, showType){
	var check=true;
	for(var j=0; j<checkStr.split('|').length; j++)
	{
		if(parent.location.href.indexOf(checkStr.split('|')[j])==-1)
		{
			check=false;
			break;
		}
	}
	if(check)
	{
		for(var i=0; i<objList.split('|').length; i++)
		{
			if($(objList.split('|')[i]))
			{
				$(objList.split('|')[i]).style.display=showType;
			}
		}
	}
}