function init(){
	wW = (is.ns)? window.innerWidth : document.body.offsetWidth-20
	wH = (is.ns)? window.innerHeight : document.body.offsetHeight-4

	if(is.ns){
	origWidth=innerWidth;
	origHeight=innerHeight;
	onresize=function(){
		if(innerWidth!=origWidth||innerHeight!=origHeight)
		location.reload()
		}
	}
	Lnada = new DynLayer("LnadaDiv");
	Lnada.moveTo(0,0)
	Lnada.clipTo(0,wW,wH,0);
	Lcont = new DynLayer("LcontDiv");
	Lcont.moveTo(wW/2-410,wH/2-205)
	Lbanda = new DynLayer("LbandaDiv");
	Lbanda.moveTo(wW/2-67,wH/2-312)
	Lbanda.clipTo(0,800,516,0)
	Lbanda1 = new DynLayer("Lbanda1Div");
	Lbanda1.moveTo(wW/2-530,wH/2-205)
	Lbanda1.clipTo(0,350,82,0);
	Lreso = new DynLayer("LresoDiv");
	Lreso.moveTo(wW/2-345,wH/2+204)
//	NewsCont = new DynLayer("NewsContDiv");
//	NewsCont.moveTo(40,210)
//	News = new DynLayer("NewsContDiv","NewsDiv");
//	News.moveTo(25,12)
	
	if (is.ns) {
    	if(location.reload)
		Lnada.hide();
		Lcont.show();
	}
    if (is.ie) {
    	if(document.all)
		Lnada.hide();
		Lcont.show();
	}
}
function venTanaForm(v_pagina){
	window.open(v_pagina, 'Formulario', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,width=400,height=450,left=0,top=0,screenLeft=0,screenTop=0,resizable=0');
}
function IP_swapImgRestore() {  
  var i,x,a=document.IP_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function IP_findObj(n, d) {  
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=IP_findObj(n,d.layers[i].document); return x;
}

function IP_swapImage() {  
  var i,j=0,x,a=IP_swapImage.arguments; document.IP_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=IP_findObj(a[i]))!=null){document.IP_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function IP_preloadImages() {  
  var d=document; if(d.images){ if(!d.IP_p) d.IP_p=new Array();
    var i,j=d.IP_p.length,a=IP_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.IP_p[j]=new Image; d.IP_p[j++].src=a[i];}}
}