if(document.getElementsByTagName('img')) {
	var imgs=document.getElementsByTagName('img');
	var home=0;
	for(i=0;i<imgs.length;i++) {
		if(imgs[i].src.indexOf('NameBlock')!=-1) {
			home=1;
			break;
		}
	}
	if (home==1) {
		var heiLogo=null;
		var hpLogo=null;
		var mindLogo=null;
		if (document.getElementById('heidelbergLogo')) heiLogo=document.getElementById('heidelbergLogo');
		if (document.getElementById('hpLogo')) hpLogo=document.getElementById('hpLogo');
		if (document.getElementById('mindfireLogo')) mindLogo=document.getElementById('mindfireLogo');

		var div=document.createElement('div');
		if(heiLogo!=null) {
			var link1=document.createElement('a');
			link1.setAttribute('href',heiLogo.getAttribute('href'));
			link1.setAttribute('target',heiLogo.getAttribute('target'));
			var img1=document.createElement('img');
			img1.src="2410Northe/HeidelbergLogoBig.gif";
			img1.style.border=0;
			link1.appendChild(img1);
			div.appendChild(link1);
		}
		if(hpLogo!=null) {
			var link2=document.createElement('a');
			link2.setAttribute('href',hpLogo.getAttribute('href'));
			link2.setAttribute('target',hpLogo.getAttribute('target'));
			var img2=document.createElement('img');
			img2.src="2410Northe/HPLogoBig.gif";
			img2.style.border=0;
			link2.appendChild(img2);
			div.appendChild(link2);
		}
		if(mindLogo!=null) {
			var link3=document.createElement('a');
			link3.setAttribute('href',mindLogo.getAttribute('href'));
			link3.setAttribute('target',mindLogo.getAttribute('target'));
			var img3=document.createElement('img');
			img3.src="2410Northe/MindFireLogoBig.gif";
			img3.style.border=0;
			link3.appendChild(img3);
			div.appendChild(link3);
		}
		if(heiLogo!=null) heiLogo.parentNode.insertBefore(div,heiLogo);
		else if(hpLogo!=null) hpLogo.parentNode.insertBefore(div,hpLogo);
		else if(mindLogo!=null) mindLogo.parentNode.insertBefore(div,mindLogo);
		div.id="logoDiv";
		div.style.display='none';
		if (document.getElementById('logoDiv')) show('logoDiv');
	}
}