function Alladyn(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;if(ns4){X.style=X;X.vol=0}
	X.vpos=P;X.vclip=ns4?c:C;X.vopacity=ie?O:ns6?o:N;X.vHTML=ns4?h:H;X.S=S;X.vkf=K
	X.van={group:'',F:0,go:0,d:1,mode:'',f:[],a:{},s:{},purge:Q,reset:R,UDF:''}
}
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/100}function N(v){with(this){visibility=(v<(vol?vol:STPE.vol))?'hid':'show'}}
function H(v){this.innerHTML=v}function h(v){with(this.document){write(v);close()}}
function R(){with(this){go=F=0;d=1;mode='';UDF='';f=[];a={}}}
function Q(){with(this){f=[{}];a={};for(F in s)a[F]=f[0][F]=s[F];F=0}}
function S(c){
	with(this)with(van){r=f.length
		for(p in f[F]){s[p]=f[F][p];switch(p){
			case 'vopacity':vopacity(s[p]);break
			case 'ct','cr','cb','cl':c=1;break
			default:style[p]=s[p]}
		}if(c)with(s)vclip(ct,cr,cb,cl)
		F+=d;if((F<0)||(F==r))switch(mode){
			case 'loop':F=(F<0)?r-1:0;break
			case 'ping':d=-d;F+=2*d;break
			default:F-=d;go=0;eval(UDF)
}	}	}
function K(v,t,N){
	with(this.van){r=f.length+t-1,q={}
		for(p in v){q[p]=(a[p]!=N)?(v[p]-a[p])/t:0;a[p]=v[p]}
		for(u=0;u<=t;u++){if(u!=t)f[r-u]={};if(r>=u)for(p in v)f[r-u][p]=Math.round(v[p]-u*q[p])}
}	}
function s(g){I[g]=clearInterval(I[g].I)}
function g(g,t,a,u){if(!I[g])I[g]={I:setInterval('STPE.s("'+g+'")',t),A:a,U:u?u:''}}
function a(g){p=1;for(q in vlay)with(vlay[q])if(van.go&&van.group==g)p=S();if(p)with(I[g])if(A){s(g);eval(U)}}
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?window:doc.body
	if(ns4){q=new Layer(w,p);q.visibility='show'}else{
		if(ie){p.insertAdjacentHTML('BeforeEnd','<div id='+v+' style="position:absolute"></div>');q=ie.tags('div')[v]}
		else{q=doc.createElement('div');q.style.position='absolute';p.appendChild(q)}
		q.style.width=w
	}A(q,v);return q
}
var I={},p,q,r,u;doc=document;ie=doc.all;ns4=doc.layers;up5=doc.getElementById?doc.getElementsByTagName('div'):0;ns6=up5&&!ie
STPE={v:1.7,s:a,go:g,stop:s,vol:50,N:n,I:i};vlay=[];V(up5?up5:ie?ie.tags('div'):ns4)
}
