commit 513966d8fb314eeec2913b8df53cf8d1a0468150 Author: david Date: Thu Aug 27 17:17:45 2009 +0000 git-svn-id: https://192.168.0.254/svn/Proyectos.Miguelo_Web/trunk@1 ec840e86-4cc9-48bc-81da-089286ec179e diff --git a/src/AcercaDe.htm b/src/AcercaDe.htm new file mode 100644 index 0000000..576367f --- /dev/null +++ b/src/AcercaDe.htm @@ -0,0 +1,51 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + +
+ +
+

Nuestra empresa es un proyecto familiar nacido de la ilusión y el esfuerzo de muchos años de experiencia en este sector.

+

 

+

+

 

+

Ofrecemos un trabajo profesional cargado de ideas con un personal joven y emprendedor, que dota de distinción y frescura nuestros proyectos.

+

Seguimos las tendencias actuales uniéndolas a la funcionalidad necesaria para nuestra vida cotidiana.

+

Diseñamos para particulares, constructoras, decoradores,... dando un trato personalizado y adaptándonos a las necesidades de cada cliente ofreciendo la mejor propuesta para cada espacio.

+

Después de muchos años, hemos llegado a la conclusión de que el complemento perfecto para un proyecto ideal, es un buen montaje.

+
+
+ + + + + + diff --git a/src/Armarios.htm b/src/Armarios.htm new file mode 100644 index 0000000..d1f1340 --- /dev/null +++ b/src/Armarios.htm @@ -0,0 +1,59 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

ARMARIOS

+

 

Armario Serie Perseo. Lacado Hueso - Cristal Lacado Color Tabaco

+ +

 

Armario Serie Lira. Lacado Hueso con Cristal y Cortinilla

+ +

 

Armario Serie Argo. Lacado Gris Estriado

+ +

 

Armario Serie Cronos. Melamina Arena y Cristal Lacado Color Tabaco

+ +

 

Armario Serie Argo. Lacado Blanco

+ +

 

+ +

 

+ +

 

+
+
+ + + + diff --git a/src/Armarios/Armario1.jpg b/src/Armarios/Armario1.jpg new file mode 100644 index 0000000..4fdb164 Binary files /dev/null and b/src/Armarios/Armario1.jpg differ diff --git a/src/Armarios/Armario1p.jpg b/src/Armarios/Armario1p.jpg new file mode 100644 index 0000000..511fa2d Binary files /dev/null and b/src/Armarios/Armario1p.jpg differ diff --git a/src/Armarios/Armario2.jpg b/src/Armarios/Armario2.jpg new file mode 100644 index 0000000..40ae111 Binary files /dev/null and b/src/Armarios/Armario2.jpg differ diff --git a/src/Armarios/Armario2p.jpg b/src/Armarios/Armario2p.jpg new file mode 100644 index 0000000..e6ce816 Binary files /dev/null and b/src/Armarios/Armario2p.jpg differ diff --git a/src/Armarios/Armario3.jpg b/src/Armarios/Armario3.jpg new file mode 100644 index 0000000..919ed10 Binary files /dev/null and b/src/Armarios/Armario3.jpg differ diff --git a/src/Armarios/Armario3p.jpg b/src/Armarios/Armario3p.jpg new file mode 100644 index 0000000..5a110aa Binary files /dev/null and b/src/Armarios/Armario3p.jpg differ diff --git a/src/Armarios/Armario4.jpg b/src/Armarios/Armario4.jpg new file mode 100644 index 0000000..5ef27d7 Binary files /dev/null and b/src/Armarios/Armario4.jpg differ diff --git a/src/Armarios/Armario4p.jpg b/src/Armarios/Armario4p.jpg new file mode 100644 index 0000000..6011d57 Binary files /dev/null and b/src/Armarios/Armario4p.jpg differ diff --git a/src/Armarios/Armario5.jpg b/src/Armarios/Armario5.jpg new file mode 100644 index 0000000..87895f0 Binary files /dev/null and b/src/Armarios/Armario5.jpg differ diff --git a/src/Armarios/Armario5p.jpg b/src/Armarios/Armario5p.jpg new file mode 100644 index 0000000..b91a519 Binary files /dev/null and b/src/Armarios/Armario5p.jpg differ diff --git a/src/Armarios/Armario6.jpg b/src/Armarios/Armario6.jpg new file mode 100644 index 0000000..4741d27 Binary files /dev/null and b/src/Armarios/Armario6.jpg differ diff --git a/src/Armarios/Armario6p.jpg b/src/Armarios/Armario6p.jpg new file mode 100644 index 0000000..bf953c8 Binary files /dev/null and b/src/Armarios/Armario6p.jpg differ diff --git a/src/Armarios/Armario7.jpg b/src/Armarios/Armario7.jpg new file mode 100644 index 0000000..f09a4cb Binary files /dev/null and b/src/Armarios/Armario7.jpg differ diff --git a/src/Armarios/Armario7p.jpg b/src/Armarios/Armario7p.jpg new file mode 100644 index 0000000..1ff5007 Binary files /dev/null and b/src/Armarios/Armario7p.jpg differ diff --git a/src/Armarios/Thumbs.db b/src/Armarios/Thumbs.db new file mode 100644 index 0000000..44f316c Binary files /dev/null and b/src/Armarios/Thumbs.db differ diff --git a/src/Armarios/promo/Armario1.jpg b/src/Armarios/promo/Armario1.jpg new file mode 100644 index 0000000..4aa3c97 Binary files /dev/null and b/src/Armarios/promo/Armario1.jpg differ diff --git a/src/Armarios/promo/Armario2.jpg b/src/Armarios/promo/Armario2.jpg new file mode 100644 index 0000000..1083b44 Binary files /dev/null and b/src/Armarios/promo/Armario2.jpg differ diff --git a/src/Armarios/promo/Armariog1.jpg b/src/Armarios/promo/Armariog1.jpg new file mode 100644 index 0000000..c9ccd27 Binary files /dev/null and b/src/Armarios/promo/Armariog1.jpg differ diff --git a/src/Armarios/promo/Armariog2.jpg b/src/Armarios/promo/Armariog2.jpg new file mode 100644 index 0000000..01fc7e7 Binary files /dev/null and b/src/Armarios/promo/Armariog2.jpg differ diff --git a/src/ArmariosPromo.htm b/src/ArmariosPromo.htm new file mode 100644 index 0000000..de6cf1f --- /dev/null +++ b/src/ArmariosPromo.htm @@ -0,0 +1,42 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN ARMARIOS VÁLIDA OCTUBRE Y NOVIEMBRE

+

+ +

* Descuento corresponde a frentes rechapados o lacados, resto de materiales consultar

+

+ +

+

+
+
+ + diff --git a/src/Cocinas.htm b/src/Cocinas.htm new file mode 100644 index 0000000..7255f4f --- /dev/null +++ b/src/Cocinas.htm @@ -0,0 +1,98 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

COCINAS

+

 

Cocina Modelo Portocervo. SCIC

+ +

 

Cocina Modelo Marina. Rechapado

+ +

 

Cocina Modelo Montecarlo. SCIC

+ +

 

Cocina Modelo Murano. SCIC

+ +

 

Cocina Modelo Montecarlo. SCIC

+ +

 

Cocina Modelo Yedra. Rechapado

+ +

 

Cocina Modelo Space. Rechapado Combinado

+ +

 

Cocina Modelo Maratea. SCIC

+ +

 

Cocina Modelo Maratea. SCIC

+ +

 

Cocina Modelo Yedra. Lacado Alto Brillo

+ +

 

Cocina Modelo Yedra. Rechapado

+ +

 

Cocina Modelo Montecarlo. SCIC

+ +

 

Cocina Modelo Yedra. Lacado Alto Brillo

+ +

 

Cocina Modelo Yedra. Lacado Alto Brillo

+ +

 

Cocina Modelo Toscana. Madera Roble Oscuro

+ +

 

Cocina Modelo Marina. Rechapado

+ +

 

Cocina Modelo Montecarlo. SCIC

+ +

COMPLEMENTOS

+

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+ + +
+
+ + + + diff --git a/src/Cocinas/Cocina0.jpg b/src/Cocinas/Cocina0.jpg new file mode 100644 index 0000000..e402863 Binary files /dev/null and b/src/Cocinas/Cocina0.jpg differ diff --git a/src/Cocinas/Cocina0p.jpg b/src/Cocinas/Cocina0p.jpg new file mode 100644 index 0000000..c40ea8f Binary files /dev/null and b/src/Cocinas/Cocina0p.jpg differ diff --git a/src/Cocinas/Cocina1.jpg b/src/Cocinas/Cocina1.jpg new file mode 100644 index 0000000..065d4f3 Binary files /dev/null and b/src/Cocinas/Cocina1.jpg differ diff --git a/src/Cocinas/Cocina10.jpg b/src/Cocinas/Cocina10.jpg new file mode 100644 index 0000000..99ba699 Binary files /dev/null and b/src/Cocinas/Cocina10.jpg differ diff --git a/src/Cocinas/Cocina10p.jpg b/src/Cocinas/Cocina10p.jpg new file mode 100644 index 0000000..93271b9 Binary files /dev/null and b/src/Cocinas/Cocina10p.jpg differ diff --git a/src/Cocinas/Cocina11.jpg b/src/Cocinas/Cocina11.jpg new file mode 100644 index 0000000..f558764 Binary files /dev/null and b/src/Cocinas/Cocina11.jpg differ diff --git a/src/Cocinas/Cocina11p.jpg b/src/Cocinas/Cocina11p.jpg new file mode 100644 index 0000000..9b2bc70 Binary files /dev/null and b/src/Cocinas/Cocina11p.jpg differ diff --git a/src/Cocinas/Cocina12.jpg b/src/Cocinas/Cocina12.jpg new file mode 100644 index 0000000..707dc4c Binary files /dev/null and b/src/Cocinas/Cocina12.jpg differ diff --git a/src/Cocinas/Cocina12p.jpg b/src/Cocinas/Cocina12p.jpg new file mode 100644 index 0000000..8f88cfc Binary files /dev/null and b/src/Cocinas/Cocina12p.jpg differ diff --git a/src/Cocinas/Cocina13.jpg b/src/Cocinas/Cocina13.jpg new file mode 100644 index 0000000..08e84b0 Binary files /dev/null and b/src/Cocinas/Cocina13.jpg differ diff --git a/src/Cocinas/Cocina13p.jpg b/src/Cocinas/Cocina13p.jpg new file mode 100644 index 0000000..41abaf4 Binary files /dev/null and b/src/Cocinas/Cocina13p.jpg differ diff --git a/src/Cocinas/Cocina14.jpg b/src/Cocinas/Cocina14.jpg new file mode 100644 index 0000000..e85ac8e Binary files /dev/null and b/src/Cocinas/Cocina14.jpg differ diff --git a/src/Cocinas/Cocina14p.jpg b/src/Cocinas/Cocina14p.jpg new file mode 100644 index 0000000..d722da4 Binary files /dev/null and b/src/Cocinas/Cocina14p.jpg differ diff --git a/src/Cocinas/Cocina15.jpg b/src/Cocinas/Cocina15.jpg new file mode 100644 index 0000000..9a1c8d2 Binary files /dev/null and b/src/Cocinas/Cocina15.jpg differ diff --git a/src/Cocinas/Cocina15p.jpg b/src/Cocinas/Cocina15p.jpg new file mode 100644 index 0000000..587f907 Binary files /dev/null and b/src/Cocinas/Cocina15p.jpg differ diff --git a/src/Cocinas/Cocina1p.jpg b/src/Cocinas/Cocina1p.jpg new file mode 100644 index 0000000..3995c7a Binary files /dev/null and b/src/Cocinas/Cocina1p.jpg differ diff --git a/src/Cocinas/Cocina2.jpg b/src/Cocinas/Cocina2.jpg new file mode 100644 index 0000000..40787e3 Binary files /dev/null and b/src/Cocinas/Cocina2.jpg differ diff --git a/src/Cocinas/Cocina2p.jpg b/src/Cocinas/Cocina2p.jpg new file mode 100644 index 0000000..8c08fdc Binary files /dev/null and b/src/Cocinas/Cocina2p.jpg differ diff --git a/src/Cocinas/Cocina3.jpg b/src/Cocinas/Cocina3.jpg new file mode 100644 index 0000000..be7a714 Binary files /dev/null and b/src/Cocinas/Cocina3.jpg differ diff --git a/src/Cocinas/Cocina3p.jpg b/src/Cocinas/Cocina3p.jpg new file mode 100644 index 0000000..01f5994 Binary files /dev/null and b/src/Cocinas/Cocina3p.jpg differ diff --git a/src/Cocinas/Cocina4.jpg b/src/Cocinas/Cocina4.jpg new file mode 100644 index 0000000..f8a8cac Binary files /dev/null and b/src/Cocinas/Cocina4.jpg differ diff --git a/src/Cocinas/Cocina4p.jpg b/src/Cocinas/Cocina4p.jpg new file mode 100644 index 0000000..594bec5 Binary files /dev/null and b/src/Cocinas/Cocina4p.jpg differ diff --git a/src/Cocinas/Cocina5.jpg b/src/Cocinas/Cocina5.jpg new file mode 100644 index 0000000..2cad421 Binary files /dev/null and b/src/Cocinas/Cocina5.jpg differ diff --git a/src/Cocinas/Cocina5p.jpg b/src/Cocinas/Cocina5p.jpg new file mode 100644 index 0000000..9e2ff0f Binary files /dev/null and b/src/Cocinas/Cocina5p.jpg differ diff --git a/src/Cocinas/Cocina6.jpg b/src/Cocinas/Cocina6.jpg new file mode 100644 index 0000000..a949c7d Binary files /dev/null and b/src/Cocinas/Cocina6.jpg differ diff --git a/src/Cocinas/Cocina6p.jpg b/src/Cocinas/Cocina6p.jpg new file mode 100644 index 0000000..2007fb9 Binary files /dev/null and b/src/Cocinas/Cocina6p.jpg differ diff --git a/src/Cocinas/Cocina7.jpg b/src/Cocinas/Cocina7.jpg new file mode 100644 index 0000000..79e38c8 Binary files /dev/null and b/src/Cocinas/Cocina7.jpg differ diff --git a/src/Cocinas/Cocina7p.jpg b/src/Cocinas/Cocina7p.jpg new file mode 100644 index 0000000..f053be4 Binary files /dev/null and b/src/Cocinas/Cocina7p.jpg differ diff --git a/src/Cocinas/Cocina8.jpg b/src/Cocinas/Cocina8.jpg new file mode 100644 index 0000000..d09ddfc Binary files /dev/null and b/src/Cocinas/Cocina8.jpg differ diff --git a/src/Cocinas/Cocina8p.jpg b/src/Cocinas/Cocina8p.jpg new file mode 100644 index 0000000..6b41898 Binary files /dev/null and b/src/Cocinas/Cocina8p.jpg differ diff --git a/src/Cocinas/Cocina9.jpg b/src/Cocinas/Cocina9.jpg new file mode 100644 index 0000000..7422729 Binary files /dev/null and b/src/Cocinas/Cocina9.jpg differ diff --git a/src/Cocinas/Cocina9p.jpg b/src/Cocinas/Cocina9p.jpg new file mode 100644 index 0000000..81d906a Binary files /dev/null and b/src/Cocinas/Cocina9p.jpg differ diff --git a/src/Cocinas/Complemento1.jpg b/src/Cocinas/Complemento1.jpg new file mode 100644 index 0000000..0c2ac37 Binary files /dev/null and b/src/Cocinas/Complemento1.jpg differ diff --git a/src/Cocinas/Complemento1p.jpg b/src/Cocinas/Complemento1p.jpg new file mode 100644 index 0000000..66eae0f Binary files /dev/null and b/src/Cocinas/Complemento1p.jpg differ diff --git a/src/Cocinas/Complemento2.jpg b/src/Cocinas/Complemento2.jpg new file mode 100644 index 0000000..29f6849 Binary files /dev/null and b/src/Cocinas/Complemento2.jpg differ diff --git a/src/Cocinas/Complemento2p.jpg b/src/Cocinas/Complemento2p.jpg new file mode 100644 index 0000000..6f2127d Binary files /dev/null and b/src/Cocinas/Complemento2p.jpg differ diff --git a/src/Cocinas/Complemento3.jpg b/src/Cocinas/Complemento3.jpg new file mode 100644 index 0000000..4fd3b70 Binary files /dev/null and b/src/Cocinas/Complemento3.jpg differ diff --git a/src/Cocinas/Complemento3p.jpg b/src/Cocinas/Complemento3p.jpg new file mode 100644 index 0000000..0f55477 Binary files /dev/null and b/src/Cocinas/Complemento3p.jpg differ diff --git a/src/Cocinas/Complemento4.jpg b/src/Cocinas/Complemento4.jpg new file mode 100644 index 0000000..bc96a9b Binary files /dev/null and b/src/Cocinas/Complemento4.jpg differ diff --git a/src/Cocinas/Complemento4p.jpg b/src/Cocinas/Complemento4p.jpg new file mode 100644 index 0000000..c3f854c Binary files /dev/null and b/src/Cocinas/Complemento4p.jpg differ diff --git a/src/Cocinas/Complemento5.jpg b/src/Cocinas/Complemento5.jpg new file mode 100644 index 0000000..6a34306 Binary files /dev/null and b/src/Cocinas/Complemento5.jpg differ diff --git a/src/Cocinas/Complemento5p.jpg b/src/Cocinas/Complemento5p.jpg new file mode 100644 index 0000000..e290ecd Binary files /dev/null and b/src/Cocinas/Complemento5p.jpg differ diff --git a/src/Cocinas/Complemento6.jpg b/src/Cocinas/Complemento6.jpg new file mode 100644 index 0000000..bcbd9f9 Binary files /dev/null and b/src/Cocinas/Complemento6.jpg differ diff --git a/src/Cocinas/Complemento6p.jpg b/src/Cocinas/Complemento6p.jpg new file mode 100644 index 0000000..02d3e92 Binary files /dev/null and b/src/Cocinas/Complemento6p.jpg differ diff --git a/src/Cocinas/Complemento7.jpg b/src/Cocinas/Complemento7.jpg new file mode 100644 index 0000000..60ff16f Binary files /dev/null and b/src/Cocinas/Complemento7.jpg differ diff --git a/src/Cocinas/Complemento7p.jpg b/src/Cocinas/Complemento7p.jpg new file mode 100644 index 0000000..d9cf5c0 Binary files /dev/null and b/src/Cocinas/Complemento7p.jpg differ diff --git a/src/Cocinas/Complemento8.jpg b/src/Cocinas/Complemento8.jpg new file mode 100644 index 0000000..01c9a7f Binary files /dev/null and b/src/Cocinas/Complemento8.jpg differ diff --git a/src/Cocinas/Complemento8p.jpg b/src/Cocinas/Complemento8p.jpg new file mode 100644 index 0000000..72927bd Binary files /dev/null and b/src/Cocinas/Complemento8p.jpg differ diff --git a/src/Cocinas/Thumbs.db b/src/Cocinas/Thumbs.db new file mode 100644 index 0000000..6b54166 Binary files /dev/null and b/src/Cocinas/Thumbs.db differ diff --git a/src/Cocinas/promo/Cocina1.jpg b/src/Cocinas/promo/Cocina1.jpg new file mode 100644 index 0000000..f12ba88 Binary files /dev/null and b/src/Cocinas/promo/Cocina1.jpg differ diff --git a/src/Cocinas/promo/Cocina2.jpg b/src/Cocinas/promo/Cocina2.jpg new file mode 100644 index 0000000..f44113b Binary files /dev/null and b/src/Cocinas/promo/Cocina2.jpg differ diff --git a/src/Cocinas/promo/Cocina3.jpg b/src/Cocinas/promo/Cocina3.jpg new file mode 100644 index 0000000..00bbb1d Binary files /dev/null and b/src/Cocinas/promo/Cocina3.jpg differ diff --git a/src/Cocinas/promo/Cocina4.jpg b/src/Cocinas/promo/Cocina4.jpg new file mode 100644 index 0000000..55d6d8b Binary files /dev/null and b/src/Cocinas/promo/Cocina4.jpg differ diff --git a/src/Cocinas/promo/Cocinag1.jpg b/src/Cocinas/promo/Cocinag1.jpg new file mode 100644 index 0000000..b5c1009 Binary files /dev/null and b/src/Cocinas/promo/Cocinag1.jpg differ diff --git a/src/Cocinas/promo/Cocinag2.jpg b/src/Cocinas/promo/Cocinag2.jpg new file mode 100644 index 0000000..92d1ad6 Binary files /dev/null and b/src/Cocinas/promo/Cocinag2.jpg differ diff --git a/src/Cocinas/promo/Cocinag4.jpg b/src/Cocinas/promo/Cocinag4.jpg new file mode 100644 index 0000000..4548dc6 Binary files /dev/null and b/src/Cocinas/promo/Cocinag4.jpg differ diff --git a/src/CocinasITPromo.htm b/src/CocinasITPromo.htm new file mode 100644 index 0000000..a8ee0c5 --- /dev/null +++ b/src/CocinasITPromo.htm @@ -0,0 +1,52 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN - COCINAS

+

  • Descuentos en Mobiliario Italiano.
  • +
  • Aprovéchate de nuestra calidad a un precio como nunca habías visto.
  • +
  • Acoplamos a tu espacio, la comodidad que necesitas para tu día a día.
  • +

