//********************************************************************** // // JavaScript - Funktionen fuer Navigation // (c) by Klaus Steinhauer, Mon Nov 4 12:55:18 WN 2002 // Tue Feb 3 14:54:51 WN 2004 // Fri Jul 2 11:30:24 WS 2004 // Wed Feb 2 14:57:09 WN 2005 // //********************************************************************** var wnd = null; function w(){ window.status="Bitte warten ..."; } function b(){ window.status="Bereit"; } function init(){ if(top!=self) top.location=self.location; } function genURL(num, path, file){ w(); var server="http://www.pub.arbeitsagentur.de/hst/services/statistik/"; var ti="select_time_" + num; var rg="select_region_" + num; var t=document.forms[0].elements[ti].value; var r=document.forms[0].elements[rg].value; var point=file.indexOf("."); filename=file.substr(0,point)+r+"."+file.substr(point+1,file.length-point); var url=server+t+"/"+path+"/"+filename; // message(path); window.open(url.toLowerCase(),"target"); if (wnd != null) wnd.focus(); b(); } function info(txt){ w(); alert(txt); b(); } function message(path){ var text="Hinweis!"; if(path.toLowerCase().search(/kreisreport/) != -1){ // info(text); wnd = window.open("hinweis20090331.html","hint","width=640,height=400,scrollbars=no,menubar=no,toolbar=no,locationbar=no,status=no,resizable=no,dependent=yes"); wnd.focus(); } else { if (wnd != null){ wnd.close(); wnd = null; } } }