/*
 * mootools 1.2
 * By Mario Zambon (http://www.urbangap.com)
 * Copyright (c) 2008 cody urbangap
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/

function sthandier() {
	//$$('#prodotti').setStyle('behavior', 'url(iepngfix/iepngfix.htc)')
	
	// Funione transizioni	
	var tran = Fx.Transitions.linear
	function fx(el, tmp, type, tran) {el.set(type, {duration: tmp, transition: tran})}	

	// Effetti menu Principale	
	/*var mn = $$('')
	mn.removeProperty('title')
	mn.each(function(item, index){
		var i = index
		if (i==mnActive) {
			item.addClass('active')
			//item.addEvent('click', $lambda(false))
		} else {
			fx(mn, 180, 'tween', tran)
			item.addEvents({
				'mouseover': 	function(){ this.tween('opacity', 0.001)},
				'mouseleave': 	function(){ this.tween('opacity', 1) }
			})
		}
	})*/


	//target blank
	var lnk = $$('a.blank')
	//var txt = ''
	
	lnk.addEvent('click', $lambda(false))
	lnk.each(function(item, index){
		//var title = item.getProperty('title')
		//item.setProperty('title', title+' '+txt)
		item.addEvent('click', function(event){
			window.open(this)
		})
	})
}
window.addEvent('domready', sthandier)

