if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {

/*
sfHover = function() {
  var menu = document.getElementById("pmmenu");
  if(menu) {
    var sfEls = menu.getElementsByTagName("li");
    for(var i = 0; i < sfEls.length; i++){
      sfEls[i].addEventListener('click', function(e){
        this.className += " sfhover";
        setTimeout(function() {
          this.className = this.className.replace(new RegExp(" sfhover\\b"), ""); 
        }, 2000);
      }, false);

      sfEls[i].addEventListener('touchend', function(){
        this.className = this.className.replace(new RegExp(" sfhover\\b"), ""); 
      }, false);
    }
  }
}

  window.addEventListener("load", sfHover);
*/
} else {

  sfHover = function() {
	var menu = document.getElementById("pmmenu");
	if(menu){
	var sfEls = menu.getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
	}
  }
  if (window.attachEvent) window.attachEvent("onload", sfHover);
}