+

+ +

"UNA COCINA PARA MEJORAR TU CALIDAD DE VIDA"

+

+
+
+ + + + diff --git a/src/CocinasNAPromo.htm b/src/CocinasNAPromo.htm new file mode 100644 index 0000000..4c5308b --- /dev/null +++ b/src/CocinasNAPromo.htm @@ -0,0 +1,51 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN - COCINAS NACIONALES

+

  • Aprovéchate de nuestra calidad a un precio como nunca habías visto.
  • +
  • Acoplamos a tu espacio, la comodidad que necesitas para tu día a día.
  • +

+

+ +

"UNA COCINA PARA MEJORAR TU CALIDAD DE VIDA"

+

+
+
+ + + + diff --git a/src/CocinasPromo.htm b/src/CocinasPromo.htm new file mode 100644 index 0000000..c3f982d --- /dev/null +++ b/src/CocinasPromo.htm @@ -0,0 +1,52 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN ENERO 2008 - COCINAS

+

  • Descuentos en Mobiliario Nacional e Italiano.
  • +
  • Aprovéchate de nuestra calidad a un precio como nunca habías visto.
  • +
  • Acoplamos a tu espacio, la comodidad que necesitas para tu día a día.
  • +

+

+ +

"UNA COCINA PARA MEJORAR TU CALIDAD DE VIDA"

+

+
+
+ + + + diff --git a/src/CocinasPromoEMV.htm b/src/CocinasPromoEMV.htm new file mode 100644 index 0000000..17e71df --- /dev/null +++ b/src/CocinasPromoEMV.htm @@ -0,0 +1,58 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN COCINAS E.M.V: ENCIMERA ESTRATIFICADA DE REGALO*

+

C/ DALIA, C/ SIGRID (RIVAS)....

+

C/ EMBALSE DE VALMAYOR, C/ PEÑARANDA DE BRACAMONTE (ENSANCHE DE VALLECAS)....

+ +
  • Mobiliario de cocina estratificado, COLOR A ELEGIR
  • +
  • Transporte e instalación incluido
  • +
  • TU COCINA POR 1.999€

  • +
+ +
+

+(*) Encimera estratificada, color a elegir, hasta 3,60 mtrs. +
+

+ +
+
+ + + + diff --git a/src/Contacto.htm b/src/Contacto.htm new file mode 100644 index 0000000..b711016 --- /dev/null +++ b/src/Contacto.htm @@ -0,0 +1,92 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + +
+ +
+ + + + + + + + + + + + +
+ +



















C/El torno, 17
+ Pol. Industrial Santa Ana
+ 28529 Rivas Vaciamadrid (MADRID)
+
+ Tlfno. 91 670 25 62
+ FAX. 91 670 25 03

+

comercialrivas@estudiomiguelo.com

