var jso174540 = {"properties":[]};  
    $jq.extend(jso174540,{"simplefields":[{"name":"NAME","value":"Contáctanos"},{"name":"URL","value":"contactar.jsp"},{"name":"ACCESSKEY"},{"name":"TEXT"},{"name":"LINKTYPE","value":false},{"name":"FILESIZE"},{"name":"EXTENTION"},{"name":"ISPROTECTED","value":false},{"name":"PROTECTED_OBJECT"},{"name":"DOMAIN"},{"name":"RIGHT_ALIGN","value":false}]});  
      
    jso174540["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso174538 = {"simplefields":[{"name":"NAME"},{"name":"DATAID","value":"174622"},{"name":"DESCRIPTION_DATAID","value":"ROC Contacto (ROC)"},{"name":"EVENTS","value":["ncmValueChange"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso174538["complexfields"] = jso_complexfields; 
						jso174540["RELATIONS"].push(jso174538); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["174622"]){  
						ncm.customEventsTriggers["174622"] = [];  
					}  
					ncm.customEventsTriggers["174622"].push(174540);
var jso148270 = {"properties":[]};  
    $jq.extend(jso148270,{"simplefields":[{"name":"NAME","value":"Tenerife - Mayorazgo"},{"name":"POLY_COORDS","value":"142,54,4"},{"name":"SHAPE","value":"circle"}]});  
      
    jso148270["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso148268 = {"simplefields":[{"name":"NAME","value":"ROC"},{"name":"DATAID","value":"155186"},{"name":"DESCRIPTION_DATAID","value":"Content - Delegación El Mayorazgo (ROC)"},{"name":"EVENTS","value":["ncmRollover"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso148268["complexfields"] = jso_complexfields; 
						jso148270["RELATIONS"].push(jso148268); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["155186"]){  
						ncm.customEventsTriggers["155186"] = [];  
					}  
					ncm.customEventsTriggers["155186"].push(148270);
var jso148273 = {"properties":[]};  
    $jq.extend(jso148273,{"simplefields":[{"name":"NAME","value":"Tenerife - Orotava"},{"name":"POLY_COORDS","value":"125,61,4"},{"name":"SHAPE","value":"circle"}]});  
      
    jso148273["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso148271 = {"simplefields":[{"name":"NAME","value":"ROC"},{"name":"DATAID","value":"155188"},{"name":"DESCRIPTION_DATAID","value":"Content - Delegación Tenerife Orotava (ROC)"},{"name":"EVENTS","value":["ncmRollover"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso148271["complexfields"] = jso_complexfields; 
						jso148273["RELATIONS"].push(jso148271); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["155188"]){  
						ncm.customEventsTriggers["155188"] = [];  
					}  
					ncm.customEventsTriggers["155188"].push(148273);
var jso148276 = {"properties":[]};  
    $jq.extend(jso148276,{"simplefields":[{"name":"NAME","value":"Tenerife - Las Chafiras"},{"name":"POLY_COORDS","value":"125,81,4"},{"name":"SHAPE","value":"circle"}]});  
      
    jso148276["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso148274 = {"simplefields":[{"name":"NAME","value":"ROC"},{"name":"DATAID","value":"155189"},{"name":"DESCRIPTION_DATAID","value":"Content - Delegación Tenerife Las Chafiras (ROC)"},{"name":"EVENTS","value":["ncmRollover"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso148274["complexfields"] = jso_complexfields; 
						jso148276["RELATIONS"].push(jso148274); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["155189"]){  
						ncm.customEventsTriggers["155189"] = [];  
					}  
					ncm.customEventsTriggers["155189"].push(148276);
var jso148279 = {"properties":[]};  
    $jq.extend(jso148279,{"simplefields":[{"name":"NAME","value":"Fuerteventura"},{"name":"POLY_COORDS","value":"159,143,4"},{"name":"SHAPE","value":"circle"}]});  
      
    jso148279["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso148277 = {"simplefields":[{"name":"NAME","value":"ROC"},{"name":"DATAID","value":"155190"},{"name":"DESCRIPTION_DATAID","value":"Content - Delegación Fuerteventura (ROC)"},{"name":"EVENTS","value":["ncmRollover"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso148277["complexfields"] = jso_complexfields; 
						jso148279["RELATIONS"].push(jso148277); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["155190"]){  
						ncm.customEventsTriggers["155190"] = [];  
					}  
					ncm.customEventsTriggers["155190"].push(148279);
