function watchvideo(vlink,vtitle) 
{
	open("watch.php?title="+vtitle+"&link="+vlink,"watch", "toolbar=no,menubar=no,width=500,height=540,resizable=no");
}

function showthumb(divid,thumb)
{
	document.getElementById(divid).style.display = 'block';
	document.getElementById(divid).innerHTML='<img src="'+thumb+'" border=0 width=130 height=97>';
}

function hidethumb(divid)
{
	document.getElementById(divid).style.display = 'none';
}

/* Bookmark Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
