// JavaScript Document

//derechos reservados//
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert("C.C. Luz y Vida ® © 2011");
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("C.C. Luz y Vida ® © 2011. Prohibida la reproducción total o parcial de cualquier parte de esta obra");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;

//Menu Spry//
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../website/SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../website/SpryAssets/SpryMenuBarRightHover.gif"});
//fin de Menu Spry//

//abrir ventana nueva con cierto tamaño//
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//fin de abrir ventana nueva con cierto tamaño//

//mensaje emergente//
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//fin de mensaje emergente//
