function addEvent(obj, evType, fn){
	if (obj.addEventListener){
		obj.addEventListener(evType, fn, false);
		return true;
	} 
	else if (obj.attachEvent){
		var r = obj.attachEvent("on"+evType, fn);
		return r;
	} 
	else {
		return false;
	}
}

function randomLetter()
{
   return String.fromCharCode(97 + Math.floor(Math.random() * 26));
}

function my_popup_window(obj){
  var target;
  target = "cavamezze_"+randomLetter()+randomLetter()+randomLetter();
  window.open(obj.href, target);
  return false;
}
//navbar POINTER SLIDER STUFF
// Window onLoad Events