var domain = 'http://furrybrasil.com.br';


/**
 * Abre uma popup para orkut
 * @param title
 * @param url
 */
function sendOrkut( title, url ) {
    window.open('http://promote.orkut.com/preview?nt=orkut.com&tt='+ encodeURIComponent(title) +'&du='+ domain + encodeURIComponent(url),'windowOrkut', "width=650,height=500");
}

/**
 * Abre uma popup para Myspace
 * @param title
 * @param url
 */
function sendMyspace( title, url )
{
    var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&t=' + domain + encodeURIComponent(title)
    + '&u=' + domain + url;
    window.open(targetUrl, 'ptm', 'height=450,width=550').focus();
}

/**
 * Abre uma popup para Twitter
 * @param title
 * @param url
 */
function sendTwitter( title, url )
{
    var targetUrl = 'http://twitter.com/share?url=' + domain + encodeURIComponent(url) +'&text='+ encodeURIComponent(title + ' em ') +'&via=furrybrasil';
    window.open(targetUrl, 'ptm', 'height=450,width=650').focus();
}


/**
 * Abre uma popup para facebook
 * @param title
 * @param url
 */
function sendFacebook( title, url )
{
    var targetUrl = 'http://www.facebook.com/share.php?t='+ encodeURIComponent(title) +'&u='+ domain + encodeURIComponent(url);
    window.open(targetUrl, 'ptm', 'height=450,width=600').focus();
}
