
function AbrirPlayer(destino){	
	if (isExplorer()){		
		var base = (document.getElementById('base').href);
    	window.open(base + destino,"player","width=980,height=480");
   } else { window.open(destino,"player","width=980,height=480");}
}

function Imprimir(){
	window.print();
	window.close();
}
function AbrirImprimir(destino){
	//window.open(destino,'',"width=800,height=480");
	if (isExplorer()){
		window.open((document.getElementById('base').href) + destino,"Imprimir","width=650,height=450,scrollbars=yes,resizable=yes");
	} else { 
		window.open(destino,'',"width=650,height=450,scrollbars=yes,resizable=yes");
}

}

function isExplorer(){
		return (getBrowserType()=='ie');
}

function getBrowserType(){
		var type='nose';
		if(navigator.appName == 'WebTV'){
			var type='webtv';
		}
		if(navigator.appName == "Netscape"){//Mozilla
			var type='ns';
		}
		if(navigator.appName == "Microsoft Internet Explorer"){
			var type='ie';
		}
		return type;
}