var jso148282 = {"properties":[]};  
    $jq.extend(jso148282,{"simplefields":[{"name":"NAME","value":"Gran Canaria"},{"name":"POLY_COORDS","value":"56,161,4"},{"name":"SHAPE","value":"circle"}]});  
      
    jso148282["RELATIONS"] = [];  
      
          
			  
				 
					try { 
						var jso148280 = {"simplefields":[{"name":"NAME","value":"ROC"},{"name":"DATAID","value":"155187"},{"name":"DESCRIPTION_DATAID","value":"Content - Delegación Gran Canaria (ROC)"},{"name":"EVENTS","value":["ncmRollover"]},{"name":"SOURCE_DATASOURCE"},{"name":"DEST_DATASOURCE"}]}; 
						var jso_complexfields = []; 
						 
						jso148280["complexfields"] = jso_complexfields; 
						jso148282["RELATIONS"].push(jso148280); 
					} catch(err) {alert(err);} 
					if(!ncm.customEventsTriggers["155187"]){  
						ncm.customEventsTriggers["155187"] = [];  
					}  
					ncm.customEventsTriggers["155187"].push(148282);
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-document.getElementById("page").offsetLeft-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()+"px");
}
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-document.getElementById("page").offsetLeft-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()+"px");
}
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-document.getElementById("page").offsetLeft-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()+"px");
}
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-document.getElementById("page").offsetLeft-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()+"px");
}
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-document.getElementById("page").offsetLeft-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()+"px");
}
var jso273189 = {"simplefields":[{"name":"SITE","value":"www.archiauto.com"}],"datatype":"GOOGLE_SITE_SEARCH","dataid":273189}; 
       
    jso273189["RELATIONS"] = [];   
       
	     
		   
		      
			  try {  
				var jso273195 = {"simplefields":[]};  
				var jso_cf = [];  
				  
				jso273195["complexfields"] = jso_cf;  
				jso273189["RELATIONS"].push(jso273195);  
			  } catch(err) {alert(err);}  
			  if(!ncm.customEventsTriggers["273191"]){   
				ncm.customEventsTriggers["273191"] = [];   
			  }   
			  ncm.customEventsTriggers["273191"].push(273189);
var googleSiteSearchInitialized = false;  
    var searchControl = null;   
    function cseLoaded() {     
	  searchControl = new google.search.SearchControl();   
	  var siteSearch = new google.search.WebSearch();   
	  siteSearch.setSiteRestriction("www.archiauto.com");   
	  var options = new google.search.SearcherOptions();   
	  options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);   
	  searchControl.addSearcher(siteSearch,options);   
	  var drawOptions = new google.search.DrawOptions();   
	  drawOptions.setDrawMode( google.search.SearchControl.DRAW_MODE_LINEAR );  
	  var cse_helper = $jq(ncm.concat("<","div id='cse_helper'",">","<","\/div",">"));  
	  drawOptions.setSearchFormRoot(cse_helper[0]);  
	  searchControl.draw(document.getElementById("gsearch-results"),drawOptions);   
	  searchControl.execute(document.getElementById('fake-gsc-input').value);   
	  googleSiteSearchInitialized = true;   
    }
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        $jq("#page-disabling-mask").hide();
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()-8+"px");
}
var jso56315 = {"properties":[{"name":"css_panel","value":"lib/jquery-login-panel/css/loginpanel.css"},{"name":"js_panel","value":"lib/jquery-login-panel/js/loginpanel.js"},{"name":"js_png_fix","value":"lib/jquery-login-panel/js/pngfix/supersleight-min.js"},{"name":"jsp_panel","value":"lib/jquery-login-panel/jsp/loginpanel.jsp"},{"name":"lang_text_default","value":"Bienvenido visitante!"},{"name":"lang_login_register"},{"name":"lang_close","value":"Cerrar"},{"name":"lang_close_session","value":"Cerrar sesión"},{"name":"lang_login_title","value":"Entrada de Usuario"},{"name":"lang_username","value":"Usuario"},{"name":"lang_password","value":"Contraseña"},{"name":"lang_remember","value":"Recordarme"},{"name":"lang_lost_password","value":"¿Olvidaste su contraseña?"},{"name":"lang_login","value":"Entrar"},{"name":"lang_username_empty","value":"Tiene que introducor el nombre de usuario"},{"name":"lang_password_empty","value":"Tiene que introducir su contraseña"},{"name":"lang_not_active","value":"Su cuenta de usuario no está activada"},{"name":"lang_not_found","value":"Usuario con este nombre o contraseña no existe"},{"name":"lang_welcome","value":"Bienvenido"},{"name":"lang_error_close_session","value":"No puedo cerrar la sesión de usuario"},{"name":"lang_forgot_title","value":"Olvidé mi contraseña"},{"name":"lang_mail","value":"Email"},{"name":"lang_send","value":"Enviar"},{"name":"lang_return","value":"Volver"},{"name":"lang_project_title","value":"BaseProject"},{"name":"lang_not_send","value":"No puedo enviar el correo con su contraseña nueva"},{"name":"lang_send_ok","value":"Hemos enviado el correo con su nueva contraseña a su email"},{"name":"lang_mail_no_user","value":"Usuario con este email no ha sido encontrado"}]};  
    $jq.extend(jso56315,{"simplefields":[{"name":"NAME","value":"Panel de Login"},{"name":"DATASOURCE1","value":"82"},{"name":"DATASOURCE2","value":"69"},{"name":"DATASOURCE3"},{"name":"EMAIL_TITLE"},{"name":"EMAIL_SUBJECT"},{"name":"EMAIL_TEXT"}]});  
      
    jso56315["RELATIONS"] = [];
