/* Programm: Tabellenerzeugung, Copyright: Holger Bassarek*/









var Zeilenzaehler = 0;









function tabellenzelle(Spalten)




{




	if (Zeilenzaehler < 2 )




		{




		document.write("<TD class=gerade>");




		Zeilenzaehler = Zeilenzaehler+1;




		}




	else




		{




		document.write("<TD class=ungerade>");




		Zeilenzaehler = Zeilenzaehler+1;




		if (Zeilenzaehler == 4) Zeilenzaehler = 0;




		}




}









/* Programm: Grabbingpruefung, Copyright: Holger Bassarek*/









function startseite(Name,Erstellt,Sprache)




{




if (window == top && Name != "") 




	{




	top.location.href = Name;




	}




else 	




	{




	if (window.location.host != top.location.host && Name != "") 




		{




		top.location.href = Name;




		}




	else




		{







		var Datum = new Date(document.lastModified);


		document.writeln("<hr class=\"info\"><p class=\"impressum\" >");



		if (Sprache == "d")


			{


			document.writeln("<a href=\"http://www.bassarek.de/Impressum/Copyright/index.html\" target=\"_top\">&copy;opyright</a> <a href=\"http://www.bassarek.de/Kontakt/index.html\" target=\"_top\">H. Bassarek</a> / <a href=\"http://www.bassarek.de/Impressum/index.html\" target=\"_top\">Impressum</a> / ");
			document.writeln("Erstellt: " + Erstellt + " / Stand:");


			var Monat = new Array("Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");


			document.write(Datum.getDate() + ". " + Monat[Datum.getMonth()] + " ");


			}


		else


			if (Sprache == "e")


				{


				document.writeln("<a href=\"http://www.bassarek.de/Impressum/Copyright/index_UK.html\" target=\"_top\">&copy;opyright</a> <a href=\"http://www.bassarek.de/Kontakt/index_UK.html\" target=\"_top\">H. Bassarek</a> / <a href=\"http://www.bassarek.de/Impressum/index_UK.html\" target=\"_top\">Impressum</a> / ");


				document.writeln("Created: " + Erstellt + " / Last Updated: ");


				var Monat = new Array("January","February","March","April","May","June","July","August","September","October","November","December");


				document.write(Monat[Datum.getMonth()] + " " + Datum.getDate() + "th ");


				}


			else


				if (Sprache == "r")


				{


				document.writeln("<a href=\"http://www.bassarek.de/Impressum/Copyright/index_RO.html\" target=\"_top\">&copy;opyright</a> <a href=\"http://www.bassarek.de/Kontakt/index_RO.html\" target=\"_top\">H. Bassarek</a> / <a href=\"http://www.bassarek.de/Impressum/index_RO.html\" target=\"_top\">Impressum</a> / ");
				document.writeln("Elaborat: " + Erstellt + " / Situatie: ");


				var Monat = new Array("ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noembrie","decembrie");


				document.write(Datum.getDate() + ". " + Monat[Datum.getMonth()] + " ");


				}


		}


		Jahr = Datum.getYear();


		if(Jahr < 100) Jahr+=2000;


		if (Jahr < 1000) Jahr+=1900;


		document.write(Jahr);


		document.writeln("</p><hr class=\"info\">");


	}




}





/* Programm: CreateMail, Copyright: Holger Bassarek*/ 	











function createEmail(name,domain)











{





	document.write('<a href=\"mailto:' + name + '@' + domain + '\">'); document.write(name + '@' + domain + '</a>'); 





}

















/* Programm: CreateMail Advanced, Copyright: Holger Bassarek*/ 	











function createEmailAdv(name,domain,link,subject,body,ccname,ccdomain,bccname,bccdomain,klasse)





{





var mymail = name + "@" + domain;





var ccmail = "";





var bccmail = "";





var ausgabe = (" <a");











if (ccname != "" && ccdomain != "") ccmail = "cc=" + ccname + "@" + ccdomain;





if (bccname != "" && bccdomain != "") bccmail = "bcc=" + bccname + "@" + bccdomain;











var anzeige = mymail;





if (link != "") anzeige = link;











if (subject != "" || body == "" || ccmail != "" || bccmail != "") mymail = mymail + "?";





if (subject != "") mymail = mymail + "subject=" + subject;





if (body != "") 





	if (subject != "") mymail = mymail + "&body=" + body;





		else mymail = mymail + "body=" + body;





if (ccmail != "") 		





	{





	if (subject != "" || body != "") mymail = mymail + "&";





	mymail = mymail + ccmail;





	}





if (bccmail != "") 		





	{





	if (subject != "" || body != "" || ccmail != "") mymail = mymail + "&";





	mymail = mymail + bccmail;		





	}











if (klasse != "") ausgabe = ausgabe + " class=\"" + klasse +"\"";





ausgabe = ausgabe + " href=\"mailto:" + mymail + "\">" + anzeige + "</a>";





document.writeln(ausgabe);

















}
