﻿// JScript File

function TriSwitch(s) {
    
    if (s == 0) {
        TriSwitchHide();
    } else {
        TriSwitchShow();
    }
}

function TriSwitchShow() {
	$('#TriExpandableContent').show('slow');
    $("#TriExpand").fadeOut('slow');
    $("#TriCollapse").fadeIn('slow');
}

function TriQuickShow() {
	$('#TriExpandableContent').show();
    $("#TriExpand").hide();
    $("#TriCollapse").show();
}
    
function TriSwitchHide() {
	$('#TriExpandableContent').hide('slow');
    $("#TriExpand").fadeIn('slow');
    $("#TriCollapse").fadeOut('slow');
}
    
function TriQuickHide() {
	$('#TriExpandableContent').hide();
    $("#TriExpand").show();
    $("#TriCollapse").hide();
}

function TriShowProgressBar() {
	$('#TriProgressBarDiv').show('slow');
    upld = document.getElementById('TriUploadDiv');
    if (upld) {
        $('#TriUploadDiv').hide('slow');
    }
}
