function refresh(){
	document.aspnetForm.submit();
}

function high(TSTYLE){
	if(TSTYLE.background!='#10498c'){
		TSTYLE.background = '#ffffcc';
	}
}

function highOut(TSTYLE){
	if(TSTYLE.background!='#10498c'){
		TSTYLE.background = 'white';
		TSTYLE.color = 'black';
	}
}

function subTree(GUID){
	document.aspnetForm.ctl00_ContentSectionMain_category_hidden_uid.value = GUID;
	document.aspnetForm.ctl00_ContentSectionMain_hidden_no_post.value = 1;
	document.aspnetForm.submit();
}

function subTree2(GUID){
	document.aspnetForm.Html_content1_category_hidden_uid.value = GUID;
	document.aspnetForm.Html_content1_hidden_no_post.value = 1;
	document.aspnetForm.submit();
}

function highlight_item_on(item){
	item.background = "#ffffcc"
}

function highlight_item_off(item, color){
	item.background = color
}

function setSelected(TSTYLE){
	TSTYLE.background = '#ffffcc';
	TSTYLE.color = '990000';
}

function showLoadingModalPopup() {
    var modalPopupBehavior = $find('loadingModalPopupBehavior');
    modalPopupBehavior.show();
}