<!--
function addFav(loc,title){
if (document.all)
window.external.AddFavorite(loc, title);
else if (window.sidebar)
window.sidebar.addPanel(title, loc, "");
}
function swappic(img_name,img_src) {
document[img_name].src=img_src;
}
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = "";
}
function popup(url, height, width) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1, height = ' + height + ', width = ' + width);");
}
function popupm(url, height, width) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1, height = ' + height + ', width = ' + width);");
}

function PopUpThumb(obj,con,x,y){
 Obj=document.getElementById('PopUpThumb');
 Obj.innerHTML=con;
 Obj.style.left=(zxcPos(obj)[0]+x)+'px';
 Obj.style.top=(zxcPos(obj)[1]+y)+'px';
 Obj.style.visibility='visible';
}

function HidePopUpThumb(){
 Obj.style.visibility='hidden';
}

function zxcPos(zxcobj){
zxclft=zxcobj.offsetLeft;
zxctop=zxcobj.offsetTop;
while(zxcobj.offsetParent!=null){
zxcpar=zxcobj.offsetParent;
zxclft+=zxcpar.offsetLeft;
zxctop+=zxcpar.offsetTop;
zxcobj=zxcpar;
}
return [zxclft,zxctop];
}


//-->

