﻿function showrssfly() {
    var fly = document.getElementById("rssfly");
    if (null != fly) {
        fly.style.display = "block";
    }
}
function hiderssfly() {
    var fly = document.getElementById("rssfly");
    if (null != fly) {
        fly.style.display = "none";
    }
}

//ltpfly
function ltpopen() {
    var e = document.getElementById("ltpfly");
    if (null != e) {
        e.style.display = "block";
    }
}

function ltpclose() {
    var e = document.getElementById("ltpfly");
    if (null != e) {
        e.style.display = "none";
    }
}


//ptlinkfly
function ptlinkopen() {
    var e = document.getElementById("ptlinkfly");
    if (null != e) {
        e.style.display = "block";
    }
}

function ptlinkclose() {
    var e = document.getElementById("ptlinkfly");
    if (null != e) {
        e.style.display = "none";
    }
}

// ptfly
function ptopen() {
    var e = document.getElementById("ptfly");
    if (null != e) {
        e.style.display = "block";
    }
}

function ptclose() {
    hiderssfly(); // the rss flyout should be forced closed before closing the page tools
    ptlinkclose(); // the link to page should be forced closed before closing the page tools
    var e = document.getElementById("ptfly");
    if (null != e) {
        e.style.display = "none";
    }
}
