
ProduktForm = function(){};
ProduktForm.init = function(){
	ProduktForm.anschlussSlider = new divSlider();
	ProduktForm.anschlussSlider.setDomRef($('moreAnschluss'));
	ProduktForm.anschlussSlider.setInterval(10);
	ProduktForm.anschlussSlider.setTimeInterval(.03);
	ProduktForm.anschlussSlider.setClosed(true);

	ProduktForm.hardwareSlider = new divSlider();
	ProduktForm.hardwareSlider.setDomRef($('moreHardware'));
	ProduktForm.hardwareSlider.setInterval(10);
	ProduktForm.hardwareSlider.setTimeInterval(.03);
	ProduktForm.hardwareSlider.setClosed(true);

	ProduktForm.showMoreAnschluss = function(){
		if(!ProduktForm.anschlussSlider.getSliding()){
			if(ProduktForm.anschlussSlider.getClosed()){
				ProduktForm.anschlussSlider.setCurrentHeight(0);
				ProduktForm.anschlussSlider.setEndHeight(330);
				ProduktForm.anschlussSlider.slide();
				ProduktForm.anschlussSlider.setClosed(false);
			} else {
				ProduktForm.anschlussSlider.setCurrentHeight(330);
				ProduktForm.anschlussSlider.setEndHeight(0);
				ProduktForm.anschlussSlider.slide();
				ProduktForm.anschlussSlider.setClosed(true);
			}
		}
	};

	ProduktForm.showMoreHardware = function(){
		if(!ProduktForm.hardwareSlider.getSliding()){
			if(ProduktForm.hardwareSlider.getClosed()){
				ProduktForm.hardwareSlider.setCurrentHeight(0);
				ProduktForm.hardwareSlider.setEndHeight(170);
				ProduktForm.hardwareSlider.slide();
				ProduktForm.hardwareSlider.setClosed(false);
			} else {
				ProduktForm.hardwareSlider.setCurrentHeight(170);
				ProduktForm.hardwareSlider.setEndHeight(0);
				ProduktForm.hardwareSlider.slide();
				ProduktForm.hardwareSlider.setClosed(true);
			}
		}
	};
};