+
+ +
+
+ + + + \ No newline at end of file diff --git a/src/Corporativo.css b/src/Corporativo.css new file mode 100644 index 0000000..a6ef1f3 --- /dev/null +++ b/src/Corporativo.css @@ -0,0 +1,172 @@ +body { + margin: 0px 0px 20px 0px; + text-align: center; + font-family: Verdana; + font-size: 8pt; + background-color: #D3D3D3; +} + +h1 { + color: #9B917D; + font-family: Verdana; + font-size: 9pt; + padding-top:10px; + pading-bottom: 10px; +} + +h2 { + color: #503500; + font-family: Verdana; + font-size: 8pt; + padding-top:10px; + pading-bottom: 10px; +} + +h4 { + color: #d72e23; + font-family: Verdana; + font-size: 12pt; + padding-top:10px; + pading-bottom: 10px; +} + +hr { + height: 1px; + color: #ccc; + border: dotted; +} + +li { + font-family: Verdana; + font-size: 8pt; + line-height: 25px; +} + +a:link, a:visited, a:hover { + color: #902424; + font-size: 8pt; + text-decoration: none; +} + +a:hover { + color: white; + text-decoration: none; +} + +td { + text-align:left; +} + +#documento { + background-color: #D3D3D3; + background-image: url(images/fondo.gif); + margin-right: auto; + margin-left: auto; + width: 948px; + height: 597px; + margin-top:20px; +} + +#cabecera { + background-color: #fff; + margin-right: auto; + margin-top: 20px; + margin-left: auto; + width: 800px; + height: 153px; +} + +#cuerpo { + background-color: transparent; + float: left; + overflow: auto; + margin-top: 100px; + margin-left: 60px; + width: 635px; + height: 415px; + padding-left: 0px; + padding-right: 10px; + padding-top: 0px; + padding-bottom: 0px; + text-align: left; + color: white; + scrollbar-face-color: black; + scrollbar-shadow-color: #9A977A; + scrollbar-highlight-color: #9A977A; + scrollbar-3dlight-color: #9A977A; + scrollbar-darkshadow-color: #9A977A; + scrollbar-track-color: black; + scrollbar-arrow-color: white; +} + +#portada { + float: left; + margin-top: 150px; + margin-left: 40px; + width: 660px; + height: 299px; + background-image: url(images/Portada.jpg); +} + +#spot { + margin-top: 300px; + width: 660px; + height: 35px; + background-color: #FFF; + color: #000; + padding-top: 3px; +} + +#spot2 { + margin-top: 0px; + width: 660px; + height: 35px; + background-color: #FFF; + color: #000; + padding-top: 3px; +} + +#menu { + float: left; + margin-left: 40px; + margin-top: 135px; + width: 160px; + height: 120px; + text-align: left; + line-height: 21px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + font-weight: bold; + color: #FFFFFF; +} + +#menu1 { + float: left; + margin-left: 40px; + margin-top: 120px; + height: 200px; + text-align: left; + line-height: 21px; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + font-weight: bold; + color: #FFFFFF; +} + +#pie { + background-color: #fff; + margin-right: auto; + margin-left: auto; + width: 800px; + height: 99px; +} + +.Estilo1 { + color: #FF66CC; + font-weight: bold; +} + +#plano { +position: absolute; +border: 1px solid #3399ff; +} \ No newline at end of file diff --git a/src/Electrodomesticos.htm b/src/Electrodomesticos.htm new file mode 100644 index 0000000..3776dd3 --- /dev/null +++ b/src/Electrodomesticos.htm @@ -0,0 +1,84 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+

ELECTRODOMÉSTICOS
 

+

 

+

Campana Decorativa Frecan Modelo Zebra

+ +

 

+

Campana Decorativa Franke

+ +

 

+

Microondas + Tapa Microondas Smeg

+ +

 

+

Placa 5 Fuegos Gas Smeg

+ +

 

+

Lavavajillas integrado Smeg

+ +

 

+

Campana decorativa Frecan Modelo Atlas

+ +

 

+

Compactos Foster; Cafetera, Dispensador de agua, Dispensador de Cerveza

+ +

 

+

Modulares Foster; Wok, 2 fuegos inducción, Tepan Yaki

+ +

 

+

Modulares Individuales Inducción Foster

+ +

 

+

Frigorífico Franke de 70 cms

+ +

 

+

Frigorífico Combi Smeg, Modelo Bombino Crema

+ +

 

+

Frigorífico Combi Smeg, Modelo Bombino Rojo

+ +

 

+

Horno Franke Pirolítico Serie Kubus

+ +

 

+
+
+
+ + + + diff --git a/src/Electrodomesticos/Electro1.jpg b/src/Electrodomesticos/Electro1.jpg new file mode 100644 index 0000000..22e038c Binary files /dev/null and b/src/Electrodomesticos/Electro1.jpg differ diff --git a/src/Electrodomesticos/Electro10.jpg b/src/Electrodomesticos/Electro10.jpg new file mode 100644 index 0000000..cbf12c9 Binary files /dev/null and b/src/Electrodomesticos/Electro10.jpg differ diff --git a/src/Electrodomesticos/Electro10p.jpg b/src/Electrodomesticos/Electro10p.jpg new file mode 100644 index 0000000..a024b2d Binary files /dev/null and b/src/Electrodomesticos/Electro10p.jpg differ diff --git a/src/Electrodomesticos/Electro11.jpg b/src/Electrodomesticos/Electro11.jpg new file mode 100644 index 0000000..fb21ad0 Binary files /dev/null and b/src/Electrodomesticos/Electro11.jpg differ diff --git a/src/Electrodomesticos/Electro11p.jpg b/src/Electrodomesticos/Electro11p.jpg new file mode 100644 index 0000000..80def03 Binary files /dev/null and b/src/Electrodomesticos/Electro11p.jpg differ diff --git a/src/Electrodomesticos/Electro12.jpg b/src/Electrodomesticos/Electro12.jpg new file mode 100644 index 0000000..b013d10 Binary files /dev/null and b/src/Electrodomesticos/Electro12.jpg differ diff --git a/src/Electrodomesticos/Electro12p.jpg b/src/Electrodomesticos/Electro12p.jpg new file mode 100644 index 0000000..3065937 Binary files /dev/null and b/src/Electrodomesticos/Electro12p.jpg differ diff --git a/src/Electrodomesticos/Electro13.jpg b/src/Electrodomesticos/Electro13.jpg new file mode 100644 index 0000000..bb13864 Binary files /dev/null and b/src/Electrodomesticos/Electro13.jpg differ diff --git a/src/Electrodomesticos/Electro13p.jpg b/src/Electrodomesticos/Electro13p.jpg new file mode 100644 index 0000000..1e8809a Binary files /dev/null and b/src/Electrodomesticos/Electro13p.jpg differ diff --git a/src/Electrodomesticos/Electro1p.jpg b/src/Electrodomesticos/Electro1p.jpg new file mode 100644 index 0000000..3125d58 Binary files /dev/null and b/src/Electrodomesticos/Electro1p.jpg differ diff --git a/src/Electrodomesticos/Electro2.jpg b/src/Electrodomesticos/Electro2.jpg new file mode 100644 index 0000000..b25b0be Binary files /dev/null and b/src/Electrodomesticos/Electro2.jpg differ diff --git a/src/Electrodomesticos/Electro2p.jpg b/src/Electrodomesticos/Electro2p.jpg new file mode 100644 index 0000000..0563784 Binary files /dev/null and b/src/Electrodomesticos/Electro2p.jpg differ diff --git a/src/Electrodomesticos/Electro3.jpg b/src/Electrodomesticos/Electro3.jpg new file mode 100644 index 0000000..fdf3e09 Binary files /dev/null and b/src/Electrodomesticos/Electro3.jpg differ diff --git a/src/Electrodomesticos/Electro3p.jpg b/src/Electrodomesticos/Electro3p.jpg new file mode 100644 index 0000000..4e79bf2 Binary files /dev/null and b/src/Electrodomesticos/Electro3p.jpg differ diff --git a/src/Electrodomesticos/Electro4.jpg b/src/Electrodomesticos/Electro4.jpg new file mode 100644 index 0000000..4ead9cb Binary files /dev/null and b/src/Electrodomesticos/Electro4.jpg differ diff --git a/src/Electrodomesticos/Electro4p.jpg b/src/Electrodomesticos/Electro4p.jpg new file mode 100644 index 0000000..c7608e5 Binary files /dev/null and b/src/Electrodomesticos/Electro4p.jpg differ diff --git a/src/Electrodomesticos/Electro5.jpg b/src/Electrodomesticos/Electro5.jpg new file mode 100644 index 0000000..26e7e69 Binary files /dev/null and b/src/Electrodomesticos/Electro5.jpg differ diff --git a/src/Electrodomesticos/Electro5p.jpg b/src/Electrodomesticos/Electro5p.jpg new file mode 100644 index 0000000..009ee9e Binary files /dev/null and b/src/Electrodomesticos/Electro5p.jpg differ diff --git a/src/Electrodomesticos/Electro6.jpg b/src/Electrodomesticos/Electro6.jpg new file mode 100644 index 0000000..a0eed5e Binary files /dev/null and b/src/Electrodomesticos/Electro6.jpg differ diff --git a/src/Electrodomesticos/Electro6p.jpg b/src/Electrodomesticos/Electro6p.jpg new file mode 100644 index 0000000..644aab2 Binary files /dev/null and b/src/Electrodomesticos/Electro6p.jpg differ diff --git a/src/Electrodomesticos/Electro7.jpg b/src/Electrodomesticos/Electro7.jpg new file mode 100644 index 0000000..5e12710 Binary files /dev/null and b/src/Electrodomesticos/Electro7.jpg differ diff --git a/src/Electrodomesticos/Electro7p.jpg b/src/Electrodomesticos/Electro7p.jpg new file mode 100644 index 0000000..fb13ac7 Binary files /dev/null and b/src/Electrodomesticos/Electro7p.jpg differ diff --git a/src/Electrodomesticos/Electro8.jpg b/src/Electrodomesticos/Electro8.jpg new file mode 100644 index 0000000..abf7d9a Binary files /dev/null and b/src/Electrodomesticos/Electro8.jpg differ diff --git a/src/Electrodomesticos/Electro8p.jpg b/src/Electrodomesticos/Electro8p.jpg new file mode 100644 index 0000000..e427366 Binary files /dev/null and b/src/Electrodomesticos/Electro8p.jpg differ diff --git a/src/Electrodomesticos/Electro9.jpg b/src/Electrodomesticos/Electro9.jpg new file mode 100644 index 0000000..7b68ed7 Binary files /dev/null and b/src/Electrodomesticos/Electro9.jpg differ diff --git a/src/Electrodomesticos/Electro9p.jpg b/src/Electrodomesticos/Electro9p.jpg new file mode 100644 index 0000000..4520d75 Binary files /dev/null and b/src/Electrodomesticos/Electro9p.jpg differ diff --git a/src/Electrodomesticos/promo/electrodomestico1.jpg b/src/Electrodomesticos/promo/electrodomestico1.jpg new file mode 100644 index 0000000..715dd63 Binary files /dev/null and b/src/Electrodomesticos/promo/electrodomestico1.jpg differ diff --git a/src/Electrodomesticos/promo/electrodomesticog1.jpg b/src/Electrodomesticos/promo/electrodomesticog1.jpg new file mode 100644 index 0000000..dc40954 Binary files /dev/null and b/src/Electrodomesticos/promo/electrodomesticog1.jpg differ diff --git a/src/ElectrodomesticosPromo.htm b/src/ElectrodomesticosPromo.htm new file mode 100644 index 0000000..0958e10 --- /dev/null +++ b/src/ElectrodomesticosPromo.htm @@ -0,0 +1,49 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

OCTUBRE, MES DEL ELECTRODOMÉSTICO

+

  • LAS FACILIDADES DE LAS NUEVAS TECNOLOGÍAS A MEJOR PRECIO.
  • +

+ +

* Oferta válida para modelos concretos

+

+
+
+ + + + diff --git a/src/Jardin.htm b/src/Jardin.htm new file mode 100644 index 0000000..154096e --- /dev/null +++ b/src/Jardin.htm @@ -0,0 +1,57 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+

JARDÍN.
 

+

 

+

Mobiliario de Jardín. Modelo Colón . Fibra de Vidrio, color Blanco

+ +

 

+

Mobiliario de Jardín. Modelo. Fibra de Vidrio, color Caoba

+ +

 

+

Mobiliario de Jardín. Modelo Picasso . Fibra de Vidrio, color Negro

+ +

 

+

Mobiliario de Jardín. Modelo Picasso . Fibra de Vidrio, color Negro

+ +

 

+
+
+
+ + + + diff --git a/src/Jardin/Jardin1.jpg b/src/Jardin/Jardin1.jpg new file mode 100644 index 0000000..082e9c4 Binary files /dev/null and b/src/Jardin/Jardin1.jpg differ diff --git a/src/Jardin/Jardin1p.jpg b/src/Jardin/Jardin1p.jpg new file mode 100644 index 0000000..3f3e16a Binary files /dev/null and b/src/Jardin/Jardin1p.jpg differ diff --git a/src/Jardin/Jardin2.jpg b/src/Jardin/Jardin2.jpg new file mode 100644 index 0000000..203b2a1 Binary files /dev/null and b/src/Jardin/Jardin2.jpg differ diff --git a/src/Jardin/Jardin2p.jpg b/src/Jardin/Jardin2p.jpg new file mode 100644 index 0000000..a62da0a Binary files /dev/null and b/src/Jardin/Jardin2p.jpg differ diff --git a/src/Jardin/Jardin3.jpg b/src/Jardin/Jardin3.jpg new file mode 100644 index 0000000..13ad758 Binary files /dev/null and b/src/Jardin/Jardin3.jpg differ diff --git a/src/Jardin/Jardin3p.jpg b/src/Jardin/Jardin3p.jpg new file mode 100644 index 0000000..2b12e3d Binary files /dev/null and b/src/Jardin/Jardin3p.jpg differ diff --git a/src/Jardin/Jardin4.jpg b/src/Jardin/Jardin4.jpg new file mode 100644 index 0000000..8295cbb Binary files /dev/null and b/src/Jardin/Jardin4.jpg differ diff --git a/src/Jardin/Jardin4p.jpg b/src/Jardin/Jardin4p.jpg new file mode 100644 index 0000000..4ddb6b9 Binary files /dev/null and b/src/Jardin/Jardin4p.jpg differ diff --git a/src/Jardin/Thumbs.db b/src/Jardin/Thumbs.db new file mode 100644 index 0000000..961667a Binary files /dev/null and b/src/Jardin/Thumbs.db differ diff --git a/src/Jardin/promo/Jardin1.jpg b/src/Jardin/promo/Jardin1.jpg new file mode 100644 index 0000000..9e23e06 Binary files /dev/null and b/src/Jardin/promo/Jardin1.jpg differ diff --git a/src/Jardin/promo/Jarding1.jpg b/src/Jardin/promo/Jarding1.jpg new file mode 100644 index 0000000..1c6847d Binary files /dev/null and b/src/Jardin/promo/Jarding1.jpg differ diff --git a/src/JardinPromo.htm b/src/JardinPromo.htm new file mode 100644 index 0000000..4e21b81 --- /dev/null +++ b/src/JardinPromo.htm @@ -0,0 +1,51 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN - JARDÍN

+

  • Materiales en fibra de vidrio completamente resistentes al frío, al calor, a la humedad. Despreocúpate de tu mueble de jardín y disfruta de tu tiempo libre.
  • +
  • Visita nuestra exposición, tenemos lo que te gusta.

+ +

+ +

"TENEMOS UN 40 % DE DESCUENTO EN LAS LIQUIDACIONES DE EXPOSICIÓN"

+

+
+
+ + + + diff --git a/src/Mesas.htm b/src/Mesas.htm new file mode 100644 index 0000000..245b42a --- /dev/null +++ b/src/Mesas.htm @@ -0,0 +1,64 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+

MESAS Y SILLAS.
 

+

 

+ +

 

+ +

 

+ +

 

+ +

 

+ +

 

+

 

+ +

 

+

 

+ +

 

+

 

+ +

 

+
+
+
+ + + + diff --git a/src/Mesas/Mesa0.jpg b/src/Mesas/Mesa0.jpg new file mode 100644 index 0000000..c351218 Binary files /dev/null and b/src/Mesas/Mesa0.jpg differ diff --git a/src/Mesas/Mesa0p.jpg b/src/Mesas/Mesa0p.jpg new file mode 100644 index 0000000..91565ac Binary files /dev/null and b/src/Mesas/Mesa0p.jpg differ diff --git a/src/Mesas/Mesa1.jpg b/src/Mesas/Mesa1.jpg new file mode 100644 index 0000000..dad8932 Binary files /dev/null and b/src/Mesas/Mesa1.jpg differ diff --git a/src/Mesas/Mesa1p.jpg b/src/Mesas/Mesa1p.jpg new file mode 100644 index 0000000..da58171 Binary files /dev/null and b/src/Mesas/Mesa1p.jpg differ diff --git a/src/Mesas/Mesa2.jpg b/src/Mesas/Mesa2.jpg new file mode 100644 index 0000000..005f0d4 Binary files /dev/null and b/src/Mesas/Mesa2.jpg differ diff --git a/src/Mesas/Mesa2p.jpg b/src/Mesas/Mesa2p.jpg new file mode 100644 index 0000000..7134583 Binary files /dev/null and b/src/Mesas/Mesa2p.jpg differ diff --git a/src/Mesas/Mesa3.jpg b/src/Mesas/Mesa3.jpg new file mode 100644 index 0000000..878778c Binary files /dev/null and b/src/Mesas/Mesa3.jpg differ diff --git a/src/Mesas/Mesa3p.jpg b/src/Mesas/Mesa3p.jpg new file mode 100644 index 0000000..d63248f Binary files /dev/null and b/src/Mesas/Mesa3p.jpg differ diff --git a/src/Mesas/Mesa4.jpg b/src/Mesas/Mesa4.jpg new file mode 100644 index 0000000..e314cc1 Binary files /dev/null and b/src/Mesas/Mesa4.jpg differ diff --git a/src/Mesas/Mesa4p.jpg b/src/Mesas/Mesa4p.jpg new file mode 100644 index 0000000..d32ca10 Binary files /dev/null and b/src/Mesas/Mesa4p.jpg differ diff --git a/src/Mesas/Mesa5.jpg b/src/Mesas/Mesa5.jpg new file mode 100644 index 0000000..ed18574 Binary files /dev/null and b/src/Mesas/Mesa5.jpg differ diff --git a/src/Mesas/Mesa5p.jpg b/src/Mesas/Mesa5p.jpg new file mode 100644 index 0000000..72ebecf Binary files /dev/null and b/src/Mesas/Mesa5p.jpg differ diff --git a/src/Mesas/Mesa6.jpg b/src/Mesas/Mesa6.jpg new file mode 100644 index 0000000..f3e190d Binary files /dev/null and b/src/Mesas/Mesa6.jpg differ diff --git a/src/Mesas/Mesa6p.jpg b/src/Mesas/Mesa6p.jpg new file mode 100644 index 0000000..bb58dca Binary files /dev/null and b/src/Mesas/Mesa6p.jpg differ diff --git a/src/Mesas/Mesa7.jpg b/src/Mesas/Mesa7.jpg new file mode 100644 index 0000000..40f4c0d Binary files /dev/null and b/src/Mesas/Mesa7.jpg differ diff --git a/src/Mesas/Mesa7p.jpg b/src/Mesas/Mesa7p.jpg new file mode 100644 index 0000000..74e86f0 Binary files /dev/null and b/src/Mesas/Mesa7p.jpg differ diff --git a/src/Mesas/Thumbs.db b/src/Mesas/Thumbs.db new file mode 100644 index 0000000..4625fd0 Binary files /dev/null and b/src/Mesas/Thumbs.db differ diff --git a/src/Mesas/promo/Mesa1.jpg b/src/Mesas/promo/Mesa1.jpg new file mode 100644 index 0000000..0d68871 Binary files /dev/null and b/src/Mesas/promo/Mesa1.jpg differ diff --git a/src/Mesas/promo/Mesa2.jpg b/src/Mesas/promo/Mesa2.jpg new file mode 100644 index 0000000..db052f6 Binary files /dev/null and b/src/Mesas/promo/Mesa2.jpg differ diff --git a/src/Mesas/promo/Mesa3.jpg b/src/Mesas/promo/Mesa3.jpg new file mode 100644 index 0000000..231869c Binary files /dev/null and b/src/Mesas/promo/Mesa3.jpg differ diff --git a/src/Mesas/promo/Mesag1.jpg b/src/Mesas/promo/Mesag1.jpg new file mode 100644 index 0000000..93a5aa8 Binary files /dev/null and b/src/Mesas/promo/Mesag1.jpg differ diff --git a/src/Mesas/promo/Mesag2.jpg b/src/Mesas/promo/Mesag2.jpg new file mode 100644 index 0000000..49684aa Binary files /dev/null and b/src/Mesas/promo/Mesag2.jpg differ diff --git a/src/Mesas/promo/Mesag3.jpg b/src/Mesas/promo/Mesag3.jpg new file mode 100644 index 0000000..fe916fa Binary files /dev/null and b/src/Mesas/promo/Mesag3.jpg differ diff --git a/src/Plantilla.html b/src/Plantilla.html new file mode 100644 index 0000000..820c3a7 --- /dev/null +++ b/src/Plantilla.html @@ -0,0 +1,29 @@ + + + + +Documento sin título + + + + + + + + diff --git a/src/Productos.htm b/src/Productos.htm new file mode 100644 index 0000000..854001d --- /dev/null +++ b/src/Productos.htm @@ -0,0 +1,86 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + +
+ + +
+

 

+

+ + + + + + + +

+
+
+ + + + diff --git a/src/Promociones.htm b/src/Promociones.htm new file mode 100644 index 0000000..fa85f91 --- /dev/null +++ b/src/Promociones.htm @@ -0,0 +1,90 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + +
+ + +
+

 

+

 

+

+ + + + + + + + + +

+
+
+ + + + diff --git a/src/Reformas.htm b/src/Reformas.htm new file mode 100644 index 0000000..e846e7a --- /dev/null +++ b/src/Reformas.htm @@ -0,0 +1,109 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+

REFORMAS
 

+ +

 

+

Valla Aluminio Blanco

+ +

 

+

Piscina de obra. Sistema Gunite (proyectada)

+ +

 

+

Valla Aluminio Blanca con Iluminación Incorporada

+ +

 

+

Piscina Proyectada, Piedra de Colmenar con Iluminación. Acabado Gresite

+ +

 

+

Valla Aluminio Gris (Carta Ral)

+ +

 

+

Fondo Piscina en Gresite

+ +

 

+

Puerta y Valla en Aluminio Blanco

+ +

 

+

Piscina de obra. Sistema Gunite (proyectada)

+ +

 

+

Puerta Aluminio Blanca

+ +

 

+

Piscina con Escalera Romana

+ +

 

+

Valla Aluminio Blanco - Celosía en Aluminio Blanco

+ +

 

+

Reforma Exterior; Solado

+ +

 

+

Piscina de obra. Sistema Gunite (proyectada)

+ +

 

+

Reforma Exterior; Construcción de "Casita Jardín"

+ +

 

+

Piscina con decoración

+ +

 

+

Obra Exterior; Barbacoa en piedra

+ +

 

+

Obra Interior; Montaje de Sauna en Madera

+ +

 

+

Piscina con Jacuzzi iluminado

+ +

 

+

Obra Exterior; Construcción de Fachada en Piedra

+ +

 

+

Detalle Jacuzzi

+ +

 

+

Obra Exterior

+ +

 

+
+
+
+ + + + diff --git a/src/Reformas/Piscina1.jpg b/src/Reformas/Piscina1.jpg new file mode 100644 index 0000000..842f418 Binary files /dev/null and b/src/Reformas/Piscina1.jpg differ diff --git a/src/Reformas/Piscina1p.jpg b/src/Reformas/Piscina1p.jpg new file mode 100644 index 0000000..d908452 Binary files /dev/null and b/src/Reformas/Piscina1p.jpg differ diff --git a/src/Reformas/Piscina2.jpg b/src/Reformas/Piscina2.jpg new file mode 100644 index 0000000..0c91eff Binary files /dev/null and b/src/Reformas/Piscina2.jpg differ diff --git a/src/Reformas/Piscina2p.jpg b/src/Reformas/Piscina2p.jpg new file mode 100644 index 0000000..5266aad Binary files /dev/null and b/src/Reformas/Piscina2p.jpg differ diff --git a/src/Reformas/Piscina3.jpg b/src/Reformas/Piscina3.jpg new file mode 100644 index 0000000..61b924f Binary files /dev/null and b/src/Reformas/Piscina3.jpg differ diff --git a/src/Reformas/Piscina3p.jpg b/src/Reformas/Piscina3p.jpg new file mode 100644 index 0000000..c08fef3 Binary files /dev/null and b/src/Reformas/Piscina3p.jpg differ diff --git a/src/Reformas/Piscina4.jpg b/src/Reformas/Piscina4.jpg new file mode 100644 index 0000000..fa4c6d9 Binary files /dev/null and b/src/Reformas/Piscina4.jpg differ diff --git a/src/Reformas/Piscina4p.jpg b/src/Reformas/Piscina4p.jpg new file mode 100644 index 0000000..30805a6 Binary files /dev/null and b/src/Reformas/Piscina4p.jpg differ diff --git a/src/Reformas/Piscina5.jpg b/src/Reformas/Piscina5.jpg new file mode 100644 index 0000000..7c83427 Binary files /dev/null and b/src/Reformas/Piscina5.jpg differ diff --git a/src/Reformas/Piscina5p.jpg b/src/Reformas/Piscina5p.jpg new file mode 100644 index 0000000..a42cf1d Binary files /dev/null and b/src/Reformas/Piscina5p.jpg differ diff --git a/src/Reformas/Piscina6.jpg b/src/Reformas/Piscina6.jpg new file mode 100644 index 0000000..09ceae4 Binary files /dev/null and b/src/Reformas/Piscina6.jpg differ diff --git a/src/Reformas/Piscina6p.jpg b/src/Reformas/Piscina6p.jpg new file mode 100644 index 0000000..cd6ac12 Binary files /dev/null and b/src/Reformas/Piscina6p.jpg differ diff --git a/src/Reformas/Piscina7.jpg b/src/Reformas/Piscina7.jpg new file mode 100644 index 0000000..769977c Binary files /dev/null and b/src/Reformas/Piscina7.jpg differ diff --git a/src/Reformas/Piscina7p.jpg b/src/Reformas/Piscina7p.jpg new file mode 100644 index 0000000..949ce96 Binary files /dev/null and b/src/Reformas/Piscina7p.jpg differ diff --git a/src/Reformas/Piscina8.jpg b/src/Reformas/Piscina8.jpg new file mode 100644 index 0000000..e710eee Binary files /dev/null and b/src/Reformas/Piscina8.jpg differ diff --git a/src/Reformas/Piscina8p.jpg b/src/Reformas/Piscina8p.jpg new file mode 100644 index 0000000..67b1249 Binary files /dev/null and b/src/Reformas/Piscina8p.jpg differ diff --git a/src/Reformas/Piscina9.jpg b/src/Reformas/Piscina9.jpg new file mode 100644 index 0000000..1b6cb7d Binary files /dev/null and b/src/Reformas/Piscina9.jpg differ diff --git a/src/Reformas/Piscina9p.jpg b/src/Reformas/Piscina9p.jpg new file mode 100644 index 0000000..96d10a3 Binary files /dev/null and b/src/Reformas/Piscina9p.jpg differ diff --git a/src/Reformas/Reforma1.jpg b/src/Reformas/Reforma1.jpg new file mode 100644 index 0000000..9ef11a4 Binary files /dev/null and b/src/Reformas/Reforma1.jpg differ diff --git a/src/Reformas/Reforma10.jpg b/src/Reformas/Reforma10.jpg new file mode 100644 index 0000000..32b69af Binary files /dev/null and b/src/Reformas/Reforma10.jpg differ diff --git a/src/Reformas/Reforma10p.jpg b/src/Reformas/Reforma10p.jpg new file mode 100644 index 0000000..c446aa6 Binary files /dev/null and b/src/Reformas/Reforma10p.jpg differ diff --git a/src/Reformas/Reforma11.jpg b/src/Reformas/Reforma11.jpg new file mode 100644 index 0000000..8068c45 Binary files /dev/null and b/src/Reformas/Reforma11.jpg differ diff --git a/src/Reformas/Reforma11p.jpg b/src/Reformas/Reforma11p.jpg new file mode 100644 index 0000000..b5d57ba Binary files /dev/null and b/src/Reformas/Reforma11p.jpg differ diff --git a/src/Reformas/Reforma12.jpg b/src/Reformas/Reforma12.jpg new file mode 100644 index 0000000..6f6ee99 Binary files /dev/null and b/src/Reformas/Reforma12.jpg differ diff --git a/src/Reformas/Reforma12p.jpg b/src/Reformas/Reforma12p.jpg new file mode 100644 index 0000000..1f9f7ff Binary files /dev/null and b/src/Reformas/Reforma12p.jpg differ diff --git a/src/Reformas/Reforma1p.jpg b/src/Reformas/Reforma1p.jpg new file mode 100644 index 0000000..242bc65 Binary files /dev/null and b/src/Reformas/Reforma1p.jpg differ diff --git a/src/Reformas/Reforma2.jpg b/src/Reformas/Reforma2.jpg new file mode 100644 index 0000000..26d721f Binary files /dev/null and b/src/Reformas/Reforma2.jpg differ diff --git a/src/Reformas/Reforma2p.jpg b/src/Reformas/Reforma2p.jpg new file mode 100644 index 0000000..8360c32 Binary files /dev/null and b/src/Reformas/Reforma2p.jpg differ diff --git a/src/Reformas/Reforma3.jpg b/src/Reformas/Reforma3.jpg new file mode 100644 index 0000000..ae1ec17 Binary files /dev/null and b/src/Reformas/Reforma3.jpg differ diff --git a/src/Reformas/Reforma3p.jpg b/src/Reformas/Reforma3p.jpg new file mode 100644 index 0000000..fb77b54 Binary files /dev/null and b/src/Reformas/Reforma3p.jpg differ diff --git a/src/Reformas/Reforma4.jpg b/src/Reformas/Reforma4.jpg new file mode 100644 index 0000000..2a91ad4 Binary files /dev/null and b/src/Reformas/Reforma4.jpg differ diff --git a/src/Reformas/Reforma4p.jpg b/src/Reformas/Reforma4p.jpg new file mode 100644 index 0000000..d699c02 Binary files /dev/null and b/src/Reformas/Reforma4p.jpg differ diff --git a/src/Reformas/Reforma5.jpg b/src/Reformas/Reforma5.jpg new file mode 100644 index 0000000..ac06748 Binary files /dev/null and b/src/Reformas/Reforma5.jpg differ diff --git a/src/Reformas/Reforma5p.jpg b/src/Reformas/Reforma5p.jpg new file mode 100644 index 0000000..99e1a9b Binary files /dev/null and b/src/Reformas/Reforma5p.jpg differ diff --git a/src/Reformas/Reforma6.jpg b/src/Reformas/Reforma6.jpg new file mode 100644 index 0000000..fe20942 Binary files /dev/null and b/src/Reformas/Reforma6.jpg differ diff --git a/src/Reformas/Reforma6p.jpg b/src/Reformas/Reforma6p.jpg new file mode 100644 index 0000000..3153dbd Binary files /dev/null and b/src/Reformas/Reforma6p.jpg differ diff --git a/src/Reformas/Reforma7.jpg b/src/Reformas/Reforma7.jpg new file mode 100644 index 0000000..4d3659a Binary files /dev/null and b/src/Reformas/Reforma7.jpg differ diff --git a/src/Reformas/Reforma7p.jpg b/src/Reformas/Reforma7p.jpg new file mode 100644 index 0000000..feaf57d Binary files /dev/null and b/src/Reformas/Reforma7p.jpg differ diff --git a/src/Reformas/Reforma8.jpg b/src/Reformas/Reforma8.jpg new file mode 100644 index 0000000..876ea0c Binary files /dev/null and b/src/Reformas/Reforma8.jpg differ diff --git a/src/Reformas/Reforma8p.jpg b/src/Reformas/Reforma8p.jpg new file mode 100644 index 0000000..14b46de Binary files /dev/null and b/src/Reformas/Reforma8p.jpg differ diff --git a/src/Reformas/Reforma9.jpg b/src/Reformas/Reforma9.jpg new file mode 100644 index 0000000..26dfad3 Binary files /dev/null and b/src/Reformas/Reforma9.jpg differ diff --git a/src/Reformas/Reforma9p.jpg b/src/Reformas/Reforma9p.jpg new file mode 100644 index 0000000..f72879a Binary files /dev/null and b/src/Reformas/Reforma9p.jpg differ diff --git a/src/Reformas/Thumbs.db b/src/Reformas/Thumbs.db new file mode 100644 index 0000000..61f4b8f Binary files /dev/null and b/src/Reformas/Thumbs.db differ diff --git a/src/SillasPromo.htm b/src/SillasPromo.htm new file mode 100644 index 0000000..6206976 --- /dev/null +++ b/src/SillasPromo.htm @@ -0,0 +1,141 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN - SILLAS Y MESAS

 

+ + +

Mesa Máxima

+

  • Mesa Máxima. Encimera De Melamina (Naranja, Haya, Cerezo y Blanco).
  • +
  • Extensiones de Melamina del color de la encimera.
  • +

+

+ + + + + + + + + + + + + + + + + + + + + + + +
Mesa Maggie (100 x 60)   + 2 Sillas

   = 278 €

   + 2 Sillas y 2 Taburetes

   = 351 €

   + 4 Sillas

   = 386 €

(Otras medidas consultar precio)
+

+ + +

Mesa Máxima Cristal

+

  • Mesa Máxima Cristal. Encimera De Cristal (Blanco, Gris, Verde, Naranja, Rojo).
  • +
  • Extensiones de Melamina, Color Plata.
  • +

+

+ + + + + + + + + + + + + + + + + + + + + + + +
Mesa cristal (100 x 50)   + 2 Sillas

   = 523 €

   + 2 Sillas y 2 Taburetes

   = 605 €

   + 4 Sillas

   = 663 €

(Otras medidas consultar precio)
+

+ + +

Mesa Máxima cristal

+

  • Estructura Plata Mate.
  • +
  • Cristal Brillo (Gris, Blanco, Pistacho, Rojo y Naranja).
  • +

+

+ + + + + + + + + + + + + + + + + + + + + + + +
Mesa Cristal (100 x 60)   + 2 Sillas

   = 504 €

   + 2 Sillas y 2 Taburetes

   = 614 €

   + 4 Sillas

   = 684 €

(Otras medidas consultar precio)
+

+ +
+
+ + + + diff --git a/src/Techos.htm b/src/Techos.htm new file mode 100644 index 0000000..ba81ed5 --- /dev/null +++ b/src/Techos.htm @@ -0,0 +1,75 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+

TECHOS DE ALUMINIO
 

+

Conozca nuestros techos de aluminio pensado como complemento final de decoración y diseño para los ambientes más cuidados de su casa.

+

Fácil de limpiar, no necesita mantenimiento, totalmente desmontable, permite incorporar todo tipo de iluminación, crea una nueva dimensión de altura, tiene una gama amplia de posibilidades, selecciones de color y diferentes texturas aplicables a todo tipo de cocinas y baños.

+

Se instala en un día, sin obras.

+

 

+

Techo Aluminio Modelo V-200.Color Aluminio Natural

+ +

 

+

Techo Aluminio Modelo V-200. Color Aluminio Naturla

+

 

+

 

+

Recubrimiento Pared. Acero Color Madera con Entrecalle Plateada

+

 

+

 

+

Recubrimiento Pared. Acero Color Madera con Entrecalle Dorada

+ +

 

+

Techo Aluminio Modelo V-200. Color Madera combinado con Espejo Plata

+ +

 

+

Recubrimiento Pared. Acero Color Madera con Entrecalle Plateada.

+ +

 

+

Techo Aluminio Modelo V-200. Color Azul (Carta Ral)

+ +

 

+

Techo Aluminio Modelo V-200.Color Aluminio Natural

+ +

 

+

Techo Aluminio Modelo V-200. Color Pergamón

+ +

 

+
+
+
+ + + + diff --git a/src/Techos/Techo1.jpg b/src/Techos/Techo1.jpg new file mode 100644 index 0000000..24911b1 Binary files /dev/null and b/src/Techos/Techo1.jpg differ diff --git a/src/Techos/Techo1p.jpg b/src/Techos/Techo1p.jpg new file mode 100644 index 0000000..22a38c7 Binary files /dev/null and b/src/Techos/Techo1p.jpg differ diff --git a/src/Techos/Techo2.jpg b/src/Techos/Techo2.jpg new file mode 100644 index 0000000..688fe46 Binary files /dev/null and b/src/Techos/Techo2.jpg differ diff --git a/src/Techos/Techo2p.jpg b/src/Techos/Techo2p.jpg new file mode 100644 index 0000000..bfd5b79 Binary files /dev/null and b/src/Techos/Techo2p.jpg differ diff --git a/src/Techos/Techo3.jpg b/src/Techos/Techo3.jpg new file mode 100644 index 0000000..c21b91f Binary files /dev/null and b/src/Techos/Techo3.jpg differ diff --git a/src/Techos/Techo3p.jpg b/src/Techos/Techo3p.jpg new file mode 100644 index 0000000..15e263f Binary files /dev/null and b/src/Techos/Techo3p.jpg differ diff --git a/src/Techos/Techo4.jpg b/src/Techos/Techo4.jpg new file mode 100644 index 0000000..ecfcb00 Binary files /dev/null and b/src/Techos/Techo4.jpg differ diff --git a/src/Techos/Techo4p.jpg b/src/Techos/Techo4p.jpg new file mode 100644 index 0000000..b4a5431 Binary files /dev/null and b/src/Techos/Techo4p.jpg differ diff --git a/src/Techos/Techo5.jpg b/src/Techos/Techo5.jpg new file mode 100644 index 0000000..d042c4d Binary files /dev/null and b/src/Techos/Techo5.jpg differ diff --git a/src/Techos/Techo5p.jpg b/src/Techos/Techo5p.jpg new file mode 100644 index 0000000..81fed27 Binary files /dev/null and b/src/Techos/Techo5p.jpg differ diff --git a/src/Techos/Techo6.jpg b/src/Techos/Techo6.jpg new file mode 100644 index 0000000..02cf5de Binary files /dev/null and b/src/Techos/Techo6.jpg differ diff --git a/src/Techos/Techo6p.jpg b/src/Techos/Techo6p.jpg new file mode 100644 index 0000000..3d1ab8b Binary files /dev/null and b/src/Techos/Techo6p.jpg differ diff --git a/src/Techos/Techo7.jpg b/src/Techos/Techo7.jpg new file mode 100644 index 0000000..52e2068 Binary files /dev/null and b/src/Techos/Techo7.jpg differ diff --git a/src/Techos/Techo7p.jpg b/src/Techos/Techo7p.jpg new file mode 100644 index 0000000..c23f026 Binary files /dev/null and b/src/Techos/Techo7p.jpg differ diff --git a/src/Techos/Techo8.jpg b/src/Techos/Techo8.jpg new file mode 100644 index 0000000..3605bb9 Binary files /dev/null and b/src/Techos/Techo8.jpg differ diff --git a/src/Techos/Techo8p.jpg b/src/Techos/Techo8p.jpg new file mode 100644 index 0000000..6604826 Binary files /dev/null and b/src/Techos/Techo8p.jpg differ diff --git a/src/Techos/Techo9.jpg b/src/Techos/Techo9.jpg new file mode 100644 index 0000000..528302d Binary files /dev/null and b/src/Techos/Techo9.jpg differ diff --git a/src/Techos/Techo9p.jpg b/src/Techos/Techo9p.jpg new file mode 100644 index 0000000..363db6c Binary files /dev/null and b/src/Techos/Techo9p.jpg differ diff --git a/src/Techos/Thumbs.db b/src/Techos/Thumbs.db new file mode 100644 index 0000000..b2a3d80 Binary files /dev/null and b/src/Techos/Thumbs.db differ diff --git a/src/Techos/promo/techo1.jpg b/src/Techos/promo/techo1.jpg new file mode 100644 index 0000000..6ee3fe8 Binary files /dev/null and b/src/Techos/promo/techo1.jpg differ diff --git a/src/Techos/promo/techog1.jpg b/src/Techos/promo/techog1.jpg new file mode 100644 index 0000000..b574585 Binary files /dev/null and b/src/Techos/promo/techog1.jpg differ diff --git a/src/TechosPromo.htm b/src/TechosPromo.htm new file mode 100644 index 0000000..da0bf9b --- /dev/null +++ b/src/TechosPromo.htm @@ -0,0 +1,51 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + + +
+ +
+

PROMOCIÓN - TECHOS ALUMINIO

+

  • Descuentos en techos de aluminio.
  • +
  • Con la compra de su cocina llévese nuestro exclusivo techo de aluminio de regalo*
  • +
  • Iluminación no incluída.
  • +

+ +

* Se regala el material pero se cobrará la instalación

+

+
+
+ + + + diff --git a/src/aspnet_client/system_web/1_1_4322/SmartNav.htm b/src/aspnet_client/system_web/1_1_4322/SmartNav.htm new file mode 100644 index 0000000..766e2b0 --- /dev/null +++ b/src/aspnet_client/system_web/1_1_4322/SmartNav.htm @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/aspnet_client/system_web/1_1_4322/smartnav.js b/src/aspnet_client/system_web/1_1_4322/smartnav.js new file mode 100644 index 0000000..388dd5b --- /dev/null +++ b/src/aspnet_client/system_web/1_1_4322/smartnav.js @@ -0,0 +1,271 @@ +var snSrc; +if (window.__smartNav == null) +{ + window.__smartNav = new Object(); + window.__smartNav.update = function() + { + var sn = window.__smartNav; + var fd; + document.detachEvent("onstop", sn.stopHif); + sn.inPost = false; + try { fd = frames["__hifSmartNav"].document; } catch (e) {return;} + var fdr = fd.getElementsByTagName("asp_smartnav_rdir"); + if (fdr.length > 0) + { + if (sn.sHif == null) + { + sn.sHif = document.createElement("IFRAME"); + sn.sHif.name = "__hifSmartNav"; + sn.sHif.style.display = "none"; + sn.sHif.src = snSrc; + } + try {window.location = fdr[0].url;} catch (e) {}; + return; + } + var fdurl = fd.location.href; + var index = fdurl.indexOf(snSrc); + if ((index != -1 && index == fdurl.length-snSrc.length) + || fdurl == "about:blank") + return; + var fdurlb = fdurl.split("?")[0]; + if (document.location.href.indexOf(fdurlb) < 0) + { + document.location.href=fdurl; + return; + } + sn._savedOnLoad = window.onload; + window.onload = null; + window.__smartNav.updateHelper(); + } + window.__smartNav.updateHelper = function() + { + if (document.readyState != "complete") + { + window.setTimeout(window.__smartNav.updateHelper, 25); + return; + } + window.__smartNav.loadNewContent(); + } + window.__smartNav.loadNewContent = function() + { + var sn = window.__smartNav; + var fd; + try { fd = frames["__hifSmartNav"].document; } catch (e) {return;} + if (sn.sHif != null) + { + sn.sHif.removeNode(true); + sn.sHif = null; + } + var hdm = document.getElementsByTagName("head")[0]; + var hk = hdm.childNodes; + var tt = null; + for (var i = hk.length - 1; i>= 0; i--) + { + if (hk[i].tagName == "TITLE") + { + tt = hk[i].outerHTML; + continue; + } + if (hk[i].tagName != "BASEFONT" || hk[i].innerHTML.length == 0) + hdm.removeChild(hdm.childNodes[i]); + } + var kids = fd.getElementsByTagName("head")[0].childNodes; + for (var i = 0; i < kids.length; i++) + { + var tn = kids[i].tagName; + var k = document.createElement(tn); + k.id = kids[i].id; + k.mergeAttributes(kids[i]); + switch(tn) + { + case "TITLE": + if (tt == kids[i].outerHTML) + continue; + k.innerText = kids[i].text; + hdm.insertAdjacentElement("afterbegin", k); + continue; + case "BASEFONT" : + if (kids[i].innerHTML.length > 0) + continue; + break; + default: + var o = document.createElement("BODY"); + o.innerHTML = "" + kids[i].outerHTML + ""; + k = o.firstChild; + break; + } + if(k!=null) + hdm.appendChild(k); + } + document.body.clearAttributes(); + document.body.id = fd.body.id; + document.body.mergeAttributes(fd.body); + var newBodyLoad = fd.body.onload; + if (newBodyLoad != null) + document.body.onload = newBodyLoad; + else + document.body.onload = sn._savedOnLoad; + var s = "" + fd.body.innerHTML + ""; + if (sn.hif != null) + { + var hifP = sn.hif.parentElement; + if (hifP != null) + sn.sHif=hifP.removeChild(sn.hif); + } + document.body.innerHTML = s; + var sc = document.scripts; + for (var i = 0; i < sc.length; i++) + { + sc[i].text = sc[i].text; + } + sn.hif = document.all("__hifSmartNav"); + if (sn.hif != null) + { + var hif = sn.hif; + sn.hifName = "__hifSmartNav" + (new Date()).getTime(); + frames["__hifSmartNav"].name = sn.hifName; + sn.hifDoc = hif.contentWindow.document; + if (sn.ie5) + hif.parentElement.removeChild(hif); + window.setTimeout(sn.restoreFocus,0); + } + if (typeof(window.onload) == "string") + { + try { eval(window.onload) } catch (e) {}; + } + else if (window.onload != null) + { + try { window.onload() } catch (e) {}; + } + sn._savedOnLoad = null; + sn.attachForm(); + }; + window.__smartNav.restoreFocus = function() + { + if (window.__smartNav.inPost == true) return; + var curAe = document.activeElement; + var sAeId = window.__smartNav.ae; + if (sAeId==null || curAe!=null && (curAe.id==sAeId||curAe.name==sAeId)) + return; + var ae = document.all(sAeId); + if (ae == null) return; + try { ae.focus(); } catch(e){}; + } + window.__smartNav.saveHistory = function() + { + if (window.__smartNav.hif != null) + window.__smartNav.hif.removeNode(); + if ( window.__smartNav.sHif != null + && document.all[window.__smartNav.siHif] != null) + document.all[window.__smartNav.siHif].insertAdjacentElement( + "BeforeBegin", window.__smartNav.sHif); + } + window.__smartNav.stopHif = function() + { + document.detachEvent("onstop", window.__smartNav.stopHif); + var sn = window.__smartNav; + if (sn.hifDoc == null && sn.hif != null) + { + try {sn.hifDoc = sn.hif.contentWindow.document;} + catch(e){sn.hifDoc=null} + } + if (sn.hifDoc != null) + { + try {sn.hifDoc.execCommand("stop");} catch (e){} + } + } + window.__smartNav.init = function() + { + var sn = window.__smartNav; + document.detachEvent("onstop", sn.stopHif); + document.attachEvent("onstop", sn.stopHif); + try { if (window.event.returnValue == false) return; } catch(e) {} + sn.inPost = true; + if (document.activeElement != null) + { + var ae = document.activeElement.id; + if (ae.length == 0) + ae = document.activeElement.name; + sn.ae = ae; + } + else + sn.ae = null; + try {document.selection.empty();} catch (e) {} + if (sn.hif == null) + { + sn.hif = document.all("__hifSmartNav"); + sn.hifDoc = sn.hif.contentWindow.document; + } + if (sn.hifDoc != null) + try {sn.hifDoc.designMode = "On";}catch(e){}; + if (sn.hif.parentElement == null) + document.body.appendChild(sn.hif); + var hif = sn.hif; + hif.detachEvent("onload", sn.update); + hif.attachEvent("onload", sn.update); + window.__smartNav.fInit = true; + }; + window.__smartNav.submit = function() + { + window.__smartNav.fInit = false; + try { window.__smartNav.init(); } catch(e) {} + if (window.__smartNav.fInit) + window.__smartNav.form._submit(); + }; + window.__smartNav.attachForm = function() + { + var cf = document.forms; + for (var i=0; i 0; + var rc = window.__smartNav.attachForm(); + var hif = document.all("__hifSmartNav"); + if (snSrc == null) { + if (typeof(window.dialogHeight) != "undefined") { + snSrc = "IEsmartnav1"; + hif.src = snSrc; + } else { + snSrc = hif.src; + } + } + if (rc) + { + var fsn = frames["__hifSmartNav"]; + fsn.name = window.__smartNav.hifName; + window.__smartNav.siHif = hif.sourceIndex; + try { + if (fsn.document.location != snSrc) + { + fsn.document.designMode = "On"; + hif.attachEvent("onload",window.__smartNav.update); + window.__smartNav.hif = hif; + } + } + catch (e) { window.__smartNav.hif = hif; } + window.attachEvent("onbeforeunload", window.__smartNav.saveHistory); + } + else + window.__smartNav = null; +} diff --git a/src/aspnet_client/system_web/1_1_4322/webuivalidation.js b/src/aspnet_client/system_web/1_1_4322/webuivalidation.js new file mode 100644 index 0000000..bfdee1f --- /dev/null +++ b/src/aspnet_client/system_web/1_1_4322/webuivalidation.js @@ -0,0 +1,403 @@ +var Page_ValidationVer = "125"; +var Page_IsValid = true; +var Page_BlockSubmit = false; +function ValidatorUpdateDisplay(val) { + if (typeof(val.display) == "string") { + if (val.display == "None") { + return; + } + if (val.display == "Dynamic") { + val.style.display = val.isvalid ? "none" : "inline"; + return; + } + } + val.style.visibility = val.isvalid ? "hidden" : "visible"; +} +function ValidatorUpdateIsValid() { + var i; + for (i = 0; i < Page_Validators.length; i++) { + if (!Page_Validators[i].isvalid) { + Page_IsValid = false; + return; + } + } + Page_IsValid = true; +} +function ValidatorHookupControlID(controlID, val) { + if (typeof(controlID) != "string") { + return; + } + var ctrl = document.all[controlID]; + if (typeof(ctrl) != "undefined") { + ValidatorHookupControl(ctrl, val); + } + else { + val.isvalid = true; + val.enabled = false; + } +} +function ValidatorHookupControl(control, val) { + if (typeof(control.tagName) == "undefined" && typeof(control.length) == "number") { + var i; + for (i = 0; i < control.length; i++) { + var inner = control[i]; + if (typeof(inner.value) == "string") { + ValidatorHookupControl(inner, val); + } + } + return; + } + else if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" && control.tagName != "SELECT") { + var i; + for (i = 0; i < control.children.length; i++) { + ValidatorHookupControl(control.children[i], val); + } + return; + } + else { + if (typeof(control.Validators) == "undefined") { + control.Validators = new Array; + var ev; + if (control.type == "radio") { + ev = control.onclick; + } else { + ev = control.onchange; + } + if (typeof(ev) == "function" ) { + ev = ev.toString(); + ev = ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}")); + } + else { + ev = ""; + } + var func = new Function("ValidatorOnChange(); " + ev); + if (control.type == "radio") { + control.onclick = func; + } else { + control.onchange = func; + } + } + control.Validators[control.Validators.length] = val; + } +} +function ValidatorGetValue(id) { + var control; + control = document.all[id]; + if (typeof(control.value) == "string") { + return control.value; + } + if (typeof(control.tagName) == "undefined" && typeof(control.length) == "number") { + var j; + for (j=0; j < control.length; j++) { + var inner = control[j]; + if (typeof(inner.value) == "string" && (inner.type != "radio" || inner.status == true)) { + return inner.value; + } + } + } + else { + return ValidatorGetValueRecursive(control); + } + return ""; +} +function ValidatorGetValueRecursive(control) +{ + if (typeof(control.value) == "string" && (control.type != "radio" || control.status == true)) { + return control.value; + } + var i, val; + for (i = 0; i0 ? m[2] : "0") + "." + m[4]; + num = parseFloat(cleanInput); + return (isNaN(num) ? null : num); + } + else if (dataType == "Currency") { + exp = new RegExp("^\\s*([-\\+])?(((\\d+)\\" + val.groupchar + ")*)(\\d+)" + + ((val.digits > 0) ? "(\\" + val.decimalchar + "(\\d{1," + val.digits + "}))?" : "") + + "\\s*$"); + m = op.match(exp); + if (m == null) + return null; + var intermed = m[2] + m[5] ; + cleanInput = m[1] + intermed.replace(new RegExp("(\\" + val.groupchar + ")", "g"), "") + ((val.digits > 0) ? "." + m[7] : 0); + num = parseFloat(cleanInput); + return (isNaN(num) ? null : num); + } + else if (dataType == "Date") { + var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\s*$"); + m = op.match(yearFirstExp); + var day, month, year; + if (m != null && (m[2].length == 4 || val.dateorder == "ymd")) { + day = m[6]; + month = m[5]; + year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10)) + } + else { + if (val.dateorder == "ymd"){ + return null; + } + var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})\\2((\\d{4})|(\\d{2}))\\s*$"); + m = op.match(yearLastExp); + if (m == null) { + return null; + } + if (val.dateorder == "mdy") { + day = m[3]; + month = m[1]; + } + else { + day = m[1]; + month = m[3]; + } + year = (m[5].length == 4) ? m[5] : GetFullYear(parseInt(m[6], 10)) + } + month -= 1; + var date = new Date(year, month, day); + return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null; + } + else { + return op.toString(); + } +} +function ValidatorCompare(operand1, operand2, operator, val) { + var dataType = val.type; + var op1, op2; + if ((op1 = ValidatorConvert(operand1, dataType, val)) == null) + return false; + if (operator == "DataTypeCheck") + return true; + if ((op2 = ValidatorConvert(operand2, dataType, val)) == null) + return true; + switch (operator) { + case "NotEqual": + return (op1 != op2); + case "GreaterThan": + return (op1 > op2); + case "GreaterThanEqual": + return (op1 >= op2); + case "LessThan": + return (op1 < op2); + case "LessThanEqual": + return (op1 <= op2); + default: + return (op1 == op2); + } +} +function CompareValidatorEvaluateIsValid(val) { + var value = ValidatorGetValue(val.controltovalidate); + if (ValidatorTrim(value).length == 0) + return true; + var compareTo = ""; + if (null == document.all[val.controltocompare]) { + if (typeof(val.valuetocompare) == "string") { + compareTo = val.valuetocompare; + } + } + else { + compareTo = ValidatorGetValue(val.controltocompare); + } + return ValidatorCompare(value, compareTo, val.operator, val); +} +function CustomValidatorEvaluateIsValid(val) { + var value = ""; + if (typeof(val.controltovalidate) == "string") { + value = ValidatorGetValue(val.controltovalidate); + if (ValidatorTrim(value).length == 0) + return true; + } + var args = { Value:value, IsValid:true }; + if (typeof(val.clientvalidationfunction) == "string") { + eval(val.clientvalidationfunction + "(val, args) ;"); + } + return args.IsValid; +} +function RegularExpressionValidatorEvaluateIsValid(val) { + var value = ValidatorGetValue(val.controltovalidate); + if (ValidatorTrim(value).length == 0) + return true; + var rx = new RegExp(val.validationexpression); + var matches = rx.exec(value); + return (matches != null && value == matches[0]); +} +function ValidatorTrim(s) { + var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/); + return (m == null) ? "" : m[1]; +} +function RequiredFieldValidatorEvaluateIsValid(val) { + return (ValidatorTrim(ValidatorGetValue(val.controltovalidate)) != ValidatorTrim(val.initialvalue)) +} +function RangeValidatorEvaluateIsValid(val) { + var value = ValidatorGetValue(val.controltovalidate); + if (ValidatorTrim(value).length == 0) + return true; + return (ValidatorCompare(value, val.minimumvalue, "GreaterThanEqual", val) && + ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val)); +} +function ValidationSummaryOnSubmit() { + if (typeof(Page_ValidationSummaries) == "undefined") + return; + var summary, sums, s; + for (sums = 0; sums < Page_ValidationSummaries.length; sums++) { + summary = Page_ValidationSummaries[sums]; + summary.style.display = "none"; + if (!Page_IsValid) { + if (summary.showsummary != "False") { + summary.style.display = ""; + if (typeof(summary.displaymode) != "string") { + summary.displaymode = "BulletList"; + } + switch (summary.displaymode) { + case "List": + headerSep = "
"; + first = ""; + pre = ""; + post = "
"; + final = ""; + break; + case "BulletList": + default: + headerSep = ""; + first = "
    "; + pre = "
  • "; + post = "
  • "; + final = "
"; + break; + case "SingleParagraph": + headerSep = " "; + first = ""; + pre = ""; + post = " "; + final = "
"; + break; + } + s = ""; + if (typeof(summary.headertext) == "string") { + s += summary.headertext + headerSep; + } + s += first; + for (i=0; i"; + } + for (i=0; i"; + break; + case "BulletList": + default: + s += " - " + Page_Validators[i].errormessage + "
"; + break; + case "SingleParagraph": + s += Page_Validators[i].errormessage + " "; + break; + } + } + } + span = document.createElement("SPAN"); + span.innerHTML = s; + s = span.innerText; + alert(s); + } + } + } +} diff --git a/src/default.htm b/src/default.htm new file mode 100644 index 0000000..6c68032 --- /dev/null +++ b/src/default.htm @@ -0,0 +1,55 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + +
+ +
+
+ +
+
+   SPOT Publicitario.
+
+
+ + + + diff --git a/src/effects.js b/src/effects.js new file mode 100644 index 0000000..9492c2f --- /dev/null +++ b/src/effects.js @@ -0,0 +1,903 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// Contributors: +// Justin Palmer (http://encytemedia.com/) +// Mark Pilgrim (http://diveintomark.org/) +// Martin Bialasinki +// +// See scriptaculous.js for full license. + +/* ------------- element ext -------------- */ + +// converts rgb() and #xxx to #xxxxxx format, +// returns self (or first argument) if not convertable +String.prototype.parseColor = function() { + var color = '#'; + if(this.slice(0,4) == 'rgb(') { + var cols = this.slice(4,this.length-1).split(','); + var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3); + } else { + if(this.slice(0,1) == '#') { + if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase(); + if(this.length==7) color = this.toLowerCase(); + } + } + return(color.length==7 ? color : (arguments[0] || this)); +} + +Element.collectTextNodes = function(element) { + return $A($(element).childNodes).collect( function(node) { + return (node.nodeType==3 ? node.nodeValue : + (node.hasChildNodes() ? Element.collectTextNodes(node) : '')); + }).flatten().join(''); +} + +Element.collectTextNodesIgnoreClass = function(element, className) { + return $A($(element).childNodes).collect( function(node) { + return (node.nodeType==3 ? node.nodeValue : + ((node.hasChildNodes() && !Element.hasClassName(node,className)) ? + Element.collectTextNodes(node) : '')); + }).flatten().join(''); +} + +Element.setStyle = function(element, style) { + element = $(element); + for(k in style) element.style[k.camelize()] = style[k]; +} + +Element.setContentZoom = function(element, percent) { + Element.setStyle(element, {fontSize: (percent/100) + 'em'}); + if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0); +} + +Element.getOpacity = function(element){ + var opacity; + if (opacity = Element.getStyle(element, 'opacity')) + return parseFloat(opacity); + if (opacity = (Element.getStyle(element, 'filter') || '').match(/alpha\(opacity=(.*)\)/)) + if(opacity[1]) return parseFloat(opacity[1]) / 100; + return 1.0; +} + +Element.setOpacity = function(element, value){ + element= $(element); + if (value == 1){ + Element.setStyle(element, { opacity: + (/Gecko/.test(navigator.userAgent) && !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ? + 0.999999 : null }); + if(/MSIE/.test(navigator.userAgent)) + Element.setStyle(element, {filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'')}); + } else { + if(value < 0.00001) value = 0; + Element.setStyle(element, {opacity: value}); + if(/MSIE/.test(navigator.userAgent)) + Element.setStyle(element, + { filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'') + + 'alpha(opacity='+value*100+')' }); + } +} + +Element.getInlineOpacity = function(element){ + return $(element).style.opacity || ''; +} + +Element.childrenWithClassName = function(element, className) { + return $A($(element).getElementsByTagName('*')).select( + function(c) { return Element.hasClassName(c, className) }); +} + +Array.prototype.call = function() { + var args = arguments; + this.each(function(f){ f.apply(this, args) }); +} + +/*--------------------------------------------------------------------------*/ + +var Effect = { + tagifyText: function(element) { + var tagifyStyle = 'position:relative'; + if(/MSIE/.test(navigator.userAgent)) tagifyStyle += ';zoom:1'; + element = $(element); + $A(element.childNodes).each( function(child) { + if(child.nodeType==3) { + child.nodeValue.toArray().each( function(character) { + element.insertBefore( + Builder.node('span',{style: tagifyStyle}, + character == ' ' ? String.fromCharCode(160) : character), + child); + }); + Element.remove(child); + } + }); + }, + multiple: function(element, effect) { + var elements; + if(((typeof element == 'object') || + (typeof element == 'function')) && + (element.length)) + elements = element; + else + elements = $(element).childNodes; + + var options = Object.extend({ + speed: 0.1, + delay: 0.0 + }, arguments[2] || {}); + var masterDelay = options.delay; + + $A(elements).each( function(element, index) { + new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay })); + }); + }, + PAIRS: { + 'slide': ['SlideDown','SlideUp'], + 'blind': ['BlindDown','BlindUp'], + 'appear': ['Appear','Fade'] + }, + toggle: function(element, effect) { + element = $(element); + effect = (effect || 'appear').toLowerCase(); + var options = Object.extend({ + queue: { position:'end', scope:(element.id || 'global') } + }, arguments[2] || {}); + Effect[Element.visible(element) ? + Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options); + } +}; + +var Effect2 = Effect; // deprecated + +/* ------------- transitions ------------- */ + +Effect.Transitions = {} + +Effect.Transitions.linear = function(pos) { + return pos; +} +Effect.Transitions.sinoidal = function(pos) { + return (-Math.cos(pos*Math.PI)/2) + 0.5; +} +Effect.Transitions.reverse = function(pos) { + return 1-pos; +} +Effect.Transitions.flicker = function(pos) { + return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4; +} +Effect.Transitions.wobble = function(pos) { + return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5; +} +Effect.Transitions.pulse = function(pos) { + return (Math.floor(pos*10) % 2 == 0 ? + (pos*10-Math.floor(pos*10)) : 1-(pos*10-Math.floor(pos*10))); +} +Effect.Transitions.none = function(pos) { + return 0; +} +Effect.Transitions.full = function(pos) { + return 1; +} + +/* ------------- core effects ------------- */ + +Effect.ScopedQueue = Class.create(); +Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), { + initialize: function() { + this.effects = []; + this.interval = null; + }, + _each: function(iterator) { + this.effects._each(iterator); + }, + add: function(effect) { + var timestamp = new Date().getTime(); + + var position = (typeof effect.options.queue == 'string') ? + effect.options.queue : effect.options.queue.position; + + switch(position) { + case 'front': + // move unstarted effects after this effect + this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { + e.startOn += effect.finishOn; + e.finishOn += effect.finishOn; + }); + break; + case 'end': + // start effect after last queued effect has finished + timestamp = this.effects.pluck('finishOn').max() || timestamp; + break; + } + + effect.startOn += timestamp; + effect.finishOn += timestamp; + this.effects.push(effect); + if(!this.interval) + this.interval = setInterval(this.loop.bind(this), 40); + }, + remove: function(effect) { + this.effects = this.effects.reject(function(e) { return e==effect }); + if(this.effects.length == 0) { + clearInterval(this.interval); + this.interval = null; + } + }, + loop: function() { + var timePos = new Date().getTime(); + this.effects.invoke('loop', timePos); + } +}); + +Effect.Queues = { + instances: $H(), + get: function(queueName) { + if(typeof queueName != 'string') return queueName; + + if(!this.instances[queueName]) + this.instances[queueName] = new Effect.ScopedQueue(); + + return this.instances[queueName]; + } +} +Effect.Queue = Effect.Queues.get('global'); + +Effect.DefaultOptions = { + transition: Effect.Transitions.sinoidal, + duration: 1.0, // seconds + fps: 25.0, // max. 25fps due to Effect.Queue implementation + sync: false, // true for combining + from: 0.0, + to: 1.0, + delay: 0.0, + queue: 'parallel' +} + +Effect.Base = function() {}; +Effect.Base.prototype = { + position: null, + start: function(options) { + this.options = Object.extend(Object.extend({},Effect.DefaultOptions), options || {}); + this.currentFrame = 0; + this.state = 'idle'; + this.startOn = this.options.delay*1000; + this.finishOn = this.startOn + (this.options.duration*1000); + this.event('beforeStart'); + if(!this.options.sync) + Effect.Queues.get(typeof this.options.queue == 'string' ? + 'global' : this.options.queue.scope).add(this); + }, + loop: function(timePos) { + if(timePos >= this.startOn) { + if(timePos >= this.finishOn) { + this.render(1.0); + this.cancel(); + this.event('beforeFinish'); + if(this.finish) this.finish(); + this.event('afterFinish'); + return; + } + var pos = (timePos - this.startOn) / (this.finishOn - this.startOn); + var frame = Math.round(pos * this.options.fps * this.options.duration); + if(frame > this.currentFrame) { + this.render(pos); + this.currentFrame = frame; + } + } + }, + render: function(pos) { + if(this.state == 'idle') { + this.state = 'running'; + this.event('beforeSetup'); + if(this.setup) this.setup(); + this.event('afterSetup'); + } + if(this.state == 'running') { + if(this.options.transition) pos = this.options.transition(pos); + pos *= (this.options.to-this.options.from); + pos += this.options.from; + this.position = pos; + this.event('beforeUpdate'); + if(this.update) this.update(pos); + this.event('afterUpdate'); + } + }, + cancel: function() { + if(!this.options.sync) + Effect.Queues.get(typeof this.options.queue == 'string' ? + 'global' : this.options.queue.scope).remove(this); + this.state = 'finished'; + }, + event: function(eventName) { + if(this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this); + if(this.options[eventName]) this.options[eventName](this); + }, + inspect: function() { + return '#'; + } +} + +Effect.Parallel = Class.create(); +Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), { + initialize: function(effects) { + this.effects = effects || []; + this.start(arguments[1]); + }, + update: function(position) { + this.effects.invoke('render', position); + }, + finish: function(position) { + this.effects.each( function(effect) { + effect.render(1.0); + effect.cancel(); + effect.event('beforeFinish'); + if(effect.finish) effect.finish(position); + effect.event('afterFinish'); + }); + } +}); + +Effect.Opacity = Class.create(); +Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + // make this work on IE on elements without 'layout' + if(/MSIE/.test(navigator.userAgent) && (!this.element.hasLayout)) + Element.setStyle(this.element, {zoom: 1}); + var options = Object.extend({ + from: Element.getOpacity(this.element) || 0.0, + to: 1.0 + }, arguments[1] || {}); + this.start(options); + }, + update: function(position) { + Element.setOpacity(this.element, position); + } +}); + +Effect.Move = Class.create(); +Object.extend(Object.extend(Effect.Move.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ + x: 0, + y: 0, + mode: 'relative' + }, arguments[1] || {}); + this.start(options); + }, + setup: function() { + // Bug in Opera: Opera returns the "real" position of a static element or + // relative element that does not have top/left explicitly set. + // ==> Always set top and left for position relative elements in your stylesheets + // (to 0 if you do not need them) + Element.makePositioned(this.element); + this.originalLeft = parseFloat(Element.getStyle(this.element,'left') || '0'); + this.originalTop = parseFloat(Element.getStyle(this.element,'top') || '0'); + if(this.options.mode == 'absolute') { + // absolute movement, so we need to calc deltaX and deltaY + this.options.x = this.options.x - this.originalLeft; + this.options.y = this.options.y - this.originalTop; + } + }, + update: function(position) { + Element.setStyle(this.element, { + left: this.options.x * position + this.originalLeft + 'px', + top: this.options.y * position + this.originalTop + 'px' + }); + } +}); + +// for backwards compatibility +Effect.MoveBy = function(element, toTop, toLeft) { + return new Effect.Move(element, + Object.extend({ x: toLeft, y: toTop }, arguments[3] || {})); +}; + +Effect.Scale = Class.create(); +Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), { + initialize: function(element, percent) { + this.element = $(element) + var options = Object.extend({ + scaleX: true, + scaleY: true, + scaleContent: true, + scaleFromCenter: false, + scaleMode: 'box', // 'box' or 'contents' or {} with provided values + scaleFrom: 100.0, + scaleTo: percent + }, arguments[2] || {}); + this.start(options); + }, + setup: function() { + this.restoreAfterFinish = this.options.restoreAfterFinish || false; + this.elementPositioning = Element.getStyle(this.element,'position'); + + this.originalStyle = {}; + ['top','left','width','height','fontSize'].each( function(k) { + this.originalStyle[k] = this.element.style[k]; + }.bind(this)); + + this.originalTop = this.element.offsetTop; + this.originalLeft = this.element.offsetLeft; + + var fontSize = Element.getStyle(this.element,'font-size') || '100%'; + ['em','px','%'].each( function(fontSizeType) { + if(fontSize.indexOf(fontSizeType)>0) { + this.fontSize = parseFloat(fontSize); + this.fontSizeType = fontSizeType; + } + }.bind(this)); + + this.factor = (this.options.scaleTo - this.options.scaleFrom)/100; + + this.dims = null; + if(this.options.scaleMode=='box') + this.dims = [this.element.offsetHeight, this.element.offsetWidth]; + if(/^content/.test(this.options.scaleMode)) + this.dims = [this.element.scrollHeight, this.element.scrollWidth]; + if(!this.dims) + this.dims = [this.options.scaleMode.originalHeight, + this.options.scaleMode.originalWidth]; + }, + update: function(position) { + var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position); + if(this.options.scaleContent && this.fontSize) + Element.setStyle(this.element, {fontSize: this.fontSize * currentScale + this.fontSizeType }); + this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale); + }, + finish: function(position) { + if (this.restoreAfterFinish) Element.setStyle(this.element, this.originalStyle); + }, + setDimensions: function(height, width) { + var d = {}; + if(this.options.scaleX) d.width = width + 'px'; + if(this.options.scaleY) d.height = height + 'px'; + if(this.options.scaleFromCenter) { + var topd = (height - this.dims[0])/2; + var leftd = (width - this.dims[1])/2; + if(this.elementPositioning == 'absolute') { + if(this.options.scaleY) d.top = this.originalTop-topd + 'px'; + if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px'; + } else { + if(this.options.scaleY) d.top = -topd + 'px'; + if(this.options.scaleX) d.left = -leftd + 'px'; + } + } + Element.setStyle(this.element, d); + } +}); + +Effect.Highlight = Class.create(); +Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {}); + this.start(options); + }, + setup: function() { + // Prevent executing on elements not in the layout flow + if(Element.getStyle(this.element, 'display')=='none') { this.cancel(); return; } + // Disable background image during the effect + this.oldStyle = { + backgroundImage: Element.getStyle(this.element, 'background-image') }; + Element.setStyle(this.element, {backgroundImage: 'none'}); + if(!this.options.endcolor) + this.options.endcolor = Element.getStyle(this.element, 'background-color').parseColor('#ffffff'); + if(!this.options.restorecolor) + this.options.restorecolor = Element.getStyle(this.element, 'background-color'); + // init color calculations + this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this)); + this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this)); + }, + update: function(position) { + Element.setStyle(this.element,{backgroundColor: $R(0,2).inject('#',function(m,v,i){ + return m+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart()); }.bind(this)) }); + }, + finish: function() { + Element.setStyle(this.element, Object.extend(this.oldStyle, { + backgroundColor: this.options.restorecolor + })); + } +}); + +Effect.ScrollTo = Class.create(); +Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + this.start(arguments[1] || {}); + }, + setup: function() { + Position.prepare(); + var offsets = Position.cumulativeOffset(this.element); + if(this.options.offset) offsets[1] += this.options.offset; + var max = window.innerHeight ? + window.height - window.innerHeight : + document.body.scrollHeight - + (document.documentElement.clientHeight ? + document.documentElement.clientHeight : document.body.clientHeight); + this.scrollStart = Position.deltaY; + this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart; + }, + update: function(position) { + Position.prepare(); + window.scrollTo(Position.deltaX, + this.scrollStart + (position*this.delta)); + } +}); + +/* ------------- combination effects ------------- */ + +Effect.Fade = function(element) { + var oldOpacity = Element.getInlineOpacity(element); + var options = Object.extend({ + from: Element.getOpacity(element) || 1.0, + to: 0.0, + afterFinishInternal: function(effect) { with(Element) { + if(effect.options.to!=0) return; + hide(effect.element); + setStyle(effect.element, {opacity: oldOpacity}); }} + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Appear = function(element) { + var options = Object.extend({ + from: (Element.getStyle(element, 'display') == 'none' ? 0.0 : Element.getOpacity(element) || 0.0), + to: 1.0, + beforeSetup: function(effect) { with(Element) { + setOpacity(effect.element, effect.options.from); + show(effect.element); }} + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Puff = function(element) { + element = $(element); + var oldStyle = { opacity: Element.getInlineOpacity(element), position: Element.getStyle(element, 'position') }; + return new Effect.Parallel( + [ new Effect.Scale(element, 200, + { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), + new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], + Object.extend({ duration: 1.0, + beforeSetupInternal: function(effect) { with(Element) { + setStyle(effect.effects[0].element, {position: 'absolute'}); }}, + afterFinishInternal: function(effect) { with(Element) { + hide(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, arguments[1] || {}) + ); +} + +Effect.BlindUp = function(element) { + element = $(element); + Element.makeClipping(element); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + restoreAfterFinish: true, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); }} + }, arguments[1] || {}) + ); +} + +Effect.BlindDown = function(element) { + element = $(element); + var oldHeight = Element.getStyle(element, 'height'); + var elementDimensions = Element.getDimensions(element); + return new Effect.Scale(element, 100, + Object.extend({ scaleContent: false, + scaleX: false, + scaleFrom: 0, + scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, + restoreAfterFinish: true, + afterSetup: function(effect) { with(Element) { + makeClipping(effect.element); + setStyle(effect.element, {height: '0px'}); + show(effect.element); + }}, + afterFinishInternal: function(effect) { with(Element) { + undoClipping(effect.element); + setStyle(effect.element, {height: oldHeight}); + }} + }, arguments[1] || {}) + ); +} + +Effect.SwitchOff = function(element) { + element = $(element); + var oldOpacity = Element.getInlineOpacity(element); + return new Effect.Appear(element, { + duration: 0.4, + from: 0, + transition: Effect.Transitions.flicker, + afterFinishInternal: function(effect) { + new Effect.Scale(effect.element, 1, { + duration: 0.3, scaleFromCenter: true, + scaleX: false, scaleContent: false, restoreAfterFinish: true, + beforeSetup: function(effect) { with(Element) { + [makePositioned,makeClipping].call(effect.element); + }}, + afterFinishInternal: function(effect) { with(Element) { + [hide,undoClipping,undoPositioned].call(effect.element); + setStyle(effect.element, {opacity: oldOpacity}); + }} + }) + } + }); +} + +Effect.DropOut = function(element) { + element = $(element); + var oldStyle = { + top: Element.getStyle(element, 'top'), + left: Element.getStyle(element, 'left'), + opacity: Element.getInlineOpacity(element) }; + return new Effect.Parallel( + [ new Effect.Move(element, {x: 0, y: 100, sync: true }), + new Effect.Opacity(element, { sync: true, to: 0.0 }) ], + Object.extend( + { duration: 0.5, + beforeSetup: function(effect) { with(Element) { + makePositioned(effect.effects[0].element); }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, arguments[1] || {})); +} + +Effect.Shake = function(element) { + element = $(element); + var oldStyle = { + top: Element.getStyle(element, 'top'), + left: Element.getStyle(element, 'left') }; + return new Effect.Move(element, + { x: 20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { with(Element) { + undoPositioned(effect.element); + setStyle(effect.element, oldStyle); + }}}) }}) }}) }}) }}) }}); +} + +Effect.SlideDown = function(element) { + element = $(element); + Element.cleanWhitespace(element); + // SlideDown need to have the content of the element wrapped in a container element with fixed height! + var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom'); + var elementDimensions = Element.getDimensions(element); + return new Effect.Scale(element, 100, Object.extend({ + scaleContent: false, + scaleX: false, + scaleFrom: 0, + scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, + restoreAfterFinish: true, + afterSetup: function(effect) { with(Element) { + makePositioned(effect.element); + makePositioned(effect.element.firstChild); + if(window.opera) setStyle(effect.element, {top: ''}); + makeClipping(effect.element); + setStyle(effect.element, {height: '0px'}); + show(element); }}, + afterUpdateInternal: function(effect) { with(Element) { + setStyle(effect.element.firstChild, {bottom: + (effect.dims[0] - effect.element.clientHeight) + 'px' }); }}, + afterFinishInternal: function(effect) { with(Element) { + undoClipping(effect.element); + undoPositioned(effect.element.firstChild); + undoPositioned(effect.element); + setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }} + }, arguments[1] || {}) + ); +} + +Effect.SlideUp = function(element) { + element = $(element); + Element.cleanWhitespace(element); + var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom'); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + scaleMode: 'box', + scaleFrom: 100, + restoreAfterFinish: true, + beforeStartInternal: function(effect) { with(Element) { + makePositioned(effect.element); + makePositioned(effect.element.firstChild); + if(window.opera) setStyle(effect.element, {top: ''}); + makeClipping(effect.element); + show(element); }}, + afterUpdateInternal: function(effect) { with(Element) { + setStyle(effect.element.firstChild, {bottom: + (effect.dims[0] - effect.element.clientHeight) + 'px' }); }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); + undoPositioned(effect.element.firstChild); + undoPositioned(effect.element); + setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }} + }, arguments[1] || {}) + ); +} + +// Bug in opera makes the TD containing this element expand for a instance after finish +Effect.Squish = function(element) { + return new Effect.Scale(element, window.opera ? 1 : 0, + { restoreAfterFinish: true, + beforeSetup: function(effect) { with(Element) { + makeClipping(effect.element); }}, + afterFinishInternal: function(effect) { with(Element) { + hide(effect.element); + undoClipping(effect.element); }} + }); +} + +Effect.Grow = function(element) { + element = $(element); + var options = Object.extend({ + direction: 'center', + moveTransistion: Effect.Transitions.sinoidal, + scaleTransition: Effect.Transitions.sinoidal, + opacityTransition: Effect.Transitions.full + }, arguments[1] || {}); + var oldStyle = { + top: element.style.top, + left: element.style.left, + height: element.style.height, + width: element.style.width, + opacity: Element.getInlineOpacity(element) }; + + var dims = Element.getDimensions(element); + var initialMoveX, initialMoveY; + var moveX, moveY; + + switch (options.direction) { + case 'top-left': + initialMoveX = initialMoveY = moveX = moveY = 0; + break; + case 'top-right': + initialMoveX = dims.width; + initialMoveY = moveY = 0; + moveX = -dims.width; + break; + case 'bottom-left': + initialMoveX = moveX = 0; + initialMoveY = dims.height; + moveY = -dims.height; + break; + case 'bottom-right': + initialMoveX = dims.width; + initialMoveY = dims.height; + moveX = -dims.width; + moveY = -dims.height; + break; + case 'center': + initialMoveX = dims.width / 2; + initialMoveY = dims.height / 2; + moveX = -dims.width / 2; + moveY = -dims.height / 2; + break; + } + + return new Effect.Move(element, { + x: initialMoveX, + y: initialMoveY, + duration: 0.01, + beforeSetup: function(effect) { with(Element) { + hide(effect.element); + makeClipping(effect.element); + makePositioned(effect.element); + }}, + afterFinishInternal: function(effect) { + new Effect.Parallel( + [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }), + new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }), + new Effect.Scale(effect.element, 100, { + scaleMode: { originalHeight: dims.height, originalWidth: dims.width }, + sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true}) + ], Object.extend({ + beforeSetup: function(effect) { with(Element) { + setStyle(effect.effects[0].element, {height: '0px'}); + show(effect.effects[0].element); }}, + afterFinishInternal: function(effect) { with(Element) { + [undoClipping, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, options) + ) + } + }); +} + +Effect.Shrink = function(element) { + element = $(element); + var options = Object.extend({ + direction: 'center', + moveTransistion: Effect.Transitions.sinoidal, + scaleTransition: Effect.Transitions.sinoidal, + opacityTransition: Effect.Transitions.none + }, arguments[1] || {}); + var oldStyle = { + top: element.style.top, + left: element.style.left, + height: element.style.height, + width: element.style.width, + opacity: Element.getInlineOpacity(element) }; + + var dims = Element.getDimensions(element); + var moveX, moveY; + + switch (options.direction) { + case 'top-left': + moveX = moveY = 0; + break; + case 'top-right': + moveX = dims.width; + moveY = 0; + break; + case 'bottom-left': + moveX = 0; + moveY = dims.height; + break; + case 'bottom-right': + moveX = dims.width; + moveY = dims.height; + break; + case 'center': + moveX = dims.width / 2; + moveY = dims.height / 2; + break; + } + + return new Effect.Parallel( + [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }), + new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}), + new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }) + ], Object.extend({ + beforeStartInternal: function(effect) { with(Element) { + [makePositioned, makeClipping].call(effect.effects[0].element) }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, options) + ); +} + +Effect.Pulsate = function(element) { + element = $(element); + var options = arguments[1] || {}; + var oldOpacity = Element.getInlineOpacity(element); + var transition = options.transition || Effect.Transitions.sinoidal; + var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) }; + reverser.bind(transition); + return new Effect.Opacity(element, + Object.extend(Object.extend({ duration: 3.0, from: 0, + afterFinishInternal: function(effect) { Element.setStyle(effect.element, {opacity: oldOpacity}); } + }, options), {transition: reverser})); +} + +Effect.Fold = function(element) { + element = $(element); + var oldStyle = { + top: element.style.top, + left: element.style.left, + width: element.style.width, + height: element.style.height }; + Element.makeClipping(element); + return new Effect.Scale(element, 5, Object.extend({ + scaleContent: false, + scaleX: false, + afterFinishInternal: function(effect) { + new Effect.Scale(element, 1, { + scaleContent: false, + scaleY: false, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); + setStyle(effect.element, oldStyle); + }} }); + }}, arguments[1] || {})); +} diff --git a/src/googlef81d58ff3867b09c.html b/src/googlef81d58ff3867b09c.html new file mode 100644 index 0000000..e69de29 diff --git a/src/images/Acercade.jpg b/src/images/Acercade.jpg new file mode 100644 index 0000000..333ad67 Binary files /dev/null and b/src/images/Acercade.jpg differ diff --git a/src/images/Armarios.jpg b/src/images/Armarios.jpg new file mode 100644 index 0000000..523dbff Binary files /dev/null and b/src/images/Armarios.jpg differ diff --git a/src/images/Banner.jpg b/src/images/Banner.jpg new file mode 100644 index 0000000..cc27857 Binary files /dev/null and b/src/images/Banner.jpg differ diff --git a/src/images/Cocinas.jpg b/src/images/Cocinas.jpg new file mode 100644 index 0000000..ebec9ef Binary files /dev/null and b/src/images/Cocinas.jpg differ diff --git a/src/images/Copia de Portada.jpg b/src/images/Copia de Portada.jpg new file mode 100644 index 0000000..e895592 Binary files /dev/null and b/src/images/Copia de Portada.jpg differ diff --git a/src/images/Copia de fondo.gif b/src/images/Copia de fondo.gif new file mode 100644 index 0000000..67defa5 Binary files /dev/null and b/src/images/Copia de fondo.gif differ diff --git a/src/images/Inicio.gif b/src/images/Inicio.gif new file mode 100644 index 0000000..bdf2d9f Binary files /dev/null and b/src/images/Inicio.gif differ diff --git a/src/images/MenuExpo.jpg b/src/images/MenuExpo.jpg new file mode 100644 index 0000000..dbdd97f Binary files /dev/null and b/src/images/MenuExpo.jpg differ diff --git a/src/images/MenuExpo1.jpg b/src/images/MenuExpo1.jpg new file mode 100644 index 0000000..23780ac Binary files /dev/null and b/src/images/MenuExpo1.jpg differ diff --git a/src/images/MenuExpo2.jpg b/src/images/MenuExpo2.jpg new file mode 100644 index 0000000..35bee7c Binary files /dev/null and b/src/images/MenuExpo2.jpg differ diff --git a/src/images/MenuExpo3.jpg b/src/images/MenuExpo3.jpg new file mode 100644 index 0000000..409a7bf Binary files /dev/null and b/src/images/MenuExpo3.jpg differ diff --git a/src/images/MenuExpo4.jpg b/src/images/MenuExpo4.jpg new file mode 100644 index 0000000..97eed75 Binary files /dev/null and b/src/images/MenuExpo4.jpg differ diff --git a/src/images/MenuExpo5.jpg b/src/images/MenuExpo5.jpg new file mode 100644 index 0000000..d70fe7c Binary files /dev/null and b/src/images/MenuExpo5.jpg differ diff --git a/src/images/MenuExpo6.jpg b/src/images/MenuExpo6.jpg new file mode 100644 index 0000000..2e1ee21 Binary files /dev/null and b/src/images/MenuExpo6.jpg differ diff --git a/src/images/MenuExpo7.jpg b/src/images/MenuExpo7.jpg new file mode 100644 index 0000000..7e4b9e6 Binary files /dev/null and b/src/images/MenuExpo7.jpg differ diff --git a/src/images/MenuPromo1.jpg b/src/images/MenuPromo1.jpg new file mode 100644 index 0000000..d81e4d2 Binary files /dev/null and b/src/images/MenuPromo1.jpg differ diff --git a/src/images/MenuPromo2.jpg b/src/images/MenuPromo2.jpg new file mode 100644 index 0000000..6956cdb Binary files /dev/null and b/src/images/MenuPromo2.jpg differ diff --git a/src/images/MenuPromo3.jpg b/src/images/MenuPromo3.jpg new file mode 100644 index 0000000..31b8157 Binary files /dev/null and b/src/images/MenuPromo3.jpg differ diff --git a/src/images/MenuPromo4.jpg b/src/images/MenuPromo4.jpg new file mode 100644 index 0000000..2efd269 Binary files /dev/null and b/src/images/MenuPromo4.jpg differ diff --git a/src/images/MenuPromo5.jpg b/src/images/MenuPromo5.jpg new file mode 100644 index 0000000..e34136c Binary files /dev/null and b/src/images/MenuPromo5.jpg differ diff --git a/src/images/MenuPromo6.jpg b/src/images/MenuPromo6.jpg new file mode 100644 index 0000000..17905d8 Binary files /dev/null and b/src/images/MenuPromo6.jpg differ diff --git a/src/images/MenuPromo7.jpg b/src/images/MenuPromo7.jpg new file mode 100644 index 0000000..a0a95c1 Binary files /dev/null and b/src/images/MenuPromo7.jpg differ diff --git a/src/images/MenuPromo8.jpg b/src/images/MenuPromo8.jpg new file mode 100644 index 0000000..c6ffc9b Binary files /dev/null and b/src/images/MenuPromo8.jpg differ diff --git a/src/images/Portada.jpg b/src/images/Portada.jpg new file mode 100644 index 0000000..046f113 Binary files /dev/null and b/src/images/Portada.jpg differ diff --git a/src/images/Techos.jpg b/src/images/Techos.jpg new file mode 100644 index 0000000..ea22e1f Binary files /dev/null and b/src/images/Techos.jpg differ diff --git a/src/images/Thumbs.db b/src/images/Thumbs.db new file mode 100644 index 0000000..d54d1f8 Binary files /dev/null and b/src/images/Thumbs.db differ diff --git a/src/images/TiendaMoratalaz.jpg b/src/images/TiendaMoratalaz.jpg new file mode 100644 index 0000000..3676281 Binary files /dev/null and b/src/images/TiendaMoratalaz.jpg differ diff --git a/src/images/TiendaRivas.jpg b/src/images/TiendaRivas.jpg new file mode 100644 index 0000000..ea2dcc5 Binary files /dev/null and b/src/images/TiendaRivas.jpg differ diff --git a/src/images/blank.gif b/src/images/blank.gif new file mode 100644 index 0000000..1d11fa9 Binary files /dev/null and b/src/images/blank.gif differ diff --git a/src/images/close.gif b/src/images/close.gif new file mode 100644 index 0000000..ca517b6 Binary files /dev/null and b/src/images/close.gif differ diff --git a/src/images/closelabel.gif b/src/images/closelabel.gif new file mode 100644 index 0000000..b4ab222 Binary files /dev/null and b/src/images/closelabel.gif differ diff --git a/src/images/email.gif b/src/images/email.gif new file mode 100644 index 0000000..a2bac8e Binary files /dev/null and b/src/images/email.gif differ diff --git a/src/images/fondo.gif b/src/images/fondo.gif new file mode 100644 index 0000000..9b6105e Binary files /dev/null and b/src/images/fondo.gif differ diff --git a/src/images/image-1.jpg b/src/images/image-1.jpg new file mode 100644 index 0000000..1f8ab9f Binary files /dev/null and b/src/images/image-1.jpg differ diff --git a/src/images/loading.gif b/src/images/loading.gif new file mode 100644 index 0000000..f864d5f Binary files /dev/null and b/src/images/loading.gif differ diff --git a/src/images/next.gif b/src/images/next.gif new file mode 100644 index 0000000..1fe6ca1 Binary files /dev/null and b/src/images/next.gif differ diff --git a/src/images/nextlabel.gif b/src/images/nextlabel.gif new file mode 100644 index 0000000..7c66121 Binary files /dev/null and b/src/images/nextlabel.gif differ diff --git a/src/images/prev.gif b/src/images/prev.gif new file mode 100644 index 0000000..aefa804 Binary files /dev/null and b/src/images/prev.gif differ diff --git a/src/images/prevlabel.gif b/src/images/prevlabel.gif new file mode 100644 index 0000000..0641876 Binary files /dev/null and b/src/images/prevlabel.gif differ diff --git a/src/images/punto.jpg b/src/images/punto.jpg new file mode 100644 index 0000000..9a8e5b8 Binary files /dev/null and b/src/images/punto.jpg differ diff --git a/src/index.htm b/src/index.htm new file mode 100644 index 0000000..0f2f54d --- /dev/null +++ b/src/index.htm @@ -0,0 +1,66 @@ + + + + + + +Estudio de diseño y decoración Miguelo. + + + + + + + + + +
+ +
+
+ +
+
+   SPOT Publicitario. +
+
+ + + + diff --git a/src/lightbox.css b/src/lightbox.css new file mode 100644 index 0000000..31f0938 --- /dev/null +++ b/src/lightbox.css @@ -0,0 +1,104 @@ +#lightbox{ + position: absolute; + top: 40px; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; + } + +#lightbox a img{ border: none; } + +#outerImageContainer{ + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; + } + +#imageContainer{ + padding: 10px; + } + +#loading{ + position: absolute; + top: 40%; + left: 0%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + } +#hoverNav{ + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; + } +#imageContainer>#hoverNav{ left: 0;} +#hoverNav a{ outline: none;} + +#prevLink, #nextLink{ + width: 49%; + height: 100%; + background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */ + display: block; + } +#prevLink { left: 0; float: left;} +#nextLink { right: 0; float: right;} +#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; } +#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; } + + +#imageDataContainer{ + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + } + +#imageData{ + padding:0 10px; + } +#imageData #imageDetails{ width: 70%; float: left; text-align: left; } +#imageData #caption{ font-weight: bold; } +#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } +#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; } + +#overlay{ + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; +# height: 500px; + background-color: #000; + filter:alpha(opacity=60); + -moz-opacity: 0.6; + opacity: 0.6; + } + + +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } + +* html>body .clearfix { + display: inline-block; + width: 100%; + } + +* html .clearfix { + /* Hides from IE-mac \*/ + height: 1%; + /* End hide from IE-mac */ + } + \ No newline at end of file diff --git a/src/lightbox.js b/src/lightbox.js new file mode 100644 index 0000000..f746712 --- /dev/null +++ b/src/lightbox.js @@ -0,0 +1,689 @@ +// ----------------------------------------------------------------------------------- +// +// Lightbox v2.01 +// by Lokesh Dhakar - http://www.huddletogether.com +// 3/31/06 +// +// For more information on this script, visit: +// http://huddletogether.com/projects/lightbox2/ +// +// Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ +// +// Credit also due to those who have helped, inspired, and made their code available to the public. +// Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others. +// +// +// ----------------------------------------------------------------------------------- +/* + + Table of Contents + ----------------- + Configuration + Global Variables + + Extending Built-in Objects + - Object.extend(Element) + - Array.prototype.removeDuplicates() + - Array.prototype.empty() + + Lightbox Class Declaration + - initialize() + - start() + - changeImage() + - resizeImageContainer() + - showImage() + - updateDetails() + - updateNav() + - enableKeyboardNav() + - disableKeyboardNav() + - keyboardAction() + - preloadNeighborImages() + - end() + + Miscellaneous Functions + - getPageScroll() + - getPageSize() + - getKey() + - listenKey() + - showSelectBoxes() + - hideSelectBoxes() + - pause() + - initLightbox() + + Function Calls + - addLoadEvent(initLightbox) + +*/ +// ----------------------------------------------------------------------------------- + +// +// Configuration +// +var fileLoadingImage = "images/loading.gif"; +var fileBottomNavCloseImage = "images/closelabel.gif"; + +var resizeSpeed = 7; // controls the speed of the image resizing (1=slowest and 10=fastest) + +var borderSize = 10; //if you adjust the padding in the CSS, you will need to update this variable + +// ----------------------------------------------------------------------------------- + +// +// Global Variables +// +var imageArray = new Array; +var activeImage; + +if(resizeSpeed > 10){ resizeSpeed = 10;} +if(resizeSpeed < 1){ resizeSpeed = 1;} +resizeDuration = (11 - resizeSpeed) * 0.15; + +// ----------------------------------------------------------------------------------- + +// +// Additional methods for Element added by SU, Couloir +// - further additions by Lokesh Dhakar (huddletogether.com) +// +Object.extend(Element, { + getWidth: function(element) { + element = $(element); + return element.offsetWidth; + }, + setWidth: function(element,w) { + element = $(element); + element.style.width = w +"px"; + }, + setHeight: function(element,h) { + element = $(element); + element.style.height = h +"px"; + }, + setTop: function(element,t) { + element = $(element); + element.style.top = t +"px"; + }, + setSrc: function(element,src) { + element = $(element); + element.src = src; + }, + setHref: function(element,href) { + element = $(element); + element.href = href; + }, + setInnerHTML: function(element,content) { + element = $(element); + element.innerHTML = content; + } +}); + +// ----------------------------------------------------------------------------------- + +// +// Extending built-in Array object +// - array.removeDuplicates() +// - array.empty() +// +Array.prototype.removeDuplicates = function () { + for(i = 1; i < this.length; i++){ + if(this[i][0] == this[i-1][0]){ + this.splice(i,1); + } + } +} + +// ----------------------------------------------------------------------------------- + +Array.prototype.empty = function () { + for(i = 0; i <= this.length; i++){ + this.shift(); + } +} + +// ----------------------------------------------------------------------------------- + +// +// Lightbox Class Declaration +// - initialize() +// - start() +// - changeImage() +// - resizeImageContainer() +// - showImage() +// - updateDetails() +// - updateNav() +// - enableKeyboardNav() +// - disableKeyboardNav() +// - keyboardNavAction() +// - preloadNeighborImages() +// - end() +// +// Structuring of code inspired by Scott Upton (http://www.uptonic.com/) +// +var Lightbox = Class.create(); + +Lightbox.prototype = { + + // initialize() + // Constructor runs on completion of the DOM loading. Loops through anchor tags looking for + // 'lightbox' references and applies onclick events to appropriate links. The 2nd section of + // the function inserts html at the bottom of the page which is used to display the shadow + // overlay and the image container. + // + initialize: function() { + if (!document.getElementsByTagName){ return; } + var anchors = document.getElementsByTagName('a'); + + // loop through all anchor tags + for (var i=0; i
+ // + + + var objBody = document.getElementsByTagName("body").item(0); + + var objOverlay = document.createElement("div"); + objOverlay.setAttribute('id','overlay'); + objOverlay.style.display = 'none'; + objOverlay.onclick = function() { myLightbox.end(); return false; } + objBody.appendChild(objOverlay); + + var objLightbox = document.createElement("div"); + objLightbox.setAttribute('id','lightbox'); + objLightbox.style.display = 'none'; + objBody.appendChild(objLightbox); + + var objOuterImageContainer = document.createElement("div"); + objOuterImageContainer.setAttribute('id','outerImageContainer'); + objLightbox.appendChild(objOuterImageContainer); + + var objImageContainer = document.createElement("div"); + objImageContainer.setAttribute('id','imageContainer'); + objOuterImageContainer.appendChild(objImageContainer); + + var objLightboxImage = document.createElement("img"); + objLightboxImage.setAttribute('id','lightboxImage'); + objImageContainer.appendChild(objLightboxImage); + + var objHoverNav = document.createElement("div"); + objHoverNav.setAttribute('id','hoverNav'); + objImageContainer.appendChild(objHoverNav); + + var objPrevLink = document.createElement("a"); + objPrevLink.setAttribute('id','prevLink'); + objPrevLink.setAttribute('href','#'); + objHoverNav.appendChild(objPrevLink); + + var objNextLink = document.createElement("a"); + objNextLink.setAttribute('id','nextLink'); + objNextLink.setAttribute('href','#'); + objHoverNav.appendChild(objNextLink); + + var objLoading = document.createElement("div"); + objLoading.setAttribute('id','loading'); + objImageContainer.appendChild(objLoading); + + var objLoadingLink = document.createElement("a"); + objLoadingLink.setAttribute('id','loadingLink'); + objLoadingLink.setAttribute('href','#'); + objLoadingLink.onclick = function() { myLightbox.end(); return false; } + objLoading.appendChild(objLoadingLink); + + var objLoadingImage = document.createElement("img"); + objLoadingImage.setAttribute('src', fileLoadingImage); + objLoadingLink.appendChild(objLoadingImage); + + var objImageDataContainer = document.createElement("div"); + objImageDataContainer.setAttribute('id','imageDataContainer'); + objImageDataContainer.className = 'clearfix'; + objLightbox.appendChild(objImageDataContainer); + + var objImageData = document.createElement("div"); + objImageData.setAttribute('id','imageData'); + objImageDataContainer.appendChild(objImageData); + + var objImageDetails = document.createElement("div"); + objImageDetails.setAttribute('id','imageDetails'); + objImageData.appendChild(objImageDetails); + + var objCaption = document.createElement("span"); + objCaption.setAttribute('id','caption'); + objImageDetails.appendChild(objCaption); + + var objNumberDisplay = document.createElement("span"); + objNumberDisplay.setAttribute('id','numberDisplay'); + objImageDetails.appendChild(objNumberDisplay); + + var objBottomNav = document.createElement("div"); + objBottomNav.setAttribute('id','bottomNav'); + objImageData.appendChild(objBottomNav); + + var objBottomNavCloseLink = document.createElement("a"); + objBottomNavCloseLink.setAttribute('id','bottomNavClose'); + objBottomNavCloseLink.setAttribute('href','#'); + objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; } + objBottomNav.appendChild(objBottomNavCloseLink); + + var objBottomNavCloseImage = document.createElement("img"); + objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage); + objBottomNavCloseLink.appendChild(objBottomNavCloseImage); + }, + + // + // start() + // Display overlay and lightbox. If image is part of a set, add siblings to imageArray. + // + start: function(imageLink) { + + hideSelectBoxes(); + + // stretch overlay to fill page and fade in + var arrayPageSize = getPageSize(); + Element.setHeight('overlay', arrayPageSize[1]); + new Effect.Appear('overlay', { duration: 0.2, from: 0.0, to: 0.8 }); + + imageArray = []; + imageNum = 0; + + if (!document.getElementsByTagName){ return; } + var anchors = document.getElementsByTagName('a'); + + // if image is NOT part of a set.. + if((imageLink.getAttribute('rel') == 'lightbox')){ + // add single image to imageArray + imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title'))); + } else { + // if image is part of a set.. + + // loop through anchors, find other images in set, and add them to imageArray + for (var i=0; i 1){ + Element.show('numberDisplay'); + Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length); + } + + new Effect.Parallel( + [ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: resizeDuration + 0.25, from: 0.0, to: 1.0 }), + new Effect.Appear('imageDataContainer', { sync: true, duration: 1.0 }) ], + { duration: 0.65, afterFinish: function() { myLightbox.updateNav();} } + ); + }, + + // + // updateNav() + // Display appropriate previous and next hover navigation. + // + updateNav: function() { + + Element.show('hoverNav'); + + // if not first image in set, display prev image button + if(activeImage != 0){ + Element.show('prevLink'); + document.getElementById('prevLink').onclick = function() { + myLightbox.changeImage(activeImage - 1); return false; + } + } + + // if not last image in set, display next image button + if(activeImage != (imageArray.length - 1)){ + Element.show('nextLink'); + document.getElementById('nextLink').onclick = function() { + myLightbox.changeImage(activeImage + 1); return false; + } + } + + this.enableKeyboardNav(); + }, + + // + // enableKeyboardNav() + // + enableKeyboardNav: function() { + document.onkeydown = this.keyboardAction; + }, + + // + // disableKeyboardNav() + // + disableKeyboardNav: function() { + document.onkeydown = ''; + }, + + // + // keyboardAction() + // + keyboardAction: function(e) { + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + + key = String.fromCharCode(keycode).toLowerCase(); + + if((key == 'x') || (key == 'o') || (key == 'c')){ // close lightbox + myLightbox.end(); + } else if(key == 'p'){ // display previous image + if(activeImage != 0){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage - 1); + } + } else if(key == 'n'){ // display next image + if(activeImage != (imageArray.length - 1)){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage + 1); + } + } + + + }, + + // + // preloadNeighborImages() + // Preload previous and next images. + // + preloadNeighborImages: function(){ + + if((imageArray.length - 1) > activeImage){ + preloadNextImage = new Image(); + preloadNextImage.src = imageArray[activeImage + 1][0]; + } + if(activeImage > 0){ + preloadPrevImage = new Image(); + preloadPrevImage.src = imageArray[activeImage - 1][0]; + } + + }, + + // + // end() + // + end: function() { + this.disableKeyboardNav(); + Element.hide('lightbox'); + new Effect.Fade('overlay', { duration: 0.2}); + showSelectBoxes(); + } +} + +// ----------------------------------------------------------------------------------- + +// +// getPageScroll() +// Returns array with x,y page scroll values. +// Core code from - quirksmode.org +// +function getPageScroll(){ + + var yScroll; + + if (self.pageYOffset) { + yScroll = self.pageYOffset; + } else if (document.documentElement && document.documentElement.scrollTop){ // Explorer 6 Strict + yScroll = document.documentElement.scrollTop; + } else if (document.body) {// all other Explorers + yScroll = document.body.scrollTop; + } + + arrayPageScroll = new Array('',yScroll) + return arrayPageScroll; +} + +// ----------------------------------------------------------------------------------- + +// +// getPageSize() +// Returns array with page width, height and window width, height +// Core code from - quirksmode.org +// Edit for Firefox by pHaez +// +function getPageSize(){ + + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = document.body.scrollWidth; + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + if (self.innerHeight) { // all except Explorer + windowWidth = self.innerWidth; + windowHeight = self.innerHeight; + } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + + // for small pages with total height less then height of the viewport + if(yScroll < windowHeight){ + pageHeight = windowHeight; + } else { + pageHeight = yScroll; + } + + // for small pages with total width less then width of the viewport + if(xScroll < windowWidth){ + pageWidth = windowWidth; + } else { + pageWidth = xScroll; + } + + + arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) + return arrayPageSize; +} + +// ----------------------------------------------------------------------------------- + +// +// getKey(key) +// Gets keycode. If 'x' is pressed then it hides the lightbox. +// +function getKey(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + key = String.fromCharCode(keycode).toLowerCase(); + + if(key == 'x'){ + } +} + +// ----------------------------------------------------------------------------------- + +// +// listenKey() +// +function listenKey () { document.onkeypress = getKey; } + +// --------------------------------------------------- + +function showSelectBoxes(){ + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "visible"; + } +} + +// --------------------------------------------------- + +function hideSelectBoxes(){ + selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "hidden"; + } +} + +// --------------------------------------------------- + +// +// pause(numberMillis) +// Pauses code execution for specified time. Uses busy code, not good. +// Code from http://www.faqts.com/knowledge_base/view.phtml/aid/1602 +// +function pause(numberMillis) { + var now = new Date(); + var exitTime = now.getTime() + numberMillis; + while (true) { + now = new Date(); + if (now.getTime() > exitTime) + return; + } +} + +// --------------------------------------------------- + + + +function initLightbox() { myLightbox = new Lightbox(); } +Event.observe(window, 'load', initLightbox, false); \ No newline at end of file diff --git a/src/prototype.js b/src/prototype.js new file mode 100644 index 0000000..8256e92 --- /dev/null +++ b/src/prototype.js @@ -0,0 +1,1785 @@ +/* Prototype JavaScript framework, version 1.4.0 + * (c) 2005 Sam Stephenson + * + * THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff + * against the source tree, available from the Prototype darcs repository. + * + * Prototype is freely distributable under the terms of an MIT-style license. + * + * For details, see the Prototype web site: http://prototype.conio.net/ + * +/*--------------------------------------------------------------------------*/ + +var Prototype = { + Version: '1.4.0', + ScriptFragment: '(?:)((\n|\r|.)*?)(?:<\/script>)', + + emptyFunction: function() {}, + K: function(x) {return x} +} + +var Class = { + create: function() { + return function() { + this.initialize.apply(this, arguments); + } + } +} + +var Abstract = new Object(); + +Object.extend = function(destination, source) { + for (property in source) { + destination[property] = source[property]; + } + return destination; +} + +Object.inspect = function(object) { + try { + if (object == undefined) return 'undefined'; + if (object == null) return 'null'; + return object.inspect ? object.inspect() : object.toString(); + } catch (e) { + if (e instanceof RangeError) return '...'; + throw e; + } +} + +Function.prototype.bind = function() { + var __method = this, args = $A(arguments), object = args.shift(); + return function() { + return __method.apply(object, args.concat($A(arguments))); + } +} + +Function.prototype.bindAsEventListener = function(object) { + var __method = this; + return function(event) { + return __method.call(object, event || window.event); + } +} + +Object.extend(Number.prototype, { + toColorPart: function() { + var digits = this.toString(16); + if (this < 16) return '0' + digits; + return digits; + }, + + succ: function() { + return this + 1; + }, + + times: function(iterator) { + $R(0, this, true).each(iterator); + return this; + } +}); + +var Try = { + these: function() { + var returnValue; + + for (var i = 0; i < arguments.length; i++) { + var lambda = arguments[i]; + try { + returnValue = lambda(); + break; + } catch (e) {} + } + + return returnValue; + } +} + +/*--------------------------------------------------------------------------*/ + +var PeriodicalExecuter = Class.create(); +PeriodicalExecuter.prototype = { + initialize: function(callback, frequency) { + this.callback = callback; + this.frequency = frequency; + this.currentlyExecuting = false; + + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + if (!this.currentlyExecuting) { + try { + this.currentlyExecuting = true; + this.callback(); + } finally { + this.currentlyExecuting = false; + } + } + } +} + +/*--------------------------------------------------------------------------*/ + +function $() { + var elements = new Array(); + + for (var i = 0; i < arguments.length; i++) { + var element = arguments[i]; + if (typeof element == 'string') + element = document.getElementById(element); + + if (arguments.length == 1) + return element; + + elements.push(element); + } + + return elements; +} +Object.extend(String.prototype, { + stripTags: function() { + return this.replace(/<\/?[^>]+>/gi, ''); + }, + + stripScripts: function() { + return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); + }, + + extractScripts: function() { + var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); + var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); + return (this.match(matchAll) || []).map(function(scriptTag) { + return (scriptTag.match(matchOne) || ['', ''])[1]; + }); + }, + + evalScripts: function() { + return this.extractScripts().map(eval); + }, + + escapeHTML: function() { + var div = document.createElement('div'); + var text = document.createTextNode(this); + div.appendChild(text); + return div.innerHTML; + }, + + unescapeHTML: function() { + var div = document.createElement('div'); + div.innerHTML = this.stripTags(); + return div.childNodes[0] ? div.childNodes[0].nodeValue : ''; + }, + + toQueryParams: function() { + var pairs = this.match(/^\??(.*)$/)[1].split('&'); + return pairs.inject({}, function(params, pairString) { + var pair = pairString.split('='); + params[pair[0]] = pair[1]; + return params; + }); + }, + + toArray: function() { + return this.split(''); + }, + + camelize: function() { + var oStringList = this.split('-'); + if (oStringList.length == 1) return oStringList[0]; + + var camelizedString = this.indexOf('-') == 0 + ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1) + : oStringList[0]; + + for (var i = 1, len = oStringList.length; i < len; i++) { + var s = oStringList[i]; + camelizedString += s.charAt(0).toUpperCase() + s.substring(1); + } + + return camelizedString; + }, + + inspect: function() { + return "'" + this.replace('\\', '\\\\').replace("'", '\\\'') + "'"; + } +}); + +String.prototype.parseQuery = String.prototype.toQueryParams; + +var $break = new Object(); +var $continue = new Object(); + +var Enumerable = { + each: function(iterator) { + var index = 0; + try { + this._each(function(value) { + try { + iterator(value, index++); + } catch (e) { + if (e != $continue) throw e; + } + }); + } catch (e) { + if (e != $break) throw e; + } + }, + + all: function(iterator) { + var result = true; + this.each(function(value, index) { + result = result && !!(iterator || Prototype.K)(value, index); + if (!result) throw $break; + }); + return result; + }, + + any: function(iterator) { + var result = true; + this.each(function(value, index) { + if (result = !!(iterator || Prototype.K)(value, index)) + throw $break; + }); + return result; + }, + + collect: function(iterator) { + var results = []; + this.each(function(value, index) { + results.push(iterator(value, index)); + }); + return results; + }, + + detect: function (iterator) { + var result; + this.each(function(value, index) { + if (iterator(value, index)) { + result = value; + throw $break; + } + }); + return result; + }, + + findAll: function(iterator) { + var results = []; + this.each(function(value, index) { + if (iterator(value, index)) + results.push(value); + }); + return results; + }, + + grep: function(pattern, iterator) { + var results = []; + this.each(function(value, index) { + var stringValue = value.toString(); + if (stringValue.match(pattern)) + results.push((iterator || Prototype.K)(value, index)); + }) + return results; + }, + + include: function(object) { + var found = false; + this.each(function(value) { + if (value == object) { + found = true; + throw $break; + } + }); + return found; + }, + + inject: function(memo, iterator) { + this.each(function(value, index) { + memo = iterator(memo, value, index); + }); + return memo; + }, + + invoke: function(method) { + var args = $A(arguments).slice(1); + return this.collect(function(value) { + return value[method].apply(value, args); + }); + }, + + max: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value >= (result || value)) + result = value; + }); + return result; + }, + + min: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value <= (result || value)) + result = value; + }); + return result; + }, + + partition: function(iterator) { + var trues = [], falses = []; + this.each(function(value, index) { + ((iterator || Prototype.K)(value, index) ? + trues : falses).push(value); + }); + return [trues, falses]; + }, + + pluck: function(property) { + var results = []; + this.each(function(value, index) { + results.push(value[property]); + }); + return results; + }, + + reject: function(iterator) { + var results = []; + this.each(function(value, index) { + if (!iterator(value, index)) + results.push(value); + }); + return results; + }, + + sortBy: function(iterator) { + return this.collect(function(value, index) { + return {value: value, criteria: iterator(value, index)}; + }).sort(function(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }).pluck('value'); + }, + + toArray: function() { + return this.collect(Prototype.K); + }, + + zip: function() { + var iterator = Prototype.K, args = $A(arguments); + if (typeof args.last() == 'function') + iterator = args.pop(); + + var collections = [this].concat(args).map($A); + return this.map(function(value, index) { + iterator(value = collections.pluck(index)); + return value; + }); + }, + + inspect: function() { + return '#'; + } +} + +Object.extend(Enumerable, { + map: Enumerable.collect, + find: Enumerable.detect, + select: Enumerable.findAll, + member: Enumerable.include, + entries: Enumerable.toArray +}); +var $A = Array.from = function(iterable) { + if (!iterable) return []; + if (iterable.toArray) { + return iterable.toArray(); + } else { + var results = []; + for (var i = 0; i < iterable.length; i++) + results.push(iterable[i]); + return results; + } +} + +Object.extend(Array.prototype, Enumerable); + +Array.prototype._reverse = Array.prototype.reverse; + +Object.extend(Array.prototype, { + _each: function(iterator) { + for (var i = 0; i < this.length; i++) + iterator(this[i]); + }, + + clear: function() { + this.length = 0; + return this; + }, + + first: function() { + return this[0]; + }, + + last: function() { + return this[this.length - 1]; + }, + + compact: function() { + return this.select(function(value) { + return value != undefined || value != null; + }); + }, + + flatten: function() { + return this.inject([], function(array, value) { + return array.concat(value.constructor == Array ? + value.flatten() : [value]); + }); + }, + + without: function() { + var values = $A(arguments); + return this.select(function(value) { + return !values.include(value); + }); + }, + + indexOf: function(object) { + for (var i = 0; i < this.length; i++) + if (this[i] == object) return i; + return -1; + }, + + reverse: function(inline) { + return (inline !== false ? this : this.toArray())._reverse(); + }, + + shift: function() { + var result = this[0]; + for (var i = 0; i < this.length - 1; i++) + this[i] = this[i + 1]; + this.length--; + return result; + }, + + inspect: function() { + return '[' + this.map(Object.inspect).join(', ') + ']'; + } +}); +var Hash = { + _each: function(iterator) { + for (key in this) { + var value = this[key]; + if (typeof value == 'function') continue; + + var pair = [key, value]; + pair.key = key; + pair.value = value; + iterator(pair); + } + }, + + keys: function() { + return this.pluck('key'); + }, + + values: function() { + return this.pluck('value'); + }, + + merge: function(hash) { + return $H(hash).inject($H(this), function(mergedHash, pair) { + mergedHash[pair.key] = pair.value; + return mergedHash; + }); + }, + + toQueryString: function() { + return this.map(function(pair) { + return pair.map(encodeURIComponent).join('='); + }).join('&'); + }, + + inspect: function() { + return '#'; + } +} + +function $H(object) { + var hash = Object.extend({}, object || {}); + Object.extend(hash, Enumerable); + Object.extend(hash, Hash); + return hash; +} +ObjectRange = Class.create(); +Object.extend(ObjectRange.prototype, Enumerable); +Object.extend(ObjectRange.prototype, { + initialize: function(start, end, exclusive) { + this.start = start; + this.end = end; + this.exclusive = exclusive; + }, + + _each: function(iterator) { + var value = this.start; + do { + iterator(value); + value = value.succ(); + } while (this.include(value)); + }, + + include: function(value) { + if (value < this.start) + return false; + if (this.exclusive) + return value < this.end; + return value <= this.end; + } +}); + +var $R = function(start, end, exclusive) { + return new ObjectRange(start, end, exclusive); +} + +var Ajax = { + getTransport: function() { + return Try.these( + function() {return new ActiveXObject('Msxml2.XMLHTTP')}, + function() {return new ActiveXObject('Microsoft.XMLHTTP')}, + function() {return new XMLHttpRequest()} + ) || false; + }, + + activeRequestCount: 0 +} + +Ajax.Responders = { + responders: [], + + _each: function(iterator) { + this.responders._each(iterator); + }, + + register: function(responderToAdd) { + if (!this.include(responderToAdd)) + this.responders.push(responderToAdd); + }, + + unregister: function(responderToRemove) { + this.responders = this.responders.without(responderToRemove); + }, + + dispatch: function(callback, request, transport, json) { + this.each(function(responder) { + if (responder[callback] && typeof responder[callback] == 'function') { + try { + responder[callback].apply(responder, [request, transport, json]); + } catch (e) {} + } + }); + } +}; + +Object.extend(Ajax.Responders, Enumerable); + +Ajax.Responders.register({ + onCreate: function() { + Ajax.activeRequestCount++; + }, + + onComplete: function() { + Ajax.activeRequestCount--; + } +}); + +Ajax.Base = function() {}; +Ajax.Base.prototype = { + setOptions: function(options) { + this.options = { + method: 'post', + asynchronous: true, + parameters: '' + } + Object.extend(this.options, options || {}); + }, + + responseIsSuccess: function() { + return this.transport.status == undefined + || this.transport.status == 0 + || (this.transport.status >= 200 && this.transport.status < 300); + }, + + responseIsFailure: function() { + return !this.responseIsSuccess(); + } +} + +Ajax.Request = Class.create(); +Ajax.Request.Events = + ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; + +Ajax.Request.prototype = Object.extend(new Ajax.Base(), { + initialize: function(url, options) { + this.transport = Ajax.getTransport(); + this.setOptions(options); + this.request(url); + }, + + request: function(url) { + var parameters = this.options.parameters || ''; + if (parameters.length > 0) parameters += '&_='; + + try { + this.url = url; + if (this.options.method == 'get' && parameters.length > 0) + this.url += (this.url.match(/\?/) ? '&' : '?') + parameters; + + Ajax.Responders.dispatch('onCreate', this, this.transport); + + this.transport.open(this.options.method, this.url, + this.options.asynchronous); + + if (this.options.asynchronous) { + this.transport.onreadystatechange = this.onStateChange.bind(this); + setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); + } + + this.setRequestHeaders(); + + var body = this.options.postBody ? this.options.postBody : parameters; + this.transport.send(this.options.method == 'post' ? body : null); + + } catch (e) { + this.dispatchException(e); + } + }, + + setRequestHeaders: function() { + var requestHeaders = + ['X-Requested-With', 'XMLHttpRequest', + 'X-Prototype-Version', Prototype.Version]; + + if (this.options.method == 'post') { + requestHeaders.push('Content-type', + 'application/x-www-form-urlencoded'); + + /* Force "Connection: close" for Mozilla browsers to work around + * a bug where XMLHttpReqeuest sends an incorrect Content-length + * header. See Mozilla Bugzilla #246651. + */ + if (this.transport.overrideMimeType) + requestHeaders.push('Connection', 'close'); + } + + if (this.options.requestHeaders) + requestHeaders.push.apply(requestHeaders, this.options.requestHeaders); + + for (var i = 0; i < requestHeaders.length; i += 2) + this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]); + }, + + onStateChange: function() { + var readyState = this.transport.readyState; + if (readyState != 1) + this.respondToReadyState(this.transport.readyState); + }, + + header: function(name) { + try { + return this.transport.getResponseHeader(name); + } catch (e) {} + }, + + evalJSON: function() { + try { + return eval(this.header('X-JSON')); + } catch (e) {} + }, + + evalResponse: function() { + try { + return eval(this.transport.responseText); + } catch (e) { + this.dispatchException(e); + } + }, + + respondToReadyState: function(readyState) { + var event = Ajax.Request.Events[readyState]; + var transport = this.transport, json = this.evalJSON(); + + if (event == 'Complete') { + try { + (this.options['on' + this.transport.status] + || this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')] + || Prototype.emptyFunction)(transport, json); + } catch (e) { + this.dispatchException(e); + } + + if ((this.header('Content-type') || '').match(/^text\/javascript/i)) + this.evalResponse(); + } + + try { + (this.options['on' + event] || Prototype.emptyFunction)(transport, json); + Ajax.Responders.dispatch('on' + event, this, transport, json); + } catch (e) { + this.dispatchException(e); + } + + /* Avoid memory leak in MSIE: clean up the oncomplete event handler */ + if (event == 'Complete') + this.transport.onreadystatechange = Prototype.emptyFunction; + }, + + dispatchException: function(exception) { + (this.options.onException || Prototype.emptyFunction)(this, exception); + Ajax.Responders.dispatch('onException', this, exception); + } +}); + +Ajax.Updater = Class.create(); + +Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), { + initialize: function(container, url, options) { + this.containers = { + success: container.success ? $(container.success) : $(container), + failure: container.failure ? $(container.failure) : + (container.success ? null : $(container)) + } + + this.transport = Ajax.getTransport(); + this.setOptions(options); + + var onComplete = this.options.onComplete || Prototype.emptyFunction; + this.options.onComplete = (function(transport, object) { + this.updateContent(); + onComplete(transport, object); + }).bind(this); + + this.request(url); + }, + + updateContent: function() { + var receiver = this.responseIsSuccess() ? + this.containers.success : this.containers.failure; + var response = this.transport.responseText; + + if (!this.options.evalScripts) + response = response.stripScripts(); + + if (receiver) { + if (this.options.insertion) { + new this.options.insertion(receiver, response); + } else { + Element.update(receiver, response); + } + } + + if (this.responseIsSuccess()) { + if (this.onComplete) + setTimeout(this.onComplete.bind(this), 10); + } + } +}); + +Ajax.PeriodicalUpdater = Class.create(); +Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), { + initialize: function(container, url, options) { + this.setOptions(options); + this.onComplete = this.options.onComplete; + + this.frequency = (this.options.frequency || 2); + this.decay = (this.options.decay || 1); + + this.updater = {}; + this.container = container; + this.url = url; + + this.start(); + }, + + start: function() { + this.options.onComplete = this.updateComplete.bind(this); + this.onTimerEvent(); + }, + + stop: function() { + this.updater.onComplete = undefined; + clearTimeout(this.timer); + (this.onComplete || Prototype.emptyFunction).apply(this, arguments); + }, + + updateComplete: function(request) { + if (this.options.decay) { + this.decay = (request.responseText == this.lastText ? + this.decay * this.options.decay : 1); + + this.lastText = request.responseText; + } + this.timer = setTimeout(this.onTimerEvent.bind(this), + this.decay * this.frequency * 1000); + }, + + onTimerEvent: function() { + this.updater = new Ajax.Updater(this.container, this.url, this.options); + } +}); +document.getElementsByClassName = function(className, parentElement) { + var children = ($(parentElement) || document.body).getElementsByTagName('*'); + return $A(children).inject([], function(elements, child) { + if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)"))) + elements.push(child); + return elements; + }); +} + +/*--------------------------------------------------------------------------*/ + +if (!window.Element) { + var Element = new Object(); +} + +Object.extend(Element, { + visible: function(element) { + return $(element).style.display != 'none'; + }, + + toggle: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + Element[Element.visible(element) ? 'hide' : 'show'](element); + } + }, + + hide: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = 'none'; + } + }, + + show: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = ''; + } + }, + + remove: function(element) { + element = $(element); + element.parentNode.removeChild(element); + }, + + update: function(element, html) { + $(element).innerHTML = html.stripScripts(); + setTimeout(function() {html.evalScripts()}, 10); + }, + + getHeight: function(element) { + element = $(element); + return element.offsetHeight; + }, + + classNames: function(element) { + return new Element.ClassNames(element); + }, + + hasClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).include(className); + }, + + addClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).add(className); + }, + + removeClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).remove(className); + }, + + // removes whitespace-only text node children + cleanWhitespace: function(element) { + element = $(element); + for (var i = 0; i < element.childNodes.length; i++) { + var node = element.childNodes[i]; + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) + Element.remove(node); + } + }, + + empty: function(element) { + return $(element).innerHTML.match(/^\s*$/); + }, + + scrollTo: function(element) { + element = $(element); + var x = element.x ? element.x : element.offsetLeft, + y = element.y ? element.y : element.offsetTop; + window.scrollTo(x, y); + }, + + getStyle: function(element, style) { + element = $(element); + var value = element.style[style.camelize()]; + if (!value) { + if (document.defaultView && document.defaultView.getComputedStyle) { + var css = document.defaultView.getComputedStyle(element, null); + value = css ? css.getPropertyValue(style) : null; + } else if (element.currentStyle) { + value = element.currentStyle[style.camelize()]; + } + } + + if (window.opera && ['left', 'top', 'right', 'bottom'].include(style)) + if (Element.getStyle(element, 'position') == 'static') value = 'auto'; + + return value == 'auto' ? null : value; + }, + + setStyle: function(element, style) { + element = $(element); + for (name in style) + element.style[name.camelize()] = style[name]; + }, + + getDimensions: function(element) { + element = $(element); + if (Element.getStyle(element, 'display') != 'none') + return {width: element.offsetWidth, height: element.offsetHeight}; + + // All *Width and *Height properties give 0 on elements with display none, + // so enable the element temporarily + var els = element.style; + var originalVisibility = els.visibility; + var originalPosition = els.position; + els.visibility = 'hidden'; + els.position = 'absolute'; + els.display = ''; + var originalWidth = element.clientWidth; + var originalHeight = element.clientHeight; + els.display = 'none'; + els.position = originalPosition; + els.visibility = originalVisibility; + return {width: originalWidth, height: originalHeight}; + }, + + makePositioned: function(element) { + element = $(element); + var pos = Element.getStyle(element, 'position'); + if (pos == 'static' || !pos) { + element._madePositioned = true; + element.style.position = 'relative'; + // Opera returns the offset relative to the positioning context, when an + // element is position relative but top and left have not been defined + if (window.opera) { + element.style.top = 0; + element.style.left = 0; + } + } + }, + + undoPositioned: function(element) { + element = $(element); + if (element._madePositioned) { + element._madePositioned = undefined; + element.style.position = + element.style.top = + element.style.left = + element.style.bottom = + element.style.right = ''; + } + }, + + makeClipping: function(element) { + element = $(element); + if (element._overflow) return; + element._overflow = element.style.overflow; + if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden') + element.style.overflow = 'hidden'; + }, + + undoClipping: function(element) { + element = $(element); + if (element._overflow) return; + element.style.overflow = element._overflow; + element._overflow = undefined; + } +}); + +var Toggle = new Object(); +Toggle.display = Element.toggle; + +/*--------------------------------------------------------------------------*/ + +Abstract.Insertion = function(adjacency) { + this.adjacency = adjacency; +} + +Abstract.Insertion.prototype = { + initialize: function(element, content) { + this.element = $(element); + this.content = content.stripScripts(); + + if (this.adjacency && this.element.insertAdjacentHTML) { + try { + this.element.insertAdjacentHTML(this.adjacency, this.content); + } catch (e) { + if (this.element.tagName.toLowerCase() == 'tbody') { + this.insertContent(this.contentFromAnonymousTable()); + } else { + throw e; + } + } + } else { + this.range = this.element.ownerDocument.createRange(); + if (this.initializeRange) this.initializeRange(); + this.insertContent([this.range.createContextualFragment(this.content)]); + } + + setTimeout(function() {content.evalScripts()}, 10); + }, + + contentFromAnonymousTable: function() { + var div = document.createElement('div'); + div.innerHTML = '' + this.content + '
'; + return $A(div.childNodes[0].childNodes[0].childNodes); + } +} + +var Insertion = new Object(); + +Insertion.Before = Class.create(); +Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), { + initializeRange: function() { + this.range.setStartBefore(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.parentNode.insertBefore(fragment, this.element); + }).bind(this)); + } +}); + +Insertion.Top = Class.create(); +Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(true); + }, + + insertContent: function(fragments) { + fragments.reverse(false).each((function(fragment) { + this.element.insertBefore(fragment, this.element.firstChild); + }).bind(this)); + } +}); + +Insertion.Bottom = Class.create(); +Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.appendChild(fragment); + }).bind(this)); + } +}); + +Insertion.After = Class.create(); +Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), { + initializeRange: function() { + this.range.setStartAfter(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.parentNode.insertBefore(fragment, + this.element.nextSibling); + }).bind(this)); + } +}); + +/*--------------------------------------------------------------------------*/ + +Element.ClassNames = Class.create(); +Element.ClassNames.prototype = { + initialize: function(element) { + this.element = $(element); + }, + + _each: function(iterator) { + this.element.className.split(/\s+/).select(function(name) { + return name.length > 0; + })._each(iterator); + }, + + set: function(className) { + this.element.className = className; + }, + + add: function(classNameToAdd) { + if (this.include(classNameToAdd)) return; + this.set(this.toArray().concat(classNameToAdd).join(' ')); + }, + + remove: function(classNameToRemove) { + if (!this.include(classNameToRemove)) return; + this.set(this.select(function(className) { + return className != classNameToRemove; + }).join(' ')); + }, + + toString: function() { + return this.toArray().join(' '); + } +} + +Object.extend(Element.ClassNames.prototype, Enumerable); +var Field = { + clear: function() { + for (var i = 0; i < arguments.length; i++) + $(arguments[i]).value = ''; + }, + + focus: function(element) { + $(element).focus(); + }, + + present: function() { + for (var i = 0; i < arguments.length; i++) + if ($(arguments[i]).value == '') return false; + return true; + }, + + select: function(element) { + $(element).select(); + }, + + activate: function(element) { + element = $(element); + element.focus(); + if (element.select) + element.select(); + } +} + +/*--------------------------------------------------------------------------*/ + +var Form = { + serialize: function(form) { + var elements = Form.getElements($(form)); + var queryComponents = new Array(); + + for (var i = 0; i < elements.length; i++) { + var queryComponent = Form.Element.serialize(elements[i]); + if (queryComponent) + queryComponents.push(queryComponent); + } + + return queryComponents.join('&'); + }, + + getElements: function(form) { + form = $(form); + var elements = new Array(); + + for (tagName in Form.Element.Serializers) { + var tagElements = form.getElementsByTagName(tagName); + for (var j = 0; j < tagElements.length; j++) + elements.push(tagElements[j]); + } + return elements; + }, + + getInputs: function(form, typeName, name) { + form = $(form); + var inputs = form.getElementsByTagName('input'); + + if (!typeName && !name) + return inputs; + + var matchingInputs = new Array(); + for (var i = 0; i < inputs.length; i++) { + var input = inputs[i]; + if ((typeName && input.type != typeName) || + (name && input.name != name)) + continue; + matchingInputs.push(input); + } + + return matchingInputs; + }, + + disable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.blur(); + element.disabled = 'true'; + } + }, + + enable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.disabled = ''; + } + }, + + findFirstElement: function(form) { + return Form.getElements(form).find(function(element) { + return element.type != 'hidden' && !element.disabled && + ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); + }); + }, + + focusFirstElement: function(form) { + Field.activate(Form.findFirstElement(form)); + }, + + reset: function(form) { + $(form).reset(); + } +} + +Form.Element = { + serialize: function(element) { + element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) { + var key = encodeURIComponent(parameter[0]); + if (key.length == 0) return; + + if (parameter[1].constructor != Array) + parameter[1] = [parameter[1]]; + + return parameter[1].map(function(value) { + return key + '=' + encodeURIComponent(value); + }).join('&'); + } + }, + + getValue: function(element) { + element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) + return parameter[1]; + } +} + +Form.Element.Serializers = { + input: function(element) { + switch (element.type.toLowerCase()) { + case 'submit': + case 'hidden': + case 'password': + case 'text': + return Form.Element.Serializers.textarea(element); + case 'checkbox': + case 'radio': + return Form.Element.Serializers.inputSelector(element); + } + return false; + }, + + inputSelector: function(element) { + if (element.checked) + return [element.name, element.value]; + }, + + textarea: function(element) { + return [element.name, element.value]; + }, + + select: function(element) { + return Form.Element.Serializers[element.type == 'select-one' ? + 'selectOne' : 'selectMany'](element); + }, + + selectOne: function(element) { + var value = '', opt, index = element.selectedIndex; + if (index >= 0) { + opt = element.options[index]; + value = opt.value; + if (!value && !('value' in opt)) + value = opt.text; + } + return [element.name, value]; + }, + + selectMany: function(element) { + var value = new Array(); + for (var i = 0; i < element.length; i++) { + var opt = element.options[i]; + if (opt.selected) { + var optValue = opt.value; + if (!optValue && !('value' in opt)) + optValue = opt.text; + value.push(optValue); + } + } + return [element.name, value]; + } +} + +/*--------------------------------------------------------------------------*/ + +var $F = Form.Element.getValue; + +/*--------------------------------------------------------------------------*/ + +Abstract.TimedObserver = function() {} +Abstract.TimedObserver.prototype = { + initialize: function(element, frequency, callback) { + this.frequency = frequency; + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + } +} + +Form.Element.Observer = Class.create(); +Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.Observer = Class.create(); +Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); + +/*--------------------------------------------------------------------------*/ + +Abstract.EventObserver = function() {} +Abstract.EventObserver.prototype = { + initialize: function(element, callback) { + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + if (this.element.tagName.toLowerCase() == 'form') + this.registerFormCallbacks(); + else + this.registerCallback(this.element); + }, + + onElementEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + }, + + registerFormCallbacks: function() { + var elements = Form.getElements(this.element); + for (var i = 0; i < elements.length; i++) + this.registerCallback(elements[i]); + }, + + registerCallback: function(element) { + if (element.type) { + switch (element.type.toLowerCase()) { + case 'checkbox': + case 'radio': + Event.observe(element, 'click', this.onElementEvent.bind(this)); + break; + case 'password': + case 'text': + case 'textarea': + case 'select-one': + case 'select-multiple': + Event.observe(element, 'change', this.onElementEvent.bind(this)); + break; + } + } + } +} + +Form.Element.EventObserver = Class.create(); +Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.EventObserver = Class.create(); +Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); +if (!window.Event) { + var Event = new Object(); +} + +Object.extend(Event, { + KEY_BACKSPACE: 8, + KEY_TAB: 9, + KEY_RETURN: 13, + KEY_ESC: 27, + KEY_LEFT: 37, + KEY_UP: 38, + KEY_RIGHT: 39, + KEY_DOWN: 40, + KEY_DELETE: 46, + + element: function(event) { + return event.target || event.srcElement; + }, + + isLeftClick: function(event) { + return (((event.which) && (event.which == 1)) || + ((event.button) && (event.button == 1))); + }, + + pointerX: function(event) { + return event.pageX || (event.clientX + + (document.documentElement.scrollLeft || document.body.scrollLeft)); + }, + + pointerY: function(event) { + return event.pageY || (event.clientY + + (document.documentElement.scrollTop || document.body.scrollTop)); + }, + + stop: function(event) { + if (event.preventDefault) { + event.preventDefault(); + event.stopPropagation(); + } else { + event.returnValue = false; + event.cancelBubble = true; + } + }, + + // find the first node with the given tagName, starting from the + // node the event was triggered on; traverses the DOM upwards + findElement: function(event, tagName) { + var element = Event.element(event); + while (element.parentNode && (!element.tagName || + (element.tagName.toUpperCase() != tagName.toUpperCase()))) + element = element.parentNode; + return element; + }, + + observers: false, + + _observeAndCache: function(element, name, observer, useCapture) { + if (!this.observers) this.observers = []; + if (element.addEventListener) { + this.observers.push([element, name, observer, useCapture]); + element.addEventListener(name, observer, useCapture); + } else if (element.attachEvent) { + this.observers.push([element, name, observer, useCapture]); + element.attachEvent('on' + name, observer); + } + }, + + unloadCache: function() { + if (!Event.observers) return; + for (var i = 0; i < Event.observers.length; i++) { + Event.stopObserving.apply(this, Event.observers[i]); + Event.observers[i][0] = null; + } + Event.observers = false; + }, + + observe: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + (navigator.appVersion.match(/Konqueror|Safari|KHTML/) + || element.attachEvent)) + name = 'keydown'; + + this._observeAndCache(element, name, observer, useCapture); + }, + + stopObserving: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + (navigator.appVersion.match(/Konqueror|Safari|KHTML/) + || element.detachEvent)) + name = 'keydown'; + + if (element.removeEventListener) { + element.removeEventListener(name, observer, useCapture); + } else if (element.detachEvent) { + element.detachEvent('on' + name, observer); + } + } +}); + +/* prevent memory leaks in IE */ +Event.observe(window, 'unload', Event.unloadCache, false); +var Position = { + // set to true if needed, warning: firefox performance problems + // NOT neeeded for page scrolling, only if draggable contained in + // scrollable elements + includeScrollOffsets: false, + + // must be called before calling withinIncludingScrolloffset, every time the + // page is scrolled + prepare: function() { + this.deltaX = window.pageXOffset + || document.documentElement.scrollLeft + || document.body.scrollLeft + || 0; + this.deltaY = window.pageYOffset + || document.documentElement.scrollTop + || document.body.scrollTop + || 0; + }, + + realOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.scrollTop || 0; + valueL += element.scrollLeft || 0; + element = element.parentNode; + } while (element); + return [valueL, valueT]; + }, + + cumulativeOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return [valueL, valueT]; + }, + + positionedOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + if (element) { + p = Element.getStyle(element, 'position'); + if (p == 'relative' || p == 'absolute') break; + } + } while (element); + return [valueL, valueT]; + }, + + offsetParent: function(element) { + if (element.offsetParent) return element.offsetParent; + if (element == document.body) return element; + + while ((element = element.parentNode) && element != document.body) + if (Element.getStyle(element, 'position') != 'static') + return element; + + return document.body; + }, + + // caches x/y coordinate pair to use with overlap + within: function(element, x, y) { + if (this.includeScrollOffsets) + return this.withinIncludingScrolloffsets(element, x, y); + this.xcomp = x; + this.ycomp = y; + this.offset = this.cumulativeOffset(element); + + return (y >= this.offset[1] && + y < this.offset[1] + element.offsetHeight && + x >= this.offset[0] && + x < this.offset[0] + element.offsetWidth); + }, + + withinIncludingScrolloffsets: function(element, x, y) { + var offsetcache = this.realOffset(element); + + this.xcomp = x + offsetcache[0] - this.deltaX; + this.ycomp = y + offsetcache[1] - this.deltaY; + this.offset = this.cumulativeOffset(element); + + return (this.ycomp >= this.offset[1] && + this.ycomp < this.offset[1] + element.offsetHeight && + this.xcomp >= this.offset[0] && + this.xcomp < this.offset[0] + element.offsetWidth); + }, + + // within must be called directly before + overlap: function(mode, element) { + if (!mode) return 0; + if (mode == 'vertical') + return ((this.offset[1] + element.offsetHeight) - this.ycomp) / + element.offsetHeight; + if (mode == 'horizontal') + return ((this.offset[0] + element.offsetWidth) - this.xcomp) / + element.offsetWidth; + }, + + clone: function(source, target) { + source = $(source); + target = $(target); + target.style.position = 'absolute'; + var offsets = this.cumulativeOffset(source); + target.style.top = offsets[1] + 'px'; + target.style.left = offsets[0] + 'px'; + target.style.width = source.offsetWidth + 'px'; + target.style.height = source.offsetHeight + 'px'; + }, + + page: function(forElement) { + var valueT = 0, valueL = 0; + + var element = forElement; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + + // Safari fix + if (element.offsetParent==document.body) + if (Element.getStyle(element,'position')=='absolute') break; + + } while (element = element.offsetParent); + + element = forElement; + do { + valueT -= element.scrollTop || 0; + valueL -= element.scrollLeft || 0; + } while (element = element.parentNode); + + return [valueL, valueT]; + }, + + clone: function(source, target) { + var options = Object.extend({ + setLeft: true, + setTop: true, + setWidth: true, + setHeight: true, + offsetTop: 0, + offsetLeft: 0 + }, arguments[2] || {}) + + // find page position of source + source = $(source); + var p = Position.page(source); + + // find coordinate system to use + target = $(target); + var delta = [0, 0]; + var parent = null; + // delta [0,0] will do fine with position: fixed elements, + // position:absolute needs offsetParent deltas + if (Element.getStyle(target,'position') == 'absolute') { + parent = Position.offsetParent(target); + delta = Position.page(parent); + } + + // correct by body offsets (fixes Safari) + if (parent == document.body) { + delta[0] -= document.body.offsetLeft; + delta[1] -= document.body.offsetTop; + } + + // set position + if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; + if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; + if(options.setWidth) target.style.width = source.offsetWidth + 'px'; + if(options.setHeight) target.style.height = source.offsetHeight + 'px'; + }, + + absolutize: function(element) { + element = $(element); + if (element.style.position == 'absolute') return; + Position.prepare(); + + var offsets = Position.positionedOffset(element); + var top = offsets[1]; + var left = offsets[0]; + var width = element.clientWidth; + var height = element.clientHeight; + + element._originalLeft = left - parseFloat(element.style.left || 0); + element._originalTop = top - parseFloat(element.style.top || 0); + element._originalWidth = element.style.width; + element._originalHeight = element.style.height; + + element.style.position = 'absolute'; + element.style.top = top + 'px';; + element.style.left = left + 'px';; + element.style.width = width + 'px';; + element.style.height = height + 'px';; + }, + + relativize: function(element) { + element = $(element); + if (element.style.position == 'relative') return; + Position.prepare(); + + element.style.position = 'relative'; + var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); + var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); + + element.style.top = top + 'px'; + element.style.left = left + 'px'; + element.style.height = element._originalHeight; + element.style.width = element._originalWidth; + } +} + +// Safari returns margins on body which is incorrect if the child is absolutely +// positioned. For performance reasons, redefine Position.cumulativeOffset for +// KHTML/WebKit only. +if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) { + Position.cumulativeOffset = function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + if (element.offsetParent == document.body) + if (Element.getStyle(element, 'position') == 'absolute') break; + + element = element.offsetParent; + } while (element); + + return [valueL, valueT]; + } +} \ No newline at end of file diff --git a/src/scriptaculous.js b/src/scriptaculous.js new file mode 100644 index 0000000..008ca18 --- /dev/null +++ b/src/scriptaculous.js @@ -0,0 +1,45 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +var Scriptaculous = { + Version: '1.5.1', + require: function(libraryName) { + // inserting via DOM fails in Safari 2.0, so brute force approach + document.write(''); + }, + load: function() { + if((typeof Prototype=='undefined') || + parseFloat(Prototype.Version.split(".")[0] + "." + + Prototype.Version.split(".")[1]) < 1.4) + throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0"); + + $A(document.getElementsByTagName("script")).findAll( function(s) { + return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/)) + }).each( function(s) { + var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,''); + var includes = s.src.match(/\?.*load=([a-z,]*)/); + (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each( + function(include) { Scriptaculous.require(path+include+'.js') }); + }); + } +} + +Scriptaculous.load(); \ No newline at end of file diff --git a/src/sitemap.xml b/src/sitemap.xml new file mode 100644 index 0000000..7c40e5e --- /dev/null +++ b/src/sitemap.xml @@ -0,0 +1,135 @@ + + + + + + http://www.estudiomiguelo.com/ + 1.00 + 2009-02-10T10:40:26+00:00 + yearly + + + http://www.estudiomiguelo.com/AcercaDe.htm + 0.80 + 2009-02-10T10:36:43+00:00 + yearly + + + http://www.estudiomiguelo.com/Productos.htm + 0.80 + 2009-02-10T10:40:43+00:00 + yearly + + + http://www.estudiomiguelo.com/Promociones.htm + 0.80 + 2009-02-10T10:41:23+00:00 + yearly + + + http://www.estudiomiguelo.com/Contacto.htm + 0.80 + 2009-02-10T10:40:23+00:00 + yearly + + + http://www.estudiomiguelo.com/default.htm + 0.64 + 2009-02-10T10:40:23+00:00 + yearly + + + http://www.estudiomiguelo.com/Cocinas.htm + 0.64 + 2009-02-10T10:37:44+00:00 + yearly + + + http://www.estudiomiguelo.com/Armarios.htm + 0.64 + 2009-02-10T10:37:20+00:00 + yearly + + + http://www.estudiomiguelo.com/Techos.htm + 0.64 + 2009-02-10T10:41:28+00:00 + yearly + + + http://www.estudiomiguelo.com/Mesas.htm + 0.64 + 2009-02-10T10:40:29+00:00 + yearly + + + http://www.estudiomiguelo.com/Electrodomesticos.htm + 0.64 + 2009-02-10T10:40:24+00:00 + yearly + + + http://www.estudiomiguelo.com/Reformas.htm + 0.64 + 2009-02-10T10:41:24+00:00 + yearly + + + http://www.estudiomiguelo.com/Jardin.htm + 0.64 + 2009-02-10T10:40:27+00:00 + yearly + + + http://www.estudiomiguelo.com/ArmariosPromo.htm + 0.64 + 2008-10-09T14:07:32+00:00 + yearly + + + http://www.estudiomiguelo.com/CocinasNAPromo.htm + 0.64 + 2009-02-10T10:38:36+00:00 + yearly + + + http://www.estudiomiguelo.com/ElectrodomesticosPromo.htm + 0.64 + 2009-02-10T10:40:25+00:00 + yearly + + + http://www.estudiomiguelo.com/TechosPromo.htm + 0.64 + 2009-02-10T10:41:30+00:00 + yearly + + + http://www.estudiomiguelo.com/CocinasITPromo.htm + 0.64 + 2009-02-10T10:38:26+00:00 + yearly + + + http://www.estudiomiguelo.com/CocinasPromoEMV.htm + 0.64 + 2009-02-10T10:40:22+00:00 + yearly + + + http://www.estudiomiguelo.com/JardinPromo.htm + 0.64 + 2009-02-10T10:40:28+00:00 + yearly + + + http://www.estudiomiguelo.com/SillasPromo.htm + 0.64 + 2009-02-10T10:41:26+00:00 + yearly + + \ No newline at end of file diff --git a/src/video.mpg b/src/video.mpg new file mode 100644 index 0000000..d100ee5 Binary files /dev/null and b/src/video.mpg differ