jQuery(document).ready(function(){var $7=$(".section");var $8=$("#finder");var $9=$(".suchen");var $a=$(".kaufen");var $b=3.14159265;var $c="http://www.skipi-muellbeutel.de/Skipi-bestellen/Skipi-20-Liter-5er-Packung/guenstig-online-kaufen/2.html";var $d="http://www.skipi-muellbeutel.de/Skipi-bestellen/Skipi-35-Liter-5er-Packung/guenstig-online-kaufen/1.html";var $e="http://www.skipi-muellbeutel.de/Skipi-bestellen/Skipi-60-Liter-5er-Packung/guenstig-online-kaufen/3.html";var $f="http://www.skipi-muellbeutel.de/Kontakt/skipi-tueten/7.html";var $10="http://www.skipi-muellbeutel.de/Kontakt/skipi-tueten/7.html";$8.load("content.html .start",function(){$8.fadeIn("slow");});$7.live("click",function(){switch(this.id){case "start":$8.fadeOut("slow",function(){$8.load("content.html .start",function(){$8.fadeIn("slow");});});break;case "wahl":$8.fadeOut("slow",function(){$8.load("content.html .wahl",function(){$8.fadeIn("slow");});});break;case "rund":$8.fadeOut("slow",function(){$8.load("content.html .rund",function(){$8.fadeIn("slow");});});break;case "eckig":$8.fadeOut("slow",function(){$8.load("content.html .eckig",function(){$8.fadeIn("slow");});});break;case "sonstige":$8.fadeOut("slow",function(){$8.load("content.html .sonstige",function(){$8.fadeIn("slow");});});break;case "zurueck":$8.fadeOut("slow",function(){$8.load("content.html .wahl",function(){$8.fadeIn("slow");});});break;}});$9.live("click",function(){switch(this.id){case "suchen_rund":var $11=$('#hoehe').val();var $12=$('#durchmesser').val();$1($11,$12);break;case "suchen_eckig":var $11=$('#hoehe').val();var $17=$('#tiefe').val();var $18=$('#breite').val();$2($11,$17,$18);break;case "suchen_sonstig":var $11=$('#hoehe').val();var $19=$('#umfang').val();$3($11,$19);break;}});$a.live("click",function(){switch(this.id){case "kaufen_20":window.open($c,"blank");break;case "kaufen_35":window.open($d,"blank");break;case "kaufen_60":window.open($e,"blank");break;case "kaufen_99":window.open($10,"blank");break;}});function $1($11,$12){var $13=96;var $14=35;var $15=$12*$b;var $16=($12/2*$12/2*$b*$11)/1000;$4($16,$15);};function $2($11,$17,$18){var $13=108;var $14=42;var $15=($17*2)+($18*2);var $16=($11*$17*$18)/1000;$4($16,$15);};function $3($11,$19){var $13=124;var $14=54;var $15=$19;var $16=(($19/($b*2))*($19/($b*2))*$b*$11)/1000;$4($16,$15);};function $4($1a,$19){if(($1a>0)&&($1a<=20)){$5("20",$19);}else if(($1a>20)&&($1a<=35)){$5("35",$19);}else if(($1a>35)&&($1a<=60)){$5("60",$19);}else {$5("99",$19);}};function $5($1a,$19){if(($19>0)&&($19<=96)){$6($1a,"20");}else if(($19>92)&&($19<=108)){$6($1a,"35");}else if(($19>104)&&($19<=124)){$6($1a,"60");}else {$6($1a,"99");}};function $6($1a,$19){switch($1a){case "20":if($19=="20"){$8.fadeOut("slow",function(){$8.load("content.html .detail20",function(){$8.fadeIn("slow");});});}else if($19=="35"){$8.fadeOut("slow",function(){$8.load("content.html .detail35",function(){$8.fadeIn("slow");});});}else if($19=="60"){$8.fadeOut("slow",function(){$8.load("content.html .detail60",function(){$8.fadeIn("slow");});});}else if($19=="99"){$8.fadeOut("slow",function(){$8.load("content.html .detail99",function(){$8.fadeIn("slow");});});}break;case "35":if($19=="20"){$8.fadeOut("slow",function(){$8.load("content.html .detail35",function(){$8.fadeIn("slow");});});}else if($19=="35"){$8.fadeOut("slow",function(){$8.load("content.html .detail35",function(){$8.fadeIn("slow");});});}else if($19=="60"){$8.fadeOut("slow",function(){$8.load("content.html .detail60",function(){$8.fadeIn("slow");});});}else if($19=="99"){$8.fadeOut("slow",function(){$8.load("content.html .detail99",function(){$8.fadeIn("slow");});});}break;case "60":if($19=="20"){$8.fadeOut("slow",function(){$8.load("content.html .detail60",function(){$8.fadeIn("slow");});});}else if($19=="35"){$8.fadeOut("slow",function(){$8.load("content.html .detail60",function(){$8.fadeIn("slow");});});}else if($19=="60"){$8.fadeOut("slow",function(){$8.load("content.html .detail60",function(){$8.fadeIn("slow");});});}else if($19=="99"){$8.fadeOut("slow",function(){$8.load("content.html .detail99",function(){$8.fadeIn("slow");});});}break;case "99":$8.fadeOut("slow",function(){$8.load("content.html .detail99",function(){$8.fadeIn("slow");});});break;}};$("#hoehe").live("keypress",function($1b){if($1b.which!=8&&$1b.which!=0&&($1b.which<48||$1b.which>57)){return false;}});$("#tiefe").live("keypress",function($1b){if($1b.which!=8&&$1b.which!=0&&($1b.which<48||$1b.which>57)){return false;}});$("#breite").live("keypress",function($1b){if($1b.which!=8&&$1b.which!=0&&($1b.which<48||$1b.which>57)){return false;}});$("#durchmesser").live("keypress",function($1b){if($1b.which!=8&&$1b.which!=0&&($1b.which<48||$1b.which>57)){return false;}});$("#umfang").live("keypress",function($1b){if($1b.which!=8&&$1b.which!=0&&($1b.which<48||$1b.which>57)){return false;}});});