// look thru the document, for all links w/ the target "_videoplayer" add an onclick handler to open the videoplayer
function yvg_watchlink(){
	w = document.getElementsByTagName("a");
	//alert(w.length);
	for(i=0; i<w.length; i++){

		tmpW = w[i];
		if(tmpW.getAttribute('target') && tmpW.getAttribute('target').indexOf('_videoplayer') != -1){
			tmpW.onclick = showVid;
		}
	}
}