function Screenshot(id)
{
	window.open('/scr.php?id=' + id);
}

function Search()
{
	var q=document.getElementById('txtSearch');
	if(q.value=='' || q.value=='Enter keyword here')
	{
		q.value='Enter keyword here';
		q.focus();
		q.select();
	}
	else
	{
		location.href='/search.php?q=' + q.value;
	}
}

function buynow(i)
{
	location.href='http://www.shareup.net/buynow.php?r=1&item=' + i;
}

function Contact()
{
	window.open('http://www.shareup.com/about.html#contact');
}
