<!--

// Javascript Fehler unterdruecken
/*onerror = stopError;
function stopError()
{
return true;
}*/


//  Resize Netscape 
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//  Agbs prüfen bei Vorschau

function checkCheckBox(f){
if (f.agree.checked == false )
{
alert("Bitte AGB's bestätigen um fortzufahren.");
return false;
}else
return true;
}

//  Anzahl der Stellen im Form

var ns6=document.getElementById&&!document.all

function restrictinput(maxlength,e,placeholder){
if (window.event&&event.srcElement.value.length>=maxlength)
return false
else if (e.target&&e.target==eval(placeholder)&&e.target.value.length>=maxlength){
var pressedkey=/[a-zA-Z0-9\.\,\/]/ //detect alphanumeric keys
if (pressedkey.test(String.fromCharCode(e.which)))
e.stopPropagation()
}
}

function countlimit(maxlength,e,placeholder){
var theform=eval(placeholder)
var lengthleft=maxlength-theform.value.length
var placeholderobj=document.all? document.all[placeholder] : document.getElementById(placeholder)
if (window.event||e.target&&e.target==eval(placeholder)){
if (lengthleft<0)
theform.value=theform.value.substring(0,maxlength)
placeholderobj.innerHTML=lengthleft
}
}


function displaylimit(theform,thelimit){
var limit_text='<span id="'+theform.toString()+'" class="zeichenanzahl">'+thelimit+'</span><span class="zeichenanzahl"> Zeichen</span>'
if (document.all||ns6)
document.write(limit_text)
if (document.all){
eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
}
else if (ns6){
document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true); 
document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true); 
}
}

// Linktooltip  

var content=new Array()
// change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
content[0]='&nbsp;'
content[1]='Zurück zur Startseite und Übersicht für alle Themen'
content[2]='Itct consulting and training über sich selbst'
content[3]='Unsere Leistungen für Ihr Unternehmen'
content[4]='Die Palette von IT-Schulungen und Workshops bei Itct'
content[5]='Ein Auszug aus unserem Trainerpool bei Itct'
content[6]='Wir integrieren unseren mobilen Schulungsraum bei Ihnen'
content[7]='Unsere Seminarräume für Ihre Schulungstage bei uns'
content[8]='Wir entwickeln und projektieren für Ihr Unternehmen'
content[9]='Unser Referenzen von langjährigen Kunden bei Itct'
content[10]='So finden Sie uns mit Adresse und Wegbeschreibung'
content[11]='Das Kontaktformular für Ihren Fragen an Itct'
content[12]='Enpfehlen Sie unser Dienstleistung an andere weiter'
content[13]='Unser Newsletter informiert Sie über Neuigkeiten bei Itct'
content[14]='Auszug der Meinungen von Teilnehmer unserer Trainings'
content[15]='Ihre Ansprechpartner für alle Fragen an Itct'
content[16]='Ein Auszug unsere Management Trainings bei Itct'

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}

function changetext(whichcontent){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
}
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
document.d1.document.d2.document.close()
}

}

function appear(){
document.d1.visibility='show'
}

window.onload=regenerate2

// POPup Doku ShopIntern
function dokus(popupURL)
{
	fensterpopup = window.open(popupURL,"dokus1","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=750,height=520,left=30,top=30"); 
	fensterpopup.focus();
}


//-->