//ABRIR VENTANA EN LA PAGINA DE INICIO

function info()
		{
					window.open("cbsl.html", "info", ",width=410,height=190,menubar=0,scrollbars=0,resize=0");
		}


//ABRIR VENTANAS DE OFERTAS

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// CELDAS CAMBIANTES DE COLOR
/*
Change Cell Backgrounds -
© Shivaji Basu (www.shivbasu.com)
To add more shock to your site, visit www.DHTML Shock.com
*/

function cOn(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="NAVY";
}
}

function cOut(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#CCCCFF";
}
}


// begin absolutely positioned scrollable area object scripts 
/*
Extension developed by David G. Miles (www.z3roadster.net/dreamweaver)
Original Scrollable Area code developed by Thomas Brattli 
To add more shock to your site, visit www.DHTML Shock.com
*/

function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 
bw=new verifyCompatibleBrowser() 
 
 
var speed=50 
 
var loop, timer 
 
function ConstructObject(obj,nest){ 
    nest=(!nest) ? '':'document.'+nest+'.' 
    this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 
    this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 
    this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 
    this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 
    this.up=MoveAreaUp;this.down=MoveAreaDown; 
    this.MoveArea=MoveArea; this.x; this.y; 
    this.obj = obj + "Object" 
    eval(this.obj + "=this") 
    return this 
} 
function MoveArea(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.x 
    this.css.top=this.y 
} 
 
function MoveAreaDown(move){ 
	if(this.y>-this.scrollHeight+objContainer.clipHeight){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 
function MoveAreaUp(move){ 
	if(this.y<0){ 
    this.MoveArea(0,this.y-move) 
    if(loop) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll(speed){ 
	if(initialised){ 
		loop=true; 
		if(speed>0) objScroller.down(speed) 
		else objScroller.up(speed) 
	} 
} 
 
function CeaseScroll(){ 
    loop=false 
    if(timer) clearTimeout(timer) 
} 
var initialised; 
function InitialiseScrollableArea(){ 
    objContainer=new ConstructObject('divContainer') 
    objScroller=new ConstructObject('divContent','divContainer') 
    objScroller.MoveArea(0,0) 
    objContainer.css.visibility='visible' 
    initialised=true; 
} 
// end absolutely positioned scrollable area object scripts 





<!-- 
/* velocidad, aumentando el numero disminuye la velocidad 
   pausa, la pausa en milisegundos entre mensajes */
var velocidad = 100
var pausa = 1000



var tiempo = null
var bannerEjecutado = false
var ar = new Array()

/* 
	Pueden ponerse tantos mensajes como se quiera
	Para cambiar de uno a otro puede hacerse de dos formas
	o bien llamando a la rutina cambia_mensaje() o bien 
	poniendo la variable automatico=1. En este segundo caso 
	los mensajes se iran sucediendo de forma ciclica
	Si no se desea cambiar de mensaje, simplemente poner 
	automatico = 0

	Si se desea borrar los mensajes hay que llamar a 
	la funcion borra_mensaje
*/

ar[0] = "   ............. D O C U I N F ......................... D O C U I N F   ..............   "
ar[1] = "  S u   d i s e ñ a d o r   d e   i n f o r m e s   y   d o c u m e n t o s   ";
ar[2] = "  Desarrollado por TAO SYSTEMS y distribuido por DESINBUR, S.L.  ";

var automatico = 1;

var mensajeactual = 0
var r = 0
var tiempo=null;

function Banner(){
      clearTimeout(tiempo)
      bannerejecutado = false;
	r=0;
}

function iniciaBanner(){
	Banner()
	muestraBanner()
}

function muestraBanner(){
	var text = null;
	var partialMessage = null;
	if (!bannerejecutado) {
		text = ar[mensajeactual]

		if (text.charAt(r) == " "){
		         r++;
		}
	
      	partialMessage = text.substring(0, r + 1)
      	window.status = partialMessage
      	r++;
	}
      tiempo = setTimeout("muestraBanner()", velocidad)
	if (partialMessage == ar[mensajeactual]) {
		bannerejecutado = true;
		if (automatico == 1){ 
			clearTimeout(tiempo);
		      tiempo = setTimeout("cambia_mensaje()", pausa);
		}
	} 
}

function cambia_mensaje(){
	bannerejecutado=true;
	mensajeactual++;
	if (mensajeactual>ar.length-1){
		mensajeactual=0;
	}
	iniciaBanner();
}

function borra_mensaje(){
      clearTimeout(tiempo)
	bannerejecutado=true;
	window.status='';
}




		function tamano()
		{
			if(screen.height < 600)
			{
				alert("Está página esta diseñada para ser visualizada correctamente a una resolución al menos de 800x600. Debe cambiar la resolución de su pantalla si quieres ver el sitio en perfectas condiciones.");
			}	
		}




	var bookmarkurl="http://www.desinbur.es";
	var bookmarktitle="DESINBUR, S.L. - Informática Empresarial";
	function addbookmark()
	{
		if(navigator.appName=="Microsoft Internet Explorer")
		{
		if (document.all)
		window.external.AddFavorite(bookmarkurl,bookmarktitle)
		}
		else
		{
				alert("Esta función solamente esta disponible con Microsoft Internet Explorer. Si eres usuario de Netscape, cierra esta ventana y pulsa 'Ctrl+d'. El resultado será el mismo");
		}
	}