function popuptagung() {
  window.open("40_edu_01_sv_a.html","AUTEA","width=431,height=450,left=200,top=100,locationbar=no,menubar=no,scrollbars=yes");
}
function ChangeOpenerLocation(Url){
	if(!opener || opener.closed){
	window.open(Url, 'MAINAUTEA');
	this.close();
	}
	else
	{
	window.opener.location = Url;
	window.opener.focus();
	this.close();
	}
}

function popupAgb1() {
  window.open("40_edu_agb.html","AUTEA","width=390,height=500,left=200,top=50,locationbar=no,menubar=no,scrollbars=yes");
}

function popupAgb2() {
  window.open("40_edu_agb.html","AUTEA","width=390,height=500,left=200,top=50,locationbar=no,menubar=no,scrollbars=yes");
}

function popupAgb3() {
  window.open("40_edu_agb.html","AUTEA","width=390,height=500,left=200,top=50,locationbar=no,menubar=no,scrollbars=yes");
}

function popupImp() {
  window.open("70_imp.html","AUTEA","width=400,height=350,left=200,top=200,locationbar=no,menubar=no,scrollbars=yes");
}

function popupAGB() {
  window.open("40_edu_agb.html","AUTEA","width=400,height=450,left=200,top=200,locationbar=no,menubar=no,scrollbars=yes");
}

function popupImpDetail($ffname) {
  bo=window.open($ffname,"AUTEA","width=431,height=450,left=200,top=100,locationbar=no,menubar=no,scrollbars=yes,infocus");
  bo.focus();
 }
 
 function checkBrowser(){
        this.ver=navigator.appVersion
        this.dom=document.getElementById?1:0
        this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
        this.ie4=(document.all && !this.dom)?1:0;
        this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
        this.ns4=(document.layers && !this.dom)?1:0;
        this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
        return this
}
bw=new checkBrowser()
//With nested layers for netscape, this function hides the layer if it's visible and visa versa
function showHide(div,nest){
        obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
        if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden'
        else obj.visibility='visible'
}
//Shows the div
function show(div,nest){
        obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
        obj.visibility='visible'
}
//Hides the div
function hide(div,nest){
        obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
        obj.visibility='hidden'
}
// 2008.03.13
function checkOnSelection(fin)
{
	var c=0;
	while(document.getElementById(fin.concat(c)) != null)
	{
		if(document.getElementById(fin.concat(c)).checked)
			return true;
		c++;
	}
	return false;
}

if (!String.prototype.trim) String.prototype.trim = function ()
{
	return this.replace(/^\s+/, "").replace(/\s+$/, "");
}
