//---------------------------------------------------//
//
//---------------------------------------------------//
var Rows   = new Array(20);
//---------------------------------------------------//
function printbuttons(m)
{
   for (var i = 0; i < Rows[m].length; ++i){
      var V = "" ;
      if(Rows[m][i][0] == "x"){
        V = "visibility:hidden;" ;
      }
      document.write(" <td class=\"t_l\" style=\"width:125px;"+V+"\"> ");
      document.write(" <input class=\"b_l\" style=\"text-align:center;font-size:10px;width:126px;\"");
      document.write("  type=button value=\"&nbsp;"+Rows[m][i][0]+"\"");
      document.write("  onClick=\""+Rows[m][i][1]+"\"");
      document.write("  onmouseover=\"zoom_in(this,'#cccccc')\" onmouseout=\"zoom_out(this)\"> \n</td>");
   }
   return ;
}

//---------------------------------------------------//
//--       BGG BB BUTTONDEFS                  //
//---------------------------------------------------//
for (var i = 0; i < Rows.length; ++i){
  Rows[i] = new Array(6);
  for (var a = 0; a < Rows[i].length; ++a){
    Rows[i][a] = new Array(2);
  }
}

function rand (min, max) {
	return Math.floor(Math.random() * (max - min + 1)) + min;
}

//---------------------------------------------------//
//-- .- Button Row                                   //
//-- |  .- Buttons 0-5  in Row
//-- |  |  .- 0=Buttontext ; 1=onClick-Action        
//---V--V--V-----------------------------------------//
var r=0;
Rows[r][0][0] = "Leiter Info" ;
Rows[r][0][1] = "window.location='/info/';" ;
Rows[r][1][0] = "BAU-BLOG" ;
Rows[r][1][1] = "FlexWin('http://web.me.com/ccbeier/UnserNeuesZentrum/Blog/Blog.html',234,960,700,200,20);" ;
Rows[r][2][0] = "GC-Raumbelegung" ;
Rows[r][2][1] = "FlexWin('/indextermine.php?7',234,960,700,200,20);" ;
Rows[r][3][0] = "Anfahrt GC-BB" ;
Rows[r][3][1] = "FlexWin('/gcbb-sifistr35-anf.htm',153,650,890,200,20);" ;
Rows[r][4][0] = "Mail an GC BB" ; 	
Rows[r][4][1] = "window.location='mailto:info@bgg-boeblingen.de'" ;
Rows[r][5][0] = "POPup nochmal" ;
Rows[r][5][1] = "checkPopUp(1); index.php" ;
//--Rows[r][6][0] = "x" ;
//--Rows[r][6][1] = "" ;    //--"FlexWin('http://bgg-boeblingen.de/Fun4Kids',999,1080,780,200,20);" 
//---------------------------------------------------//
r=1;
Rows[r][0][0] = "GLAUBEN" ;
Rows[r][0][1] = "window.location='/indexwaswirg.php';" ;
Rows[r][1][0] = "ZIELE" ;
Rows[r][1][1] = "window.location='/indexuziele.php';" ;
Rows[r][2][0] = "Impressum" ;
Rows[r][2][1] = "window.location='/indeximpress.php';" ;
Rows[r][3][0] = "Disclaimer" ;
Rows[r][3][1] = "window.location='/indexdiscl.php';" ;
Rows[r][4][0] = "BGG-Stuttgart" ;
Rows[r][4][1] = "FlexWin('http://bgg-stuttgart.de',889,850,750,200,20);" ;
Rows[r][5][0] = "Royal Ranger BB" ;
Rows[r][5][1] = "FlexWin('http://www.rr407.de',999,870,1250,200,20);" ;

//---------------------------------------------------//
r=2;
Rows[r][0][0] = "HOME" ;
Rows[r][0][1] = "window.location='/';" ;
Rows[r][1][0] = "Termine" ;
Rows[r][1][1] = "FlexWin('/indextermine.php?5',234,960,700,200,20);" ;
Rows[r][2][0] = "GC-Raumbelegung" ;
Rows[r][2][1] = "FlexWin('/indextermine.php?5',234,960,700,200,20);" ;
//--Rows[r][3][0] = "Downloads" ; --//
//--Rows[r][3][1] = "FlexWin('/info/utils.php',1234,830,450,200,20);" ; --//
Rows[r][3][0] = "Neue Website(TEST)" ;
Rows[r][3][1] = "window.location='http://gcbb.bgg-boeblingen.de/go.php';" ;
Rows[r][4][0] = "Vorstand BB-GC" ;
Rows[r][4][1] = "window.location='/vst/index.php';"  ; //FlexWin('https://www.ckalender.de/system/index.php',rand(100,500),1300,1250,20,0);" ; //
Rows[r][5][0] = "Ferienkal. 2011" ;
Rows[r][5][1] = "FlexWin('http://www.schulferien.org/Ferien_als_Grafik/Baden-Wuerttemberg/2011-Baden-Wuerttemberg.pdf',153,1000,690,200,20);" ;

