function featDropdownToggle() {
	
	objElement = $('finder_two');
	
	if(!objElement.Fx)
	{
		objElement.Fx = new Fx.Style(objElement, 'height', {duration:500, transition:Fx.Transitions.quintInOut});
	}
	
	if('0px' == objElement.getStyle('height'))
	{
		objElement.Fx.start(450);
	}
	else
	{
		objElement.Fx.start(0);
	}
}


var shop = { }

shop.price = {
	
	attributes: [],
	defPrice: 0,
	oldPrice: 0,
	
	registerAttr: function(pIndex, pPrice) {
		
		shop.price.attributes[pIndex]=pPrice;
	},
	
	init: function(pPrice, pOldPrice) {
		shop.price.defPrice=pPrice;
		shop.price.oldPrice= pOldPrice || 0;
	},
	
	calculateNewPrice:function(pEle) {
		var myIndex= pEle.selectedIndex;
		
		if( typeof this.attributes[myIndex]!= 'undefined' ) {		
			var newPrice= (this.defPrice + this.attributes[myIndex]).toFixed(2).toString();
			if( this.oldPrice > 0) var newOldPrice= (this.oldPrice + this.attributes[myIndex]).toFixed(2).toString();
		}else {
			var newPrice= this.defPrice.toFixed(2).toString();
			if( this.oldPrice > 0) var newOldPrice= this.oldPrice.toFixed(2).toString();
		}
		
		newPrice=newPrice.replace('.',',');
		if( this.oldPrice > 0) newOldPrice=newOldPrice.replace('.',',');
		$('#item_price').html ( newPrice + " Euro" );
		if( this.oldPrice > 0) $('#item_old_price').html( newOldPrice+" Euro");
	},
	setEvent: function() {
		
		$("select[name='id[2]']").click( function() { shop.price.calculateNewPrice(this); } ) ;
	}
}

/*
var shop= { onchange="shop.price.calculateNewPrice(this)"
	
	price:0,
	
	init: function() {
		
		this.price= Number( $('item_price').innerHTML.split(' Euro')[0].replace(',','.') );
		
		$('#item_attributes select option').each( function(i, ele) {
		
			$(ele).click( function() { shop.count(this); } );
		} );		
	},
	
	count: function(ele) {

		var mySplit= ele.innerHTML.split('(');
		if(mySplit[1]) {
			
			var myValue= Number( mySplit[1].split(' Euro)')[0].replace(',','.') );
		
			if(myValue > 0) {
			
				$('item_price').innerHTML= (this.price+myValue) +" Euro";
			}
		}
		
	}
	
}*/