var n = 14;
var i = 0;
var sf = (125 / 85 - 1) / 2;
var picw = new Array(81,23,53,56,56,57,33,46,59,58,75,85,58,39);
var pich = new Array(78,85,82,73,61,80,85,60,56,63,78,69,78,85);
var bigw = new Array(118,33,78,82,83,83,49,67,87,85,111,126,85,57);
var bigh = new Array(114,125,120,108,90,117,125,88,82,93,115,102,115,125);
var picl = new Array(10,109,148,215,287,359,433,479,537,607,678,764,866,941);
var pict = new Array(24,20,22,26,32,23,20,33,35,31,24,28,24,20);
var bigl = new Array();
var bigt = new Array();
var bild = new Array();
var pic  = new Array();
var tt   = new Array();
var ttl  = new Array();
var ttt  = new Array();

function getsizes() {
  for (i=0; i<n; i++) {
      bigl[i] = picl[i] - parseInt(sf * picw[i]);
      bigt[i] = pict[i] - parseInt(sf * pich[i]);
      bild[i] = document.getElementById("pic"+i).style;
      pic[i] = document.images["pics"+i];
      tt[i] = document.getElementById("tt"+i).style;
      ttl[i] = parseInt(bigw[i] / 2) - 45;
      ttt[i] = bigt[i] + bigh[i] - 35;
      }
  bigl[0] = 0;
  ttl[13] = bigw[13] - 93;
}

function show(i) {
  ID = "pics"+i;
  bild[i].zIndex = 10;
  bild[i].left = bigl[i]+"px";
  bild[i].top = bigt[i]+"px";
  pic[i].height = bigh[i];
  pic[i].width = bigw[i];
  tt[i].display = "block";
  tt[i].left = ttl[i]+"px";
  tt[i].top = ttt[i]+"px";
}

function hide() {
  for (i=0; i<n; i++) {
      bild[i].zIndex = 1;
      bild[i].left = picl[i]+"px";
      bild[i].top = pict[i]+"px";
      pic[i].height = pich[i];
      pic[i].width = picw[i];
      tt[i].display = "none";
      }
}

function doBookmark(c){
  var URL = 'http%3A%2F%2Fwww.intersystec.de%2Findex.htm';
  var Titel = 'InterSysTec%20-%20Professionelle%20Schankanlagen%20fuer%20Bier%20und%20Wein';
  if (c=='wong')      sbook = 'http://www.mister-wong.de/addurl/?bm_url='+URL+'&bm_description='+Titel+'&plugin=soc';
  if (c=='webnews')   sbook = 'http://www.webnews.de/einstellen?url='+URL+'&title='+Titel;
  if (c=='folkd')     sbook = 'http://www.folkd.com/submit/'+URL;
  if (c=='oneview')   sbook = 'http://www.oneview.de/quickadd/neu/addBookmark.jsf?URL='+URL+'&title='+Titel;
  if (c=='delicious') sbook = 'http://del.icio.us/post?url='+URL+'&title='+Titel;
  if (c=='linkarena') sbook = 'http://linkarena.com/bookmarks/addlink/?url='+URL+'&title='+Titel+'&desc=&tags=';
  if (c=='google')    sbook = 'http://www.google.com/bookmarks/mark?op=edit&bkmk='+URL+'&title='+Titel;
  if (c=='blinklist') sbook = 'http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url='+URL+'&Title='+Titel;
  if (c=='furl')      sbook = 'http://www.furl.net/storeIt.jsp?u='+URL+'&t='+Titel;
  if (c=='yahoo')     sbook = 'http://myweb2.search.yahoo.com/myresults/bookmarklet?t=Create%20Social%20Bookmark%20Links&u='+URL;
  if (c=='yigg')      sbook = 'http://yigg.de/neu?exturl='+URL;
  window.open(sbook);
}

function doshow(bmid) { document.getElementById(bmid).style.display = "block"; }

function unshow(bmid) { document.getElementById(bmid).style.display = "none"; }