//---------------------------------------------------//
r=3;
Rows[r][0][0] = "GLAUBEN" ;
Rows[r][0][1] = "window.location='/indexwaswirg.php';" ;
Rows[r][1][0] = "ZIELE" ;
Rows[r][1][1] = "window.location='/indexuziele.php';" ;
Rows[r][2][0] = "Impressum" ;
Rows[r][2][1] = "window.location='/indeximpress.php';" ;
Rows[r][3][0] = "Disclaimer" ;
Rows[r][3][1] = "window.location='/indexdiscl.php';" ;
Rows[r][4][0] = "Wetter" ;
Rows[r][4][1] = "FlexWin('/indexWeather.php',153,280,490,200,20);" ;
Rows[r][5][0] = "Ferienkal. 2012" ;
Rows[r][5][1] = "FlexWin('http://www.schulferien.org/Ferien_als_Grafik/Baden-Wuerttemberg/2012-Baden-Wuerttemberg.pdf',153,1000,690,200,20);" ;
//---------------------------------------------------//
r=4;
Rows[r][0][0] = "HOME" ;
Rows[r][0][1] = "window.location='/';" ;
Rows[r][1][0] = "x" ;
Rows[r][1][1] = "" ;
Rows[r][2][0] = "x" ;
Rows[r][2][1] = "" ;
Rows[r][3][0] = "x" ;
Rows[r][3][1] = "";
Rows[r][4][0] = "x" ;
Rows[r][4][1] = "" ;
Rows[r][5][0] = "x" ;
Rows[r][5][1] = "" ;

//---------------------------------------------------//
r=5;
Rows[r][0][0] = "BGG Stuttgart" ;
Rows[r][0][1] = "FlexWin('http://bgg-stuttgart.de',888,850,750,200,20)" ;
Rows[r][1][0] = "Bibel-TV" ;
Rows[r][1][1] = "FlexWin('http://www.bibeltv.de',888,850,750,200,20)" ;
Rows[r][2][0] = "x" ;
Rows[r][2][1] = "" ;
Rows[r][3][0] = "x" ;
Rows[r][3][1] = "" ;
Rows[r][4][0] = "x" ;
Rows[r][4][1] = "" ;
Rows[r][5][0] = "Mail an BGG-BB" ;
Rows[r][5][1] = "window.location='mailto:info@bgg-boeblingen.de'" ;
//---------------------------------------------------//
r=9;
Rows[r][0][0] = "Beenden" ;
Rows[r][0][1] = "back()" ;
Rows[r][1][0] = "x" ;
Rows[r][1][1] = "" ;
Rows[r][2][0] = "x" ;
Rows[r][2][1] = "" ;
Rows[r][3][0] = "x" ;
Rows[r][3][1] = "";
Rows[r][4][0] = "x" ;
Rows[r][4][1] = "" ;
Rows[r][5][0] = "x" ;
Rows[r][5][1] = "" ;
//---------------------------------------------------//
r=10;
Rows[r][0][0] = "Acrobat Reader" ;
Rows[r][0][1] = "FlexWin('http://www.adobe.com/de/products/acrobat/readstep2.html',234,840,550,200,20);" ;
Rows[r][1][0] = "Power Point Viewer" ;
Rows[r][1][1] = "FlexWin('http://www.microsoft.com/downloads/details.aspx?FamilyID=428d5727-43ab-4f24-90b7-a94784af71a4&DisplayLang=de',234,840,550,200,20);" ;
Rows[r][2][0] = "Excel Viewer" ;
Rows[r][2][1] = "FlexWin('http://www.microsoft.com/downloads/details.aspx?FamilyID=c8378bf4-996c-4569-b547-75edbd03aaf0&DisplayLang=de',234,840,550,200,20);" ;
Rows[r][3][0] = "WORD Viewer" ;
Rows[r][3][1] = "FlexWin('http://office.microsoft.com/de-de/officeupdate/CD010225841031.aspx',234,840,550,200,20);";
Rows[r][4][0] = "x" ;
Rows[r][4][1] = "" ;
Rows[r][5][0] = "Reset NEWS Cookie" ;
Rows[r][5][1] = "a=GetCntC('NEWS',-1); alert('Reset Cookie to '+a+' !');" ;
//---------------------------------------------------//
r=11;
Rows[r][0][0] = "Hauskirchen Liste" ;
Rows[r][0][1] = "window.location='HKLjjmm.doc'" ;
Rows[r][1][0] = "Leiter Liste" ;
Rows[r][1][1] = "window.location='LeiterListe.xls'" ;
Rows[r][2][0] = "LeiterGruppenListe" ;
Rows[r][2][1] = "window.location='LRGruppenBGGBB.doc'" ;
Rows[r][3][0] = "x" ;
Rows[r][3][1] = "";
Rows[r][4][0] = "IQ-Test" ;
Rows[r][4][1] = "FlexWin('/IQ.htm',153,1000,690,200,20);" ;
Rows[r][5][0] = "Besucherz&auml;ler-Seite" ;
Rows[r][5][1] = "FlexWin('http://www.easycounter.com/',153,1000,690,200,20);" ;
//---------------------------------------------------//
r=12;
Rows[r][0][0] = "Beenden" ;
Rows[r][0][1] = "window.close();" ;
Rows[r][1][0] = "x" ;
Rows[r][1][1] = "" ;
Rows[r][2][0] = "x" ;
Rows[r][2][1] = "" ;
Rows[r][3][0] = "x" ;
Rows[r][3][1] = "";
Rows[r][4][0] = "x" ;
Rows[r][4][1] = "" ;
Rows[r][5][0] = "x" ;
Rows[r][5][1] = "" ;
//---------------------------------------------------//

