<!--
if ((navigator.appVersion.substring(0,1) == "5" && navigator.userAgent.indexOf('Gecko') != -1) || navigator.userAgent.search(/Opera/) != -1) {
   document.write('<META HTTP-EQUIV="pragma" CONTENT="no-cache">');
}


function OpenPlayer(FileName2,WindowName2)
{
	
WindowFeature="Resizable=Yes,ScrollBars=Yes,MenuBar=No,Directories=No,ToolBar=No,Location=No,Status=No,Width=510,Height=450,ScreenX=0,ScreenY=0,Top=0,Left=0"

	newWindow=open(FileName2,WindowName2,WindowFeature);
	if (newWindow.opener == null) { newWindow.opener = self; }
	if (newWindow.focus) { newWindow.focus(); }
}

function rocio(txt) {

   document.formulario.rocio.value = txt

     return true;

}
function salta(form)
{
        var i;
        i = form.sitio.selectedIndex; 
        if (form.sitio.options[i].value != "")
        {
                window.location.href = form.sitio.options[i].value;
        }
 }
 
 function abreVent(u,W,H,X,Y,n) {
 var cD  ='imagen/close_dwn.gif'
 var cU  ='imagen/close_up.gif'
 var cO  ='imagen/close_ovr.gif'
 var cL  ='imagen/clock.gif'
 var tH  ='<font face=verdana size=1>&nbsp;&nbsp;</font>'
 var tW  ='&nbsp;Rocio.com'
 var wB  ='#ff9934'
 var wBs ='#000000'
 var wBG ='#FFFFFF'
 var wBGs='#ff9934'
 var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0'
 var fSO ='scrolling=no noresize'
 return chromeless(u,n,W,H,X,Y,cD,cU,cO,cL,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO)
}
 
function openWindow(url, w, h, scroll) {
    var options = "width=" + w + ",height=" + h + ",";
    options += "resizable=no,scrollbars=" + scroll + ",status=no,";
    options += "menubar=no,toolbar=no,location=no,directories=no";
    var newWin1 = window.open(url, 'newWin1', options);
    newWin1.focus();
}
function sparentscroll() {
    loop = false;
}
function startscroll(dir, spd, body1) {
    loop = true;
    scroll(dir, spd, body1);
}
function scroll(dir,spd,body) {
  direction = dir;
  speed = spd;
  body1 = body;
  if(document.layers)
      {
      var page = document.layers[body];
//      alert(document.layers[body].clip.height);
//      return;
  var height = parseInt(page.clip.height);
//    height=800;
      }
  if(document.all)
      {
      var page = document.all[body].style;
//  var height = parseInt(page.height);
    height=800;
      }
//    alert(parseInt(page.clip.height)); return;
  var y_pos = parseInt(page.parent);
    if(direction == "up" && y_pos < 60) {
      page.parent = (y_pos+(speed));
    } else if(direction == "dn" && 400 < (height+y_pos)) {
      page.parent = (y_pos-(speed));
    } else if(direction == "parent") {
      page.parent = 60;
    }
  if(loop == true) {
    timer1 = setTimeout("scroll(direction,speed,body1)", 2);
  }
}


/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

/* Functions that handle preload. */


