function checkParent( src, tagName ) {
		while ( src != null ) {
			if (src.tagName == tagName) 
				return src;
			src = src.parentElement;
		}
		return null;
	}

	function lyer1(th){
d="";
for(ii in th){
s='th.'+ii;
eval('i='+s);
if(i!=''&&i!=null&&ii!='innerHTML'&&ii!='outerHTML'&&ii!='innerText'&&ii!='outerText'){d+=ii+'  '+i+';  ';}
};
alert(d);
};

	function checkContent( src, tagName ) {
	if(src!=null){
		var pos = src.sourceIndex ;
		while ( src.contains( document.all[++pos] ) )
			if ( document.all[pos].tagName == tagName )
				return document.all[pos] ;
		};
		return null ;
	}
      
function lyer(th){
d="";
for(ii in th){
s='th.'+ii;
eval('i='+s);
if(i!=''&&i!=null){d+=ii+'  '+i+';  ';}
};
alert(d);
};

function normalcellwhite(o) {
	o.style.backgroundColor = '#ffffff';
}

function highlightcell_1(o) {
	o.style.backgroundColor = '#D2D7EB'; // XimianLightBlue
}
function highlightcell_2(o) {
	o.style.backgroundColor = '#F3F8FA'; // XimianLightBlue
}
function normalcellwhite_1(o) {
	o.style.backgroundColor = '#E9EBF4';
}
function normalcellwhite_2(o) {
	o.style.backgroundColor = '#FFFFFF';
}

