function SymError()
{
  return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}

window.open = SymWinOpen;

//-->


//<![CDATA[

if(top!=self)top.location.href=self.location.href;

Xoffset= 16; // modify these values to ...
Yoffset= 16; // change the popup position.

var skn;
var yyy=-1000;
var ns4,ie4,dom;

window.onload = function() {
    var i=0;l=document.links;
    for(i=0;i<l.length;i++){if(l[i])l[i].onfocus=function(){if(this.blur)this.blur();}}
    activeMenu = document.getElementById("menu_6173_Parent");
        activeSub  = document.getElementById("menu_6173_Sub");
    overMenu   = activeMenu;
    overSub    = activeSub;
    if (document.getElementById) {
      skn=document.getElementById("dek").style;
      dom = true;
    } else if (document.all) {
      skn=document.all.dek.style;
      ie4 = true;
    }
    if (document.layers) {
      skn=document.dek;
      document.captureEvents(Event.MOUSEMOVE);
      ns4 = true;
    } else if (skn) {
      skn.visibility='visible';
      skn.display='none';
    }
    document.onmousemove=get_mouse;
}

function popup(img,width,height){
    if (!skn) return;
    var content='<table width="'+(width+2)+'" height="'+(height+2)+'" border="0" cellpadding="0" cellspacing="0" class="thumbpopup"><tr><td><img src="'+img+'" border="0" width="'+width+'" height="'+height+'" alt="" /></td></tr></table>';
    yyy=Yoffset;
    if (dom) {
      document.getElementById("dek").innerHTML=content;
      skn.display='';
    } else if (ns4) {
      skn.document.write(content);
      skn.document.close();
      skn.visibility='visible';
    } else if (ie4) {
      document.all("dek").innerHTML=content;
      skn.display='';
    }
}

function get_mouse(e) {
    if (!skn) return;
    var x=(ns4||!document.all)?e.pageX:event.x+document.body.scrollLeft;
    skn.left=x+Xoffset;
    var y=(ns4||!document.all)?e.pageY:event.y+document.body.scrollTop;
    skn.top=y+yyy;
}

function kill() {
    if (!skn) return;
    yyy=-1000;
    if(ns4)
      skn.visibility='hidden';
    else
      skn.display='none'
}

function JSopenImg (lnk,width,height) {
    width  = width+25;
    height = height+25;
    // center on parent
	var px1 = window.screenX;
	var px2 = window.screenX + window.outerWidth;
	var py1 = window.screenY;
	var py2 = window.screenY + window.outerHeight;
    var left = (px2 - px1 - width) / 2;
    var top  = (py2 - py1 - height) / 2;
    window.open (lnk, "imgwnd", 'width='+width+',height='+height+',left='+left+',top='+top+',resizable,scrollbars=yes');
    return false;
}

//]]>
