<!--
/*
  Browser Compatibility Layer
  ---------------------------
  made by SingularIT.com
*/
var undefined;
function show_info(sText,iX,iY,iWidth)
  {
  if (iX==undefined) iX = 100;
  if (iY==undefined) iY=100;
  if (iWidth==undefined) iWidth=300;

  infodialog.text = sText;
  infodialog.x = iX;
  infodialog.y = iY;
  infodialog.width = iWidth
  infodialog.show();
  }
function show_help(sText,iX,iY,iWidth)
  {
  if (iX==undefined) iX = 232;
  if (iY==undefined) iY=300;
  if (iWidth==undefined) iWidth=350;

  helpdialog.text = sText;
  helpdialog.x = iX;
  helpdialog.y = iY;
  helpdialog.width = iWidth
  helpdialog.show();
  }

function show_helpMe(sText,iX,iY,iWidth)
  {
  if (iX==undefined) iX = 100;
  if (iY==undefined) iY=100;
  if (iWidth==undefined) iWidth=500;

  helpMe.text = sText;
  helpMe.x = iX;
  helpMe.y = iY;
  helpMe.width = iWidth
  helpMe.show();
  }

function help_object(sText, iX, iY, iWidth) {
  this.text = sText;
  this.show = help_show;
  this.hide = help_hide;
  this.width = iWidth;
  this.x = iX;
  this.y = iY;
  return this;
}
function help_objectMe(sText, iX, iY, iWidth) {
  this.text = sText;
  this.show = help_showMe;
  this.width = iWidth;
  this.x = iX;
  this.y = iY;
  return this;
}

function help_hide() {
  layerHide(document.all.HelpDIV);
  if(document.all.coverDIV)layerHide(document.all.coverDIV);
}

function help_show() {
  layerHide(document.all.HelpDIV);

  theHTML = "<table border='0' cellpadding='0' cellspacing='1'><tr><td>";
  theHTML+= "<table border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'><tr>";
  theHTML+= "<td><img src='/pictures/airmiles/x.gif' width='10' height='7'></td><td><img src='/pictures/airmiles/x.gif' width='"+this.width+"' height='1'></td><td><img src='/pictures/airmiles/x.gif' width='10' height='1'></td></tr>";
  theHTML+= "<tr><td>&nbsp;</td><td class='blackboldCLF'>Let op!</td><td>&nbsp;</td></tr>";
  theHTML+= "<tr><td>&nbsp;</td><td class='blacknormCLF'>"+this.text+"</td><td>&nbsp;</td></tr></table>";
  theHTML+= "<table border='0' width='"+(this.width+20)+"' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>";
  theHTML+= "<tr><td colspan='2'><img src='/pictures/airmiles/x.gif' height='7' width='1'></td></tr>";
  theHTML+= "<tr><td width='"+(this.width-4)+"'>&nbsp;</td><td class='bottomCLS'><table border='0' cellpadding='0' cellspacing='0' bgcolor='#000000'><tr><td colspan='2'><img src='/pictures/airmiles/x.gif' width='1' height='1'></td></tr><tr><td><img src='/pictures/airmiles/x.gif' width='1' height='1'></td><td><a href='javascript:helpdialog.hide();'><img src='/pictures/airmiles/okmeld.gif' width='24' height='16' border='0'></a></td></tr></table></td></tr></table>";
  theHTML+= "</td></tr></table></td></tr></table>";

  if(browser.ie){
    document.all.HelpDIV.innerHTML = theHTML;
  }
  if(browser.ns){
    document.all.HelpDIV.document.open();
    document.all.HelpDIV.document.write(theHTML);
    document.all.HelpDIV.document.close();
  }

  layerMoveTo(document.all.HelpDIV,this.x,this.y);
  layerShow(document.all.HelpDIV);

}

