/*	Aktuelle XP Revision: $Revision: 1.1.4.12 $
	Letzte XP Aenderung am: $Date: 2012/01/18 15:10:11 $ GMT */
/* for the IE only workarounds */
var ie = (document.all) ? true : false;
/* to get rid of the pre-text in inputs */
/* needs two functions, if a ...... user enters the default Value... */
function onFocusCheckEntry(which, cont, colorChange) {
	if(cont !=  "dummy" && which.value == cont) {
		which.value = "";
	}
}

function onBlurCheckEntry(which, cont, colorChange) {
	if(cont !=  "dummy" && which.value == '') {
		which.value = cont;
	}
}

/*	function for the View of the title-Attribute beside the icons */
function tiVi(linkObj) {
	if(document.getElementsByTagName) {
		text = " ";
		spanObj = linkObj.parentNode.parentNode.parentNode.getElementsByTagName("span");
		titleViewObj = spanObj[spanObj.length-1].firstChild;
		if(titleViewObj.nodeValue != linkObj.getAttribute("title")) text = linkObj.getAttribute("title");
		titleViewObj.nodeValue = text;
	}
}

function alerts() {
}
		
/*function init() {
	if(typeof changeTitleAndTarget != "undefined") changeTitleAndTarget();
	if(typeof bilderstreckeVars != "undefined") bilderstreckeVars();
	if(typeof eilScroll != "undefined") eilScroll();
}

window.onload = function() {
					if(typeof window.onload == "function")window.onload;
					bilderstreckeVars();
				}*/
				
				
/* Social Media */

function setBookmark (where) { 
	burl = encodeURIComponent(location.href); 
	btitle = encodeURIComponent(document.title); 

	switch(where) { 
		case 'Twitter': window.open('http://twitter.com/intent/tweet?text='+btitle+'&url='+burl); break; 
		case 'Facebook': window.open('http://www.facebook.com/sharer.php?u='+burl+'&t='+btitle+'&desc='); break; 
		case 'Delicious': window.open('https://secure.delicious.com/post?url='+burl+'&amp;title='+btitle); break; 
		case 'Mrwong': window.open('http://www.mister-wong.de/index.php?bm_url='+burl+'&bm_notice=&bm_description='+btitle+'&action=addurl'); break; 
		case 'Webnews': window.open('http://www.webnews.de/einstellen?url='+burl+'&title='+btitle); break; 
		case 'Yigg': window.open('http://yigg.de/neu?exturl='+burl); break; 
		case 'StudiVZ': window.open('http://www.studivz.net/Suggest/Selection/?u='+burl+'&desc='+btitle+'&prov=tagesschau.de'); break; 
		case 'GoogleBM': window.open('http://www.google.com/bookmarks/mark?op=edit&bkmk='+burl+'&title='+btitle); break; 
		} 
	}

