function addbookmark(){
	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel("easyjobs", location.href,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite(location.href, "easyjobs"); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; 
	}
	return false;
}

function addbookmarklink(){
	document.getElementById('zumfavoritenhinzu').onclick=addbookmark;
}

function focus_text(){
	if((document.all || document.getElementsByTagName) && document.getElementById){
		var alltags3=document.all? document.all : document.getElementsByTagName("*");
		for (i=0; i<alltags3.length; i++){
			if(alltags3[i].tagName=="INPUT" && alltags3[i].className.indexOf("text")!=-1){
				alltags3[i].onfocus=function(){ this.className='text active';};
				alltags3[i].onblur=function(){ this.className='text';};
			};
			if(alltags3[i].tagName=="SELECT"){
				alltags3[i].onfocus=function(){ this.className='active';};
				alltags3[i].onblur=function(){ this.className='';};
			};
			if(alltags3[i].tagName=="TEXTAREA"){
				alltags3[i].onfocus=function(){ this.className='active';};
				alltags3[i].onblur=function(){ this.className='';};
			};
			/*if(alltags3[i].tagName=="INPUT" && alltags3[i].className.indexOf("checkbox")!=-1){
				alltags3[i].onfocus=function(){ this.className='checkbox active';};
				alltags3[i].onblur=function(){ this.className='checkbox';};
			};*/
		};
	};
}

function form_loginformular_formreset() {
  document.getElementById('form_loginformular').submit();
  document.getElementById('form_loginformular').reset();
  return false;
}
