function V_VentanaTalkie(accion){
	if (accion == 'alternar')
	{
		if (document.getElementById('VentanaTalkie').style.visibility == "visible") {
			V_VentanaTalkie('ocultar');
		} else {
			V_VentanaTalkie('mostrar');
		}
	}
	if (accion == 'mostrar')
	{
		document.getElementById('VentanaTalkie').style.visibility="visible";
		
		var AnchoVentana = document.body.clientWidth; 
		var AltoVentana = document.body.clientHeight;
		var CapaVentanaTalkie = document.getElementById('VentanaTalkie')	
		
		CapaVentanaTalkie.style.left= (AnchoVentana / 2) - (CapaVentanaTalkie.offsetWidth / 2) + "px";
		CapaVentanaTalkie.style.top= (AltoVentana / 2) - ((CapaVentanaTalkie.offsetHeight / 2) - 100) + "px";
		
		//document.getElementById('frmTalkie').style.visibility='visible'; 
		//document.getElementById('frmTalkie').style.display='inline';
		try {
			V_VentanaTalkie_abrir()
		} catch(err) { a=4; }					
	}
	if (accion == 'ocultar')
	{
		document.getElementById('VentanaTalkie').style.visibility="hidden";
		document.getElementById('VentanaTalkie').innerHTML="<b>&nbsp;</b>";					
		document.getElementById('VentanaTalkie').style.left='-400';
		document.getElementById('VentanaTalkie').style.top='-400';					
		try {
			V_VentanaTalkie_cerrar()
		} catch(err) { a=4; }
	}
	
	return true;
}	

document.write('<div id="VentanaTalkie" style="position:absolute; width:224px; height:274px; z-index:1; left:-4000px; top:-4000px; visibility:hidden;">');
document.write('</div>');
			
/*		
document.write('<div id="VentanaTalkie" style="position:absolute; width:224px; height:274px; z-index:1; left: -400; top: -400; visibility:hidden;">');
document.write('  <table width="100%" height="200" border="0" cellpadding="0" cellspacing="0">');
document.write('	<tr align="center" valign="bottom"> ');
document.write('	  <td height="23" colspan="3"> ');
document.write('		<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('		  <tr> ');
document.write('			<td width="15" height="23" background="http://www.syscad.es/talkie/ventana/supizq.gif">&nbsp;</td>');
document.write('			<td height="23" background="http://www.syscad.es/talkie/ventana/sup.gif">');
document.write('				<font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">');
document.write('				<strong>Web Talkie</strong>');
document.write('				</font>');
document.write('			</td>');
document.write('			<td width="29" height="23" background="http://www.syscad.es/talkie/ventana/supder.gif" onClick="V_VentanaTalkie(\'ocultar\')">&nbsp;</td>');
document.write('		  </tr>');
document.write('		</table>');
document.write('	  </td>');
document.write('	</tr>');
document.write('	<tr> ');
document.write('	  <td width="4" height="100%" align="left" valign="top" bgcolor="#999999"><img src="http://www.syscad.es/talkie/ventana/izq.gif" width="4" height="100%"></td>');
document.write('	  <td width="100%" height="100%" align="center" valign="top" bgcolor="#999999"> ');
document.write('		<iframe src="" name="frmTalkie" id="frmTalkie" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="200"> </iframe>');
document.write('	  </td>');
document.write('	  <td width="4" height="100%" align="right" valign="top" bgcolor="#999999"><img src="http://www.syscad.es/talkie/ventana/der.gif" width="4" height="100%"></td>');
document.write('	</tr>');
document.write('	<tr align="center" valign="top"> ');
document.write('	  <td colspan="3"><img src="http://www.syscad.es/talkie/ventana/inf.gif" width="100%" height="4"></td>');
document.write('	</tr>');
document.write('  </table>');
document.write('</div>');
*/

document.write('<script languaje="javascript" src="http://www.syscad.es/talkie/AsistenteTalkie.js"></script>');