var inner_on_layer = null var clock_sec,clock_min,clock1_hour,clock2_hour,clock3_hour,clock4_hour,clock5_hour,clock6_hour; function goPage(linki){ location = linki; } function goSupport(){ openw("support.htm",700,500); } function signUp(){ location = "inner.asp?id=2a"; } function thisMovie(movieName) { // IE and Netscape refer to the movie object differently. // This function returns the appropriate syntax depending on the browser. if (navigator.appName.indexOf ("Microsoft") !=-1) { return window[movieName] } else { return document[movieName] } } // Checks if movie is completely loaded. // Returns true if yes, false if no. function movieIsLoaded (theMovie) { if (typeof(theMovie) != "undefined") { return theMovie.PercentLoaded() == 100; } else { return false; } } function playmovie(movieName) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).Play(); } } function stopmovie(movieName) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).StopPlay(); } } function go(movieName,theFrame) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).GotoFrame(theFrame); } } function golabel(movieName,thelabel) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).TGotoLabel("_level0/",thelabel); } } function enlargeCur(){ if(document.getElementById("cur_table1").className=='cur_table'){ document.getElementById("cur_table1").className='cur_table_little'; changeImages('t_expand','cur_table_down'); document.getElementById("innerf").className='inner_page'; } else{ document.getElementById("cur_table1").className='cur_table'; changeImages('t_expand','cur_table_up'); document.getElementById("innerf").className='inner_page_small'; } } function changeImages(img_name, new_src) { if(document.images) document.images[img_name].src=eval(new_src+".src"); } if(document.images){ cur_table_down = new Image; cur_table_down.src = "images/table_left_down.gif"; cur_table_up = new Image; cur_table_up.src = "images/table_left_up.gif"; rollover_bg = new Image; rollover_bg.src = "images/button_bg_inner2.gif"; } function openw(linki,Wwidth,Wheight) { var Pwidth=screen.width/2-Wwidth/2; var Pheight=screen.height/2-Wheight/2; x=window.open(linki,"window","width="+Wwidth+",height="+Wheight+",scrollbars,top="+Pheight+",left="+Pwidth); if(x){ x.focus(); } else{ location="inner.asp?id=popup_err" } } function inner_rollover(obj,tag,flash_id){ if(inner_on_layer!=null){ inner_on_layer.className='right_But'; } inner_on_layer = obj; obj.className='right_But_on'; document.getElementById(tag).style.visibility='visible'; go(flash_id,2); } function inner_rollover3(obj,tag,flash_id){ if(inner_on_layer!=null){ inner_on_layer.className='right_But'; } inner_on_layer = obj; obj.className='right_But_on'; document.getElementById(tag).style.visibility='visible'; golabel(flash_id,'over'); } function inner_rollover2(tag,flash_id){ if(inner_on_layer!=null){ inner_on_layer.className='right_But_on'; } document.getElementById(tag).style.visibility='visible'; //go(flash_id,2); } function inner_rollout2(tag,flash_id){ document.getElementById(tag).style.visibility='hidden'; //go(flash_id); if(inner_on_layer!=null){ inner_on_layer.className='right_But'; } } function inner_rollout(obj,tag,flash_id,inner_menu_flag){ if(inner_menu_flag){ } else{ obj.className='right_But'; } if(inner_on_layer!=null){ inner_on_layer.className='right_But'; } document.getElementById(tag).style.visibility='hidden'; playmovie(flash_id); } function submitOpenerLogin(){ if(opener.formi.logto.value!="site"){ loginonsubmit(opener.formi.user_name.value,opener.formi.password.value,opener.formi.logto.value) } else{ opener.formi.user_name.value = in_formi.user_name.value; opener.formi.password.value = in_formi.password.value; opener.formi.submit(); } self.close(); } function submitLogin(loged){ loginonsubmit(formi.user_name.value,formi.password.value,'tol'); } function submitLoginMFM(){ loginonsubmit(formi.user_name.value,formi.password.value,'mfm'); } function submitLoginPRM(){ loginonsubmit(formi.user_name.value,formi.password.value,'prm'); } function reloadPage(reloadItem){ var address = location.href; var formName = "datei"; if(address.indexOf("?")!=-1){ if(address.indexOf(reloadItem)!=-1){ if(address.charAt((address.indexOf(reloadItem))-1)=="?"){ location=address.substr(0,address.indexOf("?"))+"?"+reloadItem+"="+eval("document."+formName+"."+reloadItem+".value"); } else{ location=address.substr(0,address.indexOf("&"+reloadItem))+"&"+reloadItem+"="+eval("document."+formName+"."+reloadItem+".value"); } } else{ location=address+"&"+reloadItem+"="+eval("document."+formName+"."+reloadItem+".value"); } } else{ location=address+"?"+reloadItem+"="+eval("document."+formName+"."+reloadItem+".value"); } } function printVersion(num,autoPrint){ if(autoPrint){ openw("print_article.asp?id="+num+"&auto=0",600,500); } else{ openw("print_article.asp?id="+num+"&auto=1",600,500); } } function printArticle() { if (window.print) { setTimeout('window.print();',200); } else if (agt.indexOf("mac") != -1) { alert("Press 'Cmd+p' on your keyboard to print article."); } else { alert("Press 'Ctrl+p' on your keyboard to print article.") } } function one_hour(){ if(clock1_hour==23){ clock1_hour = -1; } document.getElementById("tlv_hour").innerHTML = (++clock1_hour<10?("0"+clock1_hour):clock1_hour); document.getElementById("sid_hour").innerHTML = (++clock2_hour<10?("0"+clock2_hour):clock2_hour); if(parseInt(document.getElementById("sid_hour").innerHTML) ==24){ document.getElementById("sid_hour").innerHTML = "00"; } document.getElementById("tok_hour").innerHTML = (++clock3_hour<10?("0"+clock3_hour):clock3_hour); if(parseInt(document.getElementById("tok_hour").innerHTML) ==24){ document.getElementById("tok_hour").innerHTML = "00"; } document.getElementById("nyc_hour").innerHTML = (++clock4_hour<10?("0"+clock4_hour):clock4_hour); if(parseInt(document.getElementById("nyc_hour").innerHTML) ==24){ document.getElementById("nyc_hour").innerHTML = "00"; } document.getElementById("lon_hour").innerHTML = (++clock5_hour<10?("0"+clock5_hour):clock5_hour); if(parseInt(document.getElementById("lon_hour").innerHTML) ==24){ document.getElementById("lon_hour").innerHTML = "00"; } document.getElementById("gmt_hour").innerHTML = (++clock6_hour<10?("0"+clock6_hour):clock6_hour); if(parseInt(document.getElementById("gmt_hour").innerHTML) ==24){ document.getElementById("gmt_hour").innerHTML = "00"; } } function one_min(){ if(clock_min==59){ clock_min = -1; one_hour(); } document.getElementById("tlv_min").innerHTML = (++clock_min<10?("0"+clock_min):clock_min); document.getElementById("sid_min").innerHTML = (clock_min<10?("0"+clock_min):clock_min); document.getElementById("tok_min").innerHTML = (clock_min<10?("0"+clock_min):clock_min); document.getElementById("nyc_min").innerHTML = (clock_min<10?("0"+clock_min):clock_min); document.getElementById("lon_min").innerHTML = (clock_min<10?("0"+clock_min):clock_min); document.getElementById("gmt_min").innerHTML = (clock_min<10?("0"+clock_min):clock_min); } function one_sec(){ if(clock_sec==59){ clock_sec = -1; one_min(); } document.getElementById("tlv_sec").innerHTML = ++clock_sec; } function clock_init(){ clock_sec = document.getElementById("tlv_sec").innerHTML; clock_min = document.getElementById("tlv_min").innerHTML; clock1_hour = document.getElementById("tlv_hour").innerHTML; clock2_hour = document.getElementById("sid_hour").innerHTML; clock3_hour = document.getElementById("tok_hour").innerHTML; clock4_hour = document.getElementById("nyc_hour").innerHTML; clock5_hour = document.getElementById("lon_hour").innerHTML; clock6_hour = document.getElementById("gmt_hour").innerHTML; setInterval("one_sec()",1000); } function thisMovie(movieName) { // IE and Netscape refer to the movie object differently. // This function returns the appropriate syntax depending on the browser. if (navigator.appName.indexOf ("Microsoft") !=-1) { return window[movieName] } else { return document[movieName] } } // Checks if movie is completely loaded. // Returns true if yes, false if no. function movieIsLoaded (theMovie) { if (typeof(theMovie) != "undefined") { return theMovie.PercentLoaded() == 100; } else { return false; } } function playmovie(movieName) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).Play(); } } function stopmovie(movieName) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).StopPlay(); } } function golabel(movieName,theLabel) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).TGotoLabel("_level0/",theLabel); } } function flashGo(movieName,theFrame) { if (movieIsLoaded(thisMovie(movieName))) { thisMovie(movieName).GotoFrame(theFrame); } }