$jq(function(){  
	      var options = {   
    datatype: "LOGIN_PANEL",   
    language: "ES",   
    jsp_utils: "components/components-utils.jsp",   
    pageUrl: "vehiculos_comerciales.jsp",   
    channel: "DEFAULT",   
    inPreview: false,   
    issueId: 3,  
    skin: "func_init_properties",  
    json: jso56315   
};   
if(window["NcmLoginPanel"]){   
    NcmLoginPanel.initProperties(options);   
}  
	  });
function hidePopup( rocid ){
        if ( $jq(rocid).data("blocked")==undefined || ! $jq(rocid).data("blocked") ){
                $jq( rocid ).hide("slow");
	        $jq("#page-disabling-mask").hide();
        }
}
function placePopup( selector, e ){
  /*if ( ( e.clientX + $jq(selector).width() ) > ( window.innerWidth - 100 ) ){*/
      $jq(selector).css("left", e.clientX-$jq(selector).width()-60+"px");
  /*} else {
      $jq(selector).css("left", e.clientX+10+"px");
  }*/
  /*$jq(selector).css("top", e.clientY+10+"px");*/
  $jq(selector).css("top", e.clientY-$jq(selector).height()-8+"px");
}
$jq(function(){ 
	      $jq("div.illustrated-text a[href^=http://]").attr("target","_blank"); 
	  });
if(jso174540["RELATIONS"].length>0){ 
	      $jq(function(){ 
		    $jq("#link174540").click(function(e){ 
			  ncm.triggerEvent(ncm.customEvents["ncmValueChange"],["",174540]); 
			  e.preventDefault(); 
			  return false; 
		    }); 
	      }); 
	  }
