// Documento Javascript propiedad de INMOsoluciones
function CambiarColorBorde(Imagen, Color) {
   if( document.all || document.getElementById )
     Imagen.style.borderColor = Color;
}
function destino(){
url = document.navegador.secciones.options[document.navegador.secciones.selectedIndex].value
if (url != "no") window.location = url;
}
function rollover(o){o.className='estadorollover'; }
function rollout(o){o.className='estadorollout'; }
function abrir_popup(url,nombre,propiedades) { // abrir popup
  window.open(url,nombre,propiedades);
}
function MM_goToURL() { // ir a url
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function Imprimir(){  // Imprimir
window.print();
}
function imp_flash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="147">');
    document.write('<param name="movie" value="imag/banner.swf" />');
    document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');
    document.write('<embed src="imag/banner.swf" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="147"></embed>');
    document.write('</object>');
}
function soporte_flash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="118" height="57">');
    document.write('<param name="movie" value="soporte/status.swf">');
    document.write('<param name="quality" value="high">');
	document.write('<param name="menu" value="false">');
    document.write('<embed src="soporte/status.swf" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="118" height="57"></embed>');
    document.write('</object>');
}
function chat_flash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="477" height="230">');
  	document.write('<param name="movie" value="cs.swf">');
  	document.write('<param name="quality" value="high">');
  	document.write('<param name="menu" value="false">');
  	document.write('<embed src="cs.swf" quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="477" height="230"></embed>');
	document.write('</object>');
}
function spamSucks(dominio,extension,nombre)
{
	document.location.href = "mailto:" + nombre + "@" + dominio + "." + extension; 
}
