 
		function hbmVgWortCount(token) {
	document.write('<div style="display:none;"><img src="http://manager.met.vgwort.de/na/'+token+'" width="1" height="1" alt="" align="right" /></div>');
}

function druck_fenster(URL) {
	open(URL, "Drucken", "width=640,height=480,statusbar=yes,menubar=yes,toolbar=yes,scrollbars=yes,status=yes,resizable").focus();
}

function getCookieContent (cookieName) {
	function getCookieValue (position) 	{
		var endpos = document.cookie.indexOf(";", position);
		if (endpos == -1)
			endpos = document.cookie.length;
		return unescape(document.cookie.substring(position, endpos));
	}
	var cookieString       = cookieName + "=";
	var cookieStringLength = cookieString.length;
	var allCookieLength    = document.cookie.length;
	var n = 0;
	while (n < allCookieLength) {
		var m = n + cookieStringLength;
		if (document.cookie.substring(n, m) == cookieString)
			return getCookieValue(m);
		n = document.cookie.indexOf(" ", n) + 1;
		if (n == 0) break;
	}
	return null;
}


function hbmGetHashParams() {
	var loc=(document.location+""); 
	var pos=loc.indexOf("#");
	if (pos == -1) 
		return [];
	var hashQs=loc.substring(pos+1, loc.length);
	return hbmSplitParams(hashQs);
}
function hbmSplitParams(params) {
	var result=[];
	var pairs=params.split("&");
	for (var i=0; i < pairs.length; i++) {
		var kv=pairs[i].split("=");
		if (kv.length == 2)
			result[kv[0]]=kv[1];
	}
	return result;
}

function hbmMainNaviInit() {
	if (document.all && document.getElementById) {
		var ul = document.getElementById("hbmMainNav");
		if (ul.nodeName == 'UL') {
			var mmNavItems = ul.getElementsByTagName('li');
			for (var j in hbmNavItems) {
				var li = hbmNavItems[j];
				if (li.nodeName == 'LI' && li.className != 'hbmFirst' && li.className != 'hbmNoHover') {
					li.onmouseover = function() {
						// lazy initialization


						if (!this.cssClass) {
							if (this.className != '')
								this.classBackup=this.className;
							this.cssClass = this.className + ' hbmMainNavLiHover';
						}
						
						this.className = this.cssClass;
						if (! this.mmSubNav) {
							var mmSubNavTmp = this.getElementsByTagName('ul')[0];
							if (mmSubNavTmp && mmSubNavTmp.nodeName == 'UL' && mmSubNavTmp.className == 'mmSubNav')
								this.mmSubNav = mmSubNavTmp;
						}
						if (this.mmSubNav) {
							this.mmSubNav.style.display = "block";
							
							this.subLis=this.mmSubNav.getElementsByTagName('li');
							for (var k in this.subLis) {
								var subLi = this.subLis[k];
								if (subLi.nodeName == 'LI') {

									subLi.onmouseover = function() {
										this.className = "hbmSubNavLiHover";
									}

									subLi.onmouseout = function() {
										this.className = "";
									}
								}
							}
						}
					}
					li.onmouseout = function() {
						// lazy initialization
						if (this.classBackup)
							this.className = this.classBackup;
						else
							this.className = '';
						if (! this.hbmSubNav) {
							var hbmSubNavTmp = this.getElementsByTagName('ul')[0];
							if (hbmSubNavTmp && hbmSubNavTmp.nodeName == 'UL' && hbmSubNavTmp.className == 'hbmSubNav')
								this.mmSubNav = hbmSubNavTmp;
						}
						if (this.hbmSubNav)
							this.hbmSubNav.style.display = "none";
					}
				}

			}
		}
	}
}
/**
* spFontSizer increase/decrease font size inside "spEmStep"
*
* use: spFontSizer(1, false), spFontSizer(-1, false) or spFontSizer(0, true)
* @param spInc set to 1 or -1
* @param spReset set to true to get initial font size
*/
var hbmEmStepWidth 	= 0.125;	// increase/decrease font every step by spEmStepWidth
var hbmEmBasis 		= 1.125;	// font size of mmArticleBody at startup
var hbmEmStep 		= -1;		// counter for current step (leave as 0)
var hbmEmMaxSteps 	= 1;		// maximum steps alowed

