function setClipboardText(text2copy) // from http://webchicanery.com/2006/11/14/clipboard-copy-javascript
{
    if (window.clipboardData)
    {
        window.clipboardData.setData("Text", text2copy);
    }
    else
    {
        var flashcopier = 'flashcopier';
        if(!document.getElementById(flashcopier))
        {
            var divholder = document.createElement('div');
            divholder.id = flashcopier;
            document.body.appendChild(divholder);
        }
        document.getElementById(flashcopier).innerHTML = '';
        var divinfo = '<embed src="_clipboard.swf" FlashVars="clipboard='+escape(text2copy)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
        document.getElementById(flashcopier).innerHTML = divinfo;
    }
}

function more()
{
    window.location = 'mail' + 'to:' + 'nicolepauline' + '@' + 'gmail.' + '.com?subject=RURL';
}

function showLoginBar(state)
{
    if(state)
    {
        Effect.SlideDown('loginBar', { duration: 0.5, afterFinish: function() { Field.activate('txtLoginUsername'); Field.clear('txtLoginPassword'); } });
    }
    else
    {
        Effect.SlideUp('loginBar', { duration: 0.5 });
        
        if($('urlText'))
            Field.activate('urlText');
    }
}

function checkURL()
{
	if(document.getElementById('urlText').value.indexOf(".exe")!=-1)
	{
		return false;
	}
	else
	{
		return true;
	}
}