/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this script and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_drop_1.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This script and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
stuHover = function() {
	var cssRule;
	var newSelector;
	for (var i = 0; i < document.styleSheets.length; i++)
		for (var x = 0; x < document.styleSheets[i].rules.length ; x++)
			{
			cssRule = document.styleSheets[i].rules[x];
			if (cssRule.selectorText.indexOf("LI:hover") != -1)
			{
				 newSelector = cssRule.selectorText.replace(/LI:hover/gi, "LI.iehover");
				document.styleSheets[i].addRule(newSelector , cssRule.style.cssText);
			}
		}
	var getElm = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", stuHover);

<!--
	url = "http://www.vkmelgar.com";
	var speedX = 7;
	var speedY = 5;
	var bgColor = "#0000cd";
	var txtColor = "#ffff00";
	function win_photo(var_titulo,var_photo_name,var_path,var_alt,var_texto) {
		myWin= open("", "displayWindow","width=420,height=350,status=no,toolbar=no,menubar=no,resizable=0,scrollbars=0,left=200,top=120");
		myWin.document.open();
		myWin.document.write("<html><head><title>"+var_titulo);
		myWin.document.write("</title></head><body bgcolor=FFFFFF>");
		myWin.document.write("<center>");
		myWin.document.write("<table border=10 width=373 cellspacing=0 cellpadding=0>");
		myWin.document.write("<tr><td>");
		myWin.document.write("<table border=1 width=100% cellspacing=0 cellpadding=0>");
		myWin.document.write("<tr>");
		myWin.document.write("<td width=58% bgcolor=FFFFCC align=CENTER>");
		myWin.document.write("<b><i>Presentaci&oacute;n de la Fotograf&iacute;a</i></b>");
		myWin.document.write("</td>");
		myWin.document.write("<td width=42% align=CENTER>");
		myWin.document.write("<font size=2><i>" + var_photo_name + "</i></font>");
		myWin.document.write("</td></tr></table>");
		myWin.document.write("</td></tr><tr>");
		myWin.document.write("<td><img src=" + var_path + " width=368 height=258 alt='" + var_alt + "'></td>");
		myWin.document.write("</tr><tr>");
		myWin.document.write("<td align=CENTER>");
		myWin.document.write("<font size=1><b><i><font size=2>" + var_texto + "</font></i></b></font>");
		myWin.document.write("</td></tr></table>");
		myWin.document.write("</center></body></html>");
		myWin.document.close();
	}
	if (document.all) {
		var wide = window.screen.availWidth;
		var high = window.screen.availHeight;
	}
	function andBoom() {
		if (document.all) {
			var Boomer = window.open("","BoomWindow","fullscreen");
			Boomer.document.write('<HTML><BODY BGCOLOR='+bgColor+' SCROLL=NO><FONT FACE=ARIAL COLOR='+txtColor+'>Cargando la página... Por favor espere un momento<BR>No olvide Villa Katherine está a tú servicio...<BR>Tres cuadras del parque central de Melgar Vía al Carmen de Apicala </FONT></BODY></HTML>');
			Boomer.focus();
			for (H=1; H<high; H+= speedY) {
				Boomer.resizeTo(1,H);
			}
			for (W=1; W<wide; W+= speedX) {
				Boomer.resizeTo(W,H);
			}
			Boomer.location = url;
		}
		else {
			window.open(url,"BoomWindow","");
		}
	}
// End -->