function info_object(in_text) {
  this.text = in_text;
  this.show = info_show;
  this.hide = info_hide;
  this.width = 300;
  this.x = 100;
  this.y = 100;
  return this;
}
function info_hide() {
  layerHide(document.all.InfoDIV);
}

function info_show() {
  layerHide(document.all.InfoDIV);

  theHTML = "<table border='0' cellpadding='0' cellspacing='1'><tr><td>";
  theHTML+= "<table border='0' cellpadding='0' cellspacing='0' bgcolor='#99CCFF'><tr>";
  theHTML+= "<td><img src='/pictures/airmiles/x.gif' width='10' height='7'></td><td><img src='/pictures/airmiles/x.gif' width='"+this.width+"' height='1'></td><td><img src='/pictures/airmiles/x.gif' width='10' height='1'></td></tr>";
  theHTML+= "<tr><td>&nbsp;</td><td class='blacknormCLF'>"+this.text+"</td><td>&nbsp;</td>";
  theHTML+= "</tr></table></td></tr></table>";

  if(browser.ie){
    document.all.InfoDIV.innerHTML = theHTML;
  }
  if(browser.ns){
    document.all.InfoDIV.document.open();
    document.all.InfoDIV.document.write(theHTML);
    document.all.InfoDIV.document.close();
  }

  layerMoveTo(document.all.InfoDIV,this.x,this.y);
  layerShow(document.all.InfoDIV);

}
function help_showMe() {

  layerHide(document.all.HelpDIV);
  theHTML = "<table border='0' cellpadding='0' cellspacing='1'><tr><td>";
  theHTML+= "<table border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'><tr>";
  theHTML+= "<td><img src='/pictures/airmiles/x.gif' width='10' height='7'></td><td><img src='/pictures/airmiles/x.gif' width='"+this.width+"' height='1'></td><td><img src='/pictures/airmiles/x.gif' width='10' height='1'></td></tr>";
  theHTML+= "<tr><td>&nbsp;</td><td class='blackboldCLF'>Let op!</td><td>&nbsp;</td></tr>";
  theHTML+= "<tr><td>&nbsp;</td><td class='blacknormCLF'>"+this.text+"</td><td>&nbsp;</td></tr></table>";
  theHTML+= "<table border='0' width='"+(this.width+20)+"' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>";
  theHTML+= "<tr><td colspan='2'><img src='/pictures/airmiles/x.gif' height='7' width='1'></td></tr>";
  theHTML+= "<tr><td width='"+(this.width-4)+"'>&nbsp;</td><td class='bottomCLS'><table border='0' cellpadding='0' cellspacing='0' bgcolor='#000000'><tr><td colspan='2'><img src='/pictures/airmiles/x.gif' width='1' height='1'></td></tr><tr><td><img src='/pictures/airmiles/x.gif' width='1' height='1'></td><td><a href='index.asp'><img src='/pictures/airmiles/okmeld.gif' width='24' height='16' border='0'></a></td></tr></table></td></tr></table>";
  theHTML+= "</td></tr></table></td></tr></table>";

  if(browser.ie){
    document.all.HelpDIV.innerHTML = theHTML;
  }
  if(browser.ns){
    document.all.HelpDIV.document.open();
    document.all.HelpDIV.document.write(theHTML);
    document.all.HelpDIV.document.close();
  }

  layerMoveTo(document.all.HelpDIV,this.x,this.y);
  layerShow(document.all.HelpDIV);
}
function InArrayMe(mValue, arSearch)
  {
  /*
    Checks if mValue exists in arSearch and returns true or false accordingly
  */
  for (var j=0;j<arSearch.length;j++)
    {
    if (mValue == arSearch[j])
      {
      return true;
      }
    }
  return false;
  }

var helpdialog;
var helpMe;
var infodialog;
helpdialog = new help_object("Dummy",232,350,300);
helpMe = new help_objectMe("Dummy",100,100,500);
infodialog = new info_object("Dummy",100,100,300);

var iValueY;
// -->
