/* copyright by Joerg Buetehorn - http://www.buetehorn.de  */

function frametest() {
if(top.frames.length > 0)
      top.location.href=self.location;
else {
return true;
 }
}

function vollbild()  {
	self.moveTo(0,0)
	self.resizeTo(screen.availWidth,screen.availHeight)
}

function init() {
	frametest();
	vollbild();
}
/* Javascript by Joerg Buetehorn - http://www.buetehorn.de  */

function bookmarken(portal) {
	urladresse = "http://www.buetehorn.de/";
	beschreibungstitel = "Marketing- und Kommunikationsservice in Hannover: Jörg Bütehorn";
	switch(portal) {		
		case 'delicious':
			window.open('http://del.icio.us/post?url='+urladresse+'&title='+beschreibungstitel);
			break;
		case 'mrwong':
			window.open('http://www.mister-wong.de/index.php?action=addurl&bm_url='+urladresse+'&bm_description='+beschreibungstitel);
			break;
		case 'twitter':	
			window.open('http://twitter.com/home?status='+beschreibungstitel+'-'+urladresse);
			break;
		case 'facebook': 		
			window.open('http://www.facebook.com/sharer.php?u='+urladresse+'&amp;t='+beschreibungstitel);
			break;
		case 'google': 		
			window.open('http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk='+urladresse+'&title='+beschreibungstitel);
			break;
	}	
}