function MM_findObj(n, d) { //v4.01
  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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



function abreVent2(img){
  window.open(img, 'Sizewindow', 'width=450,height=400,scrollbars=yes,toolbar=no,statebar=no');
}

function abreVent3(ruta,nombre){
  window.open(ruta, nombre, 'width=450,height=400,scrollbars=no,toolbar=no,statebar=no');
}

function cartel1(){
  window.open('canalsur.htm', 'Sizewindow', 'width=450,height=400,scrollbars=no,toolbar=no,statebar=no');
}

function chequeaEmail(theForm) { 
  var email =theForm.email.value
  var comentarios =theForm.comentarios.value 
  var pesetas =document.Form.pesetas.value  
  invalidChars = ' /:,;' 
  for(j=0; j<invalidChars.length; j++){ 
    badChar = invalidChars.charAt(j) 
    if (email.indexOf(badChar,0) != -1){ 
      preguntaEmail = false 
      alert('Su email contiene caracteres invalidos')
      theForm.email.focus(theForm); 
      return false 
    } 
  } 
  atPos = email.indexOf('@',1) 
  if (atPos == -1){ 
    alert('Su direccion email no es valida.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (email.indexOf('@',atPos+1) != -1){ 
    alert('Su direccion de email contiene demasiados @.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  periodPos = email.indexOf('.',atPos) 
    if (periodPos == -1) { 
    alert('Su direccion de email no tiene extension') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (periodPos+3 > email.length){ 
    alert('Su direccion email parece que tiene una extension no valida')
    theForm.email.focus(theForm);  
    return false 
  } 
  if (theForm.pesetas.value.length == 0) {
    theForm.pesetas.focus();
    alert("Rellene el campo 'Importe ingresado'");
    return false
  }  
  if (theForm.comentarios.value.length >400) {
    theForm.comentarios.focus();
    alert("El comentario, es demasiado largo (max. 400 caracteres)\n Le agradecemos lo resuma algo mas");
  return false
  } 
  
   // Abrimos la Ventana
  
  window.open('', 'processor_window', 'width=300,height=500,scrollbars=no,toolbar=no,statebar=no');
  theForm.target ='processor_window'
  return true 
} 


/* FUNCIONES PARA CAMBIAR DE COLOR LAS FILAS Y ENLAZAR AL HACER CLICK */

function overTR(tr,color){tr.bgColor=color;} 
function outTR(tr,color){tr.style.cursor='default';tr.bgColor=color;} 
function clickTD(td){td.children.tags('A')[0].click();} 


///////////////////////////////////////////////////////////////
// En el formulario (FORM) poner onsubmit="return chequeausername(this)" name="Form" //
// En el input  poner name='username' //
///////////////////////////////////////////////////////////////
preguntausername= false 

// CHEQUEO DE username
function chequeausername(theForm) { 

  var username =theForm.username.value;
  var comments =theForm.comments.value;

  if (username == ''){ 
    preguntausername=false
    alert(' La direccion de email no figura.\n Puede ponerla y elegir si quiere publicarla\n en el Libro de Visitas. ')
     theForm.username.focus(theForm);
    return false 
  } 
 
  invalidChars = ' /:,;';
  for(j=0; j<invalidChars.length; j++){
   badChar = invalidChars.charAt(j);
  }

  if (username.indexOf(badChar,0) != -1){ 
    preguntausername = false 
    alert('Su email contiene caracteres invalidos')
    theForm.username.focus(theForm); 
    return false 
  } 
   
  atPos = username.indexOf('@',1) 
  
  if (atPos == -1){ 
    alert('Su direccion email no es valida.') 
    theForm.username.focus(theForm); 
    return false 
  } 
  if (username.indexOf('@',atPos+1) != -1){ 
    alert('Su direccion de email contiene demasiados @.') 
    theForm.username.focus(theForm); 
    return false 
  } 
  periodPos = username.indexOf('.',atPos) 
  
  if (periodPos == -1) { 
    alert('Su direccion de email no tiene extension') 
    theForm.username.focus(theForm); 
    return false 
  } 
  if (periodPos+3 > username.length){ 
    alert('Su direccion email parece que tiene una extension no valida')
    theForm.username.focus(theForm);  
    return false 
    } 
  if (theForm.realname.value.length == 0) {
    theForm.realname.focus();
    alert("Rellene el campo 'Nombre'");
    return false
  }
  if (theForm.comments.value.length == 0) {
    theForm.comments.focus();
    alert("Rellene el campo 'Comentarios'");
    return false
    }
  if (theForm.comments.value.length < 9) {
    theForm.comments.focus();
    alert("Tu comentario es demasiado corto");
    return false
    }
  if (theForm.comments.value.length >800) {
    theForm.comments.focus();
    alert("El comentario, es demasiado largo (m&aacute;x 800 caracteres)\n Le agradecemos lo resuma algo m&aacute;s");
    return false
   }

 if (theForm.code.value.length == 0) {
    theForm.code.focus();
    alert("Rellene el Código de seguridad");
    return false
    }

if (theForm.code.value != theForm.codigo.value) {
    theForm.code.focus();
    alert("Código de seguridad no válido");
    return false
    }

  // Abrimos la Ventana
  
  window.open('', 'processor_window', 'width=400,height=500,scrollbars=no,toolbar=no,statebar=no');
  theForm.target ='processor_window'
  
  return true;
} 

function chequeausername2(theForm) { 

  var email =theForm.email.value;
  var comentarios =theForm.comentarios.value;

  if (email == ''){ 
     alert(' La direccion de email no figura.')
     theForm.email.focus(theForm);
    return false 
  } 
 
  invalidChars = ' /:,;';
  for(j=0; j<invalidChars.length; j++){
   badChar = invalidChars.charAt(j);
  }

  if (email.indexOf(badChar,0) != -1){ 
   
    alert('Su email contiene caracteres invalidos')
    theForm.email.focus(theForm); 
    return false 
  } 
   
  atPos = email.indexOf('@',1) 
  
  if (atPos == -1){ 
    alert('Su direccion email no es valida.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (email.indexOf('@',atPos+1) != -1){ 
    alert('Su direccion de email contiene demasiados @.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  periodPos = email.indexOf('.',atPos) 
  
  if (periodPos == -1) { 
    alert('Su direccion de email no tiene extension') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (periodPos+3 > email.length){ 
    alert('Su direccion email parece que tiene una extension no valida')
    theForm.email.focus(theForm);  
    return false 
    } 
  if (theForm.nombre.value.length == 0) {
    theForm.nombre.focus();
    alert("Rellene el campo 'Nombre'");
    return false
  }
  if (theForm.comentarios.value.length == 0) {
    theForm.comentarios.focus();
    alert("Rellene el campo 'Comentarios'");
    return false
    }
  if (theForm.comentarios.value.length >800) {
    theForm.comentarios.focus();
    alert("El comentario, es demasiado largo (m&aacute;x 800 caracteres)\n Le agradecemos lo resuma algo m&aacute;s");
    return false
   }

  // Abrimos la Ventana
  
  window.open('', 'processor_window', 'width=400,height=500,scrollbars=no,toolbar=no,statebar=no');
  theForm.target ='processor_window'
  
  return true;
} 

function chequeausername3(theForm) { 

  var email =theForm.email.value;
  var comentarios =theForm.comentarios.value;

  if (email == ''){ 
     alert(' La direccion de email no figura.')
     theForm.email.focus(theForm);
    return false 
  } 
 
  invalidChars = ' /:,;';
  for(j=0; j<invalidChars.length; j++){
   badChar = invalidChars.charAt(j);
  }

  if (email.indexOf(badChar,0) != -1){ 
   
    alert('Su email contiene caracteres invalidos')
    theForm.email.focus(theForm); 
    return false 
  } 
   
  atPos = email.indexOf('@',1) 
  
  if (atPos == -1){ 
    alert('Su direccion email no es valida.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (email.indexOf('@',atPos+1) != -1){ 
    alert('Su direccion de email contiene demasiados @.') 
    theForm.email.focus(theForm); 
    return false 
  } 
  periodPos = email.indexOf('.',atPos) 
  
  if (periodPos == -1) { 
    alert('Su direccion de email no tiene extension') 
    theForm.email.focus(theForm); 
    return false 
  } 
  if (periodPos+3 > email.length){ 
    alert('Su direccion email parece que tiene una extension no valida')
    theForm.email.focus(theForm);  
    return false 
    } 
  if (theForm.nombre.value.length == 0) {
    theForm.nombre.focus();
    alert("Rellene el campo 'Nombre'");
    return false
  }
  if (theForm.comentarios.value.length == 0) {
    theForm.comentarios.focus();
    alert("Rellene el campo 'Comentarios'");
    return false
    }
  if (theForm.comentarios.value.length >800) {
    theForm.comentarios.focus();
    alert("El comentario, es demasiado largo (m&aacute;x 800 caracteres)\n Le agradecemos lo resuma algo m&aacute;s");
    return false
   }

  // Abrimos la Ventana
  
  //window.open('', 'processor_window', 'width=400,height=500,scrollbars=no,toolbar=no,statebar=no');
  //theForm.target ='processor_window'
  
 // return true;
} 

function chequeausername4(theForm) { 

  var id =theForm.id.value;
  

  if (id == ''){ 
     alert(' El nº de anuncio no figura.')
     theForm.id.focus(theForm);
    return false 
  } 
 
  
} 

// Chequea BUSCQUEDAS ///////////////////////////

function chequeabusca(theForm) { 

  var q =theForm.q.value;
    
  if (q == ''){ 
     alert('Ingrese la palabra o palabras a buscar')
     theForm.q.focus(theForm);
    return false 
  } 
   
  if (theForm.q.value.length >150) {
    theForm.q.focus();
    alert("El comentario es demasiado largo (max. 150 caracteres)\n Le agradecemos lo resuma algo mas");
    return false
   }

 } 


// Encuesta SABER ///////////////////////////

function chequeapregunta1(theForm)
{
 var respuestas1 =document.Form.respuestas1.value 
 var respuestas2 =document.Form.respuestas2.value 
 var respuestas3 =document.Form.respuestas3.value 
 var respuestas4 =document.Form.respuestas4.value
 var respuestas5 =document.Form.respuestas5.value 
 var respuestas6 =document.Form.respuestas6.value 
 var respuestas7 =document.Form.respuestas7.value 
 var respuestas8 =document.Form.respuestas8.value
 var respuestas9 =document.Form.respuestas9.value 
 var respuestas10 =document.Form.respuestas10.value 
 var respuestas11 =document.Form.respuestas11.value 
 var respuestas12 =document.Form.respuestas12.value
 var respuestas13 =document.Form.respuestas13.value 
 var respuestas14 =document.Form.respuestas14.value 
 var respuestas15 =document.Form.respuestas15.value 
 var respuestas16 =document.Form.respuestas16.value
 var respuestas17 =document.Form.respuestas17.value 
 var respuestas18 =document.Form.respuestas18.value 
 var respuestas19 =document.Form.respuestas19.value 
 var respuestas20 =document.Form.respuestas20.value

 
if (respuestas1 == ''){ 
alert('Le falta la pregunta nº 1 por responder. ')
 theForm.respuestas1.focus(theForm);
return false 
    } 
if (respuestas2 == ''){ 
alert('Le falta la pregunta nº 2  por responder. ')
 theForm.respuestas2.focus(theForm);
return false 
    } 
if (respuestas3 == ''){ 
alert('Le falta la pregunta nº 3  por responder. ')
 theForm.respuestas3.focus(theForm);
return false 
    } 
if (respuestas4 == ''){ 
alert('Le falta la pregunta nº 4 por responder. ')
 theForm.respuestas4.focus(theForm);
return false 
    } 
 if (respuestas5 == ''){ 
alert('Le falta la pregunta nº 5 por responder. ')
 theForm.respuestas5.focus(theForm);
return false 
    } 
if (respuestas6 == ''){ 
alert('Le falta la pregunta nº 6 por responder. ')
 theForm.respuestas6.focus(theForm);
return false 
    } 
if (respuestas7 == ''){ 
alert('Le falta la pregunta nº 7 por responder. ')
 theForm.respuestas7.focus(theForm);
return false 
    } 
if (respuestas8 == ''){ 
alert('Le falta la pregunta nº 8 por responder. ')
 theForm.respuestas8.focus(theForm);
return false 
    } 
if (respuestas9 == ''){ 
alert('Le falta la pregunta nº 9 por responder. ')
 theForm.respuestas9.focus(theForm);
return false 
    } 
if (respuestas10 == ''){ 
alert('Le falta la pregunta nº 10 por responder. ')
 theForm.respuestas10.focus(theForm);
return false 
    } 
if (respuestas11 == ''){ 
alert('Le falta la pregunta nº 11 por responder. ')
 theForm.respuestas11.focus(theForm);
return false 
    } 
if (respuestas12 == ''){ 
alert('Le falta la pregunta nº 12 por responder. ')
 theForm.respuestas12.focus(theForm);
return false 
    } 
if (respuestas13 == ''){ 
alert('Le falta la pregunta nº 13  por responder. ')
 theForm.respuestas13.focus(theForm);
return false 
    } 
if (respuestas14 == ''){ 
alert('Le falta la pregunta nº 14 por responder. ')
 theForm.respuestas14.focus(theForm);
return false 
    } 
if (respuestas15 == ''){ 
alert('Le falta la pregunta nº 15 por responder. ')
 theForm.respuestas15.focus(theForm);
return false 
    } 
if (respuestas16 == ''){ 
alert('Le falta la pregunta nº 16 por responder. ')
 theForm.respuestas16.focus(theForm);
return false 
    } 
if (respuestas17 == ''){ 
alert('Le falta la pregunta nº 17 por responder. ')
 theForm.respuestas17.focus(theForm);
return false 
    } 
if (respuestas18 == ''){ 
alert('Le falta la pregunta nº 18 por responder. ')
 theForm.respuestas18.focus(theForm);
return false 
    } 
if (respuestas19 == ''){ 
alert('Le falta la pregunta nº 19 por responder. ')
 theForm.respuestas19.focus(theForm);
return false 
    } 
// Abrimos la Ventana
  
  window.open('', 'processor_window', 'width=700,height=500,scrollbars=yes,toolbar=no,statebar=no');
  theForm.target ='processor_window'
 return true;   
} 

function chequeapregunta2(theForm)
{
 var respuestas1 =document.Form.respuestas1.value 
 var respuestas2 =document.Form.respuestas2.value 
 var respuestas3 =document.Form.respuestas3.value 
 var respuestas4 =document.Form.respuestas4.value
 var respuestas5 =document.Form.respuestas5.value 
 var respuestas6 =document.Form.respuestas6.value 
 var respuestas7 =document.Form.respuestas7.value 
 var respuestas8 =document.Form.respuestas8.value
 var respuestas9 =document.Form.respuestas9.value 
 var respuestas10 =document.Form.respuestas10.value 
 var respuestas11 =document.Form.respuestas11.value 
 var respuestas12 =document.Form.respuestas12.value
 var respuestas13 =document.Form.respuestas13.value 
 var respuestas14 =document.Form.respuestas14.value 
 var respuestas15 =document.Form.respuestas15.value 
 var respuestas16 =document.Form.respuestas16.value
 var respuestas17 =document.Form.respuestas17.value 
 var respuestas18 =document.Form.respuestas18.value 
 var respuestas19 =document.Form.respuestas19.value 
 var respuestas20 =document.Form.respuestas20.value
if (respuestas1 == ''){ 
alert('Le falta la pregunta nº 21 por responder. ')
 theForm.respuestas1.focus(theForm);
return false 
    } 
if (respuestas2 == ''){ 
alert('Le falta la pregunta nº 22  por responder. ')
 theForm.respuestas2.focus(theForm);
return false 
    } 
if (respuestas3 == ''){ 
alert('Le falta la pregunta nº 23  por responder. ')
 theForm.respuestas3.focus(theForm);
return false 
    } 
if (respuestas4 == ''){ 
alert('Le falta la pregunta nº 24 por responder. ')
 theForm.respuestas4.focus(theForm);
return false 
    } 
 if (respuestas5 == ''){ 
alert('Le falta la pregunta nº 25 por responder. ')
 theForm.respuestas5.focus(theForm);
return false 
    } 
if (respuestas6 == ''){ 
alert('Le falta la pregunta nº 26 por responder. ')
 theForm.respuestas6.focus(theForm);
return false 
    } 
if (respuestas7 == ''){ 
alert('Le falta la pregunta nº 27 por responder. ')
 theForm.respuestas7.focus(theForm);
return false 
    } 
if (respuestas8 == ''){ 
alert('Le falta la pregunta nº 28 por responder. ')
 theForm.respuestas8.focus(theForm);
return false 
    } 
if (respuestas9 == ''){ 
alert('Le falta la pregunta nº 29 por responder. ')
 theForm.respuestas9.focus(theForm);
return false 
    } 
if (respuestas10 == ''){ 
alert('Le falta la pregunta nº 30 por responder. ')
 theForm.respuestas10.focus(theForm);
return false 
    } 
if (respuestas11 == ''){ 
alert('Le falta la pregunta nº 31 por responder. ')
 theForm.respuestas11.focus(theForm);
return false 
    } 
if (respuestas12 == ''){ 
alert('Le falta la pregunta nº 32 por responder. ')
 theForm.respuestas12.focus(theForm);
return false 
    } 
if (respuestas13 == ''){ 
alert('Le falta la pregunta nº 33  por responder. ')
 theForm.respuestas13.focus(theForm);
return false 
    } 
if (respuestas14 == ''){ 
alert('Le falta la pregunta nº 34 por responder. ')
 theForm.respuestas14.focus(theForm);
return false 
    } 
if (respuestas15 == ''){ 
alert('Le falta la pregunta nº 35 por responder. ')
 theForm.respuestas15.focus(theForm);
return false 
    } 
if (respuestas16 == ''){ 
alert('Le falta la pregunta nº 36 por responder. ')
 theForm.respuestas16.focus(theForm);
return false 
    } 
if (respuestas17 == ''){ 
alert('Le falta la pregunta nº 37 por responder. ')
 theForm.respuestas17.focus(theForm);
return false 
    } 
if (respuestas18 == ''){ 
alert('Le falta la pregunta nº 38 por responder. ')
 theForm.respuestas18.focus(theForm);
return false 
    } 
if (respuestas19 == ''){ 
alert('Le falta la pregunta nº 39 por responder. ')
 theForm.respuestas19.focus(theForm);
return false 
    } 
if (respuestas20 == ''){ 
alert('Le falta la pregunta nº 40 por responder. ')
 theForm.respuestas20.focus(theForm);
return false 
    } 
    
    // Abrimos la Ventana
  
  window.open('', 'processor_window', 'width=700,height=500,scrollbars=yes,toolbar=no,statebar=no');
  theForm.target ='processor_window'
 return true;   
} 


 var i = 0; winSize = 200;
 openMsg = "[Vista Rápida]";
 closeMsg = "[Cerrar Vista]";
 function QuadroPreview(url)
 { var win = document.all['if'+url.id]; if(url.innerText == openMsg)
 { if(win) { win.style.height = winSize; win.style.visibility = 'visible'; win.src = url.href;
 } else url.insertAdjacentHTML('AfterEnd', '<IFRAME id=if'+url.id+' width=90% height='+winSize+ ' SRC="'+url.href+'" ></IFRAME>');
  url.innerText = closeMsg;
   }
    else { if(win) { win.style.visibility = 'hidden'; win.style.height = 0; url.innerText = openMsg; win.src = 'about:parent';
     }
      }
       }
        function contId()
         { i++; return i;
           }


//STOP HIDING -->

