var offsetfrommouse=[10,10];var displayduration=0;var currentimageheight=400;var padding=10;var zoomimg_w=0;var zoomimg_h=0;if(document.getElementById||document.all){document.write('<div id="trailimageid">');document.write('</div>');}
function getObj(name){if(document.getElementById){this.obj=document.getElementById(name);this.style=document.getElementById(name).style;}else if(document.all){this.obj=document.all[name];this.style=document.all[name].style;}else if(document.layers){this.obj=document.layers[name];this.style=document.layers[name];}}
function gettrail(){return new getObj("trailimageid");}
function truebody(){return(!window.opera&&document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function showtrail(imagename,title,oriwidth,oriheight,zoomimgwidth,zoomimgheight,image,startx,starty,startw,starth){zoomimg_w=zoomimgwidth;zoomimg_h=zoomimgheight;if(zoomimgheight>0){currentimageheight=zoomimgheight;}
trailobj=gettrail().obj;trailobj.style.width=(zoomimgwidth+(2*padding))+"px";trailobj.style.height=(zoomimgheight+(2*padding))+"px";trailobj.setAttribute("startx",startx);trailobj.setAttribute("starty",starty);trailobj.setAttribute("startw",startw);trailobj.setAttribute("starth",starth);trailobj.setAttribute("imagename",imagename);trailobj.setAttribute("imgtitle",title);document.onmousemove=followmouse;}
function hidetrail(){trailstyle=gettrail().style;trailstyle.visibility="hidden";document.onmousemove="";trailstyle.left="-2000px";trailstyle.top="-2000px";}
function followmouse(e){var xcoord=offsetfrommouse[0];var ycoord=offsetfrommouse[1];var docwidth=document.all?truebody().scrollLeft+truebody().clientWidth:pageXOffset+window.innerWidth-15;var docheight=document.all?Math.min(truebody().scrollHeight,truebody().clientHeight):Math.min(window.innerHeight);var relativeX=null;var relativeY=null;if(typeof e!="undefined"){if((typeof e.layerX!="undefined")&&(typeof e.layerY!="undefined")){relativeX=e.layerX;relativeY=e.layerY;}else if((typeof e.x!="undefined")&&(typeof e.y!="undefined")){relativeX=e.x;relativeY=e.y;}
if(docwidth-e.pageX<zoomimg_w+(3*padding)){xcoord=e.pageX-xcoord-zoomimg_w-(2*offsetfrommouse[0]);}else{xcoord+=e.pageX;}
if(docheight-e.pageY<zoomimg_h+(2*padding)){ycoord+=e.pageY-Math.max(0,(0+zoomimg_h+(5*padding)+e.pageY-docheight-truebody().scrollTop));}else{ycoord+=e.pageY;}}else if(typeof window.event!="undefined"){if((typeof event.x!="undefined")&&(typeof event.y!="undefined")){relativeX=event.x;relativeY=event.y;}else if((typeof event.offsetX!="undefined")&&(event.offsetY!="undefined")){relativeX=event.offsetX;relativeY=event.offsetY;}
if(docwidth-event.clientX<zoomimg_w+(3*padding)){xcoord=event.clientX-xcoord-zoomimg_w-(2*offsetfrommouse[0]);}else{xcoord+=truebody().scrollLeft+event.clientX;}
if(docheight-event.clientY<zoomimg_h+(2*padding)){ycoord+=event.clientY-Math.max(0,(0+zoomimg_h+(5*padding)+e.pageY-docheight-truebody().scrollTop));}else{ycoord+=truebody().scrollTop+event.clientY;}}
trail=gettrail();startx=trail.obj.getAttribute("startx");starty=trail.obj.getAttribute("starty");startw=trail.obj.getAttribute("startw");starth=trail.obj.getAttribute("starth");imagename=trail.obj.getAttribute("imagename");title=trail.obj.getAttribute("imgtitle");var docwidth=document.all?truebody().scrollLeft+truebody().clientWidth:pageXOffset+window.innerWidth-15;var docheight=document.all?Math.max(truebody().scrollHeight,truebody().clientHeight):Math.max(document.body.offsetHeight,window.innerHeight);if(ycoord<0){ycoord=ycoord*-1;}
if((trail.style.left=="-2000px")||(trail.style.left=="")){trail.style.left=xcoord+"px";}
if((trail.style.top=="-2000px")||(trail.style.top=="")){trail.style.top=ycoord+"px";}
trail.style.left=xcoord+"px";trail.style.top=ycoord+"px";if(trail.style.visibility!="visible"){if(((relativeX==null)||(relativeY==null))||((relativeX>=startx)&&(relativeX<=(startx+startw))&&(relativeY>=starty)&&(relativeY<=(starty+starth)))){newHTML='<div><h1>'+title+'</h1>';newHTML=newHTML+'<img src="'+imagename+'"></div>';trail.obj.innerHTML=newHTML;trail.style.visibility="visible";}}};var ent2uc=new Array();ent2uc['nbsp']='00A0';ent2uc['iexcl']='00A1';ent2uc['cent']='00A2';ent2uc['pound']='00A3';ent2uc['curren']='00A4';ent2uc['yen']='00A5';ent2uc['brvbar']='00A6';ent2uc['sect']='00A7';ent2uc['uml']='00A8';ent2uc['copy']='00A9';ent2uc['ordf']='00AA';ent2uc['laquo']='00AB';ent2uc['not']='00AC';ent2uc['shy']='00AD';ent2uc['reg']='00AE';ent2uc['macr']='00AF';ent2uc['deg']='00B0';ent2uc['plusmn']='00B1';ent2uc['sup2']='00B2';ent2uc['sup3']='00B3';ent2uc['acute']='00B4';ent2uc['micro']='00B5';ent2uc['para']='00B6';ent2uc['middot']='00B7';ent2uc['cedil']='00B8';ent2uc['sup1']='00B9';ent2uc['ordm']='00BA';ent2uc['raquo']='00BB';ent2uc['frac14']='00BC';ent2uc['frac12']='00BD';ent2uc['frac34']='00BE';ent2uc['iquest']='00BF';ent2uc['Agrave']='00C0';ent2uc['Aacute']='00C1';ent2uc['Acirc']='00C2';ent2uc['Atilde']='00C3';ent2uc['Auml']='00C4';ent2uc['Aring']='00C5';ent2uc['AElig']='00C6';ent2uc['Ccedil']='00C7';ent2uc['Egrave']='00C8';ent2uc['Eacute']='00C9';ent2uc['Ecirc']='00CA';ent2uc['Euml']='00CB';ent2uc['Igrave']='00CC';ent2uc['Iacute']='00CD';ent2uc['Icirc']='00CE';ent2uc['Iuml']='00CF';ent2uc['ETH']='00D0';ent2uc['Ntilde']='00D1';ent2uc['Ograve']='00D2';ent2uc['Oacute']='00D3';ent2uc['Ocirc']='00D4';ent2uc['Otilde']='00D5';ent2uc['Ouml']='00D6';ent2uc['times']='00D7';ent2uc['Oslash']='00D8';ent2uc['Ugrave']='00D9';ent2uc['Uacute']='00DA';ent2uc['Ucirc']='00DB';ent2uc['Uuml']='00DC';ent2uc['Yacute']='00DD';ent2uc['THORN']='00DE';ent2uc['szlig']='00DF';ent2uc['agrave']='00E0';ent2uc['aacute']='00E1';ent2uc['acirc']='00E2';ent2uc['atilde']='00E3';ent2uc['auml']='00E4';ent2uc['aring']='00E5';ent2uc['aelig']='00E6';ent2uc['ccedil']='00E7';ent2uc['egrave']='00E8';ent2uc['eacute']='00E9';ent2uc['ecirc']='00EA';ent2uc['euml']='00EB';ent2uc['igrave']='00EC';ent2uc['iacute']='00ED';ent2uc['icirc']='00EE';ent2uc['iuml']='00EF';ent2uc['eth']='00F0';ent2uc['ntilde']='00F1';ent2uc['ograve']='00F2';ent2uc['oacute']='00F3';ent2uc['ocirc']='00F4';ent2uc['otilde']='00F5';ent2uc['ouml']='00F6';ent2uc['divide']='00F7';ent2uc['ugrave']='00F9';ent2uc['uacute']='00FA';ent2uc['ucirc']='00FB';ent2uc['uuml']='00FC';ent2uc['yacute']='00FD';ent2uc['thorn']='00FE';ent2uc['yuml']='00FF';ent2uc['fnof']='0192';ent2uc['Alpha']='0391';ent2uc['Beta']='0392';ent2uc['Gamma']='0393';ent2uc['Delta']='0394';ent2uc['Epsilon']='0395';ent2uc['Zeta']='0396';ent2uc['Eta']='0397';ent2uc['Theta']='0398';ent2uc['Iota']='0399';ent2uc['Kappa']='039A';ent2uc['Lambda']='039B';ent2uc['Mu']='039C';ent2uc['Nu']='039D';ent2uc['Xi']='039E';ent2uc['Omicron']='039F';ent2uc['Pi']='03A0';ent2uc['Rho']='03A1';ent2uc['Sigma']='03A3';ent2uc['Tau']='03A4';ent2uc['Upsilon']='03A5';ent2uc['Phi']='03A6';ent2uc['Chi']='03A7';ent2uc['Psi']='03A8';ent2uc['Omega']='03A9';ent2uc['alpha']='03B1';ent2uc['beta']='03B2';ent2uc['gamma']='03B3';ent2uc['delta']='03B4';ent2uc['epsilon']='03B5';ent2uc['zeta']='03B6';ent2uc['eta']='03B7';ent2uc['theta']='03B8';ent2uc['iota']='03B9';ent2uc['kappa']='03BA';ent2uc['lambda']='03BB';ent2uc['mu']='03BC';ent2uc['nu']='03BD';ent2uc['xi']='03BE';ent2uc['omicron']='03BF';ent2uc['pi']='03C0';ent2uc['rho']='03C1';ent2uc['sigmaf']='03C2';ent2uc['sigma']='03C3';ent2uc['tau']='03C4';ent2uc['upsilon']='03C5';ent2uc['phi']='03C6';ent2uc['chi']='03C7';ent2uc['psi']='03C8';ent2uc['omega']='03C9';ent2uc['thetasym']='03D1';ent2uc['upsih']='03D2';ent2uc['piv']='03D6';ent2uc['bull']='2022';ent2uc['hellip']='2026';ent2uc['prime']='2032';ent2uc['Prime']='2033';ent2uc['oline']='203E';ent2uc['frasl']='2044';ent2uc['weierp']='2118';ent2uc['image']='2111';ent2uc['real']='211C';ent2uc['trade']='2122';ent2uc['alefsym']='2135';ent2uc['larr']='2190';ent2uc['uarr']='2191';ent2uc['rarr']='2192';ent2uc['darr']='2193';ent2uc['harr']='2194';ent2uc['crarr']='21B5';ent2uc['lArr']='21D0';ent2uc['uArr']='21D1';ent2uc['rArr']='21D2';ent2uc['dArr']='21D3';ent2uc['hArr']='21D4';ent2uc['forall']='2200';ent2uc['part']='2202';ent2uc['exist']='2203';ent2uc['empty']='2205';ent2uc['nabla']='2207';ent2uc['isin']='2208';ent2uc['notin']='2209';ent2uc['ni']='220B';ent2uc['prod']='220F';ent2uc['sum']='2211';ent2uc['minus']='2212';ent2uc['lowast']='2217';ent2uc['radic']='221A';ent2uc['prop']='221D';ent2uc['infin']='221E';ent2uc['ang']='2220';ent2uc['and']='2227';ent2uc['or']='2228';ent2uc['cap']='2229';ent2uc['cup']='222A';ent2uc['int']='222B';ent2uc['there4']='2234';ent2uc['sim']='223C';ent2uc['cong']='2245';ent2uc['asymp']='2248';ent2uc['ne']='2260';ent2uc['equiv']='2261';ent2uc['le']='2264';ent2uc['ge']='2265';ent2uc['sub']='2282';ent2uc['sup']='2283';ent2uc['nsub']='2284';ent2uc['sube']='2286';ent2uc['supe']='2287';ent2uc['oplus']='2295';ent2uc['otimes']='2297';ent2uc['perp']='22A5';ent2uc['sdot']='22C5';ent2uc['lceil']='2308';ent2uc['rceil']='2309';ent2uc['lfloor']='230A';ent2uc['rfloor']='230B';ent2uc['lang']='2329';ent2uc['rang']='232A';ent2uc['loz']='25CA';ent2uc['spades']='2660';ent2uc['clubs']='2663';ent2uc['hearts']='2665';ent2uc['diams']='2666';ent2uc['quot']='0022';ent2uc['amp']='0026';ent2uc['lt']='003C';ent2uc['gt']='003E';ent2uc['OElig']='0152';ent2uc['oelig']='0153';ent2uc['Scaron']='0160';ent2uc['scaron']='0161';ent2uc['Yuml']='0178';ent2uc['circ']='02C6';ent2uc['tilde']='02DC';ent2uc['ensp']='2002';ent2uc['emsp']='2003';ent2uc['thinsp']='2009';ent2uc['ndash']='2013';ent2uc['mdash']='2014';ent2uc['lsquo']='2018';ent2uc['rsquo']='2019';ent2uc['sbquo']='201A';ent2uc['ldquo']='201C';ent2uc['rdquo']='201D';ent2uc['bdquo']='201E';ent2uc['dagger']='2020';ent2uc['Dagger']='2021';ent2uc['permil']='2030';ent2uc['euro']='20AC';function entities2unicode(str){var m,nchar;while(m=str.match(/&(\w+);/)){if(ent2uc[m[1]]){eval('nchar = "\\u'+ent2uc[m[1]]+'";');}else{nchar='?';}
str=str.replace(m[0],nchar);}
return str;}
function newAlert(msgpara){alert0(entities2unicode(msgpara));}
window.alert0=window.alert;window.alert=window.newAlert;window.Option0=window.Option;eval("function Option(s1, s2) { return new window.Option0(entities2unicode(s1),s2);};");