/* Mailinglist | http://www.webmods.de | VERSION 2.0           *** !!! DARSTELLUNG AN NEUE VERSION ANPASSEN !!! ***

function proof(wert,doWhat,ID)
{
	wert=wert.toLowerCase();
	document.webmodml.email.value=wert;
	if (wert.indexOf('@')==-1 || wert.indexOf('.')==-1) alert ('Bitte geben Sie eine\ng&uuml;ltige E-Mail Adresse ein!');
	else
	{
		wmmlW=window.open("http://www.webmods.de/mywebmods/mailinglist.phtml?ID="+ID+"&email="+wert+"&doWhat="+doWhat,"wmmlW","status=no,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no,resizable=no,fullscreen=yes");
		LeftPosition = (screen.width) ? (screen.width-300)/2 : 0;
		TopPosition = (screen.height) ? (screen.height-200)/2 : 0;
		void(wmmlW.window.resizeTo(300,200));
		void(wmmlW.window.moveTo(LeftPosition,TopPosition));
		wmmlW.window.focus();
	}
} */

function startModul(ID,size,lo)
{
	document.write('<iframe src=http://www.webmods.de/modul.php?KD_ID='+ID+'&MOD=newsletter name=webmodsnewsletteriframe width=250 height=100 frameborder=0 framespacing=0 border=0 marginwidth=0 marginheight=0 noresize></iframe>');

/*	document.write("<form name=webmodml><input type=text name=email value='' size="+size+">");
	if(lo=='0') { document.writeln("<br>"); }
	document.write("<input type=button name=wman value='anmelden' onClick=\"javascript:proof(document.webmodml.email.value,'an',"+ID+");\">");
	document.writeln("<input type=button name=wman value='abmelden' onClick=\"javascript:proof(document.webmodml.email.value,'ab',"+ID+");\">");
	document.writeln("</form>"); */
}