if(jso148270["RELATIONS"].length>0){
      
      
      $jq(function(){ 
	    $jq("#img_area_148270").mouseover(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRollover"],["", 148270,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
	    $jq("#img_area_148270").mouseout(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRolloverOut"],["", 148270,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
      });
      
  }
if(jso148273["RELATIONS"].length>0){
      
      
      $jq(function(){ 
	    $jq("#img_area_148273").mouseover(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRollover"],["", 148273,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
	    $jq("#img_area_148273").mouseout(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRolloverOut"],["", 148273,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
      });
      
  }
if(jso148276["RELATIONS"].length>0){
      
      
      $jq(function(){ 
	    $jq("#img_area_148276").mouseover(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRollover"],["", 148276,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
	    $jq("#img_area_148276").mouseout(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRolloverOut"],["", 148276,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
      });
      
  }
if(jso148279["RELATIONS"].length>0){
      
      
      $jq(function(){ 
	    $jq("#img_area_148279").mouseover(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRollover"],["", 148279,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
	    $jq("#img_area_148279").mouseout(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRolloverOut"],["", 148279,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
      });
      
  }
if(jso148282["RELATIONS"].length>0){
      
      
      $jq(function(){ 
	    $jq("#img_area_148282").mouseover(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRollover"],["", 148282,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
	    $jq("#img_area_148282").mouseout(function(e){ 
		  ncm.triggerEvent(ncm.customEvents["ncmRolloverOut"],["", 148282,e ]);
		  e.preventDefault(); 
		  return false; 
	    });
      });
      
  }
$jq(function(){ 
	      $jq("#roc155186").mouseover( function(e){ 
			$jq(this).data("blocked",true);
		});
	      $jq("#roc155186").mouseout( function(e){ 
			$jq(this).data("blocked",false);
		      setTimeout('hidePopup( "#roc155186" )',500);
		});
		$jq("#roc155186 .floating-roc-close").click( function(e){ 
			$jq(this).parent().parent().hide("slow"); 
			
		}); 
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmValueChange"], 
				"#roc155186", 
				155186, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155186",e); 
				      $jq("#roc155186").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRollover"], 
				"#roc155186", 
				155186, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155186",e); 
				      $jq("#roc155186").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRolloverOut"], 
				"#roc155186", 
				155186, 
				function(eventName,params,e){
					    setTimeout('hidePopup( "#roc155186" )',500);
				}
			)
        });
$jq(function(){ 
	      $jq("#link112869").click( function(){ window.location.href='formulario_cita_previa_im.jsp' } ); 
	  });
$jq(function(){ 
	      $jq("#roc155187").mouseover( function(e){ 
			$jq(this).data("blocked",true);
		});
	      $jq("#roc155187").mouseout( function(e){ 
			$jq(this).data("blocked",false);
		      setTimeout('hidePopup( "#roc155187" )',500);
		});
		$jq("#roc155187 .floating-roc-close").click( function(e){ 
			$jq(this).parent().parent().hide("slow"); 
			
		}); 
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmValueChange"], 
				"#roc155187", 
				155187, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155187",e); 
				      $jq("#roc155187").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRollover"], 
				"#roc155187", 
				155187, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155187",e); 
				      $jq("#roc155187").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRolloverOut"], 
				"#roc155187", 
				155187, 
				function(eventName,params,e){
					    setTimeout('hidePopup( "#roc155187" )',500);
				}
			)
        });
$jq(function(){ 
	      $jq("#link112922").click( function(){ window.location.href='formulario_cita_previa_im.jsp' } ); 
	  });
$jq(function(){ 
	      $jq("#roc155188").mouseover( function(e){ 
			$jq(this).data("blocked",true);
		});
	      $jq("#roc155188").mouseout( function(e){ 
			$jq(this).data("blocked",false);
		      setTimeout('hidePopup( "#roc155188" )',500);
		});
		$jq("#roc155188 .floating-roc-close").click( function(e){ 
			$jq(this).parent().parent().hide("slow"); 
			
		}); 
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmValueChange"], 
				"#roc155188", 
				155188, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155188",e); 
				      $jq("#roc155188").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRollover"], 
				"#roc155188", 
				155188, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155188",e); 
				      $jq("#roc155188").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRolloverOut"], 
				"#roc155188", 
				155188, 
				function(eventName,params,e){
					    setTimeout('hidePopup( "#roc155188" )',500);
				}
			)
        });
$jq(function(){ 
	      $jq("#link112925").click( function(){ window.location.href='formulario_cita_previa_im.jsp' } ); 
	  });
$jq(function(){ 
	      $jq("#roc155189").mouseover( function(e){ 
			$jq(this).data("blocked",true);
		});
	      $jq("#roc155189").mouseout( function(e){ 
			$jq(this).data("blocked",false);
		      setTimeout('hidePopup( "#roc155189" )',500);
		});
		$jq("#roc155189 .floating-roc-close").click( function(e){ 
			$jq(this).parent().parent().hide("slow"); 
			
		}); 
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmValueChange"], 
				"#roc155189", 
				155189, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155189",e); 
				      $jq("#roc155189").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRollover"], 
				"#roc155189", 
				155189, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155189",e); 
				      $jq("#roc155189").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRolloverOut"], 
				"#roc155189", 
				155189, 
				function(eventName,params,e){
					    setTimeout('hidePopup( "#roc155189" )',500);
				}
			)
        });
$jq(function(){ 
	      $jq("#link112928").click( function(){ window.location.href='formulario_cita_previa_im.jsp' } ); 
	  });
$jq(function(){ 
	      $jq("#roc155190").mouseover( function(e){ 
			$jq(this).data("blocked",true);
		});
	      $jq("#roc155190").mouseout( function(e){ 
			$jq(this).data("blocked",false);
		      setTimeout('hidePopup( "#roc155190" )',500);
		});
		$jq("#roc155190 .floating-roc-close").click( function(e){ 
			$jq(this).parent().parent().hide("slow"); 
			
		}); 
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmValueChange"], 
				"#roc155190", 
				155190, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155190",e); 
				      $jq("#roc155190").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRollover"], 
				"#roc155190", 
				155190, 
				function(eventName,params,e){ 
					 
					placePopup("#roc155190",e); 
				      $jq("#roc155190").show("slow"); 
				}
			);
			ncm.bindCustomEventForSelector( 
				ncm.customEvents["ncmRolloverOut"], 
				"#roc155190", 
				155190, 
				function(eventName,params,e){
					    setTimeout('hidePopup( "#roc155190" )',500);
				}
			)
        });
$jq(function(){ 
	      $jq("#link112931").click( function(){ window.location.href='formulario_cita_previa_im.jsp' } ); 
	  });
$jq(function(){ 
	  $jq("#main-menu-item-580").attr("class", "selected");

	  var divPopup=document.getElementById('roc344222');
	  if(divPopup) {
    	 $jq("#page-disabling-mask").show();   
           centerDiv( "#roc344222",714,261 );
           $jq("#roc344222").show();
	  }
    });
$jq(function(){   
	  $jq("div#cse form").submit(function(){   
	      if(window["google"] && window["google"]["search"]){   
		    if(!googleSiteSearchInitialized){   
			  cseLoaded();   
		    } else {  
			  searchControl.execute(document.getElementById('fake-gsc-input').value);  
		    }  
	      } else {   
		    google.load("search","1",{"callback":cseLoaded});   
	      }   
	      ncm.triggerEvent(ncm.customEvents["ncmValueChange"],["",273189]);  
	      return false;   
	  });   
	  $jq("div#cse input#fake-gsc-input").focus(function () {   
	      $jq(this).val("");   
	  });   
    });
$jq(function(){ 
	  $jq("div.form-search input.text-search").focus(function () { 
	      $jq("div.form-search input.text-search").val(""); 
	  }); 
    });
$jq(function(){  
		$jq("#roc273191 .floating-roc-close").click( function(e){  
			$jq(this).closest(".floating-roc").hide("slow"); 

			$jq("#page-disabling-mask").hide();  
		});
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmValueChange"], "#roc273191", 273191, function(e){
			$jq("#page-disabling-mask").show();
			
		        $jq("#roc273191").show("slow"); 
		}); 
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmSuccess"], "#roc273191", 273191, function(e){
		    $jq("#roc273191").hide("slow"); 
		}); 
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmError"], "#roc273191", 273191, function(e){
		    $jq("#roc273191").hide("slow"); 
		}); 
	});
$jq(function(){ 
	      try { NcmLoginPanel.register(56315,jso56315); } catch(mErr){}  
	  });
$jq(function(){  
		$jq("#roc174622 .floating-roc-close").click( function(e){  
			$jq(this).closest(".floating-roc").hide("slow"); 

			$jq("#page-disabling-mask").hide();  
		});
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmValueChange"], "#roc174622", 174622, function(e){
			$jq("#page-disabling-mask").show();
			centerDiv( "#roc174622",500,500);
		        $jq("#roc174622").show("slow"); 
		}); 
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmSuccess"], "#roc174622", 174622, function(e){
		    $jq("#roc174622").hide("slow"); 
		}); 
                ncm.bindCustomEventForSelector(ncm.customEvents["ncmError"], "#roc174622", 174622, function(e){
		    $jq("#roc174622").hide("slow"); 
		}); 
	});

