// JavaScript Documentfunction produkt_1(){		openWin('produkt_1.htm');}function produkt_2(){		openWin('produkt_2.htm');}function produkt_3(){		openWin('produkt_3.htm');}function produkt_4(){		openWin('produkt_4.htm');}	function openWin (URL)	{		var WinName='Preview';		var weite=600;		var hoehe=400;		var iMyWidth;		var iMyHeight;		iMyWidth = 50;		iMyHeight = 50;		window.open(URL,WinName,"status,height="+hoehe+",width="+weite+",resizable=no,left="+iMyWidth+",top="+iMyHeight+",screenX="+iMyWidth+",screenY="+iMyHeight+",scrollbars=no,toolbar=no,menubar=no,status=no");	}	function check(){							if(document.formular.name.value == ""){				alert("Bitte geben Sie Ihren Namen ein.");				document.formular.name.focus();				return;			}					//------------------------------------------------									content = document.formular.email.value;                        if(!checkEmail()){                                alert ("Bitte geben Sie eine gueltige Emailadresse ein");                                document.formular.email.focus();                                return;                        }															//------------------------------------------------									if (document.formular.textfeld.value == ""){				alert("Bitte geben Sie eine Nachricht ein.");				document.formular.textfeld.focus();				return;			}						document.formular.submit();								}		//Hilfsfunktion, die die e-mail-angaben auf bestimmte zeichen hin untersucht                function checkEmail(){                        var atPos;                        var anotherAtPos;                        var dotPos;                        content = document.formular.email.value;                        atPos = content.indexOf('@');                        anotherAtPos = content.indexOf('@',atPos+1);                        if ((atPos != -1)&&(anotherAtPos == -1)){                                dotPos = content.lastIndexOf('.');                                if(dotPos > atPos){                                        return true;                                }else{                                        return false;                                }                        }else{                                return false;                        }                }
