function doBM(bservice) {
	bmurl = encodeURIComponent('http://www.wilhelmshaven-touristik.de');
	bmtitle = encodeURIComponent('Wilhelmshaven-Freizeit');
	switch(bservice) {		
		case 'delicious':
			window.open('http://del.icio.us/post?url='+bmurl+'&title='+bmtitle);
			break;
		case 'mrwong':
			window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+bmurl+'&bm_description='+bmtitle);
			break;
		case 'linkarena':	
			window.open('http://linkarena.com/bookmarks/addlink/?url='+bmurl+'&title='+bmtitle+'&desc=&tags=');
			break;
		case 'webnews': 		
			window.open('http://www.webnews.de/einstellen?url='+bmurl+'&title='+bmtitle);
			break;
		case 'yigg':
			window.open('http://yigg.de/neu?exturl='+bmurl+'&exttitle='+bmtitle);
			break;	
		case 'google': 		
			window.open('http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+bmurl+'&title='+bmtitle);
			break;
	}	
}

function checkForm(form, mand, email) {
  
  for (i=0;i<mand.length;i++) {
    elem = document.getElementById(mand[i]);
    if ( elem ) {
      elem.className += " formError";
    }
    
  }
  
  for (i=0;i<email.length;i++) {
    elem = document.getElementById(mand[i]);
    if ( elem ) {
      elem.className += " formError";
    }
  }
  alert("Bitte füllen Sie alle Pflichtfelder des Formulars aus.");
}