﻿//Maps


//
function showOrHideMessage() {

	document.getElementById('ctl00_theMessage_theClientMessage').style.visibility = 'hidden';
}

//News and Blogs
    function valueFocus(e, d) {
        if (e.value == d) e.value = '';
    }
    function valueBlur(e, d) {
        if (e.value == '') e.value = d;
    }

//News

    //NewsMain
    function fb_NewsClick2() {
        U = location.href;
        T = document.title;
        window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(U) + '&t=' + encodeURIComponent(T), 'sharer', 'toolbar=0,status=0,width=626,height=436');
        return false;
    }

    function myspace_NewsClick2(C) {
        U = location.href;
        T = document.title;
        var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T) + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U);
        window.open(targetUrl);
        return false;
    }

    function tweet_NewsClick2(C) {
        U = location.href;
        //  T = document.title;
        var targetUrl = "http://twitter.com/home?status=" + encodeURIComponent(U) + " Reading:" + encodeURIComponent(C);
        window.open(targetUrl);
        return false;
    }

    //Blogs
    //blogMain
    function fb_BlogClick2() {
        u = location.href;
        t = document.title;
        window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436');
        return false;
    }

    function myspace_BlogClick2(C) {
        U = location.href;
        T = document.title;
        //window.open('http://www.myspace.com/index.cfm?fuseaction=postto&'  + 't=' + encodeURIComponent(T) + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U), 'sharer', 'toolbar=0,status=0,width=626,height=436');
        var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T) + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U);
        window.open(targetUrl);
        return false;
    }

    function tweet_BlogClick2(C) {
        U = location.href;
        T = document.title;
        var targetUrl = "http://twitter.com/home?status=" + encodeURIComponent(U) + " Reading:" + encodeURIComponent(C);
        window.open(targetUrl);
        return false;
    }


//Delete It
function js(liobj) {
    liobj.setAttribute("class", "abc");
}   

