/*******************************************************/
/************** Input Select ***************************/
/*******************************************************/
function doSelect(id) {
		document.getElementById(id).focus();
		document.getElementById(id).select();
	};
/*******************************************************/
/************** Popup **********************************/
/*******************************************************/
function openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
/*******************************************************/
/************** Drucken ********************************/
/*******************************************************/
function print_openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
/*******************************************************/
/********** Image Vorladen *****************************/
/*******************************************************/
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/*******************************************************/
/********** sitemap ************************************/
/*******************************************************/

var timer = null;

function startTimer() {
	stopTimer();
	timer = window.setTimeout("hideSiteMap('openSitemap')", 3000);
}

function stopTimer() {
	if (timer) window.clearTimeout(timer);
	timer = null;
}

function showSiteMap(eleId) {
	obj = document.getElementById(eleId);
	obj.style.display = 'block';
	startTimer();
}

function hideSiteMap(eleId) {
	obj = document.getElementById(eleId);
	obj.style.display = 'none';
}
/*******************************************************/
/********** over ************************************/
/*******************************************************/
Event.observe(window, 'load', function(){
        $$('div.faqAsk').each(function(el){
              el.onmouseover  = function(){ this.className = 'faqAskHover cursor'; }
              el.onmouseout  = function(){  this.className = 'faqAsk';  }
        });
    });
