
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
   version = "2";
   if (browserName == "Netscape" && browserVer >= 3) version = "1";else
   if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "1";

else version = "2";

// preload images:
if (version == "1") {

infoa = new Image();
infoa.src = "../../../foto/lupe1.gif";
infob = new Image();
infob.src = "../../../foto/lupe2.gif";

lupaa = new Image();
lupaa.src = "../../../../foto/lupe1.gif";
lupab = new Image();
lupab.src = "../../../../foto/lupe2.gif";
}

function hiLite(imgDocID,imgObjName) {
if (version == "1") {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function openLink(link,target) {
  if (target=="centrum") {
  	MM_openBrWindow(link,'centrum','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink2(link,target) {
  if (target=="cwiczenie") {
  	MM_openBrWindow(link,'cwiczenie','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink3(link,target) {
  if (target=="zamow") {
  	MM_openBrWindow(link,'zamow','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink4(link,target) {
  if (target=="_self") {
  	MM_openBrWindow(link,'_self','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink5(link,target) {
  if (target=="_top") {
  	MM_openBrWindow(link,'_top','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink6(link,target) {
  if (target=="zestaw") {
  	MM_openBrWindow(link,'zestaw','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink7(link,target) {
  if (target=="opcja") {
  	MM_openBrWindow(link,'opcja','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink8(link,target) {
  if (target=="film") {
  	MM_openBrWindow(link,'film','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink9(link,target) {
  if (target=="foto") {
  	MM_openBrWindow(link,'foto','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink10(link,target) {
  if (target=="dane") {
  	MM_openBrWindow(link,'dane','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}

function openLink11(link,target) {
  if (target=="_blanc") {
  	MM_openBrWindow(link,'_blanc','');
  }else if(target=="_top"){
  	top.location.href = link;
  }else{
  	document.location.href = link;
  }
}