function hbmFontSizer(hbmInc, hbmReset) {
	// reset font size
	if (hbmReset) 
		hbmEmStep = -1;
	// inside allowed steps?
	if (Math.abs(hbmEmStep + hbmInc) <= hbmEmMaxSteps) {
		// increase/decrease spEmStep
		hbmEmStep += hbmInc;
		// set new font size for every tag inside "spEmStep"
		hbmEmFontSize = hbmEmStep * hbmEmStepWidth + hbmEmBasis;
		//get spArticleBody
		// hbmEmBody = document.getElementById('hbmMainContent');
		hbmEmBody = document.getElementById('hbmArticle');
		// set new fot size
		hbmEmBody.style.fontSize = hbmEmFontSize + "em";
	}

	if (hbmReset) {
		document.getElementById("hbmFontsizePlus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_plus.gif";
		document.getElementById("hbmFontsizeMinus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_minus_lo.gif";
	}
	else {
		if (hbmEmStep == -hbmEmMaxSteps) {
			document.getElementById("hbmFontsizeMinus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_minus_lo.gif";
		}
		else if (hbmEmStep == hbmEmMaxSteps) {
			document.getElementById("hbmFontsizePlus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_plus_lo.gif";
		}
		else {
			document.getElementById("hbmFontsizePlus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_plus.gif";
			document.getElementById("hbmFontsizeMinus").src = "http://www.harvardbusinessmanager.de/static/te/icons/ic_fontsize_minus.gif";
		}
	}
}



function hbmOAS_reminder(html) { 
	if( html == null || html == "null" ) {
		html = '';
	}
	document.getElementById('hbmOASreminder').innerHTML = html;
}


function hbmShowOASPos(pos) {

	return false;
}

/******* Social Bookmarking functions ******/
/**
* toggles SocialBookmark-Box on and off
* @param hbmDisplay - ture=on, false=off
*/
function hbmSocialBookmarkSetDisplay(hbmDisplay) {
hbmSocialBookmarkElement = document.getElementById("hbmSocialBookmark").style;
hbmSocialBookmarkElement.visibility = (hbmDisplay ? "visible" : "hidden");
hbmSocialBookmarkState=hbmDisplay;
}
/**
* toggle function called form Bookmark Link
* served hbmSocialBookmarkSetDisplay() and starts EventHandler
*/
function hbmSocialBookmarkToggle() {
if (!hbmSocialBookmarkState) {
hbmSocialBookmarkSetDisplay(true);
hbmStartMouseEvent();
}
else 
hbmSocialBookmarkSetDisplay(false);
}
/**
* Event handler function tests where the user clicked
* and acts	according to this (switch SocialBookmark-Box off 
* stops EventHandler)
*/
function hbmSocialBookmarkToggleDisplay(e) {
if (!e) var e = window.event;
if (e.target) targ = e.target;
else if (e.srcElement) targ = e.srcElement;
if (targ.nodeType == 3) // defeat Safari bug
targ = targ.parentNode;
if (targ.id == "hbmSocialBookmarkLink") {
hbmStopMouseEvent();
return false;
}
var isInDiv = false;
while(targ != null) {
if (targ.id == "hbmSocialBookmark") {
isInDiv=true;
break;
}
if (targ.id == "hbmSocialBookmarkClose")
break;
targ = targ.parentNode;
}
if (!isInDiv) {
hbmSocialBookmarkSetDisplay(false);
hbmStopMouseEvent();
}
return false;
}
/**
* starts EventHandling
*/
function hbmStartMouseEvent(){
if (document.addEventListener) { // DOM Level 2 Event Model
document.addEventListener("mouseup", hbmSocialBookmarkToggleDisplay, true);
}
else if (document.attachEvent) { // IE 5+ Event Model
document.attachEvent("onmouseup", hbmSocialBookmarkToggleDisplay);
}
else { // IE 4 Event Model
document.onmouseup=hbmSocialBookmarkToggleDisplay;
}
}
/**
* stops EventHandling
* hbmOldHandler is a hack for EI4 Event Model
*/
var hbmOldHandler = document.onmouseup;	// Eventhandler for EI 4 StopEvent
function hbmStopMouseEvent() {
// Unregister the capturing event handlers.
if (document.removeEventListener) { // DOM Event Model
document.removeEventListener("mouseup", hbmSocialBookmarkToggleDisplay, true);
}
else if (document.detachEvent) { // IE 5+ Event Model
document.detachEvent("onmouseup", hbmSocialBookmarkToggleDisplay);
}
else { // IE 4 Event Model
document.onmouseup = hbmOldHandler;
}
}

// rev=200807310001 //
hbmENV_SERVER_IMG = 'http://www.harvardbusinessmanager.de';
hbmENV_SERVER = 'http://www.harvardbusinessmanager.de';
hbmENV_FlashvideoPopupParams  = 'width=769,height=489,scrollbars=no,resizable=no,screenX=150,screenY=100';
hbmENV_FlashPopupParams  = 'scrollbars=no,screenX=150,screenY=100';
hbmENV_PopTopPopupParams = 'width=500,height=310,resizable,screenX=150,screenY=100,status=no';
hbmENV_PdfPopupParams    = 'width=600,height=550,scrollbars=no,screenX=150,screenY=100,resizable';
hbmENV_BigaPopupParams_0   = '';
hbmENV_BigaPopupParams_1   = '';
hbmENV_BigaPopupParams_2   = '';
hbmENV_BigaPopupParams_3   = '';
hbmENV_BigaPopupParams     = '';
function goURL(frmlrname){
adresse = document.forms[frmlrname].to.options[document.forms[frmlrname].to.selectedIndex].value;
if(adresse=="") adresse = "javascript:void(0)";
if(adresse.substr(0,1) == '/') adresse = hbmENV_SERVER + adresse;
window.location = adresse;
}
function RandomImg (Pfad,aBilder,Ext){
if (typeof(Ext)=='undefined')Ext = "";
if (Pfad =="img"){
Pfad = hbmENV_SERVER_IMG + "/img/0,1020,";
if(Ext!="") Ext = ",00" + Ext;
} else {
Pfad = hbmENV_SERVER_IMG + "/static/img/" + Pfad;
}
return Pfad + aBilder[Math.round(Math.random()*(aBilder.length-1))] + Ext;
}
function hbm_popup(seite,breite,hoehe,scroll,rsize) {
sbars = (scroll==1)? "yes" : "no";
rsize = (rsize==1)? "yes" : "no";
if(seite.substr(0,1) == '/') seite = hbmENV_SERVER + seite;
var win_name = breite+hoehe;
var win_attr = "menubar=no,location=no,directories=no,toolbar=no,screenX=0,screenY=0";
win_attr += ",width=" + breite + ",height=" + hoehe + ",scrollbars=" + sbars + ",resizable=" + rsize;
hbmWin = open(seite,win_name,win_attr);
hbmWin.focus();
}
function bilderladen(pfad,bildIds,ext) {
if(document.images) {
if(pfad.indexOf("img")==1) {
pfad = pfad + '0,1020,';
ext = ',00' + ext;
}
if(pfad.substr(0,1) == '/') pfad = hbmENV_SERVER_IMG + pfad;
var bilder = new Array();
for(i=0;i < bildIds.length;i++) {
bilder[i] = pfad + bildIds[i] + ext;
}
chgImg = new Array();
for(i=0;i < bilder.length;i++) {
chgImg[i] = new Image();
chgImg[i].src = bilder[i];
}
}
}
function bildtausch(imgname,imgnr) {
if(document.images) {
if(imgnr < (chgImg.length)) imgname.src = chgImg[imgnr].src;
}
}
function hbmToggleMPC(cid,nr) {
	for (i=1;i<=50;i++) {
		var mytab = document.getElementById('hbmMPCTab-'+cid+'-'+i);
		if (mytab) {
			if (nr == i) {
				mytab.className = 'hbmMPCTab hbmMPCTabAktiv';
				document.getElementById('hbmMPCContent-'+cid+'-'+i).style.display = 'block';
				hbmCounterContentainer(cid);
			} else {
				mytab.className = 'hbmMPCTab';
				document.getElementById('hbmMPCContent-'+cid+'-'+i).style.display = 'none';
			}
		} else {
			break;
		}
	}
}

function hbmCounter(url) {
	if (typeof(vdz_countframe) != 'undefined') vdz_countframe.location.href = hbmENV_SERVER + url;
}

function hbmCounterContentainer(contentainerid) {
	hbmCounter('/count/contentainer/0,,' + contentainerid + ',00.html');
}

 

	var hbmTmpImgSetToLoad;
	// Muss ausserhalb des spEnhPaginators stehen, da per timeout aufgerufen...
	function hbmLoadDeferImgSet(prefix) {
	        for (var i=0; i < hbmTmpImgSetToLoad.length; i++) {
	                var imgElement=document.getElementById(prefix + i);
	                if (imgElement != null)
	                        imgElement.src = hbmTmpImgSetToLoad[i];
	        }
	}


	var hbmEnhPaginator = function(paginatorId, imageSets) {
		this.pages=[];
		this.imageSets=imageSets;
		this.completedImageSets=(imageSets != null) ? new Array(imageSets.length) : null;
		this.index=0;
		this.paginatorId=paginatorId;
		this.imageSetToLoad=null;
		this.currentPage=null;
		this.initDone=false;
		this.onChangePage=null;
	}

	hbmEnhPaginator.prototype = {
		checkInit: function() {
			if (!this.initDone) {
				
				var container=document.getElementById(this.paginatorId);
				var pagesTmp=container.getElementsByTagName('DIV');
				for (key=0; key < pagesTmp.length; key++)
					if (pagesTmp[key].className == 'hbmPaginatorPage') {
						this.pages.push(pagesTmp[key]);
					}
	
				this.currentPage=this.pages[this.index];
				this.initDone=true;
			}
		},
		showNext: function(element) {
			this.checkInit();
			var oldIndex = this.index++;
			if (this.index >= this.pages.length)
				this.index = 0;
	
			if (this.onChangePage != null)
				this.onChangePage(this.pages[oldIndex]);
			this.switchToNewIndex();
		},
		showPrev: function(element) {
			this.checkInit();
			var oldIndex = this.index--;
			if (this.index < 0)
				this.index = this.pages.length - 1;
	
			if (this.onChangePage != null)
				this.onChangePage(this.pages[oldIndex]);
	
			this.switchToNewIndex();
		},
		showNum: function(element) {
			this.checkInit();
			var oldIndex = this.index;
			this.index = arguments[0];
			if (this.index < 0)
				this.index = this.pages.length - 1;
			if (this.onChangePage != null)
				this.onChangePage(this.pages[oldIndex]);
			this.switchToNewIndex();
		},		
		switchToNewIndex: function(newPage) {
			this.currentPage.style.display='none';
			this.currentPage=this.pages[this.index];
			this.currentPage.style.display='block';
			this.checkLoadImages();
		},
		checkLoadImages: function() {
			if (this.imageSets != null) {
				var imageSetIndex=this.index-1;
				if (this.imageSets[imageSetIndex] != null && !this.completedImageSets[imageSetIndex]) {
					hbmTmpImgSetToLoad=this.imageSets[imageSetIndex];
					window.setTimeout("hbmLoadDeferImgSet('" + this.paginatorId + imageSetIndex + "')", 20);
					this.completedImageSets[imageSetIndex]=true;
				}
			}
		}
	}
	
 function hbmShowCatList(arg)  {
	var isChooser = (arg.toLowerCase() === 'chooser');
	var searchMenuListBox = 'hbmHeaderSrchCatList_' + arg;
	var searchList = document.getElementById(searchMenuListBox);
	if (searchList == null) {
	   return;
	}
	searchList.className = 'open';
	var pos =Sys.UI.DomElement.getLocation(searchList);

	clearTimeout(searchTimer);
	searchTimer = null;
};

function hbmHideCatList (arg) {
	searchTimer = setTimeout(function() {
		var searchMenuListBox = 'hbmHeaderSrchCatList_' + arg;
		if (document.getElementById(searchMenuListBox))
			document.getElementById(searchMenuListBox).className = '';
		searchTimer = null;
	}, 600);
};

function hbmShowCatList(arg)  {
	var isChooser = (arg.toLowerCase() === 'chooser');
	var searchMenuListBox = 'hbmHeaderSrchCatList_' + arg;
	var searchList = document.getElementById(searchMenuListBox);
	if (searchList == null) {
	   return;
	}
	searchList.className = 'open';
	var pos =Sys.UI.DomElement.getLocation(searchList);

	clearTimeout(searchTimer);
	searchTimer = null;
};	

function hbmHideCatList (arg) {
	searchTimer = setTimeout(function() {
		var searchMenuListBox = 'hbmHeaderSrchCatList_' + arg;
		if (document.getElementById(searchMenuListBox))
			document.getElementById(searchMenuListBox).className = '';
		if ( typeof(framer) == 'undefined' ) { framer = document.getElementById('framer'); }
		if ( typeof(framer) != 'undefined' ) { framer.style.display = "none"; }
		searchTimer = null;
	}, 600);
};

function hbmSwitchSearchCat( v, searchType) {
   var _after = '<small>&#9660;</small>';
   var types;
   var searchText = 'search_t_' + searchType;
   var hbmHeaderSrchCat = 'hbmHeaderSrchCat_' + searchType;
   var hbmHeaderSrchCatList = 'hbmHeaderSrchCatList_' + searchType;
   var typeName = v + '_' + searchType;

	var chooseElementArray = new Array('qAll', 'qArtikel', 'qShop');
	var chosenElement = document.getElementById(v);
	if (chosenElement) {
		chosenElement.value = "on";
	}
	for (i = 0; i < chooseElementArray.length; i++) {
		var tempElement = document.getElementById(chooseElementArray[i]);
		if (v == 'qAll') {
			if (tempElement && chosenElement != tempElement) {
				tempElement.value = "on";
			}
		} else if (tempElement && chosenElement != tempElement) {
			tempElement.value = "" // "off";
		}
	}

   if (document.getElementById(searchText))
		document.getElementById(searchText).value = v;
	if (document.getElementById(typeName))
	{
		 if (document.getElementById(hbmHeaderSrchCat))
			document.getElementById(hbmHeaderSrchCat).innerHTML  =document.getElementById(typeName).innerHTML + _after;
	}
	if (document.getElementById(hbmHeaderSrchCatList))
		document.getElementById(hbmHeaderSrchCatList).className = '';
	clearTimeout(searchTimer);
	searchTimer = null;
};

function hbmToggleCatList(isOn,searchType) {
	if (isOn) {
		clearTimeout(searchTimer);
		searchTimer = null;
	}
	else {
		searchTimer = setTimeout(function() {
			var hbmHeaderSrchCatList = 'hbmHeaderSrchCatList_' + searchType;
			if (document.getElementById(hbmHeaderSrchCatList))
				document.getElementById(hbmHeaderSrchCatList).className = '';
			searchTimer = null;
		}, 600);
	}
}; 