function Alladyn(X,G){
function V(v){for(var i=0;i<v.length;)with(v[i]){A(v[i++],id);if(ns4)V(document.layers)}}
function A(X,v){
 vlay[v]=X;X.ID=v;if(ns4)X.style=X;X.vpos=P;X.vclip=ns4?c:C;X.vopacity=ie?O:ns6?o:N;X.vHTML=ns4?h:H;X.vol=0
 X.van={V:X,S:S,KF:K,FF:D,F:-1,T:0,g:0,d:1,mode:'',f:[],a:{},s:{},purge:Q,reset:R,pause:T,rev:U,rew:E,UDF:Z}
 X.vGIN={};for(v in G)X.vGIN[G[v]]=W[G[v]](X)
}
function Y(){for(p in vlay)vlay[p].van=Z}function P(l,t){with(this.style)left=l,top=t}function C(t,r,b,l){this.style.clip='rect('+t+' '+r+' '+b+' '+l+')'}function c(t,r,b,l){with(this.clip)top=t,right=r,bottom=b,left=l}
function O(v){this.style.filter='alpha(opacity='+v+')'}function o(v){this.style.MozOpacity=v+'%'}function N(v){with(this)visibility=v<(vol?vol:Al.vol)?'hid':'show'}
function H(v){this.innerHTML=v}function h(v){with(this.document)write(v),close()}
function R(){with(this)rew(),g=0;mode='',UDF='',f=[],a={}}function Q(){with(this){f=[{}];a={};for(F in s)a[F]=f[0][F]=s[F],rew()}}function T(){with(this)u=d,d=T,T=u}function U(){with(this)T=-T,d=-d}function E(){with(this)F=-1,d=1}
function S(P,c){with(this){u=F;r=f.length-1;F=P!=Z?P:F+d
 if((F<0)||(F>r))switch(mode){case'loop':F=P?F%(r+1):F<0?r:0;break;case'ping':if(P){u=r;p=F%u;F=1&F/u?u-p:p}else{d=-d;F=F+2*d}break;default:if(P&&u<r){F=r}else{F-=d;g=eval(UDF)}}
 if(g){if(F<0)F=0;for(p in f[F]){s[p]=f[F][p];switch(p){case'vopacity':V.vopacity(s[p]);break;case'ct':case'cr':case'cb':case'cl':c=1;break;case'fx':fx(s[p]);break;default:V.style[p]=s[p]}}if(c)with(s)V.vclip(ct,cr,cb,cl)}
}}
function K(v,t){with(this){f[r=f.length]={};r+=t-1;q={}
 for(p in v)q[p]=a[p]!=Z?(v[p]-a[p])/t:(p!='fx'?f[0][p]=v[p]:0,0),a[p]=v[p]
 for(u=0;u<=t;u++){if(u<t)f[r-u]={};if(r>=u)for(p in v)if(u-t|p!='fx')f[r-u][p]=Math.round(v[p]-u*q[p])}
}}
function D(){with(this)for(p=0;++p<f.length;)for(q in f[p-1])if(f[p][q]==Z)f[p][q]=f[p-1][q]}
function a(R){var c=[],I,A,U,B,i,x
 function s(r){B=r?Z:B;I=clearInterval(~~I)}function i(v){c[v.ID]=v;v.van.g=1}function o(v){delete c[v.ID]}Al[x=d()]=function v(){p=1;for(q in c)with(c[q].van)p=g?S(r()):o(V);if(p&A)s(),eval(U)}
 function g(t,a,u){s();A=a;U=u;a=new Date().getTime();B=B?a-t*(a-B)/i:a;I=setInterval('Al.'+x+'()',i=t)}function r(){if(R){u=new Date().getTime();return Math.round((u-B)/i)}}return {go:g,push:i,pop:o,stop:s}
}
function i(){r=doc.images;if(ns4)for(p in vlay)with(vlay[p].document)for(u in images)r[u]=images[u];return r}
function n(v,w,p){p=p?p:ns4?W:doc.body
 if(ns4){q=new Layer(w,p);q.visibility='show'}else{
	if(up5){q=doc.createElement('div');q.style.position='absolute';p.appendChild(q)}
	else{p.insertAdjacentHTML('BeforeEnd','<div id='+v+' style="position:absolute"></div>');q=ie.tags('div')[v]}
	q.style.width=w
 }A(q,v);return q
}
function d(){return 'v'+x++}
var Z,x=0,p,q,r,u,W=window;doc=document;ie=doc.all;ns4=doc.layers;up5=doc.getElementById?doc.getElementsByTagName('div'):0;ns6=up5&!ie
Al={v:2,A:a,vol:50,N:n,I:i,U:d,XT:{}};for(q in X)Al.XT[X[q]]=W[X[q]]();vlay=[];W.onunload=Y;V(ie?ie=ie.tags('div'):ns4?ns4:up5)
}
