/*
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 w=1 8 h=1 5(4.9||4.f)4.V(\'<y z="A" l="W:X;m:B;n:Y;o:-Z;C:p;D:p;10:p 11 #12;13:#14;"><q z="r" t="q/s.E" /></y>\')g 6(){5(4.9)u 4.9("A").l F 5(4.f)u 4.f.16.l}g 7(){u(!i.v&&4.G&&4.G!="17")?4.18:4.H}g 19(){4.I=""4.9(\'r\').t=\'/q/s.E\'6().m="B"6().n=-1a 6().o=0}g 1b(a,b,c){5(J.K.L().M(\'v\')==-1){w=a h=b 4.9(\'r\').t=c 4.I=N 6().m="1c"6().C=w+"j"6().D=h+"j"}}g N(e){5(J.K.L().M(\'v\')==-1){8 a=k 8 b=k 5(O e!="P"){a+=e.1d b+=e.1e}F 5(O i.x!="P"){a+=7().Q+x.1f b+=7().R+x.1g}8 c=4.f?7().Q+7().1h:1i+i.1j-15 8 d=4.f?S.T(7().1k,7().U):S.T(4.H.1l,i.1m)5(a+w+3>c)a=a-w-(k*2)5(b-7().R+h>7().U)b=b-h-k;6().n=a+"j"6().o=b+"j"}}',62,85,'||||document|if|gettrailobj|truebody|var|getElementById||||||all|function||window|px|20|style|visibility|left|top|1px|img|ttimg||src|return|opera||event|div|id|trailimageid|hidden|width|height|gif|else|compatMode|body|onmousemove|navigator|userAgent|toLowerCase|indexOf|followmouse|typeof|undefined|scrollLeft|scrollTop|Math|max|clientHeight|write|position|absolute|0px|1000px|border|solid|888888|background|DDDDDD||trailimagid|BackCompat|documentElement|hidetrail|1000|showtrail|visible|pageX|pageY|clientX|clientY|clientWidth|pageXOffset|innerWidth|scrollHeight|offsetHeight|innerHeight'.split('|'),0,{}))
*/


var w=1
var h=1

if (document.getElementById || document.all)
document.write('<div id="trailimageid" style="position:absolute;visibility:hidden;left:0px;top:-1000px;width:1px;height:1px;border:1px solid #888888;background:#DDDDDD;"><img id="ttimg" src="img/s.gif" /></div>')

function gettrailobj()
{
	if (document.getElementById) return document.getElementById("trailimageid").style
	else if (document.all) return document.all.trailimagid.style
}

function truebody()
{
	return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail()
{
	document.onmousemove=""
	document.getElementById('ttimg').src='/img/s.gif'
	gettrailobj().visibility="hidden"
	gettrailobj().left=-1000
	gettrailobj().top=0
}


function showtrail(width,height,file)
{
	if(navigator.userAgent.toLowerCase().indexOf('opera') == -1)
	{
		w=width
		h=height
		
		// followmouse()
	
		document.getElementById('ttimg').src=file
		document.onmousemove=followmouse
		gettrailobj().visibility="visible"
		gettrailobj().width=w+"px"
		gettrailobj().height=h+"px"


	}
}


function followmouse(e)
{

	if(navigator.userAgent.toLowerCase().indexOf('opera') == -1)
	{

		var xcoord=20
		var ycoord=20

		if (typeof e != "undefined")
		{
			xcoord+=e.pageX
			ycoord+=e.pageY
		}
		else if (typeof window.event !="undefined")
		{
			xcoord+=truebody().scrollLeft+event.clientX
			ycoord+=truebody().scrollTop+event.clientY
		}

		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 (xcoord+w+3>docwidth)
		xcoord=xcoord-w-(20*2)

		if (ycoord-truebody().scrollTop+h>truebody().clientHeight)
		ycoord=ycoord-h-20;

		gettrailobj().left=xcoord+"px"
		gettrailobj().top=ycoord+"px"

	}

}
