<!--
var gl_win;

if (top.frames.length!=0) 
    top.location=self.document.location; 

function go(i)
{
  document.frm.PLZ.value = i; 
  document.frm.submit();
}
function info(url)
{

  gl_win = window.open(url, "popup");
  gl_win.focus();
}
function pop(url)
{

  gl_win = window.open(url, "", "resizable=yes,top=1,left=1,height=450,width=450,scrollbars=yes");
  gl_win.focus();
}
function pop1(url)
{

  gl_win = window.open(url, "", "resizable=yes,top=1,left=1,height=650,width=550,scrollbars=yes");
  gl_win.focus();
}
function rechnen()
 {
  
   if( isNaN(document.frm1.lPLZ.value) == true || document.frm1.lPLZ.value.length < 5 )
   {
     alert( "Bitte PLZ mit 5 Ziffern eingeben");
     return;
   } 
   if( isNaN(document.frm1.Menge.value) == true || document.frm1.Menge.value < 100 )
   {
     alert( "Bitte Menge als Zahl eingeben");
     return;
   } 
   if( isNaN(document.frm1.ES.value) == true || document.frm1.ES.value < 1  )
   {
     alert( "Bitte Entladestellen als Zahl eingeben");
     return;
   } 
   document.frm1.submit();
 }
/////////////////////
function showBT(text)
{
  document.getElementById("bookTarget").innerText  = text;
}
/////////////////////
function bookThis(bookTarget) 
{
	doc=encodeURIComponent(location.href);
	title=encodeURIComponent(document.title);
	switch(bookTarget) {
		case 'delicious':
			window.open('http://del.icio.us/post?url='+doc+'&title='+title);
			break;
		case 'mrwong':
			window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+doc+'&bm_description='+title);
			break;
		case 'blinkList':
			window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url='+doc+'&Title='+title);
			break;
		case 'yahoo':
			window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+doc+'&t='+title);
			break;
		case 'yigg':
			window.open('http://yigg.de/neu?exturl='+doc+'&exttitle='+title);
			break;
		case 'furl':
			window.open('http://www.furl.net/storeIt.jsp?u='+doc+'&t='+title);
			break;
		case 'oneview':
			window.open('http://beta.oneview.de:80/quickadd/neu/addBookmark.jsf?URL='+doc+'&title='+title);
			break;
		case 'folkd':
			window.open('http://www.folkd.com/submit/page/'+doc);
			break;
		case 'linkarena':
			window.open('http://linkarena.com/bookmarks/addlink/?url='+doc+'&title='+title+'&desc=&tags=');
			break;
		case 'google':
			window.open('http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+doc+'&title='+title);
			break;
		case 'webnews':
			window.open('http://www.webnews.de/einstellen?url='+doc+'&title='+title);
			break;
	}
}

