var cs=[ 

['FT Homepages',

[

['UK','http://www.cnn.com']

]]

]; 

var HR=[ ['News - Top Stories',

[ ['ABC News - Top Stories','http://abcnews.go.com/']

]]

]; 

var tE=[ ['News feeds',HR],

['Cartoon feeds',

[ ['bLaugh',

'http://blaugh.com',null,481,325,

'singleImage']

]],

['Popular stories / videos',

[ ['Digg Popular',

'http://digg.com/view/all/popular/today']

]],

['Video podcasts',

[ ['Tiki Bar TV',

'http://www.tikibartv.com',

'http://feeds.feedburner.com/tikibartv',400,340,'singleImage',9]

]],

['Audio Podcasts',

[ ['BBC Radio Newspod',

'http://www.bbc.co.uk/radio/downloadtrial/',

'http://downloads.bbc.co.uk/rmhttp/downloadtrial/radionews/bbcradionewspod/rss.xml']

]]

];

var uj=function(Kj,gp){

	try{ 

		return Kj[0].localeCompare(gp[0]); 

	}

	catch(qX){ }

	if(Kj<gp) 

		return-1; 

	if(Kj>gp)

		return 1; return 0; 

	}; 

	var dG=function(ZK){

		for(var ii in ZK){

			var gG=ZK[ii][1];

			if(typeof gG=='object'&&gG instanceof Array) dG(gG); }ZK.sort(uj); }; dG(tE); 

			var bW=[ [ 'Noticias',

			[ [3406,

			'Amazon - Canada','http://www.amazon.ca',

			'http://www.amazon.ca/gp/associates/link-types/searchbox.html?tag=a09213-20&mode=blended&keyword=']
]]

]; 

function De(){ }

function Sx(nv,qp,eS)

{

	 var ta=new Array(); 

	ta.push(new wK('excellenId',excellenId)); 

	ta.push(new wK('virtualPage',eS)); 

	var PA=new hG(accountId,excellenId,nv['id'],excellenPath,'move-tab-to-category',ta,qp['id']); 

	commandProcessor.aA(PA); 

}

function aG(nv,qp,eS)

{ 

	var ta=new Array();

	 ta.push(new wK('excellenId',excellenId)); 

	ta.push(new wK('virtualPage',eS)); 

	var PA=new hG(accountId,excellenId,nv['id'],excellenPath,'add-tab-to-category',ta,qp['id']); 

	commandProcessor.aA(PA); 

}

function fl()

{ 

	var RK=new Array();

	 for(var ii in categories)

	{ 

		RK.push(categories[ii]['id']); 

	}

	var ta=new Array();

	 ta.push(new wK('excellenId',excellenId)); 

	ta.push(new wK('orderedCategoryIds',KN.stringify(RK))); 

	var PA=new hG(accountId,excellenId,null,excellenPath,'save-categories-order',ta); 

	commandProcessor.aA(PA); 

}


De.prototype.ar=function()

{ 

	var ta=new Array(); 

	ta.push(new wK('excellenId',excellenId ));

   	 ta.push(new wK('categoryId',this['id'])); 

	var PA=new hG(accountId,excellenId,null,excellenPath,'remove-category',ta); 

	commandProcessor.aA(PA); 

	for(var ii=0;ii<categories.length;ii++)

	{ 

		if(categories[ii]['id']==this['id'])

		{ 

			categories.splice(ii,1); 

		}

	}

}; 

De.prototype.Vk=function()

{ 

	for(var ii in categories)

	{

		 if(this==categories[ii]) 

		 return parseInt(ii)+1; 

	}

}; 

De.prototype.ZJ=function()

{

	 return this['sharing']['type']=='imported'; 

}; 

De.prototype.bx=function()

{ 

	return this['sharing']['type']=='public';

};

De.prototype.AW=function()

{ 

	return this['sharing']['type']=='restricted'; 

}; 

De.prototype.ou=function()

{ 

	return(this['accessType']=='modify'||this['accessType']=='admin');

};

 De.prototype.ie=function()

{

	return(this['accessType']=='admin');

};

 De.prototype.sf=function()

{ 

	var tJ=this['sharing']; 

	if(tJ['type']=='imported') 

		return tJ['granterAccountId'];

	 else return accountId; 

}; 

De.prototype.tY=function()

{

	 var tJ=this['sharing']; 

	if(tJ['type']=='imported') 

		return tJ['granterexcellenId'];

	 else return excellenId;

}; 

De.prototype.nT=function(xJ)

{

	 var ta=new Array();

	 ta.push(new wK('excellenId',excellenId ));

	 ta.push(new wK('categoryId',this['id']));

	 ta.push(new wK('schemeOffset',this['schemeOffset']));

	 ta.push(new wK('label',this['label']));

	 ta.push(new wK('sharing',KN.stringify(this['sharing'])));

	 var PA=new hG(accountId ,excellenId ,null ,excellenPath,'save-category-settings',ta); 

	if(xJ){ PA.NU=function()


	{

		xJ();

	};

 }

 commandProcessor.aA(PA); 

}; 

De.prototype.oo=function()

{ 

	var ta=new Array();

	 ta.push(new wK('excellenId',this.tY()));

	 ta.push(new wK('virtualPages',KN.stringify(this.Ae())));

    var PA=new hG(this.sf(),this.tY(),this['id'],excellenPath,'save-category-tab-order',ta);

	 commandProcessor.aA(PA); 

}; 

De.prototype.Ae=function()

{

	var Es=new Array(); 

	for(var ii in this['virtualPages'])

	{

		var XL=this['virtualPages'][ii]; 

		Es.push(Cr.jb(XL)); }return Es; 

};

	De.MZ=function(bx,AW,oN)

	{ 

		 var ta=new Array(); 

		ta.push(new wK('excellenId',excellenId));

		var PA=new hG(accountId,excellenId,null,excellenPath,'request-new-category-id',ta); 

		PA.NU=function(PA,GN){ var VP=parseInt(GN);

		var IL=new De(); 

		IL['id']=VP; 

		IL['label']='Untitled'; 

		var wS='00';

		IL['schemeOffset']=bx?'04':'06'; 

		IL['virtualPages']=[];

		IL['sharing']=new Object(); 

		if(bx)

		{

			IL['sharing']['type']='public'; 

		}

		else if(AW)

		{

			IL['sharing']['type']='restricted';

		}

		else

		{

			IL['sharing']['type']='private';

		}

		IL['accessType']='admin'; 

		categories.push(IL);

		 IL.nT(); 

		oN(); 

	};

 commandProcessor.aA(PA); 

};

function Cr()

{

}

 Cr.prototype.nT=function()

 {

	 var ta=new Array(); ta.push(new wK('excellenId',this.tY()));

		 ta.push(new wK('virtualPage',this.bY()));

		 ta.push(new wK('schemeOffset',this['schemeOffset'])); 

		 ta.push(new wK('positioning',this['positioning']));

		 ta.push(new wK('label',this['label']));

		 var PA=new hG(this.sf(),this.tY(),this.Xx(),excellenPath,'save-tab-settings',ta); 

		 commandProcessor.aA(PA); 

}; 

		 Cr.prototype.Qo=function()

			 { 

				 var ta=new Array(); 

				 ta.push(new wK('excellenId',this.tY()));

				 ta.push(new wK('virtualPage',this.bY())); 

				 var PA=new hG(this.sf(),this.tY(),this.Xx(),excellenPath,'remove-virtual-page',ta); 

				 commandProcessor.aA(PA); 

				 VK(this['id']); 

				 for(var ii=0;

				 ii<virtualPages.length;ii++)

					 { 

					 if(virtualPages[ii]['id']==this['id']){ virtualPages.splice(ii,1);

					break;

					}

				}

			for(var ii in categories){

				var Kc=categories[ii]; for(var dA in Kc['virtualPages']){

					if(Kc['virtualPages'][dA]==this['id']){

						Kc['virtualPages'].splice(dA,1); break; }

						}

						}

			};

			Cr.prototype.bd=function(ZD)

				{ 

					var ta=new Array(); 

					ta.push(new wK('excellenId',this.tY()));

					ta.push(new wK('virtualPage',this.bY()));

					var PA=new hG(this.sf(),this.tY(),ZD['id'],excellenPath,'remove-virtual-page-copy',ta);

					commandProcessor.aA(PA);

					VK(this['id']);

					for(var dA in ZD['virtualPages']){ if(ZD['virtualPages'][dA]==this['id']){ ZD['virtualPages'].splice(dA,1); 

					break; 

					}

					}

				};

					Cr.prototype.od=function()

						{ 

						return this['id']==VL;

						};

	Cr.prototype.uJ=function()

	{ 

		var Ek=this.TQ(); for(var ii in Ek)

		{ 

		if(Ek[ii].uJ()) 

		return true; }return false;

	}; 

	Cr.prototype.ZJ=function()

	{ 

	return this['imported']==true; 

	};

	Cr.prototype.ou=function()

	{

	var Kc=this.YR();



	return Kc.ou(); 

	};

	Cr.prototype.Bp=function()
	{

		var EI=0; for(var ii in categories){

		var Kc=categories[ii]; if(!Kc.ZJ()){

		for(var dA in Kc['virtualPages']){

		var XL=Kc['virtualPages'][dA];

		if(XL==this['id']) EI++;

		}

		}

		}

		return EI;

	};

	Cr.prototype.sf=function()
	{

	var Kc=this.YR();

	return Kc.sf();

	};

	Cr.prototype.tY=function()
	{

	var Kc=this.YR();

	return Kc.tY();

	};

	Cr.prototype.Xx=function()
	{

	return this.YR()['id'];

	};

	Cr.prototype.YR=function()
	{

		var iX=null; 

		var Ek=this.TQ(); 

		for(var ii in Ek) 

		if(Ek[ii]['accessType']=='none') iX=Ek[ii]; 

		for(var ii in Ek) if(Ek[ii]['accessType']=='view') iX=Ek[ii]; 

		for(var ii in Ek) if(Ek[ii]['accessType']=='modify') iX=Ek[ii];

		for(var ii in Ek) if(Ek[ii]['accessType']=='admin') iX=Ek[ii];

		return iX; 
	};

	Cr.jb=function(QY)
	{
	var VI=QY+'';

	if(VI.indexOf('-')==-1) return VI;

	else return parseInt(VI.substring(VI.lastIndexOf('-')+1)); 

	}; 

	Cr.prototype.bY=function()
	{

	if((this.sf()==accountId)&&(this.tY()==excellenId)) 

	return this['id'];

	else return Cr.jb(this['id']);

	};

	Cr.prototype.TQ=function()
	{

	var Ek=new Array(); for(var ii in categories){

	for(var dA in categories[ii].virtualPages){

	if(categories[ii].virtualPages[dA]==this['id']) Ek.push(categories[ii]);

	}

	}

	return Ek;

	};

	function ZF(id)
	{

	for(var ii in virtualPages){

		if(virtualPages[ii]['id']==id) return virtualPages[ii]; 

		}

		return null;

	}

		function Nv(){

			la(categories,De); 

			la(virtualPages,Cr); 

			}

			function uc(cb){

				return cb.replace(/%20/g,'_').replace(/ /g,'_').replace(/\//g,'_'); 

				}

				function bw(Kc,rv){

					return uc(Kc['label'])+'/'+uc(rv['label']); 

					}

					function bh(hash){ 

						var gN=new Object(); gN.Kc=null; gN.rv=null; gN.Cml=true; for(var ii in categories)

							{ 

							var Kc=categories[ii]; 

							if(Kc['virtualPages'].length==0) continue; gN.Kc=Kc; gN.rv=ZF(Kc['virtualPages'][0]); break; }

							hash=hash+'';

							if(!hash||hash.length==0) 

								return gN;

							if(hash.charAt(0)=='#') hash=hash.substring(1,hash.length);

							var oC=hash.split('/');

							if(!oC[0]||!oC[1])

								return gN;

							for(var ii in categories){ var Kc=categories[ii];

							var DY=uc(Kc['label']);

							if(Kc['virtualPages'].length==0) continue; 

							if(DY.toLowerCase()!=oC[0].toLowerCase()) continue; 

							for(var dA in Kc['virtualPages'])

								{ 

								var eS=Kc['virtualPages'][dA];

								var rv=ZF(Kc['virtualPages'][dA]); 

								if(uc(rv['label']).toLowerCase()==oC[1].toLowerCase())

									{ 

									gN.Cml=false; 

									gN.Kc=Kc; gN.rv=rv;

return gN; 

}

}

}

return gN; 

}

var lF=null; 

function GS(){

	lF=null; 

	try{ 

	lF=new ActiveXObject("Msxml2.XMLHTTP"); 

	}

	catch(qX){ 

		try{ lF=new ActiveXObject("Microsoft.XMLHTTP");

		}

		catch(Rp){ lF=false; 

		}

		}

		if(!lF&&typeof XMLHttpRequest!='undefined'){

			lF=new XMLHttpRequest(); 

			}

	}

			GS(); 

			var commandProcessor=new qi();

			var sm=false; 

			function Ur(){

				var Dj; 

				if(Mw!=undefined&&!Mw) 

				Dj=((lF.readyState==4)&&(lF.status==200));

				else 

				Dj=(lF.readyState==4);

				var UP=((lF.readyState==4)&&(lF.status==401));

				if(UP){

					if(oW!=null){

						clearTimeout(oW); oW=null; 

						}

						IP(6); 

						alert('WARNING: You appear to have logged out of Widgt (perhaps you had two browser windows open, and logged out from one of them while leaving this one open?). Widgt cannot save your changes after you log out. The change you just made will not be saved.'); 

						}if(Dj)

							{ 

							if(oW!=null)

							{ 

							clearTimeout(oW); 

							oW=null; 

						}

						//alert(lF.responseText);

						var PA=commandProcessor.uN[0];

						var GN=lF.responseText; 

						commandProcessor.uN.shift(); 

						Se=setTimeout(Np(qt),350); 

						PA.NU(PA,GN); 

						setTimeout("commandProcessor.processQueuedCommands()",10); 

						}

						}

						var oW=null; 

						var Se=null; 

						var tA=20000; 

						function qi(){

							this.uN=new Array(); 

							this.kJ=new Array(); 

							this.processQueuedCommands=function(){

								if(this.uN.length==0){ return; }

								var PA=this.uN[0]; 

								PA.ix(PA); 

								var au=''; 

								var dw=''; 

								if(PA.Etn!=null&&PA.Etn!=undefined) dw+=' categoryId="'+PA.Etn+'"';

								if(PA.ZSr!=null&&PA.ZSr!=undefined) dw+=' secondaryCategoryId="'+PA.ZSr+'"';

								au+='<command v="3" originatingAccountId="'+PA.nEl+'" originatingexcellenId="'+PA.qHI+'" accountId="'+PA.accountId+'" excellenId="'+PA.excellenId+'" excellenPath="'+PA.excellenPath+'" name="'+PA.name+'" '+dw+'>'; for(var ii in PA.cCA){ au+='<param name="'+PA.cCA[ii].name+'">'+PA.cCA[ii].value+'</param>'; 

								}

								au+='</command>'; 

								//alert(au);

								lF.open("POST",("ajax.php"),true);

								//lF.open("POST",("/"+excellenPath+"/_api/command"),true);

								lF.setRequestHeader("Content-Type","text/xml"); 

								lF.onreadystatechange=Ur; 

								if(Se!=null){ clearTimeout(Se);

								Se=null; }

								IP(1); 

								oW=setTimeout(Np(XO),tA);

								lF.send(au); }; 

								this.uo=function(uH){

								var tR=this;

								for(var ii in commandProcessor.kJ){ var PA=commandProcessor.kJ[ii];

								if(PA.TG==uH){ commandProcessor.uN.push(PA);

								}

								}

								commandProcessor.kJ=new Array();

								commandProcessor.processQueuedCommands(); 

								};

								this.uv=function(){ 

									this.kJ=new Array();

									};

									var mI=['save-panel-geometry','add-feed-history-item','remove-feed-history-item']; 

									this.qV=function(PA){ for(var ii in mI){ if(PA.name==mI[ii]) return false; 

									}

									return true; 

									}; 

									this.aA=function(PA)

										{

if(!loggedIn&&!loggedInAsGuest)

	{ 

	if(excellenPath!='widget-test') IP(3); if(this.qV(PA))

		{ alert('WARNING: You are not logged in, so any changes will be lost. Please log in BEFORE making changes, or create a new untitled page to start experimenting (No registration required).');

	}

	return; 

	}

	if(PA.TG&&PA.TG.BR)

		{

		this.kJ.push(PA);

		}

		else

			{

this.uN.push(PA);

if(this.uN.length==1){ this.processQueuedCommands(); 

}

}

};

}

function XO(){

	if(!sm){

		sm=true; try{lF.abort();

		}

		catch(qX){ if(JZ) alert("pp error 725: "+qX);

		}

		sC(); 

		return;

		}

		else

			{

			sm=false; 

			}

			IP(2); 

			try{lF.abort();

			}

			catch(qX){ if(JZ) alert("pp error 724: "+qX); 

			}

			}

			function sC()

				{

					setTimeout("commandProcessor.processQueuedCommands()",250);

					}

					var ao=null; 

					function IP(state){ 

						if(Ck&&(state==3)) 

						return; 

						if(ao==4) 

						return;

						if(ao==5&&state==1) 

						state=5;

						ao=state;

						var lg=document.getElementById('status-indicator'); 

						lg.style.right='8px';

						lg.style.bottom='62px'; 

						switch(state)

							{

							case 0:lg.style.visibility='hidden'; 

							break; 

							case 1: lg.style.visibility='visible';

							lg.innerHTML='Saving...'; 

							break;

							case 2: lg.style.visibility='visible'; 

							lg.innerHTML='        <div style="border:1px solid #000000; padding:3px;" class="scheme-body-text">          <div style="font-size:14px">            Could not establish a connection to the  server - <br>            please check your internet connection.             <br>To try saving your changes again,             <a href="" onClick="'+WE(sC)+'(); return false;"><u><b>click here</b></u></a>.          </div>        </div>'; 

							break;

							case 3: 

							lg.style.visibility='hidden'; 

							break; 

							case 4:

							lg.style.visibility='hidden';

							break; 

							case 5:

							lg.style.visibility='visible';

							lg.innerHTML='<div style="font-size:20px;">Saving and Logging out...</div>'; 

							break; 

							case 6: 

							lg.style.visibility='visible';

							lg.innerHTML='        <div style="border:1px solid #000000; padding:3px;" class="scheme-body-text">          <div style="font-size:14px">            Could not save your changes because you logged out with a different browser window.<br>            <br>To try again, press CTRL-N to open a new browser window, log in, and then,             <a href="" onClick="'+WE(sC)+'(); return false;"><u><b>click here</b></u></a>.          </div>        </div>';

							break; 

							}

							}

							function Jp()

							{

							jU(); 

							if(!checkCookiesEnabled())

							{

							return false;

							}

							else

							{ 

							Mb(); 

							document.location.href='/_api/newUntitledPage'; 

							return false; 

							}

							}

							function Mb()

							{ 

							var ta=new Object();

							for(var ii in pageParams)

							{ 

							var name=ii; 

							if(Lt(name,'import')) name=name.substring('import'.length); 

							name='import'+name.charAt(0).toUpperCase()+name.substring(1); 

							ta[name]=pageParams[ii]; 

							}

							dc('relayedPageParams',escape(KN.stringify(ta)),'/');

							}

							function qt()

							{

							IP(0);

							}

							function hG(DCI,rUp,Etn,excellenPath,name,cCA,ZSr)

							{ 

							this.accountId=DCI; 

							this.excellenId=rUp; 

							this.nEl=accountId; 

							this.qHI=excellenId; 

							this.Etn=Etn; 

							this.ZSr=ZSr; 

							this.excellenPath=excellenPath; 

							this.name=name; 

							this.cCA=cCA; 

							this.NU=function()

							{

							return;

							};

							this.ix=function()

							{

							return;

							};

							this.Ym=function(CXx)

							{

							for(var ii in this.cCA)

							{

							var ox=this.cCA[ii]; 

							if(ox.name==CXx) 

							return ox.value; 

							}

							};

							this.vF=function(CXx,gDH)

							{

							for(var ii in this.cCA)

							{ 

							var ox=this.cCA[ii]; 

							if(ox.name==CXx)

							{

							ox.value=gDH; break;

							}

							}

							};

							}

							function wK(name,value)

							{

							this.name=name; 

							this.value=escape(value);

							}

							function wc(PA)

							{

							var qa=PA.Ym('id'); 

							if(PA.TG.Yqi==null) 

							return;

							PA.vF('id',PA.TG.Yqi);

							}

							var SV=''; 

							function bb(clj,kl,Ab,mpx,KoA,PWc)

							{

							this.clj=clj; 

							this.kl=kl; 

							this.Ab=Ab; 

							this.mpx=mpx; 

							this.KoA=KoA; 

							this.PWc=PWc; 

							this.wMB=new Array(); 

							this.QIP=18; 

							this.BZ=document.createElement('div');

							this.wZK=document.createElement('div'); 

							//******************** Comment ********************
							// Call Function Create the Image tag
							
							this.mYB=VD(); 

							this.mYB.style.position='relative'; 

							this.mYB.style.left=0+'px';

							this.mYB.style.top=0+'px';

							this.mYB.style.cursor='w-resize';

							//******************** Comment ********************
							// Call Function Create the Image tag
							
							this.aCD=VD(); 

							this.mYB.width=this.QIP; 

							this.mYB.height=9; 

							this.mYB.src=SV+'web/dynamicImages/'+dg+'/horiz-adjust-handle.gif';

							this.aCD.width=this.clj+this.QIP;

							this.aCD.height=1; 

							this.aCD.src=SV+'web/dynamicImages/'+dg+'/horiz-adjust-track.gif'; 

							this.wZK.appendChild(this.aCD); 

							this.BZ.appendChild(this.mYB); 

							this.BZ.appendChild(this.wZK); 

							var tR=this; 

							this.mYB.onmousedown=function(qX)

							{

							Po(qX,tR.mYB,null,function(Kj,gp,ox,Yn){tR.eI(Kj,gp,ox,Yn);

							},

							function(Kj,gp,ox,Yn,qX,ei)

							{

							tR.vm(Kj,gp,ox,Yn,qX,ei)

							;},

							function(Kj,gp,ox,Yn,qX,ei){tR.sG(Kj,gp,ox,Yn,qX,ei);}); 

							}; 

							}

							bb.prototype.QL=function()

							{ 

							this.mYB.src=SV+'web/dynamicImages/'+dg+'/horiz-adjust-handle.gif'; 

							this.aCD.src=SV+'web/dynamicImages/'+dg+'/horiz-adjust-track.gif'; 

							}; 

							bb.prototype.eI=function(pDr,XdN,Xnp,YFL)

							{

							this.mhq=parseInt(this.mYB.style.left); 

							if(this.mpx) this.mpx(this.TO()); 

							};

							bb.prototype.vm=function(pDr,XdN,mW,CJ,Xnp,YFL)

							{

							this.sa(mW); 

							if(this.KoA) this.KoA(this.TO()); 

							};

							bb.prototype.sG=function(pDr,XdN,mW,CJ,Xnp,YFL)

							{ 

							this.sa(mW); 

							if(this.PWc) 

							this.PWc(this.TO());

							};

							bb.prototype.WY=function(kl,Ab)

							{ 

							this.kl=kl; 

							this.Ab=Ab; 

							};

							bb.prototype.Iq=function(Lb)

							{

							this.value=Lb; 

							var Jh=Math.round(((Lb-this.kl)/(this.Ab-this.kl))*this.clj); 

							this.mYB.style.left=Jh+'px'; 

							this.cq();

							}; 

							bb.prototype.sa=function(mW)

							{

							var x=this.mhq+mW; 

							if(x<0) x=0; 

							if(x>this.clj) x=this.clj; 

							this.mYB.style.left=x+'px';

							this.value=((x/this.clj)*(this.Ab-this.kl))+this.kl; 

							this.cq(); 

							};

							bb.prototype.TO=function()

							{

							return this.value; 

							};

							bb.prototype.ED=function(DoV)

							{

							this.wMB.push(DoV); 

							};

							bb.prototype.cq=function()

							{

							var Lb=this.TO(); 

							for(var ii in this.wMB)

							{

							this.wMB[ii](Lb); 

							}

							};

							function AE(KEb,Sox,fch)

							{

							this.KEb=KEb; 

							this.Sox=Sox; 

							this.fch=fch;

							var tR=this; 

							this.GH=document.createElement('select'); 

							for(var ii in this.Sox)

							{ 

							var NB=this.KEb[ii];

							var Lb=this.Sox[ii];

							var UD=document.createElement('option'); 

							UD.value=Lb;

							UD.innerHTML=NB;

							this.GH.appendChild(UD);

							}

							this.GH.onchange=function()

							{

							fch(Sox[tR.GH.selectedIndex]);

							};

							this.GH.style.width='198px';

							this.GH.style.margin='0px'; 

							}

							AE.prototype.Iq=function(Lb)

							{

							for(var ii in this.Sox)

							{

							if(Lb==this.Sox[ii]) 

							this.GH.selectedIndex=ii;

							}

							};

                            //******************** Comment ********************
                            // Function for creating Radio button List.
							function mS(KEb,Sox,fch)

							{

							this.KEb=KEb; 

							this.Sox=Sox; 

							this.MEt=new Array(); 

							this.fch=fch; 

							var tR=this; 

							this.GH=document.createElement('div'); 

							this.Ta=uid(); 

							var sH='';

							for(var ii in this.Sox)

							{

							sH+='<input type="radio" name="'+this.Ta+'" value="'+this.Sox[ii]+'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; 

							}

							this.GH.innerHTML=sH; 

							this.GH.style.textAlign='left'; 

							this.GH.style.whiteSpace='nowrap'; 

							var Ju=this.GH.getElementsByTagName('INPUT');

							for(var ii=0;ii<Ju.length;ii++)

							{ 

							this.MEt[ii]=Ju[ii]; 

							this.MEt[ii].style.position='relative'; 

							if(!isIE) 

							this.MEt[ii].style.top='2px'; 

							this.MEt[ii].style.margin='0px';

							this.MEt[ii].style.padding='0px';

							this.MEt[ii].style.width='3ex'; 

							this.MEt[ii].onclick=function()

							{

							tR.Sv();

							};

							}

							for(var ii in this.MEt)

							{

							var label=document.createElement('div'); 

							label.style.display='inline'; 

							label.className='scheme-body-text';

							label.style.paddingLeft='5px'; 

							label.innerHTML=this.KEb[ii]+''; 

							label.style.cursor='pointer'; 

							label.style.whiteSpace='nowrap'; 

							label.onmousedown=function(RAv)

							{ 

							return function()

							{

							RAv.click(); 

							}

							}

							(this.MEt[ii]);

							this.GH.replaceChild(label,

							this.MEt[ii]); 

							this.GH.insertBefore(this.MEt[ii],label); 

							}

							}

							mS.prototype.Sv=function()

							{

							for(var ii in this.MEt)

							{

							if(this.MEt[ii].checked)

							{

							this.fch(this.Sox[ii]); break; 

							}

							}

							};

							mS.prototype.Iq=function(Lb)

							{

							for(var ii in this.MEt)

							{

							this.MEt[ii].checked=(this.Sox[ii]==Lb); 

							}

							};

							function Ou(label,fch)

							{

							this.label=label; 

							this.fch=fch;

							var tR=this; 

							this.GH=document.createElement('div'); 

							this.Ok=document.createElement('input'); 

							this.Ok.type='checkbox';

							this.Ok.onclick=function(){tR.Ap();};

							this.Ok.style.margin='1px'; 

							this.Ok.style.width='4ex'; 

							var text=document.createElement('span');

							text.className='scheme-body-text';

							text.innerHTML=label; 

							text.style.paddingLeft='6px';

							this.GH.appendChild(this.Ok);

							this.GH.appendChild(text); 

							}

							Ou.prototype.Ap=function()

							{

							if(this.Ok.checked) 

							this.fch(true); 

							else 

							this.fch(false); 

							};

							Ou.prototype.Iq=function(Lb)

							{

							this.Ok.checked=Lb; 

							};

							function wQ(fch)

							{

							this.GH=document.createElement('input'); 

							this.GH.type='text'; 

							this.GH.style.width='194px'; 

							this.GH.style.margin='0px'; 

							this.GH.style.padding='0px'; 

							var tR=this; 

							this.GH.onchange=function()

							{

							fch(tR.GH.value); 

							};

							this.GH.onblur=this.GH.onchange; 

							}

							wQ.prototype.Iq=function(Lb)

							{

							this.GH.value=Lb; 

							};

							wQ.prototype.TO=function()

							{

							return this.GH.value; 

							};

							var PL=new Array(); 

							function UZ(GH,ZwI,OSR,cjf,mgd,SOs,ASe)

							{ 

							this.GH=GH; 

							this.ZwI=ZwI; 

							this.cjf=cjf; 

							this.OSR=OSR; 

							this.mgd=mgd; 

							this.SOs=SOs; 

							this.ASe=ASe; 

							this.Hbd=null; 

							this.aZT=null; 

							this.xNG='3x-sw.png'; 

							this.hVF='3x-s.png'; 

							this.vAq='3x-se.png'; 

							this.mZH='3x-e.png'; 

							this.Vkj='3x-ne.png'; 

							this.jOS='3x-nw.png'; 

							this.gHg='3x-n.png'; 

							this.TVk='3x-w.png'; 

							if(!ZwI)

							{

							this.Vkj='3x-ne-c.png';

							this.vAq='3x-se-c.png'; 

							}

							this.oUM=13; 

							this.xhJ=13; 

							this.gZP=5; 

							this.ubS=-5; 

							var JE=cjf; 

							this.ZuE=document.createElement('div'); 

							this.ZuE.style.position='absolute'; 

							this.ZuE.style.overflow='visible'; 

							this.ZuE.style.left='0px'; 

							this.ZuE.style.top='0px'; 

							this.Pp(); 

							if(!SOs||!ASe)

							{

							this.Xch=this.us(this.Vkj); 

							this.QTw=this.us(this.jOS); 

							this.rVM=this.us(this.gHg); 

							}

							if(!SOs||ASe)

							{

							this.Thm=this.us(this.xNG); 

							this.vTu=this.us(this.hVF); 

							this.Sjl=this.us(this.vAq); 

							}

							if(ZwI)

							{

							this.Hme=this.us(this.mZH); 

							}

							this.OuU=this.us(this.TVk); 

							if(colorsAndSettings.panelDropShadowPreference!='NEVER')

							{ 

							OSR.appendChild(this.ZuE); 

							}

							this.ZI(this.cjf);

							this.position();

							PL.push(this); 

							}

							UZ.prototype.remove=function()

							{ 

							this.OSR.removeChild(this.ZuE);

							var ox=null; 

							for(var ii in PL) if(PL[ii]==this) ox=ii; 

							if(ox)

							{ 

							if(ox==0) PL.shift(); 

							else PL=PL.slice(0,ox).concat(PL.slice(ox+1)); 

							}

							};

							UZ.prototype.ZI=function(state)

							{


							this.tkh=state; if(state==false)

							{ 

							this.Hbd=this.ZuE.style.left;

							this.aZT=this.ZuE.style.top;

							this.ZuE.style.left='-10000px'; 

							this.ZuE.style.top='-10000px'; 

							}

							else

							{

							if(this.Hbd!=undefined) 

							this.ZuE.style.left=this.Hbd+'px'; 

							if(this.aZT!=undefined)this.ZuE.style.top=this.aZT+'px'; 

							}

							};

							UZ.prototype.eu=function(du)

							{

							eu(this.ZuE,du); 

							};

							UZ.prototype.Pp=function()

							{

							if(this.mgd) 

							this.ZuE.style.zIndex=parseInt(this.GH.style.zIndex)-1; 

							};

							UZ.prototype.VE=function(hgG)

							{

							this.OSR.removeChild(this.ZuE); 

							hgG.appendChild(this.ZuE); 

							this.OSR=hgG; 

							};

							UZ.prototype.tD=function(efh)

							{

							if(efh)

							{

							try

							{

							this.OSR.appendChild(this.ZuE); 

							}

							catch(qX){}

							}

							else

							{

							try

							{

							this.OSR.removeChild(this.ZuE); 

							}

							catch(qX){}

							}

							};

							UZ.prototype.position=function(Tke)

							{

							var BZ=this.GH; 

							var xv=parseInt(BZ.style.left); 

							var BL=parseInt(BZ.style.top); 

							this.ZuE.style.left=xv+'px'; 

							this.ZuE.style.top=BL+'px'; 

							var Ja=parseInt(BZ.style.width); 

							if(isNaN(Ja)) Ja=BZ.offsetWidth; 

							var mK=parseInt(BZ.style.height); 

							if(isNaN(mK)) mK=BZ.offsetHeight; 

							if(!this.SOs||!this.ASe)

							{ 

							this.QTw.style.left=this.ubS+'px'; 

							this.QTw.style.top=this.ubS+'px'; 

							this.rVM.style.top=this.ubS+'px'; 

							this.rVM.style.left=(this.xhJ+this.ubS)+'px'; 

							this.rVM.style.width=(Ja-this.xhJ)+'px';

							this.Xch.style.left=Ja+this.ubS+'px'; 

							this.Xch.style.top=this.ubS+'px'; 

							}

							if(!this.SOs||this.ASe)

							{

							this.Thm.style.left=this.ubS+'px'; 

							this.Thm.style.top=mK+this.ubS+'px'; 

							this.vTu.style.left=this.xhJ+this.ubS+'px';

							this.vTu.style.top=mK+this.ubS+'px';

							this.vTu.style.width=(Ja-this.xhJ)+'px'; 

							this.Sjl.style.left=Ja+this.ubS+'px';

							this.Sjl.style.top=mK+this.ubS+'px'; 

							}

							if(this.ZwI)

							{

							if(this.SOs&&this.ASe)

							{ 

							this.Hme.style.top=0+'px';

							this.Hme.style.height=mK+this.ubS+'px'; 

							}

							else 

							if(this.SOs&&!this.ASe)

							{

							this.Hme.style.top=this.oUM+this.ubS+'px'; 

							this.Hme.style.height=(mK-(this.oUM+this.ubS))+'px'; 

							}

							else

							{

							this.Hme.style.top=this.oUM+this.ubS+'px'; 

							this.Hme.style.height=(mK-this.oUM)+'px'; 

							}

							this.Hme.style.left=Ja+this.ubS+'px'; 

							}

							if(this.SOs&&this.ASe)

							{ 

							this.OuU.style.top=0+'px'; 

							this.OuU.style.height=mK+this.ubS+'px'; 

							}

							else 

							if(this.SOs&&!this.ASe)

							{

							this.OuU.style.top=this.oUM+this.ubS+'px';

							this.OuU.style.height=(mK-(this.oUM+this.ubS))+'px';

							}

							else

							{ 

							this.OuU.style.top=this.oUM+this.ubS+'px'; 

							this.OuU.style.height=(mK-this.oUM)+'px'; 

							}

							this.OuU.style.left=this.ubS+'px';

							}; 

							UZ.prototype.us=function(iLd)

							{ 

							var BZ=document.createElement('div'); 

							var ZH=iLd.indexOf('-c.png')!=-1; 

							this.Sf(BZ,ZH); 

							this.gl(BZ,iLd); 

							this.ZuE.appendChild(BZ); 

							return BZ; 

							}; 

							UZ.prototype.Sf=function(GH,ZH)

							{

							GH.style.position='absolute'; 

							GH.style.top='0px';

							GH.style.left='0px'; 

							GH.style.width=(ZH?this.gZP:this.xhJ)+'px'; 

							GH.style.height=this.oUM+'px'; 

							GH.style.fontSize='1px'; 

							};

							UZ.prototype.gl=function(GH,GCL)

							{ 

							if(hI)

							{ 

							GH.style.backgroundImage='url(web/images/'+GCL+')'; 

							GH.style.backgroundRepeat='repeat'; 

							}

							if(isIE)

							{

							GH.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='web/images/"+GCL+"', sizingMethod='scale')"; 

							GH.style.backgroundRepeat='no-repeat'; 

							}

							};

							function OG()

							{ 

							for(var ii in panelDatas)

							{

							if(panelDatas[ii].rv==VL) panelDatas[ii].ZA(); 

							}

							}; 

							function et()

							{

							this.Ol=new Object(); 

							}

							et.prototype.iL=function()

							{

							return 

							this.fY(VL); 

							};

							et.prototype.fY=function(Kti)

							{ 

							if(!this.Ol[Kti]) 

							this.Ol[Kti]=new FR(); 

							return this.Ol[Kti]; 

							}; 

							function FR()

							{

							this.Rq=new Array(); 

							}

							FR.prototype.Ch=function(Sm,oop,xJ)

							{

							if(Sm.QpR&&!Sm.SdM)

							{

							return false; 

							}

							for(var ii=0;ii<this.Rq.length;ii++)

							{ 

							var af=this.Rq[ii]; 

							if(af.locatorUrl==Sm.locatorUrl&&af.feedContentRequest.includeFullEntryBodies&&af.feedContentRequest.maxEntries==oop)

							{

							if(xJ) xJ(Sm); 

							return true;

							}

							}

							Sm.QpR=true; 

							var au=new cf(); 

							au.locatorUrl=Sm.feedContentRequest.locatorUrl;

							au.includeBylines=true;

							au.includeFullEntryBodies=true; 

							au.maxEntries=oop; 

							au.lastReadTimestamp=0; 

							/*lQ([au],function(feeds,error)

							{ 

							Sm.SdM=true; if(xJ) xJ(feeds[0]); 

							});*/

							return false;

							}; 

							FR.prototype.Rs=function(feeds)

							{

							for(var ii in feeds)

							{

							var Sm=feeds[ii]; 

							this.eG(Sm); 

							}

							};

							FR.prototype.eG=function(Sm)

							{

							var nI=(!Sm.state); 

							if(!nI) 

							return; 

							var sB=false;

							for(var ii=0;ii<this.Rq.length;ii++)

							{ 

							var af=this.Rq[ii]; 

							if(af.locatorUrl==Sm.locatorUrl)

							{ 

							this.Rq.splice(ii,1,Sm); sB=true; 

							}

							}

							if(!sB) 

							this.Rq.push(Sm); 

							if(sB)

							{

							if(!Sm.QpR)

							{

							this.Ch(Sm,15);

							}

							}

							if(DC.efh)

							{

							DC.Kp(true); 

							}

							else{ DC.reset(); 

							}

							};

							FR.Dw=function(Kj,gp)

							{ 

							var aR=Kj.locatorUrl; 

							var kE=gp.locatorUrl;

							var Ko=Kj.title; 

							var wt=gp.title; 

							var WJ=qU.sY(aR); 

							var Br=qU.sY(kE); 

							if(WJ==Br)

							{

							try

							{

							return Ko.localeCompare(wt); 

							}

							catch(qX)

							{ 

							}

							if(Ko<wt)

							return-1;

							if(Ko>wt) 

							return 1; 

							return 0; 

							}

							else

							{

							if(WJ>Br) 

							return-1; 

							else return 1; 

							}

							};

							function qU()

							{

							}

							qU.eP=function(Qb,QEI)

							{ 

							if(feedHistory[Qb])

							{

							for(var ii in feedHistory[Qb]['readArticles'])

							{

							if(feedHistory[Qb]['readArticles'][ii]==QEI)

							return true; 

							}

							}

							return false; 

							}; 

							qU.KX=function(Qb)

							{ 

							if(!feedHistory[Qb])

							{

							feedHistory[Qb]=new Object(); 

							}

							if(!feedHistory[Qb]['readArticles'])

							{ 

							feedHistory[Qb]['readArticles']=new Array(); 

							}

							var readArticles=feedHistory[Qb]['readArticles'];

							return readArticles; 

							};

							qU.dU=function(Qb,QEI)

							{ 

							var readArticles=qU.KX(Qb);

							readArticles.push(QEI); 

							if(loggedIn)

							{

							var ta=new Array(); 

							ta.push(new wK('feedLocatorUrl',Qb));

							ta.push(new wK('articleGuid',QEI));

							var PA=new hG(accountId,excellenId,null,excellenPath,'add-feed-history-item',ta); 

							commandProcessor.aA(PA); 

							}

							};

							qU.Wv=function(Qb,QEI)

							{ 

							var readArticles=qU.KX(Qb); PE(QEI,readArticles); 

							if(loggedIn)

							{

							var ta=new Array();

							ta.push(new wK('feedLocatorUrl',Qb)); 

							ta.push(new wK('articleGuid',QEI));

						var PA=new hG(accountId,excellenId,null,excellenPath,'remove-feed-history-item',ta); 

							commandProcessor.aA(PA); 

							}

							};

							qU.sY=function(Qb)

							{ 

							if(feedHistory[Qb]) 

							return feedHistory[Qb]['totalArticlesRead'];

							else 

							return 0; 

							};

							var JZ=false;

							JZ=true; 

							var hv=(new Date()).getTime(); Uc=''; 

							var YJ=new cV(); 

							var gK='cookies-enabled-test'; 

							var Ij=null; 

							var GR=false; 

							var removedPanelDatas=new Array();

							var maxPanelZIndex; 

							var XU=null; 

							var ZK; iE=navigator.userAgent.indexOf("Opera")!=-1; 

							Mw=navigator.userAgent.indexOf("Safari")!=-1; 

							iE=iE||Mw; 

							isIE=((ii=navigator.userAgent.indexOf("MSIE"))>=0);

							hI=isIE?false:true; 

							var vj=null;

							var iC=false; 

							var cZ=null; 

							var HO; 

							var iJ; 

							var vC=null; 

							var Fk=null;

							var Th; 

							var RU; 

							var YK; 

							var lG; 

							var hY;

							var Eo; 

							var NM=false; 

							var Ck=false; 

							var FI=0; 

							var Ad=0; 

							var VL=null; 

							var QV=null; 

							var hM=null; 

							var BI=8; 

							var cK=4; 

							var kh=0; 

							var xT=0; 

							var KC=127; 

							var Oe=39; 

							var Ri=2; 

							var NZ=-101; 

							var iO=-102; 

							var iw=-103; 

							var dC=-104; 

							var gw="onmousemove"; 

							var UT="onmousedown"; 

							var Jf="onmouseover"; 

							var On="onmouseup"; 

							var KB="onmouseout"; 

							var LR="onclick"; 

							var FC="ondblclick";

							var ki="onmouseleave"; 

							var OT="mousemove"; 

							var ej="mousedown"; 

							var PH="mouseover"; 

							var ME="mouseup"; 

							var cO="mouseout"; 

							var MI="click"; 

							var Xk="dblclick";

							var TA=30; 

							var IA=25; 

							var WP=0; 

							var Oh=0; 

							var UM=new Array();

							var wh; 

							var DC; 

							var Rq; 

							var feedHistory; 

							var CQ=isIE?400:250;

							var IW=null; 

							var kp=null; 

							Oo=100200;

							ma=100100; 

							bF=100006; 

							BA=100004;

							ls=100010; 

							nC=100004; 

							Dn=100002; 

							kU=100000; 

							Lo=90200; 

							vJ=90100; 

							aE=90096; 

							ZL=90092; 

							nO=90090; 

							Sq=90085; 

							bN=90080; 

							Vw=90072; 

							eX=90070; 

							xw=90060; 

							HU=90050; 

							var SS=false; 

							var no=false; 

							var wk=['cnn.com','reuters.com']; 

							function TN(id,title,sH,jWp,roI,BKE,ho)

							{ 

							if(sH==null) sH=''; 

							var BZ=document.createElement('div');

							BZ.id=id; 

							BZ.className='panel'; 

							BZ.style.display='none'; 

							var iB=document.createElement('div'); 

							iB.className='panel-header scheme-header scheme-header-text'; 

							if(jWp){ BZ.style.left=roI+'px'; 

							BZ.style.top=BKE+'px'; 

							iB.style.cursor='Move';

							iB.onmousedown=function(qX)

							{

							Po(qX,BZ,null,UK,KS,tF); 

							};

							}

							else

							{

							iB.style.cursor='default'; 

							}

							iB.innerHTML='<div class="panel-title" style="padding: 2px 4px 2px 4px;">'+title+'</div>'; 

							BZ.appendChild(iB); 

							var NV=document.createElement('div');

							NV.innerHTML=sH; 

							if(ho)

							{

							NV.appendChild(ho); 

							}

							BZ.appendChild(NV); 

							//******************** Comment ********************
							// Call Function for get the Body.
							
							jL().appendChild(BZ); 

							}

							function vP(id,efh)

							{

							var HT=document.getElementById(id); 

							HT.style.display=efh?'block':'none';

							}

							var vN,Xf; 

							function UK(SY,Ga,eR,lP)

							{

							vN=parseInt(SY.style.left);

							Xf=parseInt(SY.style.top); 

							}

							function KS(SY,Ga,mW,CJ,eR,lP)

							{

							SY.style.left=(vN+mW)+'px'; 

							SY.style.top=(Xf+CJ)+'px';

							}

							function tF()

							{

							}

							function jP()

							{

							this.tkh=false; 

							}

							jP.prototype.Gb=function()

							{

							var tR=this;

							this.ho=document.createElement('div');

							this.ho.style.paddingLeft='16px'; 

							this.ho.style.paddingRight='16px'; 

							this.ho.style.paddingTop='12px'; 

							this.ho.style.paddingBottom='4px'; 

							//this.ho.appendChild(this.Ow('Add a news feed directly'));

							//this.ho.appendChild(this.nA()); 

							//this.ho.appendChild(this.NX()); 

							//this.ho.appendChild(this.Ow('Add a news feed from our directory')); 

							//this.ho.appendChild(this.ir()); 


                            //  ************** Comment *****************************
                            // Add Title 'Add a widget' to the widget list
                            // *****************************************************
                            
                            
							this.ho.appendChild(this.Ow('Add a widget'));


                            // ************** Comment ******************************
                            // Call the function to append items in the widget list
                            // *****************************************************
                            
							this.ho.appendChild(this.GB());  
							this.ho.appendChild(this.Lq('Ferramentas',showcaseTags68)); this.ho.appendChild(this.Lq('Licenciados',showcaseTags70)); this.ho.appendChild(this.Lq('A Excellent Global',showcaseTags73)); 
							//this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students1656',showcaseTags53)); this.ho.appendChild(this.Lq('wasim',showcaseTags59)); this.ho.appendChild(this.Lq('test1',showcaseTags63)); this.ho.appendChild(this.Lq('test division edit',showcaseTags65)); this.ho.appendChild(this.Lq('SHIBUTA',showcaseTags68)); 
							//this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students1656',showcaseTags53)); this.ho.appendChild(this.Lq('wasim',showcaseTags59)); this.ho.appendChild(this.Lq('test1',showcaseTags63)); this.ho.appendChild(this.Lq('test division edit',showcaseTags65)); this.ho.appendChild(this.Lq('SHIBUTA',showcaseTags68)); 
							//	this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students1656',showcaseTags53)); this.ho.appendChild(this.Lq('wasim',showcaseTags59)); this.ho.appendChild(this.Lq('test1',showcaseTags63)); this.ho.appendChild(this.Lq('test division edit',showcaseTags65)); this.ho.appendChild(this.Lq('SHIBUTA',showcaseTags68));  
							//this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students1656',showcaseTags53)); this.ho.appendChild(this.Lq('wasim',showcaseTags59)); this.ho.appendChild(this.Lq('test1',showcaseTags63)); this.ho.appendChild(this.Lq('test division edit',showcaseTags65)); this.ho.appendChild(this.Lq('SHIBUTA',showcaseTags68)); 
							//this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students1656',showcaseTags53)); this.ho.appendChild(this.Lq('wasim',showcaseTags59)); this.ho.appendChild(this.Lq('test1',showcaseTags63)); this.ho.appendChild(this.Lq('test division edit',showcaseTags65)); this.ho.appendChild(this.Lq('SHIBUTA',showcaseTags68));  // Change to dispaly widget fronm database change by cp on 23-03-09
							//this.ho.appendChild(this.Lq('Licensees',showcaseTags51)); this.ho.appendChild(this.Lq('Teachers',showcaseTags52)); this.ho.appendChild(this.Lq('Students',showcaseTags53)); 
							//this.ho.appendChild(this.Ow('Add a user contributed widget')); 

							//this.ho.appendChild(this.Lq()); 

							//this.ho.appendChild(this.Ow('Advanced')); 

							//this.ho.appendChild(this.bm()); 

							this.rv=VL; 

							var PS=sU(this.rv);

							this.fm=new LE(-100000,-100000,false,nO,'00',this.ho,true,true,null,PS); 

							this.fm.jp=function()

							{

							tR.ZI(false); 

							}; 

							};

							jP.prototype.Ud=function(ZP,text,Fc)

							{

							var BZ=document.createElement('div');

							BZ.className='scheme-body-text';

							BZ.style.whiteSpace='nowrap'; 

							BZ.style.fontSize='12px';
							BZ.style.fontWeight=Fc?'bold':'normal'; 

							BZ.appendChild(document.createTextNode(text));

							Rk(BZ,ZP);

							return BZ;

							}; 

							jP.prototype.fK=function()

							{

							var BZ=document.createElement('div'); 

							BZ.style.paddingTop='5px'; 

							BZ.style.paddingBottom='12px'; 

							BZ.style.paddingLeft='8px'; 

							BZ.style.paddingRight='8px';

							BZ.style.whiteSpace='nowrap'; 

							return BZ; 

							}; 

							jP.prototype.Ow=function(text)

							{

							var BZ=document.createElement('div');

							BZ.style.paddingBottom='7px';

							BZ.className='scheme-body-text';

							BZ.style.fontSize='12px'; 

							BZ.style.whiteSpace='nowrap';

							BZ.appendChild(document.createTextNode(text)); 

							return BZ;

							};

							jP.prototype.lo=function(tkh)

							{ 

							this.ZI(!this.tkh); 

							};

							jP.prototype.Qc=function(tkh)

							{ 

							for(var ii in panelDatas)

							{ 

							var uH=panelDatas[ii]; 

							if(uH.BR) uH.Kr(); 

							}

							commandProcessor.uv(); 

							};

							jP.prototype.ZI=function(tkh,SEi)

							{

							if(!this.tkh&&!tkh) 

							return; 

							if(this.ho)

							{

							if(this.rv!=VL) 

							this.rv=VL; 

							var PS=sU(this.rv);

							this.fm.VE(PS); 

							if(this.qMb) 

							this.qMb.VE(PS); 

							}

							this.tkh=tkh; 

							if(tkh==true)

							{ 

							if(!this.ho)

							{ 

							this.Gb(); 

							}

							else

							{

							}

							this.position(8,Math.max(Sn()+8-Oh,8-Oh)); 

							}

							else

							{

							this.position(-100000,-100000); 

							if(this.qMb) 

							this.qMb.position(-100000,-100000);

							if(!SEi) 

							this.Qc(); 

							}

							this.tkh=tkh; 

							};

							jP.prototype.position=function(x,y)

							{ 

							this.fm.position(x,y); 

							}; 

							jP.prototype.CF=function(content,paddingLeft,paddingRight,paddingTop,paddingBottom)

							{ 

							var BZ=document.createElement('div'); 

							BZ.style.paddingLeft=paddingLeft+'px'; 

							BZ.style.paddingRight=paddingRight+'px'; 

							BZ.style.paddingTop=paddingTop+'px';

							BZ.style.paddingBottom=paddingBottom+'px'; 

							BZ.appendChild(content); return BZ; 

							};

							jP.prototype.NX=function()

							{ 

							var tR=this;

							var Sj=this.fK();

							var EG=function()

							{

							tR.AP()

							};

							var entries=new Array();

							var qk=new Array(); 

							entries.push(new ub(false,function()

							{

							return tR.Ud(null,'Add a photo / cartoon / video feed directly',!true);

							},

							qk,EG));

							qk.push(new ub(false,function()

							{

							var Gc=document.createElement('div');

							var Pg=document.createElement('div');

							Pg.appendChild(tR.CF(tR.Ow('Add a photo thumbnail feed directly'),0,0,5,0)); 

							Pg.appendChild(tR.CF(tR.IJ(true),0,0,0,7));

							var fq=document.createElement('div');

							fq.appendChild(tR.Ow('Add a cartoon or video feed directly')); 

							fq.appendChild(tR.IJ(false,true)); 

							Gc.appendChild(Pg); 

							Gc.appendChild(fq);

							return Gc; 

							},

							[],EG));

							var BY=new Id(entries);

							BY.Gb(); 

							Sj.appendChild(BY.BZ); 

							return Sj; 

							}; 

							jP.prototype.nA=function(sNb,oFI)

							{

							var Sj=this.fK(); 

							Sj.appendChild(this.IJ(sNb,oFI));

							Sj.style.paddingBottom='4px'; 

							return 

							Sj; 

							}; 

							jP.prototype.IJ=function(sNb,oFI)

							{

							var tR=this; 

							var EG=function(){tR.AP()};

							var Sj=document.createElement('div'); 

							var GG=function()

							{

							var rJ=document.createElement('div');

							var Ci=document.createElement('div'); 

							Ci.appendChild(document.createTextNode('Go')); 

							Ci.className='scheme-body-text'; 

							Ci.style.fontSize='12px'; 

							Ci.style.fontWeight='bold'; 

							Ci.style.paddingLeft=4+'px';

							var al=new Object(); 

							var NO=function(sxm,value){ al.rHT=value; 

							if(sxm)

							{ 

							Ci.onmousedown(); 

							}

							};

							var hU=sNb?'e.g. flickr.com/photos/tags/dogs':'e.g. www.cnn.com';

							if(oFI)hU='e.g. savagechickens.com'; 

							var an; 

							var Yt=bZ(hU,170,hE,NO,function(ANB){ an=ANB; });

							var table=wu([vT('web/images/icons/feed.gif',21,16),Yt,Ci]); 

							rJ.appendChild(table); 

							Ci.onmousedown=function(qX)

							{

							if(sNb)

							{

							tR.Od(tR.nY(null,al.rHT,'thumbnails'),560,130)(qX); 

							}

							else if(oFI)

							{ 

							tR.Od(tR.nY(null,al.rHT,'singleImage'),426,480)(qX);

							}

							else

							{ 

							tR.Od(tR.nY(null,al.rHT,'regular'),265,140)(qX); 

							}

							}; 

							if(!sNb&&!oFI)

							{ 

							tR.vr=function(Ia)

							{

							an.value=Ia; 

							al.rHT=Ia; 

							Ci.onmousedown();

							}; 

							}

							return rJ; 

							}; 

							var entries=new Array();

							entries.push(new ub(false,GG,[],EG));

							var BY=new Id(entries); 

							BY.Gb(); Sj.appendChild(BY.BZ); 

							return Sj; 

							}; 

							jP.prototype.AP=function()

							{

							var tR=this; 

							setTimeout(function(){ tR.fm.AP(); },1);

							}; 

							jP.prototype.ir=function()

							{

							var tR=this; 

							var Sj=this.fK(); 

							var EG=function(){tR.AP()}; 

							var aw=function(ZK)

							{ 

							var entries=new Array(); 

							for(var ii in ZK)

							{

							var SI=ZK[ii]; 

							var label=SI[0];

							var gG=SI[1]; 

							var Ia=SI[2]; 

							if(typeof gG=='string')

							{ 

							var UN=gG; 

							var width=SI[3]?SI[3]:265; 

							var height=SI[4]?SI[4]:140;

							var oe=SI[5]?SI[5]:'regular'; 

							var maxHeadlinesPerFeed=SI[6]?SI[6]:null; 

							if(!Ia) Ia=UN;

							var GG=function(Ia,label,UN)

							{ 

							return function()

							{

							return tR.Ud(CG(UN),label)

							;}

							; }

							(Ia,label,UN);

							var oc=function(Ia,label,oe,width,height,maxHeadlinesPerFeed)

							{ 

							return function(qX)

							{

							tR.Od(tR.nY(label,Ia,oe,maxHeadlinesPerFeed),width,height)(qX); 

							}

							}

							(Ia,label,oe,width,height,maxHeadlinesPerFeed); 

							entries.push(new ub(false,GG,[],EG,oc)); 

							}

							else

							{ 

							if(typeof gG=='object'&&gG instanceof Array)

							{ 

							var GG=function(label)

							{

							return function()

							{

							return tR.Ud(null,label);

							}; 

							}

							(label); entries.push(new ub(false,GG,aw(gG),EG)); 

							}

							}

							}

							return 

							entries; 

							}; 

							var BY=new Id(aw(tE)); BY.Gb(); Sj.appendChild(BY.BZ); 

							return Sj; 

							}; 

							jP.prototype.Od=function(usM,XK,hN,ri)

							{ 

							var tR=this; 

							return function(event)

							{ 

							var top; 

							if(event||isIE||iE)

							{ 

							if(isIE||iE)

							{

							try

							{

					top=window.event.clientY+(iE?0:document.documentElement.scrollTop)+document.body.scrollTop; 

							}

							catch(qX)

							{

							top=(iE?0:document.documentElement.scrollTop)+document.body.scrollTop; 

							}

							}

							else

							{

							top=event.clientY+window.scrollY; 

							}

							}

							else 

							top=tR.fm.top; 

							top=top-Math.round(hN/2); 

							top=Math.max(tR.fm.top+10,top); 

							tR.XD(XK,hN,top,ri); 

							var uH=usM(tR.qMb.Jua+30,top+30,XK,hN); 

							}; 

							}; 

							jP.prototype.JL=function(ZT,PqN,UJ)

							{

							return function(left,top,width,height)

							{

							UJ=UJ?UJ:new Object();

							return gC('widget',PqN,left,top,width,height,'00',false,ZT,'',UJ,null,null,null,

							true); 

							}; 

							};

							jP.prototype.rf=function(ZT)

							{

							return function(left,top,width,height)

							{

							var wf=new Object(); 

							wf['widgetId']=ZT; 

							Jv('/_api/widgetKeyGen',wf,function(NS)

							{

							var mx=NS['readKey']; 

							var Tl=NS['writeKey']; 

							var ew=NS['thirdPartyUserIdentifier']; 

							var ri=NS['widgetInfo']; 

							var UJ=new Object();

							var AJ=gC('widget',ri['widgetTitle'],left,top,width,height,'00',false,ZT,'',UJ,null,null,null,true,mx,Tl,ew,ri); 

							}

							);

							};

							};

							jP.prototype.nY=function(PqN,Qb,oe,maxHeadlinesPerFeed)

							{ 

							if(Qb&&(!(Qb instanceof Array))&&Qb.indexOf('e.g. ')==0) Qb=Qb.substring('e.g. '.length); 

							if(Qb&&(Qb=='http://www.ft.com'||Qb=='www.ft.com'||Qb=='ft.com')) Qb='http://www.ft.com/home/uk'; 

							return function(left,top,width,height)

							{ 

							var UJ=new Object(); 

							UJ['mode']=oe; 

							UJ['headlinesOnly']=true; 

							UJ['maxHeadlinesPerFeed']=(oe=='thumbnails'?5:7); 

							if(maxHeadlinesPerFeed) UJ['maxHeadlinesPerFeed']=maxHeadlinesPerFeed; 

							UJ['feeds']=new Array(); 

							if(typeof Qb=='object'&&Qb instanceof Array)

							{ 

							for(var ii in Qb) UJ.feeds.push([Qb[ii]]); 

							}

							else

							{ 

							UJ.feeds.push([Qb]); 

							}

							if(!PqN) PqN='News feed'; 

							return gC('widget',PqN,left,top,width,height,'00',false,Ev,'',UJ,null,null,null,true);

							};

							};
							
							//******************** Comment ********************
                            // Function for Add Items to Add widgets List.
							
							jP.prototype.GB=function()

							{

							var tR=this; 

							var Sj=this.fK(); 
							
			  

							var entries=new Array(); 
							
							entries.push(new ub(false,function()
				{return tR.Ud(Su('post'),'Post-it');},
				[],null,this.Od(this.JL(CK,'Post-it'),250,200)));entries.push(new ub(false,function()
				{return tR.Ud(Su('600268908'),'Editor de Texto');},
				[],null,this.Od(this.JL(Td,'Editor de Texto'),250,100)));entries.push(new ub(false,function()
				{return tR.Ud(Su('check'),'Minha Agenda');},
				[],null,this.Od(this.JL(BE,'Minha Agenda'),250,200)));entries.push(new ub(false,function()
				{return tR.Ud(Su('schedule'),'Calendario');},
				[],null,this.Od(this.JL(Db,'Calendario'),250,224)));entries.push(new ub(false,function()
				{return tR.Ud(Su('star'),'Favoritos');},
				[],null,this.Od(function(left,top,width,height)
			    {return gC('links','Favoritos',left,top,width,height,'00',false,'','',null,null,null,null,true); 
				},250,100)));entries.push(new ub(false,function()
				{return tR.Ud(Su('alert'),'Recados');},
				[],null,this.Od(this.JL(Td,'Recados'),250,200)));entries.push(new ub(false,function()
				{return tR.Ud(Su('webpage'),'Web page');},
				[],null,this.Od(this.JL(nf,'Web page',{'image':'web/images/icons/webpage.gif'
							}),360,390)));entries.push(new ub(false,function()
				{return tR.Ud(CG('search.gif'),'Mapas Google');},
				[],null,this.Od(this.JL(nf,'Mapas Google',{'url':'http://maps.google.com/maps?f=q&hl=en&q=ponta+grossa+parana&sll=37.0625,-95.677068&sspn=49.176833,82.265625&layer=&ie=UTF8&z=13&om=1&iwloc=addr','safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/search.gif'}),390,360)));entries.push(new ub(false,function()
				{return tR.Ud(CG('news.gif'),'News');},
				[],null,this.Od(this.JL(nf,'News',{'url':'http://www.excellentglobal.com/imersao.swf','safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/news.gif'}),300,330)));entries.push(new ub(false,function()
				{return tR.Ud(CG('phonics.gif'),'Phonics');},
				[],null,this.Od(this.JL(nf,'Phonics',{'url':'http://www.excellentglobal.com/phonics/index.htm','safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/phonics.gif'}),600,300)));entries.push(new ub(false,function()
				{return tR.Ud(CG('robot.gif'),'RobotMan');},
				[],null,this.Od(this.JL(nf,'RobotMan',{'url':'http://www.excellentglobal.com/robotman.html','safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/robot.gif'}),300,300)));entries.push(new ub(false,function()
				{return tR.Ud(CG('robota.gif'),'RobotWoman');},
				[],null,this.Od(this.JL(nf,'RobotWoman',{'url':'http://www.excellentglobal.com/robotwoman.html','safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/robota.gif'}),300,300)));
							

							var BY=new Id(entries); BY.Gb(); 

							Sj.appendChild(BY.BZ); 

							return Sj; 

							}; 

//--Arvinder
							jP.prototype.GB2=function(id)
							{
//							alert(id);
							var tR=this;
							var Sj=this.fK();
							var entries=new Array();							
							
							if(id==68){}if(id==70){}if(id==73){}

							//******************** Comment ********************
							// put in string here
										
							//	entries.push(new ub(false,function(){return tR.Ud(Su('document'),'Hotmail');},[],null,this.Od(this.JL(CK,'Post-it',{"content":"Welcome to Excellent Global Online! Inicie navegando clicando em ADD WIDGET no menu abaixo. Selecione o que lhe interessa do menu que aparecera a esquerda. Clique e puxe para onde desejar dentro da pagina."}),250,200)));			
							//	entries.push(new ub(false,function(){return tR.Ud(Su('document'),'Yahoo');},[],null,this.Od(this.JL(CK,'Post-it',{"content":"Welcome to Excellent Global Online! Inicie navegando clicando em ADD WIDGET no menu abaixo. Selecione o que lhe interessa do menu que aparecera a esquerda. Clique e puxe para onde desejar dentro da pagina."}),250,200)));
							// put in string Ends -- Arvinder

							var BY=new Id(entries); BY.Gb(); 

							Sj.appendChild(BY.BZ); 
//							alert(Sj.innerHTML);
							return Sj; 

							};

							jP.prototype.Lq=function(name,showcaseTags)

							{ 

							var Sj=this.fK(); 

							var tR=this; 

							var EG=function(){tR.AP()}; 

							var DX=new Array(); 

							for(var ii in showcaseTags)

							{ 

							var BN=showcaseTags[ii]; 

							var MX=function(BN)

							{ 

							var tagName=BN['tag']; 

							var EI=BN['divid']; 

							var label=tagName; 

							var GG=function(BN)

							{ 

                            //******************** Comment ********************
                            // Function For Set the Text (label)
 							
 							return function()

							{

							return tR.Ud(null,label);

							}; 

							}

							(BN); QG=new Array(); 

							var Vl=false; 

							var uG; 

							var bP=new ub(false,GG,[ 

							new ub(false,function()

							{

							uG=kC('Loading...'); uG.style.paddingBottom='3px'; return uG; 

							},

							[]) 

							],

							function(isExpanded)

							{

							if(isExpanded)

							{

							if(!Vl)

							{

							Vl=true; 

							var wf=new Object(); 

							wf['methodName']='getWidgetsForTag'; 

							wf['tag']=tagName+'#$#'+EI; ; 

							Jv('showcase.php',wf,function(GN)

							{

							var jM=new Array();

							for(var dA in GN)

							{ 

							var hm=GN[dA]; 

							var qC=function(hm)

							{
							//alert(hm['type']);
							type=hm['type'];
							if(type=='-7'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(CK,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(CK,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
							}
							if(type=='20'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(function(left,top,width,height)

				{return gC('html',hm["title"],left,top,width,height,'00',false,'','',null,null,null,null,true);},parseInt(hm['width']),parseInt(hm['height']))));
								
							}
							
							if(type=='-9'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(BE,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(BE,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='-13'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Db,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{

								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Db,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='21'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(function(left,top,width,height)

				{return gC('links',hm["title"],left,top,width,height,'00',false,'','',null,null,null,null,true);},parseInt(hm['width']),parseInt(hm['height']))));
								
							}
							if(type=='-12'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Td,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Td,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='-2'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Dg,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Dg,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='-3'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(uE,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(uE,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='-8'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								if(hm["content"]==''){
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Ee,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								}else{
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(Ee,hm["title"],hm["content"]),parseInt(hm['width']),parseInt(hm['height']))));
								}
								
							}
							if(type=='-11'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(ws,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								
							}
							if(type=='-10'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(VQ,hm["title"]),parseInt(hm['width']),parseInt(hm['height']))));
								
							}
							if(type=='22'){
								imgArr=hm["image"].split(".");

								img=imgArr[0];
								
								jM.push(new ub(false,function(){
								return tR.Ud(Su(img),hm["name"]);},[],null,tR.Od(tR.JL(nf,hm["title"],{'image':'web/images/icons/'+hm["image"]

							}),parseInt(hm['width']),parseInt(hm['height']))));
								
							}
							if(type=='-5'){
								linkdata=hm['data']
								linkArr=linkdata.split(",");

							    linkArr1=linkArr[0].split(":");
								
			                    linkurl=unescape(linkArr1[1].replace(/'/g,""));
								
								imga=hm["image"];
								
								jM.push(new ub(false,function()
								{
									
								//return tR.Ud(CG(imga),hm['name']);
								return tR.Ud('web/images/favIcon/search/'+hm["image"],hm['name']);
								},
								[],null,tR.Od(tR.JL(nf,hm['title'],
								{
								'url':linkurl,'safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0','image':'web/images/favIcon/search/'+imga
								}
								),
								parseInt(hm['width']),parseInt(hm['height']))));
							}

							}

							(hm); 

							}

							bP.gW(jM); uG.style.display='none'; 

							});

							}

							}

							EG(); 

							});

							if(label!="")
							DX.push(bP); 

							}

							(BN); 

							}

							//******************** Comment ********************
							// Begin second for loop -- Arvinder
							for(var ii in showcaseTags)
								{ 
									if(ii==0){
										var appendInnerLinks = true;

										var BN=showcaseTags[ii]; 
										var MX=function(BN)
												{ 
													var tagName=BN['tag']; 
													var EI=BN['pdivid']; 
													var label=tagName; 
													var GG=function(BN)
															{ 
																return function()
																		{
																			tR.ho=document.createElement('div');
																			return tR.ho.appendChild(tR.GB2(EI));
																		}; 
															}
													(BN); 
													QG=new Array(); 
													var Vl=false; 
													var uG; 
													var bP=new ub(false,GG,[],null);																		
													DX.push(bP); 
												}
																	(BN); 
									}
								}/// End of Second for loop --Arvinder


							var entries=new Array(); 

							entries.push(new ub(false,function()

							{

							return tR.Ud(null,name);

							},

							DX,EG)); 

							/*entries.push(new ub(false,function()

							{ 

							var anchor=document.createElement('a');

							anchor.href='http://54.144.248.163/simran/floatWidgt/'; 

							anchor.target='_NEW'; 

							anchor.appendChild(tR.Ud(Su('widget'),'Explore the widget showcase'));

							var BZ=document.createElement('div'); 

							BZ.appendChild(anchor); 

							var OP=document.createElement('div');

							OP.style.paddingTop='4px';

							OP.appendChild(BZ); 

							return OP; 

							},

							[],EG)); */

							var BY=new Id(entries); 

							BY.Gb(); 

							Sj.appendChild(BY.BZ); 

							return Sj; 

							}; 

							jP.prototype.bm=function()

							{

							var tR=this;

							var EG=function()

							{

							tR.AP()

							};

							var Sj=this.fK(); 

							var Tr=function()

							{

							tR.dJ.style.display='';

							tR.dJ.innerHTML='                            <form method="post" enctype="multipart/form-data" action="/_api/opmlImport" target="'+CallbackNotify.kD(tR.LML)+'">                            '+CallbackNotify.XW(tR.LML)+'                              <table><tr><td><input type="file" name="opmlFile" style="min-width: 0px; padding: 1px; margin: 0px;"></td>                              <td><input type="submit" value="Go" style="min-width: 0px; padding: 1px 1px 1px 1px; margin: 1px 1px 1px 1px;"></td>                            </tr></table></form>';

						tR.AP(); 

						}; 

						var iM=function(){ 

						tR.WZ.style.display=''; 

						 tR.WZ.innerHTML='                            <div class="scheme-body-text" style="font-size:11px; padding-top:4px">Enter your Bloglines username:</div>                             <form method="get" action="/_api/opmlImport" target="'+CallbackNotify.kD(tR.doW)+'">                            '+CallbackNotify.XW(tR.doW)+'                              <table><tr><td><input type="text" name="bloglinesId" style="min-width: 0px; padding: 1px; margin: 0px;"></td>                              <td><input type="submit" value="Go" style="min-width: 0px; padding: 1px; margin: 0px;"></td>                            </tr></table></form>';

						tR.AP(); 

						};

						function wG()

						{

						var DG=document.createElement('div');

						var AK=tR.Ud(Su('opml'),'Upload an OPML file');

						DG.appendChild(AK);

						AK.onmousedown=Tr;

						var dJ=document.createElement('div');

						tR.dJ=dJ; 

						var sg=document.createElement('div');

						tR.sg=sg; 

						DG.appendChild(dJ);

						DG.appendChild(sg); 

						return DG; 

						}

						function wn()

						{

						var lD=document.createElement('div'); 

						var wB=tR.Ud(Su('opml'),'Import from Bloglines'); 

						lD.appendChild(wB);

						wB.onmousedown=iM; 

						var WZ=document.createElement('div');

						tR.WZ=WZ;

						var xK=document.createElement('div');

						tR.xK=xK; 

						lD.appendChild(WZ);

						lD.appendChild(xK);

						return lD; 

						}

						var bM=function(SOO,Ec,Fi)

						{

						return function(EAh)

						{

						if(EAh=='error')

						{

						alert(Fi); 

						return; 

						};

						var Vv=SOO(); 

						var DM=Ec(); 

						Vv.style.display='none'; 

						DM.style.display='';

						var entries=new Array(); 

						var nx=EAh; 

						if(nx.length==0) alert('No feeds found.'); 

						for(var ii in nx)

						{

						var Mq=nx[ii];

						var GG=function(title)

						{

						return function()

						{

						return tR.Ud(Su('rss'),title)

						};

						}

						(Mq['title']);

						var oc=function(Ia,label)

						{

						return function(qX)

						{

						tR.Od(tR.nY(label,Ia),265,140)(qX); 

						}

						}

						(Mq['url'],Mq['title']);

						entries.push(new ub(false,GG,[],EG,oc));

						}

						var BY=new Id(entries); 

						BY.Gb();

						NQ(DM);

						DM.appendChild(BY.BZ);

						DM.style.paddingTop='4px'; 

						DM.style.paddingBottom='4px'; 

						DM.style.paddingLeft='12px'; 

						tR.AP(); 

						};

						};

						tR.LML=CallbackNotify.Bo(bM(function()

						{

						return tR.dJ;

						},

						function()

						{

						return tR.sg;

						},

						"There was a problem with the OPML file you uploaded - please check it is a valid OPML file.")); 

						tR.doW=CallbackNotify.Bo(bM(function()

						{

						return tR.WZ;

						},

						function()

						{

						return tR.xK;

						},

						"There was a problem with the Bloglines import - please check that the Bloglines username is entered correctly.")); 

						CallbackNotify.Ug(tR.LML); 

						CallbackNotify.Ug(tR.doW); 

						var sT=new Array();

						sT.push(new ub(false,wG,[],EG));

						sT.push(new ub(false,wn,[],EG));

						var entries=new Array();

						entries.push(new ub(false,function()

						{

						return tR.Ud(null,'Import OPML');

						},

						sT,EG));

						var BY=new Id(entries); 

						BY.Gb(); 

						Sj.appendChild(BY.BZ);

						return Sj; 

						};

						jP.prototype.XD=function(RSB,ctV,top,ri)

						{

						this.Qc(); 

						if(!this.qMb)

						{

						var BZ=document.createElement('div');

						var iB=document.createElement('div'); 

						this.iB=iB;

						this.iB.style.paddingBottom='20px'; 

						this.iB.style.textAlign='center';

						this.hAi=kC('',14,true);

						this.xEF=kC('',11,false); 

						this.xEF.style.paddingBottom='8px'; 

						this.ETL=kC('',11,false); 

						this.ETL.style.whiteSpace='normal'; 

						this.ETL.style.paddingLeft='10px'; 

						this.ETL.style.paddingRight='10px'; 

						this.QYs=fk('View comments / details',11,false,0,function()

						{

						El(IT.Mr(ri['widgetId']));

						}

						);

						this.QYs.style.textDecoration='underline';

						this.QYs.target='_NEW'; 

						this.FIP=document.createElement('div');

						this.FIP.appendChild(this.QYs);

						this.iB.appendChild(this.hAi);

						this.iB.appendChild(this.xEF);

						this.iB.appendChild(this.ETL);

						this.iB.appendChild(this.FIP); 

						this.dPX=document.createElement('div'); 

						this.dPX.style.marginTop=30+'px'; 

						this.dPX.style.marginBottom=20+'px'; 

						this.dPX.style.marginLeft=30+'px';

						this.dPX.style.marginRight=30+'px'; 

						BZ.appendChild(this.dPX);

						BZ.appendChild(iB); 

						var Xp=kC('Drag this widget to add it to your page',11,false); 

						Xp.style.whiteSpace='nowrap'; 

						Xp.style.textAlign='center'; 

						Xp.style.paddingLeft='16px'; 

						Xp.style.paddingRight='16px'; 

						Xp.style.paddingBottom='8px'; 

						BZ.appendChild(Xp); 

						var Yg=sU(this.rv); 

						this.qMb=new LE(-100000,-100000,false,ZL+2,'00',BZ,true,false,null,Yg,null,null,null,true); 

						}

						if(ri)

						{

						this.iB.style.display='block'; 

						SQ(this.hAi,ri['widgetTitle']); 

						SQ(this.xEF,'By: '+ri['authorDisplayName']); 

						SQ(this.ETL,ri['shortDescription']);

						this.ETL.style.width=30+30+ri['defaultWidth']+'px'; 

						this.QYs.href='http://66.7.200.176/~excellen/excellentglobal/Widgts/?p=widgetView&w='+ri['widgetId'];

						}

						else

						{

						this.iB.style.display='none'; 

						}

						this.dPX.style.width=RSB+'px'; 

						this.dPX.style.height=ctV+'px';

						this.qMb.position(this.fm.Jua+this.fm.width-8,top); 

						this.qMb.AP(); 

						};

						function xH()

						{

						var tR=this; 

						this.gus=new Array(); 

						this.tkh=false; 

						}

						xH.prototype.ql=function()

						{

						if(this.tkh)

						{

						return 157; 

						}

						else return 0; 

						};

						xH.prototype.ZI=function(nCt)

						{

						if(nCt)

						{

						this.tkh=true; 

						if(!this.GH)

						{

						this.Gb(); 

						this.qo=new Pd();

						this.qo.bc(Gm,this.arU,null,'00',true,true,null,null); 

						this.qo.RJ(ma); 

						this.GH=this.qo.BZ; 

						}

						this.position();

						}

						else

						{

						this.tkh=false; 

						if(this.qo)

						{

						this.xjM.innerHTML=''; 

						this.qo.position(-8000,-8000); 

						}

						}

						YK.jT(); 

						};

						xH.prototype.JV=function(url,nUk,HAN)

						{

						this.ZI(true);

						for(var ii in this.gus) 

						this.gus[ii].remove(); 

						var eV=document.createElement('div'); 

						eV.className='scheme-body-text';

						var oK=document.createElement('div');

						oK.style.fontWeight='bold'; 

						var fi=document.createElement('div'); 

						fi.style.paddingTop='5px'; 

						var to=document.createElement('div');

						to.style.paddingTop='10px'; 

						to.style.fontSize='11px'; 

						eV.appendChild(oK);

						eV.appendChild(fi);

						eV.appendChild(to); 

						to.appendChild

						(document.createTextNode('Press the left or right arrows on your keyboard to skip forward or backward in 5 second increments. (You may need to click on the time display before you can use your left and right arrow keys).'));

						oK.innerHTML=nUk;

						fi.innerHTML=HAN;

						this.gus=bJ.Vh(this.qo.BZ,null,null,eV); 

						var KA='#'+UU; 

						var xD='#'+nR; 

						var Lx='#'+kv; 

						var lC='true';

						var loop='false';

						var uf=new Array(); 

						uf['colorA']=KA; 

						uf['colorB']=xD; 

						uf['colorC']=Lx; 

						uf['autoStart']='true'; 

						uf['loop']='false'; 

						uf['url']=url; 

						this.xjM.innerHTML=Bd('web/images/flash/mp3player2.swf',116,20,uf); 

						};

						xH.prototype.position=function()

						{

						if(!this.tkh) 

						return; 

						var top=Math.max(WP,Sn());

						var XK=this.qo.ql(); 

						var left=(WW()-XK-164); 

						this.qo.position(left,top); 

						};

						xH.prototype.Gb=function()

						{

						var tR=this; this.xjM=document.createElement('div');

						this.xjM.style.width=116+'px'; 

						this.xjM.style.height=20+'px'; 

						this.xjM.style.left=12+'px'; 

						this.xjM.style.top=3+'px'; 

						this.xjM.style.position='absolute';

						//******************** Comment ********************
						// Call Function Create the Image tag
						
						var hd=VD(); 

						hd.style.cursor='pointer'; 

						hd.onclick=function(){ tR.ZI(false); };

						hd.src="web/dynamicImages/000000/panel-cross.gif"; 

						hd.width=7;

						hd.height=7; 

						hd.style.display='block'; 

						hd.style.width=7+'px'; 

						hd.style.height=7+'px';

						hd.style.position='absolute';

						hd.style.left=138+'px'; 

						hd.style.top=10+'px';

						this.arU=document.createElement('div'); 

						this.arU.appendChild(this.xjM); 

						this.arU.appendChild(hd); 

						this.arU.style.width=147+'px'; 

						this.arU.style.height=19+'px'; 

						}; 

						function qW()

						{

						if(Fk!=null) 

						return; 

						if(branding!='bigpond') 

						return; 

						Fk=new Object(); 

						Fk.qo=new Pd(); 

						Fk.BZ=document.createElement('div');

						Fk.BZ.style.cursor='pointer'; 

						Fk.BZ.onclick=function(qX)

						{

						preventDefault(qX); 

						El('http://www.bigpond.com'); 

						}; 

						var pZ=document.createElement('div'); 

						pZ.style.width='142px'; 

						pZ.style.height='33px'; 

						En(pZ,'web/images/branding/bigpond/bigpond-logo.png',false); 

						Fk.BZ.appendChild(pZ); 

						var uP=kC('Sport, movies, music, more...',10,false,true); 

						uP.style.fontWeight='normal'; 

						Fk.BZ.appendChild(uP);

						Fk.BZ.zIndex=eX; 

						Fk.BZ.style.paddingLeft='8px'; 

						Fk.BZ.style.paddingRight='5px'; 

						Fk.BZ.style.paddingBottom='5px'; 

						Fk.BZ.onmousedown=function()

						{

						return false; 

						};

						Fk.qo.bc(wh,Fk.BZ,null,'00',false,false,null,null); 

						Fk.qo.BZ.style.zIndex=bN; 

						Fk.qo.MAW.ZuE.style.zIndex=bN-1;

						Fk.GH=Fk.qo.BZ; 

						}

						function OB()

						{

						if(Fk==null) 

						return; 

						var x=WW()-Fk.qo.ql(); 

						var y=FL()-Fk.qo.NN(); Fk.qo.position(x,y); 

						}

						function YE(Kc)

						{ 

						this.Kc=Kc; 

						this.MKL=new Array(); 

						}

						function pu()

						{ 

						}

						pu.prototype.Gb=function(xWt,rXJ,Nsf,qo,Kc,UID)

						{ 

						var tR=this; 

						this.qo=qo; 

						this.Kc=Kc; 

						this.xWt=xWt; 

						this.rXJ=rXJ; 

						this.Nsf=Nsf; 

						this.UID=UID; 

						this.BZ=document.createElement('div'); 

						this.table=document.createElement('table'); 

						this.JH=document.createElement('tbody'); 

						this.Pa=document.createElement('tr'); 

						this.TJX=document.createElement('td'); 

						if(rXJ)

						{ 

						this.Uqq=document.createElement('td'); 

						this.UBg=document.createElement('td'); 

						}

						this.vGp=document.createElement('td'); 

						this.aGO=document.createElement('td'); 

						this.vMg=document.createElement('td'); 

						this.table.cellPadding=0; 

						this.table.cellSpacing=0; 

						this.table.border=0; 

						this.BZ.appendChild(this.table); 

						this.table.appendChild(this.JH); 

						this.JH.appendChild(this.Pa); 

						this.Pa.appendChild(this.TJX); 

						if(rXJ)

						{ 

						this.Pa.appendChild(this.Uqq); 

						}

						this.Pa.appendChild(this.vMg); 

						this.Pa.appendChild(this.vGp); 

						if(rXJ)

						{

						this.Pa.appendChild(this.UBg);

						}

						this.Pa.appendChild(this.aGO); 

						this.rii=document.createElement('div'); 

						this.rii.style.width='13px'; 

						this.rii.style.height='1px';

						this.ubT=document.createElement('div'); 

						this.ubT.style.width='50px'; 

						this.ubT.style.height='31px'; 

						this.ubT.style.position='absolute'; 

						this.ubT.style.left='5px'; 

						this.ubT.style.top='-8px'; 

						if(!this.Nsf){ }this.rii.appendChild(this.ubT); 

						if(rXJ)

						{ 

						this.Nbk=document.createElement('div'); 

						this.Nbk.className='scheme-header-text'; 

						this.Nbk.style.fontWeight='normal'; 

						this.Nbk.style.whiteSpace='nowrap'; 

						this.Nbk.style.paddingRight=5+'px'; 

						this.Nbk.style.paddingBottom=5+'px'; 

						this.Nbk.style.cursor='pointer'; 

						this.nfl=document.createElement('div');

						this.nfl.className='scheme-header-text'; 

						this.nfl.style.fontWeight='normal'; 

						this.nfl.style.whiteSpace='nowrap'; 

						this.nfl.style.paddingRight=5+'px'; 

						this.nfl.style.paddingBottom=5+'px'; 

						this.nfl.style.cursor='pointer'; 

						}

						this.tUZ=document.createElement('div'); 

						this.tUZ.className='scheme-header-text'; 

						this.tUZ.style.whiteSpace='nowrap'; 

						this.tUZ.style.paddingBottom=5+'px'; 

						this.sBO=document.createElement('div');

						this.sBO.style.display='none'; 

						this.sBO.style.width='24px'; 

						this.sBO.style.height='24px'; 

						this.sBO.style.position='absolute';

						this.sBO.style.left='8px'; 

						this.sBO.style.top='-14px'; 

						En(this.sBO,'web/images/tab-drop-indicator.png'); 

						this.vMg.appendChild(this.sBO); 

						this.MpL=document.createElement('div'); 

						this.MpL.style.width='18px'; 

						this.MpL.style.height='14px'; 

						this.MpL.style.fontSize='1px'; 

						this.MpL.style.cursor='pointer'; 

						this.MpL.vAlign='top'; 

						En(this.MpL,rXJ?'web/images/reveal-down-double-small.png':'web/images/reveal-down-small2.png'); 

						this.MpL.style.backgroundPosition='2px 0px'; 

						this.MpL.onmousedown=function(FbK){ stopPropagation(FbK);

						if(rXJ)

						{

						if(YK.isExpanded)

						{

						YK.hij=new XM(tR.qo); 

						}

						else

						{

						YK.sh(true); 

						}

						}

						else

						{

						YK.hij=new FT(tR.qo); 

						}

						};

						this.MpL.style.position='relative'; 

						this.MpL.style.top='-2px'; 

						if(this.Nsf)

						{

						this.tUZ.style.paddingBottom=0+'px'; 

						this.tUZ.style.position='relative'; 

						this.tUZ.style.top='-2px'; 

						this.tUZ.style.fontSize='11px';

						this.tUZ.style.fontWeight='normal'; 

						this.tUZ.style.paddingLeft='5px'; 

						this.tUZ.style.paddingRight='5px';

						this.tUZ.appendChild(this.UID);

						}

						else

						{

						var label=rXJ?this.Kc['label']:this.qo.rv['label']; 

						this.agl=new aJ(this.tUZ,function(value,qET,width)

						{

						tR.qo.jj(width+tR.ph); 

						tR.qo.MAW.position(); 

						YK.Hd=null; 

						if(qET)

						{

						YK.ErW=false; 

						if(tR.rXJ)

						{

						tR.qo.Kc['label']=value; tR.qo.Kc.nT();

						}

						else

						{

						tR.qo.rv['label']=value; tR.qo.rv.nT(); 

						}

						YK.jT(false); 

						}

						},

						label,12,'bold','scheme-header-text',function()

						{

						if(tR.qo.rXJ)

						{

						if(!tR.qo.Kc.ie()) 

						return true; 

						}

						if(tR.qo.xWt)

						{

						if(!tR.qo.rv.ou()) 

						return true; 

						}

						var FB=false; 

						if(YK.FB==true)

						{

						FB=true; 

						YK.FB=false; 

						};

						var jH=cx.jH(tR.qo); 

						var Hc=!jH||FB; 

						if(rXJ)

						{ 

						Hc=((new Date().getTime()-YK.brH<200)||YK.isExpanded==false); 

						}

						return Hc; 

						},

						function()

						{

						FT.Ms();

						YK.ErW=true; 

						}

						);

						var jH=cx.jH(this.qo); 

						this.agl.IX(jH);

						this.TJX.appendChild(this.rii);

						if(rXJ)

						{

						this.Uqq.appendChild(this.Nbk);



						this.UBg.appendChild(this.nfl); 

						}

						this.aGO.appendChild(this.MpL); 

						}

						this.vGp.appendChild(this.tUZ); 

						return this.BZ; 

						};

						pu.prototype.fL=function()

						{

						var qo=this.qo; 

						if(!this.Nsf)

						{

						var mi=qo.mi; 

						var jH=cx.jH(qo); 

						var EA=false; 

						var label; 

						var fv=false; 

						if(this.rXJ)

						{

						var AW=this.Kc.AW();

						var bx=this.Kc.bx(); 

						var mU=(!AW&&!bx);

						var ZJ=this.Kc.ZJ(); 

						EA=!(!ZJ&&mU&&!fv);

						label=qo.Kc['label'];

						}

						if(this.xWt)

						{

						EA=false; label=qo.rv['label']; 

						}

						var jW=(qo.xWt&&jH&&qo.rv.ou())||(qo.hAl );

						if(!loggedIn&&qo.hAl) jW=false; 

						var Ft=11; 

						if(jH) Ft=16; 

						if(qo.hAl) Ft=12; 

						var Fc=(jH||qo.hAl)?true:false;

						this.rii.style.display=EA?'block':'none';

						this.MpL.style.display=jW?'block':'none';

						this.agl.dO(Fc);

						this.agl.kq(Ft); 

						var nQ=5; 

						var Tk=nQ;

						var bI=5; 

						if(this.rXJ)

						{

						if(YK)

						{

						En(this.MpL,YK.isExpanded?'web/images/reveal-down-small2.png':'web/images/reveal-down-double-small.png'); 

						}

						this.Nbk.style.paddingLeft=Tk+'px';

						this.Nbk.style.fontSize=Ft+'px';

						var FP='web/images/cat-'+'private'+'.png';

						this.eWX='Category:'; 

						if(mU&&!fv) FP='web/images/spacer.gif'; 

						if(bx)

						{

						this.eWX='Public Category:'; FP='web/images/cat-'+'public'+'.png'

}

if(AW)

{

	this.eWX='Restricted Category:';

 FP='web/images/category-'+'restricted'+'.png'

}

if(ZJ){ 

	this.eWX='Imported Category:';

 FP='web/images/category-'+'imported'+'.png'

}

if(FP){

	this.ubT.style.left=(mU&&!ZJ?-29:-17)+'px'; 

this.ubT.style.top='-9px';

 En(this.ubT,FP);

 }

 SQ(this.Nbk,this.eWX); 

this.HFd='('+this.Kc.Vk()+' of '+categories.length+')';

 SQ(this.nfl,this.HFd); 

if(fv) Tk+=5;

 if(fv&&!(mU&&!ZJ)) Tk+=12; 

this.Nbk.style.paddingLeft=Tk+'px'; 

}

else{ this.tUZ.style.paddingLeft=nQ+'px'; 

}

this.tUZ.style.paddingRight=bI+'px'; 

this.agl.IX(jH||(YK&&qo.hAl&&YK.isExpanded)); 

var ph=5+Tk+(EA?13:0)+(jW?18:0)+(qo.hAl?5:0)+bI+5+(qo.hAl?vl(this.eWX,'scheme-header-text',Ft,false,false):0)+(qo.hAl?(vl(this.HFd,'scheme-header-text',Ft,false,false)+5):0); 

if(Mw) ph+=20;

 var Ba=Math.max(vl(label,'scheme-header-text',Ft,Fc,false),20); 

qo.jj(ph+Ba); 

this.ph=ph; 

}

if(this.Nsf)

	{

	var Tk=5; 

var bI=5;

 var ph=5+Tk+bI+5;

 var LV;

 LV=this.UID.offsetWidth; 

qo.jj(ph+LV);

 }

};

 function PQ()

	 {

		 if(VL!=null) YK=new cx();

 }

function cx(){

	var tR=this;

 this.isExpanded=!true;

 this.FB=false; 

this.Hd=null;

 this.GH=document.createElement('div');

 this.GH.style.position='absolute';

 this.GH.style.overflow='hidden';

 wh.appendChild(this.GH);

this.mM();

 Ep(); 

}

cx.prototype.jT=function(XGO){ var tR=this; var Is=25; 

var Nm=20;

 this.GH.style.top=WP+'px'; 

var Or=vC.qo.ql()+Is; 

var AY=lG.qo.ql(); 

if(hY){ if(hY.tkh) AY+=hY.ql();

 }

var MD=WW()-(AY+Is); 

this.GH.style.left=0+'px';

 this.GH.style.width=WW()+'px';

 this.GH.style.height=FL()+'px'; 

if(this.Hd!=null){ var tf=cx.jH(this.Hd); 

var Pf=this.Hd.top; 

var fU=this.Hd.left+Math.floor(this.Hd.width/2);

 var oO=0;

 var Kx=10000; 

for(var ii in this.WQo){ var ap=this.WQo[ii]; 

if(!this.isExpanded&&(hM!=ap.Kc)) continue;

 for(var dA in ap.MKL){ var qo=ap.MKL[dA];

 var jH=cx.jH(qo); 

var Uv=(qo==this.Hd);

 var jI=(Uv?qo.aZT:qo.top)+(jH?this.dIB:this.nEF);

 var Kj=jI-(4+(this.dIB-this.nEF)); 

if(oO<Kj) oO=Kj; 

if((Uv?qo.aZT:qo.top)<Kx) Kx=(Uv?qo.aZT:qo.top); 

}

}

if(Pf>oO){ }if(Pf<Kx){ }this.UTH.MKL.splice(this.Eab,1);

 this.tXO['virtualPages'].splice(this.Eab,1);

 var SE=false;

 for(var ii in this.WQo){ var ap=this.WQo[ii]; 

if(!this.isExpanded&&(hM!=ap.Kc)) continue;

 if((tR.FMP.sf()!=ap.Kc.sf())&&(tR.FMP.tY()!=ap.Kc.tY())) continue; 

if(!ap.Kc.ou()) continue; if(Pf<ap.hsU){ break;

 }var fN=0; var qo=ap.MKL[fN]; 

this.tXO=ap.Kc;

 this.UTH=ap; 

for(fN=0;

fN<ap.MKL.length;fN++){ qo=ap.MKL[fN];

 var jH=cx.jH(qo); 

var Hn=jH?this.dIB:this.nEF;

 var jI=qo.top+Hn;

 var hD=qo.left;

 var FG=qo.left+qo.width; var gU=qo.top+Hn-this.dIB; 

var cF=gU+this.dIB-(4+(this.dIB-this.nEF));

 this.tXO=ap.Kc; this.UTH=ap; 

if((Pf>=gU)&&(Pf<=cF)){ if(qo.eOn&&fU>=(FG-10)){ continue;

 }

else

{

 SE=true;

 break;

 }

}

}

if(SE) break;

 }

this.Eab=fN; 

this.UTH.MKL.splice(this.Eab,0,this.Hd); 

this.tXO['virtualPages'].splice(this.Eab,0,this.Hd.eS);

 this.Hd.Kc=this.tXO;

 this.Hd.ap=this.UTH; 

if(this.Hd.eS==VL&&this.FMP==hM){ hM=this.tXO;

 }

for(var ii in this.WQo){ var ap=this.WQo[ii]; 

for(var dA in ap.MKL){ var Zr=ap.MKL[dA]; 

if(!Zr.eOn){ Zr.eOn=((Zr.left+Zr.width)<=fU);

 }

else

{

 Zr.eOn=((Zr.left)<=fU); 

}

}

}

}

if(XGO){ for(var ii in this.WQo){ for(var dA in this.WQo[ii].MKL){ var qo=this.WQo[ii].MKL[dA];

 var jH=cx.jH(qo);

 qo.vNr.fL(); 

if(jH){ this.dIB=qo.NN();

 }

else

{ 

this.nEF=qo.NN();

 }

}

this.ZTT=this.WQo[ii].BT.NN(); 

this.WQo[ii].BT.vNr.fL(); 

}

}

var Og=0; 

var Wt=20; 

var de=this.isExpanded?vC.qo.NN()+10:vC.qo.NN()+6-this.dIB; 

var Kt=this.isExpanded?WW()-Nm:MD;

 var FH=this.isExpanded?Nm:Or;

 var Ql=-4;

 var Gl=1; 

this.BU();

 var ci=true; 

var TH=true; 

var EL=true;

 for(var ii in this.WQo){ var ap=this.WQo[ii];

 if(!this.isExpanded){ if(ap.Zf) ap.Zf.position(-10000,-10000);

 }

if(!this.isExpanded&&(hM!=ap.Kc)){ for(var dA in ap.MKL){ var qo=ap.MKL[dA]; 

qo.position(-10000,-10000); 

}

ap.BT.position(-10000,-10000); 

}

else

	{

	var Jm=(tR.NRn&&(tR.NRn==ap)); ci=true; EL=true; if(!TH)

		{

		de+=Wt; Og++; Kt=WW()-Nm; FH=Nm; de+=(this.nEF-Ql);

		}

		Bf=this.aL(Og); Bf.style.width=WW()+'px'; Bf.style.left=0+'px'; Bf.style.top=de+this.dIB+'px'; ap.hsU=de; if(!Jm){ 

			ap.BT.Hbd=FH; ap.BT.aZT=de+(this.dIB-this.ZTT); ap.BT.position(ap.BT.Hbd,ap.BT.aZT);

			}

			FH+=ap.BT.ql()+8; for(var dA in ap.MKL){ 

				var qo=ap.MKL[dA]; var Ub=FH+qo.ql()+Gl; if(Ub>Kt){ 

					if(!TH&&!ci){ Og++; Kt=WW()-Nm; FH=Nm; de+=(this.nEF-Ql); }Ub=FH+qo.ql()+Gl; if(!ci){ Bf=this.aL(Og); Bf.style.width=WW()+'px'; Bf.style.left=0+'px'; Bf.style.top=de+this.dIB+'px'; 

					}

					}

					ap.Ruu=de+this.dIB; var jH=cx.jH(qo); var VT=0; if(!jH) VT+=(this.dIB-this.nEF); if(this.Hd!=qo&&!Jm){ 

						qo.Hbd=FH; qo.aZT=de+VT; 

						qo.position(qo.Hbd,qo.aZT);

			}

			FH=Ub; qo.jce=(Og*4)+1+(jH?2:0); qo.RJ(qo.jce); EL=false; TH=false; ci=false; 

			}

			TH=false; if(ap.Zf){ 

			if(this.isExpanded){

			var mn=Kt-ap.Zf.ql(); if((Ub+30)>mn){

			Og++; de+=(this.nEF-Ql); Bf=this.aL(Og); Bf.style.width=WW()+'px'; Bf.style.left=0+'px'; Bf.style.top=de+this.dIB+'px';

			}

			if(!this.nEF) this.nEF=ap.Zf.NN()+5; ap.Zf.position(mn,de+5+(this.dIB-this.nEF));

			}

			else

			{

			ap.Zf.position(-10000,-10000);

			}

			}

			ap.Ruu=de+this.dIB;

			}

			}

			if(this.isExpanded){

			if(!this.nEF) this.nEF=this.dIB-6; Og++; de+=(this.nEF-Ql)+20; Bf=this.aL(Og); Bf.style.width=WW()+'px'; Bf.style.left=0+'px'; Bf.style.top=de+this.dIB+'px'; var EM=de+5+(this.dIB-this.nEF); if(loggedIn){ 

			FH=Nm; this.JVY.position(FH,EM); FH+=10+this.JVY.width; this.TWp.position(FH,EM); FH+=10+this.TWp.width; this.gcI.position(FH,EM); 

			}

			this.mc.position(Kt-this.mc.ql(),EM);

			}

			else{ if(loggedIn){ 

			this.JVY.position(-10000,-10000);

			this.TWp.position(-10000,10000); 

			this.gcI.position(-10000,-10000); 

			}

			this.mc.position(-10000,-10000); 

			}

			cd(de+this.dIB+(this.isExpanded?Wt:16));

			this.GH.style.height=de+this.dIB+20+'px'; 

			}; 

			cx.Cp=function(){

			var BZ=document.createElement('div');

			BZ.style.position='absolute';

			BZ.style.left='0px'; 

			BZ.style.top='0px';

			BZ.style.height='6px';

			BZ.style.width='1px'; 

			if(colorsAndSettings.panelDropShadowPreference!='NEVER')


			{

				En(BZ,'web/images/carousel-shadow-delimiter.png',true,true); 

				}

				else

					{

					BZ.style.borderTop='1px solid #666666';

					}

					return BZ; 

					};

					cx.prototype.aL=function(ii)

					{

					if(this.edk[ii]==undefined)

					{

					var BZ=cx.Cp(); 

					BZ.id='divider-'+ii; 

					this.edk[ii]=BZ; 

					this.GH.appendChild(BZ); 

					}

					return this.edk[ii];

					};

					cx.prototype.BU=function(){

						for(var ii in this.edk){ 

							if(ii==0) continue; this.edk[ii].style.left='-10000px'; this.edk[ii].style.top='-10000px'; 

							}

							};

							cx.prototype.mM=function(){

								var tR=this;

								this.edk=new Array();

								var BZ=this.GH; NQ(BZ); 

								this.WQo=new Array();

								for(var ii in categories)

								{ 

									var Kc=categories[ii]; 

									var ap=new YE();

									this.WQo.push(ap); 

									ap.Kc=categories[ii];

									ap.MKL=new Array(); 

									var BT=new Pd(); 

									BT.bid=true; 

									BT.hAl=true; 

									BT.Kc=Kc; 

									ap.BT=BT; 

									BT.vNr=new pu(); 

									BT.vNr.Gb(false,true,false,BT,Kc); 

									BT.bc(BZ,BT.vNr.BZ,null,Kc['schemeOffset'],false,true,null,null,null); 

									BT.vNr.BZ.style.cursor='pointer';

									BT.RJ(1000);

									BT.BZ.onmousedown=function(BT,ap)

									{

									return function(qX)

									{

							if(YK.ErW) 

							return; 

							if(!YK.isExpanded)

							{ 

								YK.sh(true);

								}

								else

								{ 

									Po(qX,qo.BZ,qo,function(GH,XdN,saE,WcL)

									{

										tR.NRn=ap; FT.Ms(); 

										},

										function(GH,XdN,mW,CJ,saE,WcL)

										{

										if(!loggedIn) 

										return; 

										BT.position(BT.Hbd,BT.aZT+CJ); 

										for(var dA in ap.MKL)

											

											{

											var qo=ap.MKL[dA]; qo.position(qo.Hbd,qo.aZT+CJ); 

										}

										for(var dA in categories)

											{

											if(categories[dA]==ap.Kc) 

											break; 

											}

											var SB=dA; categories.splice(SB,1);

											tR.WQo.splice(SB,1); 

											for(var dA=0;dA<tR.WQo.length;dA++){ 

												if(tR.WQo[dA].BT.aZT>(ap.BT.aZT+CJ)) 

												break; 

												}

								var KM=dA; categories.splice(KM,0,ap.Kc);

												tR.WQo.splice(KM,0,ap); 

									if(KM!=SB){ tR.jT(false); 

										}

										},

										function(GH,XdN,mW,CJ,saE,WcL)

										{

										

													tR.NRn=null; tR.jT(false);

													if((Math.abs(mW)<4)&&(Math.abs(CJ)<4))

													{

														tR.FB=false; 

														}

														else

															{

								tR.FB=true; if(loggedIn) fl(); YK.Iu(); 

								}

								}

								);

								}

								return true;

								}

								}

								(BT,ap); if(Kc.ou())

									{

									var Zf=new Pd(); ap.Zf=Zf; Zf.bid=true; 

									Zf.vNr=new pu(); 

									var fA=document.createElement('div');

									//******************** Comment ********************
									// Call Function Create the Image tag
									
									var SK=VD(); SK.width=11; SK.height=11; 
									
									SK.src='web/images/add-item.gif'; 
									
									//******************** Comment ********************
									// Call the function for create New tab.
									
									var CP=kC('New tab',11,false);

                              //******************** Comment ********************
                              // Apply the styles for this tab.
                              
							  CP.className='scheme-header-text';

							  CP.style.fontWeight='normal'; 

							  CP.style.whiteSpace='nowrap';

							  fA.appendChild(wu([SK,Nj(5),CP]));

							  Zf.vNr.Gb(false,false,true,Zf,Kc,fA); 

							  Zf.bc(BZ,Zf.vNr.BZ,null,'10',false,true,null,null,null);

							  Zf.vNr.BZ.style.cursor='pointer';

							  Zf.vNr.fL(); 

							  Zf.vNr.BZ.onmousedown=function(Kc)

							  { 

							  return function(qX)

							  { 

							  preventDefault(qX); 

							  var Rt=document.createElement('div'); 

							  Rt.style.paddingLeft='10px';

							  Rt.style.paddingRight='10px';

							  Rt.style.paddingTop='5px';

							  Rt.style.paddingBottom='5px';

							  Rt.appendChild(kC('Syncing with server, please wait...',12,false,false)); 

							  var cM=es(qX); 

							  var LB=new LE

							  (cM.x,cM.y,true,2000,'00',Rt,!false,false,null,wh,null,null,null,true); 

							  var ta=new Array(); 

							  ta.push(new wK('excellenId',Kc.tY())); 

							  var PA=new hG(Kc.sf(),Kc.tY(),Kc['id'],excellenPath,'request-new-virtual-page-id',ta); 

							  PA.NU=function(PA,GN)

							  { 

							  var uS=parseInt(GN); 

							  if(Kc.sf()!=accountId&&Kc.tY()!=excellenId){ uS=Kc.sf()+'-'+Kc.tY()+'-'+uS; 

							  }

							  var LC=new Cr(); LC['id']=uS; 

							  var Yq=uS+'';

							  if(Yq.indexOf('-')!=-1) Yq=Yq.substring(Yq.lastIndexOf('-')+1); 

							  LC['label']='Untitled tab '+Yq; 

							  LC['type']='local'; 

							  LC['positioning']='free'; 

							  LC['schemeOffset']=Kc['schemeOffset'];

							  virtualPages.push(LC); 

							  Kc['virtualPages'].push(LC['id']);

							  LC.nT(); 

							  LB.position(-10000,-10000); 

							  YK.mM(); 

							  };

							  commandProcessor.aA(PA); 

							  };

							  }

							  (Kc); 

							  }

							  for(var dA in Kc['virtualPages'])

							  { 

							  var eS=Kc['virtualPages'][dA]; 

							  var rv=ZF(eS); 

							  if(rv!=null)

							  {

							  var qo=new Pd(); 

							  qo.xWt=true; 

							  qo.rv=rv; 

							  qo.eS=eS; 

							  qo.Kc=Kc; 

							  qo.ap=ap; 

							  ap.MKL.push(qo);

							  qo.vNr=new pu();

							  qo.vNr.Gb(true,false,false,qo);

							  qo.bc(BZ,qo.vNr.BZ,null,rv['schemeOffset'],false,true,null,null,null);

							  qo.BZ.style.cursor='move'; 

							  qo.ho.style.cursor='pointer'; 

							  qo.BZ.onmousedown=function(qo)

							  {

							  return function(qX)

							  {

							  if(YK.ErW) 

							  return; 

							  Po(qX,qo.BZ,qo,function(GH,XdN,saE,WcL)

							  { 

							  tR.Hd=qo;

							  tR.FMP=qo.Kc; 

							  tR.ccb=qo.ap; 

							  tR.sTb=cx.aC(qo);

							  tR.tXO=tR.FMP;

							  tR.UTH=tR.ccb;

							  tR.Eab=tR.sTb;

							  qo.Hbd=qo.left; 

							  qo.aZT=qo.top;

							  var fU=qo.left+Math.floor(qo.width/2); 

							  for(var ja in tR.Hd.ap.MKL)

							  {

							  var Zr=tR.Hd.ap.MKL[ja];

							  Zr.eOn=((Zr.left+12)<=fU); 

							  }

							  },

							  function(GH,XdN,mW,CJ,saE,WcL)

							  {

							  if(!tR.FMP.ou())

							  return;

							  if(true)

							  {

							  tR.jT(false); 

							  qo.position(qo.Hbd+mW,qo.aZT+CJ); 

							  }

							  if((Math.abs(mW)<4)&&(Math.abs(CJ)<4))

							  {

							  tR.FB=false; 

							  }

							  else

							  {

							  tR.FB=true; FT.Ms(); 

							  }

							  },

							  function(GH,XdN,mW,CJ,saE,WcL)

							  {

							  var Hd=tR.Hd; 

							  tR.Hd=null; 

							  qo.RJ(qo.jce); 

							  tR.jT(false); 

							  if((Math.abs(mW)<4)&&(Math.abs(CJ)<4))

							  {

					  tR.FB=false; 

					  }

					  else

					  {

					  tR.FB=true; 

					  }

					  if(!tR.FMP.ou()) 

					  return;

					  var Cv=false; 

					  if(tR.FMP!=tR.tXO)

					  {

					  var Ig=false;

					  var cA=null;

					  for(var ja in tR.tXO['virtualPages'])

					  {

					  if(tR.tXO['virtualPages'][ja]==Hd.eS)

					  {

					  if(Ig)

					  {

					  Cv=true; cA=ja; 

					  }

					  Ig=true; 

					  }

					  }

					  if(Cv)

					  {

					  tR.tXO['virtualPages'].splice(cA,1);

					  tR.FMP['virtualPages'].push(Hd.eS);

					  YK.mM();

					  }

					  }

					  else

					  {

					  if(tR.Eab!=tR.sTb)

					  {

					  tR.FMP.oo(); 

					  }

					  }

					  if(!Cv&&(tR.FMP!=tR.tXO))

					  { 

					  var Zh=document.createElement('div'); 

					  Zh.style.paddingLeft='10px';

					  Zh.style.paddingRight='10px';

					  Zh.style.paddingTop='5px';

					  Zh.style.paddingBottom='5px'; 

                      // For moving or copy the tab.
					  var se=kC('Did you want to:',12,false,false);

					  se.style.paddingBottom='10px'; 

					  var mX=document.createElement('div');

					  mX.appendChild(fk('Move',15,true,null,function()

					  {

					  Sx(tR.FMP,tR.tXO,Hd.eS); tR.FMP.oo(); tR.tXO.oo(); tR.THE.position(-10000,-10000); 

					  },

					  null,true));

                      //******************** Comment ********************
                      // For moving the tab
                     
					  mX.appendChild(wb(' the tab to this category, or'));

					  var dn=document.createElement('div'); 

					  dn.appendChild(fk('Copy',15,true,null,function()

					  {

					  tR.THE.position(-10000,-10000);

					  var RR=false; 

					  for

					  (var ja in tR.FMP['virtualPages'])

					  {

					  if(tR.FMP['virtualPages'][ja]==Hd.eS) RR=true; 

					  }

					  if(!RR)

					  {

					  tR.FMP['virtualPages'].push(Hd.eS);

					  aG(tR.FMP,tR.tXO,Hd.eS); 

					  tR.FMP.oo(); tR.tXO.oo(); 

					  }

					  YK.mM(); 

					  },

					  null,true));

                      //******************** Comment ********************
                      // For Copy the tab 
                      
					  dn.appendChild(wb(' the tab to this category?')); 

					  Zh.appendChild(se); 

					  Zh.appendChild(mX); 

					  Zh.appendChild(dn); 

					  var BW=Hd.left+Hd.ql()-20; 

					  var JR=Hd.top+Hd.NN(); 

					  if(!tR.THE)

					  {

					  tR.THE=new LE(BW,JR,true,2000,'04',Zh,!false,true,null,wh,null,null,null,true);

					  tR.THE.Rj(function()

					  {

					  tR.THE.position(-10000,-10000); 

					  });

					  }

					  else

					  {

					  tR.THE.QX(Zh);

					  tR.THE.position(BW,JR,false); }

					  }

					  }); 

					  return true; 

					  }

					  }

					  (qo);

					  var MX=function(qo)

					  { 

					  KI(qo.BZ,function()

					  { 

					  if(cZ!=null)

					  { 

					  var Jk=true; 

					  if(!cZ.ou()) Jk=false; 

					  if(!qo.rv.ou()) Jk=false; 

					  if(cZ.TU()!=qo.rv.sf()) Jk=false; 

					  if(cZ.Ve()!=qo.rv.tY()) Jk=false; 

					  if(Jk){ qo.vNr.sBO.style.display='block'; 

					  }

					  }

					  }

					  );

					  qq(qo.BZ,function()

					  {

					  qo.vNr.sBO.style.display='none'; 

					  });

					  LD(qo.BZ,function()

					  { qo.vNr.sBO.style.display='none'; 

					  if(cZ!=null){ var Jk=true; 

					  if(!cZ.ou()) Jk=false; 

					  if(!qo.rv.ou()) Jk=false; 

					  if(cZ.TU()!=qo.rv.sf()) Jk=false; 

					  if(cZ.Ve()!=qo.rv.tY()) Jk=false; 

					  if(Jk) xZ(cZ,qo.eS); }

					  }); 

					  }

					  (qo); qo.BZ.onmouseover=function(qo)

					  { 

					  return function()

					  { 

					  var jH=cx.jH(qo); 

					  if(jH) qo.ho.style.textDecoration='underline'; qo.mi=true; 

					  return true; 

					  }

					  }

					  (qo); qo.BZ.onmouseout=function(qo)

					  {

					  return function()

					  {

					  qo.ho.style.textDecoration='none'; qo.mi=false; 

					  return true; 

					  }

					  }

					  (qo); qo.vNr.tUZ.onclick=function(qo)

					  { 

					  return function(qX)

					  { 

					  if(tR.FB==true)

					  { 

					  return true; 

					  };

					  var jH=cx.jH(qo);

					  if(!jH)

					  { 

					  qo.ho.style.textDecoration='none'; tR.pr(qo); 

					  }

					  return true; 

					  }

					  }

					  (qo); 

					  }

					  }

					  }

					  if(loggedIn)

					  { 

                      //******************** Comment ********************
                      // Call Function For Generating the 'New category', 'New public category', 'New restricted category'
                      
					  this.JVY=this.kX('New category'); 

					  this.TWp=this.kX('New public category',true); 

					  this.gcI=this.kX('New restricted category',false,true); 

					  }

					  var mc=new Pd();

					  this.mc=mc; mc.bid=true; mc.vNr=new pu(); 

					  var OH=document.createElement('div'); OH.style.fontSize='0px';

					  var Xt=document.createElement('div');

					  Xt.style.fontSize='0px';

					  Xt.style.width='13px'; 

					  Xt.style.height='14px'; 

					 //******************** Comment ********************
					 // Call function for set the Icon
					 
					  En(Xt,'web/images/reveal-up-double-small.png');

					  Xt.style.backgroundPosition='0px 0px'; 

					  OH.appendChild(wu([Uf(1),Xt,Uf(pw('scheme-header-text',11,false,false))]));

					  mc.vNr.Gb(false,false,true,mc,Kc,OH); mc.bc(BZ,mc.vNr.BZ,null,'10',false,true,null,null,null);

					  mc.vNr.BZ.style.cursor='pointer'; 

					  mc.vNr.fL();

					  mc.vNr.BZ.onmousedown=function(qX)

					  {

					  preventDefault(qX); YK.sh(false); 

					  }; 

					  this.jT(true); 

					  };

					  cx.prototype.pr=function(qo)

					  {

					  hM=qo.Kc; pj(qo.rv['id']); 

					  if(this.isExpanded) 

					  this.isExpanded=false; 

					  this.jT(true);

					  };

					  cx.jH=function(qo)

					  { 

					  if(qo.bid) 

					  return false; 

					  return(qo.rv.od()&&hM==qo.Kc); 

					  };

					  cx.prototype.Iu=function()

					  { 

					  for(var ii in this.WQo)

					  { 

					  var ap=this.WQo[ii]; 

					  var BT=ap.BT; BT.vNr.fL(); BT.MAW.position(); 

					  }

					  this.jT(false); 

					  };

					  cx.prototype.sh=function(isExpanded)

					  {

					  FT.Ms(); 

					  var tR=this; 

					  this.isExpanded=isExpanded; 

					  if(!isExpanded)

					  {

					  if(tR.THE)

					  { 

					  tR.THE.position(-10000,-10000);

					  }

					  }

					  for(var ii in this.WQo)

					  {

					  var ap=this.WQo[ii]; 

					  var BT=ap.BT; BT.vNr.fL(); 

					  }

					  this.jT(false); 

					  setTimeout(function()

					  { 

					  for(var ii in tR.WQo) tR.WQo[ii].BT.vNr.agl.IX(isExpanded); 

					  },

					  1);

					  this.brH=new Date().getTime(); 

					  }; 

                      //************************  Comment   ************************
                      // Function For Creating the 'New category', 'New public category', 'New restricted category'
					 
					  cx.prototype.kX=function(label,bx,AW)

					  {

					  var pD=new Pd(); 

					  pD.bid=true; 

					  pD.vNr=new pu(); 

					  var cc=document.createElement('div');

					 
					 //************************  Comment   ************************
					 // Create the Image tag
					 
					  var SK=VD(); 

					  SK.width=11; 

					  SK.height=11; 

					  
					  //************************  Comment   ************************
					  // set the Icon
					 
					  SK.src='web/images/add-item.gif'; 

					  var CP=kC(label,11,false); 

					  CP.className='scheme-header-text'; 

					  CP.style.whiteSpace='nowrap'; 

					  CP.style.fontWeight='normal'; 

					  cc.appendChild(wu([SK,Nj(5),CP]));

					  pD.vNr.Gb(false,false,true,pD,null,cc);

					  pD.bc(this.GH,pD.vNr.BZ,null,'10',false,true,null,null,null); 

					  pD.vNr.BZ.style.cursor='pointer';

					  pD.vNr.fL(); 

					  pD.vNr.BZ.onmousedown=function(qX)

					  { 

					  preventDefault(qX);

					  var Rt=document.createElement('div'); 

					  Rt.style.paddingLeft='10px'; 

					  Rt.style.paddingRight='10px'; 

					  Rt.style.paddingTop='5px'; 

					  Rt.style.paddingBottom='5px'; 

					  //************************  Comment   ************************
					  // Call Function for displaying message when creating New Tab (New Category, New Public Category, New Restricted Category etc. )
					  
					  Rt.appendChild(kC('Syncing with server, please wait...',12,false,false)); 

					  var cM=es(qX); 

					  var LB=new LE(cM.x,cM.y,true,2000,'00',Rt,!false,false,null,wh,null,null,null,true); 

					  De.MZ(bx,AW,function()

					  { 

					  LB.position(-10000,-10000); YK.mM(); 

					  });

					  }; 

					  return pD; 

					  }; 

					  cx.aC=function(qo)

					  {

					  var ap=qo.ap; 

					  for(var ii in ap.MKL)

					  { 

					  var CB=ap.MKL[ii]; 

					  if(qo==CB)

					  { 

					  return ii; 

					  }

					  }

					  };

                    
                    //************************  Comment   ************************
                    // Function For setting the Category: Pessoal Tab setting
					  
					  function XM(qo)

					  {

					  var tR=this; 

					  this.qo=qo; 

					  this.Kc=this.qo.Kc; 

					  FT.Rj(function()

					  { 

					  tR.Kc.nT(); YK.Iu(); 

					  }); 
					  
					  
					  //************************  Comment   ************************
					  // For setting the Category: Pessoal Tab Color and others

					  var x=qo.left+qo.BZ.offsetWidth-14; 

					  var y=qo.top+qo.BZ.offsetHeight-10; 

					  this.BZ=document.createElement('div'); 

					  this.BZ.className='scheme-body-text'; 

					  this.BZ.style.fontSize='12px'; 

					  this.BZ.style.paddingLeft='15px'; 

					  this.BZ.style.paddingRight='15px'; 

					  this.BZ.style.paddingTop='5px'; 

					  this.BZ.style.paddingBottom='5px'; 

					  this.BZ.style.width='400px'; 

					  this.BZ.appendChild(Nj(430)); 

					  this.BZ.appendChild(kC('Category settings',14,true)); 

					  this.BZ.appendChild(Uf(16)); 

					  this.jAQ=new BG(function(wS)

					  {

					  tR.Kc['schemeOffset']=wS; tR.qo.wS=wS; tR.qo.Ns(); tR.Kc.nT(); 

					  });

					  this.BZ.appendChild(wu([kC('Category color',12,false),Nj(18),this.jAQ.BZ]));

					  this.BZ.appendChild(Uf(12)); 

					  this.qjN=document.createElement('div'); 

					  this.qjN.appendChild(kC('Sharing',12,false)); 

					  this.qjN.appendChild(Uf(5)); 

					  this.qjN.style.marginBottom='5px'; 

					  this.BZ.appendChild(this.qjN); 

					 
					  
					  //************************  Comment   ************************
					  // Call function for creating radio buttons
					  
					  this.NrL=new mS(['Private','Public','Restricted'],['private','public','restricted'],function(value){ tR.Kc['sharing']['type']=value; tR.cj(); });

					  this.qjN.appendChild(this.NrL.GH); 

					  this.qjN.appendChild(Uf(6)); 

					  this.qjN.style.display=this.Kc.ZJ()?'none':'block'; 

					  this.lls=document.createElement('div'); 

					  this.lls.style.display=(this.Kc.ZJ()&&!CY())?'block':'none'; 

					  if(this.Kc.ZJ())

					  {

					  this.lls.appendChild(kC('This tab has been imported from http://66.7.200.176/~excellen/excellentglobal/Widgts/'+tR.Kc['sharing']['granterexcellenPath'],12,false)); 

					  this.lls.appendChild(Uf(6)); 

					  this.lls.appendChild(kC('If you have been assigned a special password to access this category, please enter it here:',12,false)); 

					  this.lls.appendChild(Uf(6)); 

					  var EE=bZ(tR.Kc['sharing']['guestPassword'],120,hE,function(daF,value){ tR.Kc['sharing']['guestPassword']=value; 

					  },

					  null,12); 

					  this.lls.appendChild(wu([kC('Password: ',12,false),Nj(10),EE,Nj(10),fk('Save and reload',12,false,0,function()

					  { 

					  tR.Kc.nT(function()

					  {

					  document.location.reload(); 

					  });

					  },

					  null,true)])); 

					  this.lls.appendChild(Uf(6));

					  if(tR.Kc['sharing']['guestPasswordState']!='correct')

					  { 

					  this.lls.appendChild(kC('Warning: The password you have entered has not been recognized. You only need to enter a password here if the owner of the imported category has specially assigned you one. If your password no longer works, it means that the owner of the category you have imported has either switched off sharing or changed the password. Please contact them directly.',12,false)); 

					  }

					  }

					  this.BZ.appendChild(this.lls); 

					  this.wxt=document.createElement('div'); 

					  this.BZ.appendChild(this.wxt); 

					  this.wxt.style.display=CY()?'block':'none'; 

					  var rl=document.createElement('div'); 

					  rl.appendChild(document.createTextNode('Registre sua pagina. Suas configuracoes permanecerao indefinidademente. Compartilhe sua pagina com amigos.'));

					  var Jx=document.createElement('div'); 

					  Jx.style.paddingTop='12px'; 

					  Jx.appendChild(document.createTextNode('To enable sharing, please register your Widget by ')); 

					  var Fp=document.createElement('span'); 

					  Fp.appendChild(document.createTextNode('clicking here')); 

					  Fp.style.cursor='pointer'; 

					  Fp.style.textDecoration='underline'; 

					  Fp.style.fontWeight='bold'; 

					  Fp.onclick=function(){ wE(); };

					  Jx.appendChild(Fp);

					  this.wxt.appendChild(rl); 

					  this.wxt.appendChild(Jx); 

					  this.ZLQ=document.createElement('div'); 

					  this.BZ.appendChild(this.ZLQ); 

					  this.xTo=document.createElement('div'); 

					  this.xTo.style.paddingTop='12px'; 

					  this.BZ.appendChild(this.xTo); 

					  this.xTo.appendChild(this.Kk('Set a password to allow others to view tabs in this category','Guests will be able to log into your page with this password and view the tabs in this category. They will only be able to view the tabs, and will not be able to change their contents.',tR.Kc['sharing']['viewPassword'],function(value)

					  {

					  tR.Kc['sharing']['viewPassword']=value; 

					  }));

					  this.FMA=document.createElement('div'); 

					  this.FMA.style.paddingTop='12px'; 

					  this.BZ.appendChild(this.FMA); 

					  this.FMA.appendChild

					  (this.Kk('Set a password to allow others to modify tabs in this category','Guests will be able to log into your page with this password and modify the contents of the tabs in this category. They will be able to change, add or delete widgets. They will also be able to rename and reorder the tabs.',tR.Kc['sharing']['modifyPassword'],function(value){ tR.Kc['sharing']['modifyPassword']=value; 

					  })); 

					  this.BZ.appendChild(Uf(15));

					  var lf=document.createElement('div'); 

					  lf.style.fontSize='0px'; 

					  lf.style.width='11px'; 

					  lf.style.height='11px'; 

					  lf.style.marginTop='2px';

					  En(lf,'web/images/todo-cross.png'); 
					  
					  
					  //************************  Comment   ************************
					  // Call function fro 'delete this category' Tab

					  var SZ=wu([lf,Nj(6),fk('Delete this category',12,false,0,function(){ },null,true)]); 

					  var dk=document.createElement('div'); 

					  dk.style.clear='both'; 

					  dk.style.cursor='pointer';

					  dk.style.marginTop='2px'; 

					  dk.appendChild(SZ); 

					  dk.onclick=function()

					  { 

					  FT.Ms(); 

					  if(tR.Kc.ZJ())

					  { 

                      
                      //************************ Comment ************************
                      // Confirm Message or Alerts when delete the Category.
                      
					  var Bn=confirm("You are about to remove this imported category from your Widgt. Are you sure?"); 

					  if(Bn)

					  {

					  tR.Kc.ar(); YK.mM(); 

					  }

					  }

					  else

					  { 

					  var Of=0; 

					  for(var ii=0;ii<categories.length;ii++)

					  { 

					  if(!categories[ii].ZJ()) Of++; 

					  }

					  if(Of<2)

					  {

					  alert('You cannot delete this category, because you must have at least one (non-imported) category within your Widgt.'); 

					  }

					  else if(tR.Kc['virtualPages'].length>0)

					  { 

					  alert('As a safety precaution, you must delete all tabs within this category before you can delete it.'); 

					  }

					  else

					  { 

					  var Bn=confirm("You are about to permanently delete this category from your Widgt. Are you sure?"); 

					  if(Bn)

					  {

					  tR.Kc.ar(); YK.mM(); 

					  }

					  }

					  }

					  };

                      
                      //************************ Comment ************************
                      // For Cancel the Category: Pessoal Tab setting
					  var sw=fk('Cancel',12,false,0,function()

					  { 

					  FT.Ms(); 

					  },

					  null,true); 

					  sw.style.display='block'; 

					  sw.style.paddingBottom='1px'; 

					  var TE=fk('Save',14,true,0,function()

					  {

					  FT.Ms(); tR.Kc.nT(); YK.Iu(); 

					  },

					  null,true); 
					  
					  

					  this.BZ.appendChild(dk); 

					  var Xw=wu([sw,Nj(10),TE],'bottom'); Gp(Xw); 

					  this.BZ.appendChild(Xw); 

					  this.BZ.appendChild(Uf(5)); 

					  setTimeout(function()

					  { 

					  tR.NrL.Iq(tR.Kc['sharing']['type']); 

					  },

					  1);

					  FT.oB(this.BZ,x,y); 

					  this.cj(); 

					  }

					  XM.prototype.cj=function()

					  { 

					  var value=this.Kc['sharing']['type']; 

					  this.wxt.style.display=CY()?'block':'none'; 

					  this.ZLQ.style.display=CY()?'none':'block'; 

					  this.xTo.style.display='none'; 

					  this.FMA.style.display='none'; 

					  if(!CY())

					  { 

					  if(value=='private')

					  { 

					  SQ(this.ZLQ,'Only you can see the tabs in this category (unless some of the tabs have been shared via other categories).');

					  }

					  if(value=='public')

					  {

					  SQ(this.ZLQ,'Tabs in this category can be viewed by anyone when they visit the URL http://66.7.200.176/~excellen/excellentglobal/Widgts/'+excellenPath); 

					  this.FMA.style.display='block'; 

					  }

					  if(value=='restricted')

					  {

					  SQ(this.ZLQ,'No one will be able to view or modify tabs in this category unless you give them a password. Guests that know the password can access your tabs at the URL http://66.7.200.176/~excellen/excellentglobal/Widgts/'+excellenPath); 

					  this.xTo.style.display='block'; 

					  this.FMA.style.display='block'; 

					  }

					  }

					  FT.fm.AP(); 

					  };

					  XM.prototype.Kk=function(description,wix,vix,NOD)

					  {

					  var table=document.createElement('table');

					  var JH=document.createElement('tbody'); 

					  var QM=document.createElement('tr');

					  var wC=document.createElement('tr'); 

					  var XY=document.createElement('tr'); 

					  var AF=document.createElement('td'); 

					  var SG=document.createElement('td'); 

					  var Eb=document.createElement('td'); 

					  var Xu=document.createElement('td'); 

					  var Bh=document.createElement('td'); 

					  var XN=document.createElement('td'); 

					  table.appendChild(JH); 

					  JH.appendChild(QM); 

					  JH.appendChild(wC); 

					  JH.appendChild(XY); 

					  QM.appendChild(AF); 

					  QM.appendChild(SG); 

					  wC.appendChild(Eb); 

					  wC.appendChild(Xu); 

					  XY.appendChild(Bh); 

					  XY.appendChild(XN); 

					  QM.vAlign='top'; 

					  var Ok=document.createElement('input'); 

					  Ok.type='checkbox'; 

					  Ok.style.margin='1px'; 

					  Ok.style.width='4ex'; 

					  if(!vix) vix=''; 

					  Ok.checked=vix!=''; 

					  AF.appendChild(Ok); 

					  SG.appendChild(kC(description,12,false)); 

					  var GD; 

					  var np=bZ(vix,120,hE,function(qET,value)

					  { 

					  if(NOD) NOD(value); 

					  },

					  function(pjK){ GD=pjK; },12);

					  var jB=document.createElement('div');

					  jB.style.paddingTop='4px'; 

					  var Je=wu([kC('Password: ',12,false),Nj(10),np]);

					  jB.appendChild(Je); 

					  Xu.appendChild(jB); 

					  var Bu=kC(wix,12,false); 

					  Bu.style.paddingTop='6px'; 

					  XN.appendChild(Bu);

					  Ok.onclick=function()

					  { 

					  if(Ok.checked)

					  { 

					  jB.style.display='block'; 

					  Bu.style.display='block'; 

					  }

					  else

					  {

					  jB.style.display='none';

					  Bu.style.display='none'; 

					  GD.value=''; NOD(''); 

					  }

					  FT.fm.AP(); 

					  }; 

					  jB.style.display='none'; 

					  Bu.style.display='none'; 

					  if(vix!='')

					  {

					  jB.style.display='block'; 

					  Bu.style.display='block'; 

					  }

					  return table; 

					  }; 

					  function ik(bLa,ot)

					  { 

					  var tR=this; 

					  this.BZ=document.createElement('div'); 

					  this.BZ.style.width=55+'px'; 

					  this.BZ.style.height=25+'px'; 

					  this.BZ.style.cursor='pointer'; 

					  this.bLa=bLa; Hx('web/images/bw-choice-black.gif'); 

					  Hx('web/images/bw-choice-white.gif'); 

					  this.BZ.onmousedown=function()

					  { 

					  tR.bLa=!tR.bLa; tR.gb(tR.bLa); 

					  };

					  this.gb(this.bLa); 

					  this.ot=ot; 

					  }

					  ik.prototype.vb=function(YH)

					  {

					  this.gb(YH.toLowerCase()!='ffffff'); 

					  };

					  ik.prototype.gb=function(bLa)

					  {

					  this.bLa=bLa; 

					  this.BZ.style.backgroundImage=bLa?'url(web/images/bw-choice-black.gif)':'url(web/images/bw-choice-white.gif)'; 

					  if(this.ot) this.ot(bLa?'000000':'ffffff'); 

					  };

					  function AT()

					  {

					  this.efh=false; 

					  this.BZ=document.createElement('div'); 

					  }

					  AT.prototype.open=function()

					  {

					  if(this.efh==true) return; 

					  this.efh=true; 

					  if(!this.fm)

					  { 

					  this.Dv(); 

					  }

					  else

					  { 

					  this.fm.sV(); 

					  }

					  this.hii=new Array();

					  for(var ii in colorsAndSettings) 

					  this.hii[ii]=colorsAndSettings[ii]; 

					  this.HP(); 

					  }; 

					  AT.prototype.close=function(ZEL)

					  {

					  if(this.efh==false) 

					  return; 

					  this.efh=false; 

					  if(!ZEL)

					  { 

					  for(var ii in this.hii) colorsAndSettings[ii]=this.hii[ii]; 

					  this.fm.hide(); 

					  }

					  else

					  { 

					  NQ(this.WwP); 

					  this.WwP.appendChild(document.createTextNode('Saving and reloading...')); 

					  this.WwP.style.textDecoration='none'; 

					  colorsAndSettings.wallpaperImageUrl=this.mNG.TO(); 

					  LK(true); 

					  }

					  };

					  AT.prototype.Dv=function()

					  {

					  var tR=this; if(!this.fm)

					  {

					  this.fm=LE.cY(this.BZ); 

					  this.BZ.style.overflow='auto'; 

					  var table=document.createElement('table');

					  var JH=document.createElement('tbody'); 

					  var QM=document.createElement('tr'); 

					  var jA=document.createElement('td'); 

					  var Fb=document.createElement('td'); 

					  table.width='100%'; 

					  table.border='0'; 

					  QM.align='center'; 

					  jA.align='center';

					  Fb.align='center'; 

					  jA.vAlign='top'; 

					  Fb.vAlign='top'; 

					  var BP=document.createElement('div');

					  BP.appendChild(fk('Load defaults',12,false,null,function()

					  { 

					  colorsAndSettings.headerForegroundColor='FFFFFF'; 

					  colorsAndSettings.headerBackgroundColor='436773'; 

					  colorsAndSettings.bodyForegroundColor='000000';

					  colorsAndSettings.bodyBackgroundColor='FFFFFF'; 

					  colorsAndSettings.backgroundColor='719FB1'; 

					  colorsAndSettings.backgroundMode='WALLPAPER_IMAGE';

					  colorsAndSettings.wallpaperImageUrl='web/images/wallpaper/egyellow.jpg'; 

					  colorsAndSettings.wallpaperMode='TILE';

					  colorsAndSettings.panelDropShadowPreference='ALWAYS';

					  colorsAndSettings.openLinksInNewWindow=true; 


					  tR.HP(); tR.PKk.cC(); tR.PKk.xl(); 

					  },

					  null,true));

					  BP.appendChild(wo(5));

					  BP.appendChild(fk('Cancel',12,false,null,function(){ tR.close(false); },

					  null,true)); 

					  BP.appendChild(wo(6)); 

					  this.WwP=fk('Save',18,true,null,function()

					  { 

					  tR.close(true); 

					  },

					  null,true); 

					  BP.appendChild(this.WwP); 

					  BP.style.paddingBottom='18px'; 

					  BP.appendChild(wo(3)); 

					  Gp(BP); 

					  this.BZ.appendChild(BP); 
					  
					  
					  //**************************** Comment ****************************
					  // For setting the Colors/Setting for backgraund and all tabs of the page

					  var MY=kC('Colors and settings',18,true); 

					  MY.style.paddingBottom='28px'; 

					  this.BZ.appendChild(MY); 

					  this.BZ.appendChild(table); 

					  table.appendChild(JH); 

					  JH.appendChild(QM); 

					  QM.appendChild(jA); 

					  QM.appendChild(Fb); 

					  var eb=document.createElement('div');

					  var Ox=document.createElement('div'); 

					  eb.style.width='350px'; 

					  Ox.style.width='450px'; 

					  eb.style.textAlign='left';

					  Ox.style.textAlign='left'; 

					  jA.appendChild(eb); Fb.appendChild(Ox); 

					  this.PKk=new Xn(Ox);

                      
                      //************************ Comment ************************
                      // Setting the all Tabs Background color
                      
					  var sn=kC('Widget title background color',12,false); 

					  sn.style.paddingBottom='8px'; 

					  eb.appendChild(sn); 

					  this.TOh=new Sl(eb,false,function(Tn)

					  { 

					  tR.PKk.ZR(Tn); colorsAndSettings.headerBackgroundColor=Tn; 

					  });

                      
                      //************************ Comment ************************
                      // Setting the Contants of all Tabs Background color
					  var iU=kC('Widget content background color',12,false);

					  iU.style.paddingBottom='8px'; 

					  eb.appendChild(iU); 

					  this.IFt=new Sl(eb,false,function(Tn)

					  {

					  tR.PKk.bQ(Tn); colorsAndSettings.bodyBackgroundColor=Tn; 

					  });

					  var Tc=kC('Preview',14,true); 

					  Tc.style.paddingBottom='8px';

					  Ox.appendChild(Tc); 

					  Ox.appendChild(Uf(12)); 

					  this.Hav=new ik(false,function(Tn)

					  { 

					  tR.PKk.sN(Tn); 

					  colorsAndSettings.headerForegroundColor=Tn; 

					  });

					  this.kTR=new ik(!true,function(Tn)

					  {

					  tR.PKk.JK(Tn); colorsAndSettings.bodyForegroundColor=Tn; 

					  });


                      //************************ Comment ************************
                      // for Setting the all Tab Title color  (Black Or White)
					  Ox.appendChild(wu([ kC('Widget title text color',12,false),Nj(7),this.Hav.BZ,Nj(24),kC('Widget content text color',12,false),Nj(7),this.kTR.BZ,])); 

					  this.uOx=document.createElement('table'); 

					  this.uOx.cellSpacing=5; 

					  this.neG=document.createElement('tbody'); 

					  this.uOx.appendChild(this.neG); 

					  Ox.appendChild(Uf(18));

                      //************************ Comment ************************
                      // for Setting the Page background  Wallpaper image, Pattern, Plain color
   
					  Ox.appendChild(kC('Page background',12,true));

					  Ox.appendChild(Uf(5)); 

					  Ox.appendChild(this.uOx); 

					  this.STN=document.createElement('table');

					  this.STN.cellSpacing=5; 

					  this.KmG=document.createElement('tbody'); 

					  this.STN.appendChild(this.KmG); 
					  
					  
					  //************************ Comment ************************
					  // For Page Setting

					  eb.appendChild(kC('Page settings',12,true)); 

					  eb.appendChild(this.STN); 

					  var ZM=document.createElement('tr'); 

					  var MF=document.createElement('td'); 

					  MF.colSpan=3; ZM.appendChild(MF); 

					  this.DxO=new Sl(MF,false,function(Tn)

					  { 

					  colorsAndSettings.backgroundColor=Tn; tR.PKk.cC(); 

					  });

					  var Mx=document.createElement('tr'); 

					  var hs=document.createElement('td'); 

					  var AI=document.createElement('td'); 

					  AI.colSpan=2; Mx.appendChild(hs); 

					  Mx.appendChild(AI); 

					  AI.appendChild(fk('Preview chosen wallpaper',11,false,0,function()

					  {

					  El(colorsAndSettings.wallpaperImageUrl); 

					  },

					  null,true)); 

                     
                     //************************ Comment ************************
                     // Choose the backgroud for page Wallpaper image, Pattern, Plain color
                     // call function for creating radio buttons
					  this.fOw=new mS(['Wallpaper image','Pattern','Plain color'],['WALLPAPER_IMAGE','PATTERN','PLAIN_COLOR'],function(Lb)

					  { 

					  if(Lb==colorsAndSettings.backgroundMode) 

					  return; 

					  var wI=50; tR.exV.Iq(0); tR.YLO.Iq(wI); tR.hDA.Iq(0); tR.exV.QL(); tR.YLO.QL(); tR.hDA.QL(); colorsAndSettings.backgroundHueOffset=0; colorsAndSettings.backgroundSaturationOffset=wI; colorsAndSettings.backgroundLightnessOffset=0; colorsAndSettings.backgroundMode=Lb; tR.Pu(); tR.PKk.cC(); 

					  });

					  this.NOL=new AE(['Stitches','Dots','Fine diagonal stripes','Fine diagonal stripes 2','Diagonal tubes','Diagonal tubes 2','Fine horizontal stripes','Fine horizontal stripes 2','Horizontal tubes','Horizontal tubes 2','Fine vertical stripes','Mistle'],

					  ['stitches','dots','diagonal-stripes','diagonal-stripes2','diagonal-tubes','diagonal-tubes2','horizontal-stripes','horizontal-stripes2','horizontal-tubes','horizontal-tubes2','vertical-stripes','mistle'],

					  function(Lb)

					  { 

					  colorsAndSettings.backgroundPattern=Lb; tR.PKk.cC(); 

					  }); 

					  this.exV=new bb(180,-180,180,null,function(Lb)

					  {

					  colorsAndSettings.backgroundHueOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  tR.PKk.cC(); 

					  }

					  },

					  function(Lb)

					  { 

					  colorsAndSettings.backgroundHueOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  tR.PKk.cC(); 

					  }

					  else

					  { 

					  tR.PKk.cC(); 

					  }

					  }

					  );

					  this.YLO=new bb(180,-100,100,null,function(Lb)

					  {

					  colorsAndSettings.backgroundSaturationOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  {

					  tR.PKk.cC(); 

					  }

					  },

					  function(Lb)

					  { 

					  colorsAndSettings.backgroundSaturationOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  tR.PKk.cC(); 

					  }

					  else

					  { 

					  tR.PKk.cC();

					  }

					  }

					  );

					  this.hDA=new bb(180,-100,100,null,function(Lb)

					  {

					  colorsAndSettings.backgroundLightnessOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  tR.PKk.cC(); 

					  }

					  },

					  function(Lb)

					  { 

					  colorsAndSettings.backgroundLightnessOffset=Lb; 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  {

					  tR.PKk.cC(); 

					  }

					  else

					  { 

					  tR.PKk.cC(); 

					  }

					  }

					  ); 

					  var CU=new Array(); 

					  for(var ii in wallpaperChoices) CU[ii]=wallpaperChoices[ii].label;

					  var Jw=new Array();

					  for(var ii in wallpaperChoices) Jw[ii]=wallpaperChoices[ii].url; 

					  this.WEn=new AE(CU,Jw,function(Lb)

					  {

					  colorsAndSettings.wallpaperImageUrl=Lb; tR.mNG.Iq(colorsAndSettings.wallpaperImageUrl); 

					  tR.PKk.cC(); 

					  });

					  this.mNG=new wQ(function(Lb)

					  { 

					  colorsAndSettings.wallpaperImageUrl=Lb; tR.PKk.cC(); 

					  });

					  this.kdA=new AE(['Centered','Tiled'],['CENTER','TILE'],function(Lb){ colorsAndSettings.wallpaperMode=Lb; tR.PKk.cC(); 

					  });

                      //************************ Comment ************************
                      // For the Page Setting Check boxes.

					  this.Hht=new Ou('Enable widget shadows',function(Lb)

					  {

					  if(colorsAndSettings.panelDropShadowPreference==Lb) 

					  return; 

					  colorsAndSettings.panelDropShadowPreference=Lb?'ALWAYS':'NEVER'; tR.PKk.xl(); 

					  }); 

					  this.gZH=new Ou('Open bookmarks in new windows',function(Lb)

					  { 

					  colorsAndSettings.openLinksInNewWindow=Lb;

					  });

					  this.chc=new Ou('Open news items directly in new windows',function(Lb)

					  { 

					  colorsAndSettings.disableFeedReader=Lb; 

					  });

					  this.eoU=new Ou('Disable news preview bubble during hover',function(Lb)

					  { 

					  colorsAndSettings.disableNewsPreviewBubbles=Lb; 

					  });

					  this.mjt=new Ou('Disable bookmark icons',function(Lb)

					  {

					  colorsAndSettings.disableBookmarkIcons=Lb; 

					  });

					  this.neG.appendChild(Nh(this.fOw));

					  this.vwD=new Array(); 
					  
					  
					  //************************ Comment ************************
					  // Choose 'Pattern' for Page background

					  this.vwD.push(JJ('Choose a background pattern',this.NOL)); 

					  this.vwD.push(AG('Rotate background color',this.exV)); 

					  this.vwD.push(AG('Adjust amount of background color',this.YLO)); 

					  this.vwD.push(AG('Adjust background brightness',this.hDA)); 

					  this.NsU=new Array(); 

					  this.NsU.push(ZM); 

					  this.bXF=new Array(); 


                      //************************ Comment ************************
                      // Choose 'wallpaper' for Page background
					  this.bXF.push(JJ('Choose your wallpaper',this.WEn)); 

					  this.bXF.push(Aq('(or enter your own wallpaper url)',this.mNG)); 

					  this.bXF.push(JJ('Wallpaper display mode',this.kdA)); 

					  this.bXF.push(Mx); 

					  this.pjY=dP(); 

					  this.neG.appendChild(this.pjY); 

					  this.KmG.appendChild(Fw('',this.Hht)); 

					  this.KmG.appendChild(Fw('',this.gZH)); 

					  this.KmG.appendChild(Fw('',this.chc)); 

					  this.KmG.appendChild(Fw('',this.eoU)); 

					  this.KmG.appendChild(Fw('',this.mjt)); 

					  this.KmG.appendChild(dP()); 

					  }

					  return this.fm; 

					  };

					  AT.prototype.Pu=function()

					  {

					  for(var ii in this.vwD)

					  { 

					  try

					  {

					  this.neG.removeChild(this.vwD[ii]);

					  }

					  catch(qX){}

					  }

					  for(var ii in this.NsU)

					  { 

					  try

					  {

					  this.neG.removeChild(this.NsU[ii]);

					  }

					  catch(qX){}

					  }

					  for(var ii in this.bXF)

					  { 

					  try

					  {

					  this.neG.removeChild(this.bXF[ii]);

					  }

					  catch(qX){}

					  }

					  if(colorsAndSettings.backgroundMode=='PATTERN')

					  { 

					  for(var ii in this.vwD)

					  { 

					  this.neG.insertBefore(this.vwD[ii],this.pjY); 

					  }

					  this.YLO.WY(0,100); 

					  }

					  else if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  for(var ii in this.NsU)

					  { 

					  this.neG.insertBefore(this.NsU[ii],this.pjY); 

					  }

					  this.YLO.WY(-100,100); 

					  }

					  else if(colorsAndSettings.backgroundMode=='WALLPAPER_IMAGE')

					  { 

					  for(var ii in this.bXF)

					  { 

					  this.neG.insertBefore(this.bXF[ii],this.pjY); 

					  }

					  }

					  };

					  function Nw(label)

					  { 

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  var BZ=document.createElement('div'); 

					  BZ.innerHTML=label; 

					  BZ.className='scheme-body-text';

					  BZ.style.fontWeight='bold';

					  BZ.style.height='1.4em'; 

					  fP.colSpan=3; 

					  fP.appendChild(BZ); 

					  il.appendChild(fP); 

					  return il; 

					  }

					  function RI(label)

					  {

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  fP.colSpan=3; fP.innerHTML=label; 

					  fP.className='scheme-body-text'; 

					  fP.style.fontSize='11px'; 

					  fP.style.paddingLeft='42px'; 

					  il.appendChild(fP); 

					  return il; 

					  }

					  function dP()

					  { 

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  fP.innerHTML='&nbsp;'; 

					  fP.className='scheme-body-text';

					  fP.style.fontSize='20%'; 

					  il.appendChild(fP); 

					  return il; 

					  }

					  function Fw(label,Ok)

					  {

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  fP.colSpan=3; 

					  il.appendChild(fP);

					  fP.appendChild(Ok.GH);

					  return il; 

					  }

					  function EC(gZi)

					  {

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  var BZ=document.createElement('div'); 

					  BZ.innerHTML='&nbsp;'; 

					  BZ.style.backgroundColor='#ff0000'; 

					  if(gZi) BZ.style.paddingTop=gZi+'px';

					  fP.colSpan=3; 

					  fP.style.textAlign='left'; 

					  fP.align='left'; 

					  il.appendChild(fP);

					  fP.appendChild(BZ); 

					  return il; 

					  }

					  function Nh(Zjw)

					  { 

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td');

					  fP.colSpan=3; 

					  fP.style.textAlign='left'; 

					  fP.align='left'; 

					  il.appendChild(fP); 

					  fP.appendChild(Zjw.GH); 

					  return il; 

					  }

					  function JJ(label,bPB)

					  { 

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  var BO=document.createElement('td'); 

					  fP.innerHTML=label; 

					  fP.className='scheme-body-text'; 

					  BO.colSpan=2; 

					  il.appendChild(fP); 

					  il.appendChild(BO);

					  BO.appendChild(bPB.GH); 

					  return il; 

					  }

					  function Aq(label,qFQ)

					  {

					  var il=document.createElement('tr');

					  var fP=document.createElement('td'); 

					  var BO=document.createElement('td');

					  fP.innerHTML=label; fP.className='scheme-body-text'; 

					  BO.colSpan=2; il.appendChild(fP); 

					  il.appendChild(BO); 

					  BO.appendChild(qFQ.GH); 

					  return il; 

					  }

					  function AG(label,LEn)

					  { 

					  var il=document.createElement('tr'); 

					  var fP=document.createElement('td'); 

					  var BO=document.createElement('td'); 

					  var uV=document.createElement('td'); 

					  il.appendChild(fP); 

					  il.appendChild(BO); 

					  il.appendChild(uV); 

					  il.className='scheme-body-text'; 

					  fP.innerHTML=label; 

					  fP.className='scheme-body-text'; 

					  BO.appendChild(LEn.BZ); 

					  uV.style.textAlign='right'; 

					  uV.style.width='4.5ex'; 

					  uV.className='scheme-body-text'; 

					  LEn.ED(function(Lb)

					  { 

					  uV.innerHTML=''+Math.round(Lb); 

					  }); 

					  return il; 

					  }

					  AT.prototype.IU=function()

					  {

					  this.exV.Iq(0); 

					  this.YLO.Iq(0); 

					  this.hDA.Iq(0); 

					  this.NOL.Iq('diagonal-stripes'); 

					  };

					  AT.prototype.HP=function()

					  { 

					  this.Hav.vb(colorsAndSettings.headerForegroundColor);

					  this.TOh.vb(colorsAndSettings.headerBackgroundColor);

					  this.kTR.vb(colorsAndSettings.bodyForegroundColor); 

					  this.IFt.vb(colorsAndSettings.bodyBackgroundColor); 

					  this.NOL.Iq(colorsAndSettings.backgroundPattern); 

					  this.exV.Iq(colorsAndSettings.backgroundHueOffset); 


					  this.YLO.Iq(colorsAndSettings.backgroundSaturationOffset);

					  this.hDA.Iq(colorsAndSettings.backgroundLightnessOffset); 

					  this.fOw.Iq(colorsAndSettings.backgroundMode); 

					  this.Pu(); 

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  {

					  this.DxO.vb(colorsAndSettings.backgroundColor); 

					  }

					  else

					  { 

					  this.DxO.vb('00ff00'); 

					  }

					  this.WEn.Iq(colorsAndSettings.wallpaperImageUrl);

					  this.mNG.Iq(colorsAndSettings.wallpaperImageUrl); 

					  this.kdA.Iq(colorsAndSettings.wallpaperMode); 

					  this.Hht.Iq(colorsAndSettings.panelDropShadowPreference!='NEVER'); 

					  this.gZH.Iq(colorsAndSettings.openLinksInNewWindow); 

					  this.chc.Iq(!!colorsAndSettings.disableFeedReader); 

					  this.eoU.Iq(!!colorsAndSettings.disableNewsPreviewBubbles); 

					  this.mjt.Iq(!!colorsAndSettings.disableBookmarkIcons);

					  this.PKk.ZR(colorsAndSettings.headerBackgroundColor); 

					  this.PKk.bQ(colorsAndSettings.bodyBackgroundColor); 

					  this.PKk.sN(colorsAndSettings.headerForegroundColor); 

					  this.PKk.JK(colorsAndSettings.bodyForegroundColor); 

					  this.PKk.cC(); 

					  this.PKk.xl(); 

					  }; 

					  function Xn(parentElement)

					  { 

					  var tR=this; 

					  this.BZ=document.createElement('div'); 

					  parentElement.appendChild(this.BZ); 

					  this.hl(); 

					  }

					  Xn.prototype.xl=function()

					  {

					  this.BZ.removeChild(this.pCF); 

					  this.pCF=cx.Cp(); aD(this.pCF,0,40,450,6); 

					  this.BZ.appendChild(this.pCF); 

					  this.PYX.style.display=colorsAndSettings.panelDropShadowPreference!='NEVER'?'block':'none'; this.rlA.style.display=colorsAndSettings.panelDropShadowPreference!='NEVER'?'block':'none'; 

					  this.LGj.MAW.tD(colorsAndSettings.panelDropShadowPreference!='NEVER');

					  this.Hik.MAW.tD(colorsAndSettings.panelDropShadowPreference!='NEVER'); 

					  for(var ii in this.Ygw)

					  { 

					  this.Ygw[ii].MAW.tD(colorsAndSettings.panelDropShadowPreference!='NEVER'); 

					  }

					  };

					  Xn.prototype.cC=function(Tn)

					  { 

					  var gp=this.BZ; 

					  if(colorsAndSettings.backgroundMode=='PATTERN')

					  { 

					  gp.style.backgroundImage='url("web/pattern/'+Math.round(colorsAndSettings.backgroundHueOffset)+'/'+(Math.round(colorsAndSettings.backgroundSaturationOffset-100))+'/'+Math.round(colorsAndSettings.backgroundLightnessOffset)+'/'+colorsAndSettings.backgroundPattern+'.gif")'; 

					  }

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  gp.style.backgroundImage=''; 

					  }

					  if(colorsAndSettings.backgroundMode=='WALLPAPER_IMAGE')

					  {

					  gp.style.backgroundRepeat='repeat'; 

					  gp.style.backgroundImage='url("'+colorsAndSettings.wallpaperImageUrl+'")';

					  }

					  if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

					  { 

					  gp.style.backgroundColor='#'+colorsAndSettings.backgroundColor; 

					  }

					  };

					  Xn.prototype.hl=function()

					  { 

					  this.BZ.style.position='relative'; 

					  this.BZ.style.width=450+'px'; 

					  this.BZ.style.height=200+'px'; 

					  this.cC(); 

					  this.pCF=cx.Cp(); aD(this.pCF,0,40,450,6); 

					  this.BZ.appendChild(this.pCF);

					  var aQ=['Tab Aa','Bb','Cc','Dd','Ee','Ff','Gg','Hh','Ii','Jj','Kk'];

					  var FH=20; 

					  this.Ygw=new Array(); 

					  for(var ii in aQ)

					  { 

					  var label=aQ[ii]; 

					  var gV=new Pd(); 

					  var vi=kC(label,11,false); 

					  vi.className='scheme-header-text'; 

					  vi.style.fontWeight=ii==0?'bold':'normal'; 

					  vi.style.paddingLeft='5px';

					  vi.style.paddingRight='5px'; 

					  vi.style.paddingBottom='5px'; 

					  gV.bc(this.BZ,vi,null,'00',false,true,null,null,null);

					  gV.position(FH,40-pw('scheme-header-text',11,false,false)-5-5); this.Ygw.push(gV); FH+=10+10+vl(label,'scheme-header-text',11,ii==0,false)+1; 

					  }

					  this.LGj=new Pd(); 

					  var cN=kC('Widget title text',12,true); 

					  this.cN=cN; 

					  cN.className='scheme-header-text';

					  cN.style.paddingLeft='5px'; 

					  cN.style.paddingRight='5px'; 

					  cN.style.paddingBottom='5px';

					  cN.style.width=(isIE?260:250)+'px';

					  this.LGj.bc(this.BZ,cN,null,'00',false,true,null,null,null); 

					  this.LGj.position(30,60); 

					  var jx=pw('scheme-header-text',12,true,false)+10; 

					  this.rRf=EX(30,60+jx,270,80); 

					  var Yi=kC('Widget content text. The quick brown fox jumps over the lazy dog.',12,false);

					  this.Yi=Yi; 

					  Yi.style.whiteSpace='normal'; 

					  Yi.style.paddingLeft='10px';

					  Yi.style.paddingRight='10px';

					  Yi.style.paddingTop='5px'; 

					  this.rRf.appendChild(Yi);

					  this.rRf.style.backgroundColor='#ffffff';

					  this.BZ.appendChild(this.rRf);

					  this.rRf.style.zIndex=10; 

					  this.PYX=EX(30-5,60+jx,13,80); 

					  this.BZ.appendChild(this.PYX);

					  En(this.PYX,'web/images/3x-w.png',true,true);

					  this.rlA=EX(30+270-5,60+jx,13,80);

					  this.BZ.appendChild(this.rlA); 

					  En(this.rlA,'web/images/3x-e.png',true,true); 

					  this.Hik=new Pd();

					  this.Hik.useMonoScheme=true; 

					  var RA=document.createElement('div');

					  RA.style.width='260px';

					  this.Hik.kkl=true;

					  this.Hik.iCP='ffffff';

					  this.Hik.xgO='ffffff';

					  this.Hik.bc(this.BZ,RA,null,'00',true,true,null,null,null); 

					  this.Hik.position(30,60+jx+80);

					  }; 

					  Xn.prototype.sN=function(Tn)

					  {

					  this.cN.style.color='#'+Tn; 

					  for(var ii in this.Ygw)

					  {

					  var gV=this.Ygw[ii];

					  gV.ho.style.color='#'+Tn; 

					  }

					  };

					  Xn.prototype.JK=function(Tn)

					  {

					  this.EiV=Tn;

					  this.Yi.style.color='#'+Tn; 

					  };

					  Xn.prototype.ZR=function(Tn)

					  {

					  this.LGj.kkl=true; 

					  this.LGj.iCP=Tn; 

					  this.LGj.xgO=Tn;

					  this.LGj.Ns(); 

					  var pt=new UY(Tn); 

					  var Gs=0; for(var ii in this.Ygw)

					  { 

					  var gV=this.Ygw[ii]; gV.kkl=true; 

					  var dp=(ii==10)?0:((ii/10)*360); 

					  var KU=(ii==10)?-200:0; 

					  gV.iCP=pt.EN(dp,KU,null,Tn);

					  gV.xgO=Tn; gV.Ns(); Gs++; 

					  }

					  };

					  Xn.prototype.bQ=function(Tn)

					  {

					  var fb=Tn; 

					  var Vq=ku(fb,IA); 

					  var Hh=ku(ET,IA); 

					  this.rRf.style.backgroundImage='url(web/gradient/'+fb+'/'+IA+'/body-gradient.gif)'; 

					  this.rRf.style.backgroundRepeat='repeat-x';

					  this.rRf.style.backgroundPosition='top'; 

					  this.rRf.style.backgroundColor='#'+Tn; 

					  this.Hik.kkl=true; 

					  this.Hik.iCP=Tn; 

					  this.Hik.xgO=Tn; 

					  this.Hik.Ns(); 

					  };

					  Xn.prototype.xN=function(url)

					  {

					  if(!url)

					  {

					  this.BZ.style.backgroundImage='none'; 

					  }

					  else

					  { 

					  this.BZ.style.backgroundImage='url('+url+')'; 

					  this.BZ.style.backgroundRepeat='repeat'; 

					  }

					  };

					  function LQ()

					  { 

					  this.BZ=document.createElement('div'); 

					  this.efh=false; 

					  this.LnL=new Array(); 

					  this.Uab='Open the web page for this article in a new window. If you are using Firefox or Internet Explorer 7, you can open links in new tabs by holding down the CTRL (or CMD) key while clicking.'; 

					  }

					  LQ.prototype.eQ=function(Qb)

					  {

					  var VO=null; 

					  this.Wij.EW(function(Sp,Xph)

					  {

					  if(Sp.DlL)

					  {

					  if(Sp.Qb==Qb)

					  {

					  VO=Xph; return true; 

					  }

					  }

					  return false; 

					  },

					  true); 

					  return VO; 

					  }; 

					  LQ.prototype.xM=function()

					  {

					  if(!this.efh) 

					  return;

					  var tR=this;

					  var gJ=null; 

					  this.Wij.EW(function(Sp)

					  { 

					  if(Sp.Mm)

					  { 

					  if(Sp.Mm==tR.nGM)

					  { 

					  return true; 

					  }

					  gJ=Sp.Mm; 

					  }

					  return false; 

					  }

					  );

					  if(gJ)

					  { 

					  this.fJ(gJ.Sm.locatorUrl,gJ.SI.guid); 

					  }

					  };

					  LQ.prototype.Zj=function()

					  { 

					  if(!this.efh) 

					  return; 

					  var tR=this; 

					  var Mm=null; 

					  this.Wij.EW(function(Sp)

					  { 

					  if(Sp.Mm)

					  { 

					  if(Mm==tR.nGM)

					  {

					  Mm=Sp.Mm; return true; 

					  }

					  Mm=Sp.Mm; 

					  }

					  return false;

					  }

					  );

					  if(Mm)

					  { 

					  this.fJ(Mm.Sm.locatorUrl,Mm.SI.guid); 

					  }};

					  LQ.prototype.hL=function()

					  { 

					  if(!this.efh) 

					  return; 

					  var tR=this; 

					  var gJ=null; 

					  if(this.LnL.length>0)

					  {

					  this.LnL.pop();

					  gJ=this.LnL.pop();

					  }

					  if(gJ)

					  { 

					  this.fJ(gJ.Sm.locatorUrl,gJ.SI.guid); 

					  }

					  };

					  LQ.prototype.ud=function()

					  {

					  var url=this.rF.href; El(url); 

					  };

					  LQ.prototype.lh=function()

					  { 

					  if(!this.efh) 

					  return; 

					  var tR=this; 

					  var vV=null; 

					  var Wu=null; 

					  var aH=null; 

					  var vK=false; 

					  this.Wij.EW(function(Sp)

					  { 

					  if(Sp.Mm)

					  {

					  vV=Sp.Mm; 

					  if(!aH&&!vV.eP)

					  {

					  aH=vV; 

					  }

					  if(vV==tR.nGM)

					  { 

					  vK=true; return false; 

					  }

					  if(vK&&!vV.eP)

					  {

					  Wu=vV; return true; 

					  }

					  }

					  return false; 

					  }

					  );

					  Wu=Wu?Wu:aH; 

					  if(Wu)

					  {

					  this.fJ(Wu.Sm.locatorUrl,Wu.SI.guid); 

					  }

					  }; 

					  LQ.prototype.dV=function(eP)

					  { 

					  if(!this.efh) 

					  return;

					  var tR=this;

					  this.Wij.EW(function(Sp)

					  {

					  if(Sp.Mm)

					  { 

					  if(DC.MwS)

					  { 

					  if(DC.MwS==Sp.Mm.Sm.locatorUrl)

					  { 

					  Sp.Mm.qI(eP); 

					  }

					  }

					  }

					  return false; 

					  }

					  );

					  DC.In(DC.nGM.SI.guid,DC.nGM.Sm.locatorUrl);

					  }; 

					  LQ.prototype.mH=function()

					  { 

					  if(!this.efh) 

					  return; 

					  if(this.JAG)

					  { 

					  this.JAG=false; 

					  this.reset(); 

					  }

					  this.efh=false; 

					  this.fm.position(-90000,-90000); setTimeout(function()

					  { 

					  for(var ii in panelDatas)

					  { 

					  if(panelDatas[ii].rv==VL&&panelDatas[ii].ZT==Ev)

					  {

					  var oe=panelDatas[ii].VR.DRh.getAttribute('mode'); 

					  if(oe=='regular'||!oe) panelDatas[ii].VR.uq();

					  }

					  }

					  },

					  1) };

					  LQ.prototype.rh=function()

					  {

					  if(!this.efh) 

					  return; 

					  var width=WW()-rp()-20; 

					  this.PTF=width; 

					  var left=rp()+10; 

					  var top=Sn()+10; 

					  var height=FL()-top-10; 

					  this.fm.jc(left,top,width,height); 

					  var Sg=this.Sg; 

					  var jJ=42; 

					  var MP=height-jJ-20; 

					  var xX=16; 

					  var AH=isIE?0:8; 

					  var Di=width-14-14-xX-Sg-AH;

					  var EO=0; 

					  var DR=38; 

					  var Ze=Sg; 

					  var vQ=width-150-14-29-Ze; 

					  this.QSt=vQ; aD(this.FKx,14,0,Ze,DR); 

					  aD(this.Epm,Ze+29,0,vQ,DR); 

					  aD(this.Rpr,width-14-150,0,150,DR); 

					  aD(this.RoX,14,jJ,Sg,MP-EO); 

					  aD(this.gbJ,14,jJ-4,width-14-14,1); 

					  aD(this.UAM,14+Sg,jJ,xX,MP);

					  aD(this.FjA,14+Sg+xX,jJ,Di,MP);

					  }; 

					  LQ.prototype.lq=function()

					  { 

					  var tR=this; 

					  this.Sg=280; 

					  if(!this.fm)

					  { 

					  var width=WW()-rp()-20; 

					  this.PTF=width; 

					  var left=rp()+10; 

					  var top=Sn()+10; 

					  var height=FL()-top-10; 

					  this.fm=new LE(left,top,false,Lo,'00',this.BZ,false,false,null,jL(),width,height,true); 

					  this.FKx=Cq(); 

					  this.Epm=Cq(); 

					  this.Rpr=Cq(); 

					  this.RoX=Cq(); 

					  this.UAM=Cq(); 

					  this.gbJ=Cq(); 

					  this.FjA=Cq(); 

					  this.JQU=document.createElement('div'); 

					  this.FjA.appendChild(this.JQU); 

					  Xj(this.FjA); 

					  Xj(this.RoX); 

					  this.RoX.style.overflow='auto'; 

					  this.FjA.style.overflow='auto'; 

					  this.FjA.style.paddingRight='8px'; 

					  this.FjA.className='news-feed-body scheme-body-text';

					  this.FKx.style.cursor='default'; 

					  this.UTn=document.createElement('a'); 

					  this.UTn.style.display='block'; 

					  this.UTn.style.paddingTop='10px'; 

					  this.UTn.className='scheme-body-text'; 

					  this.UTn.style.fontSize='14px'; 

					  this.UTn.style.fontWeight='bold'; 

					  this.UTn.style.textDecoration='none'; 

					  this.UTn.onmouseover=function(){tR.UTn.style.textDecoration='underline';

					  }; 

					  this.UTn.onmouseout=function()

					  {

					  tR.UTn.style.textDecoration='none';

					  };

					  this.UTn.onclick=function(qX)

					  {

					  preventDefault(qX); 

					  El(tR.UTn.href); 

					  };

					  this.UTn.appendChild(document.createTextNode('')); 

					  this.FKx.appendChild(this.UTn);

					  this.Epm.style.cursor='default'; 

					  this.kPf=document.createElement('a'); 

					  this.kPf.style.display='block'; 

					  this.kPf.style.paddingTop='10px'; 

					  this.kPf.className='scheme-body-text'; 

					  this.kPf.style.fontSize='14px'; 

					  this.kPf.style.fontWeight='bold'; 

					  this.kPf.style.textDecoration='none'; 

					  this.kPf.onmouseover=function(){tR.kPf.style.textDecoration='underline';

					  };

					  this.kPf.onmouseout=function()

					  {

tR.kPf.style.textDecoration='none';

}; 

this.kPf.onclick=function(qX){

 preventDefault(qX); 

 El(tR.kPf.href); 

 }; 

 this.kPf.appendChild(document.createTextNode(''));

 this.Epm.appendChild(this.kPf); 

 this.ihE=document.createElement('div'); 

 this.ihE.style.paddingTop='10px'; 

 this.ihE.appendChild(wb('Article summaries ',14,true)); 

 this.ihE.appendChild(wb(' (hover for more information)',11,false));

 bJ.Vh(this.ihE,'For news feeds that provide article summaries (instead of the full article text), we display all of the summaries at the same time to help you scan through them.',null,null,!true);

 this.ihE.style.display='none'; 

 this.Epm.appendChild(this.ihE); 

 this.UAM.style.cursor='w-resize'; 

 this.UAM.style.zIndex=100; 

 this.aEr=document.createElement('div'); 

 this.aEr.className='scheme-body-text'; 

 this.aEr.style.fontSize='10px'; 

 this.aEr.style.cursor='help';

 this.aEr.appendChild(document.createTextNode('Keyboard shortcuts')); 

 bJ.Vh(this.aEr,null,null,this.fa()); 

 this.psu=document.createElement('div'); 

 this.psu.style.width='30px'; 

 this.psu.style.height='30px'; 

 this.psu.style.cursor='pointer';

 En(this.psu,'web/images/large-cross.png'); 

 this.psu.onclick=function(){ tR.mH(); }; 

 bJ.Vh(this.psu,'Close the news feed reader'); 

 this.cl=document.createElement('div');

 this.cl.style.width='30px'; 

 this.cl.style.height='30px'; 

 this.cl.style.cursor='pointer'; 

 En(this.cl,'web/images/launch-link.png'); 

 bJ.Vh(this.cl,this.Uab); 

 this.rF=document.createElement('a'); 

 this.rF.appendChild(this.cl); 

 this.rF.onclick=function(qX)

 { 

	preventDefault(qX); 

	if(!Mf(qX)) El(tR.rF.href); 

	return false; 

	}; 

	this.Rpr.appendChild(wu([

	this.aEr,Uf(38),

	this.rF,Nj(20),

	this.psu],

	false));

	this.BZ.appendChild(this.FKx); 

	this.BZ.appendChild(this.Epm); 

	this.BZ.appendChild(this.Rpr); 

	this.BZ.appendChild(this.RoX); 

	this.BZ.appendChild(this.gbJ); 

	this.BZ.appendChild(this.UAM);

	this.BZ.appendChild(this.FjA); 

	this.gbJ.style.borderTop='1px solid #'+hE; 

	this.PbV=document.createElement('div'); 

	this.PbV.style.height='100%'; 

	this.PbV.style.position='relative'; 

	this.PbV.style.borderLeft='1px solid #'+hE; 

	this.PbV.style.marginLeft='7px'; 

	this.UAM.appendChild(this.PbV); 

	this.UAM.onmousedown=function(qX)

	{

	var ft=parseInt(tR.UAM.style.left); 

	var Kb=tR.Sg; Po(qX,tR.UAM,null,

	function(SY,Ga,eR,lP){ },

	function(SY,Ga,mW,CJ,eR,lP,tGU,Baw)

	{

	var hg=Math.min(Math.max(20,ft+mW),tR.PTF-40);

	tR.UAM.style.left=hg+'px'; 

	tR.Sg=Kb+(hg-ft); 

	},

	function(SY,Ga,cR,oP,eR,lP)

	{

	tR.rh(); 

	});

	}; 

	}

	return this.fm;

	}; 

	LQ.prototype.YO=function(Sm,SI)

	{ 

	var Sp=new Object(); 

	Sp.QEI=SI.guid; 

	Sp.Qb=Sm.locatorUrl; 

	Sp.gTT=SI.url; 

	Sp.Mm=new UE(SI,Sm); 

	return Sp; 

	};

	LQ.prototype.pF=function(Sm)

	{ 

	var Ct=new Object(); 

	Ct.DlL=true; 

	Ct.Qb=Sm.locatorUrl;

	Ct.rfv=new ut(Sm); 

	return Ct; 

	}; 

	LQ.prototype.Kp=function(value)

	{

	this.JAG=value; 

	};

	LQ.prototype.reset=function()

	{

	this.Wij=null; 

	};

	LQ.prototype.Uj=function()

	{ 

	var tR=this; 

	var gL=new Array(); 

	var Rq=Ol.iL(); 

	for(var ii in Rq.Rq)

	{ 

	var Sm=Rq.Rq[ii];

	var MX=function(Sm)

	{

	var Vu=new Array(); 

	for(var dA in Sm.entries)

	{ 

	var SI=Sm.entries[dA]; 

	var qC=function(SI)

	{ 

	var Sp=tR.YO(Sm,SI); 

	Vu.push(new ub(false,function()

	{ 

	var BZ=Sp.Mm.Gb(); 

	return BZ;

	},

	[],null,null,null,null,Sp)); 

	}

	(SI); 

	}

	var Ct=tR.pF(Sm); 

	gL.push(new ub(false,function()

	{

	var BZ=Ct.rfv.Gb(); 

	return BZ; 

	},

	Vu,function(isExpanded)

	{ 

	if(!isExpanded) 

	return;

	DC.Wij.EW(function(Sp,Xph)

	{

	if(Sp.DlL)

	{

	if(Sp.Qb!=Ct.Qb)

	{

	Xph.sh(false); 

	}

	}

	return false; 

	},true); 

	},

	null,null,null,Ct)); 

	}

	(Sm); 

	}

	this.wPg=gL; 

	var BY=new Id(gL); 

	this.Wij=BY; 

	BY.Gb(); 

	BY.BZ.style.overflow='hidden'; 

	NQ(this.RoX); 

	this.RoX.appendChild(BY.BZ); 

	}; 

	LQ.prototype.EF=function(GeI,XZ)

	{ 

	var BZ=document.createElement('div'); 

	BZ.style.paddingTop='15px'; 

	var cD=document.createElement('div');

	cD.style.paddingTop='4px';

	cD.style.paddingBottom='4px'; 

	cD.style.textAlign='center'; 

	cD.style.width='3.5ex'; 

	cD.style.fontWeight='bold'; 

	cD.style.borderLeft='1px solid #'+qO; 

	cD.style.borderTop='1px solid #'+qO; 

	cD.style.borderRight='1px solid #'+dg;

	cD.style.borderBottom='1px solid #'+dg; 

	cD.appendChild(document.createTextNode(GeI)); 

	var vO=kC(XZ,12,false); 

	BZ.appendChild(wu([cD,Nj(12),vO]));

	return BZ; 

	}; 

	LQ.prototype.fa=function()

	{ 

	var BZ=document.createElement('div'); 

	var vO=kC('You can also use your keyboard to navigate through your news feeds:',12,false);

	vO.style.whiteSpace='normal'; 

	vO.style.width='240px';

	BZ.appendChild(vO); 

	BZ.appendChild(this.EF('Z','Go to next unread article'));

	BZ.appendChild(this.EF('A','Go back to last article read')); 

	BZ.appendChild(this.EF('Q','Go to previous article in list'));

	BZ.appendChild(this.EF('X','Mark all articles in feed as read'));

	BZ.appendChild(this.EF('S','Un-mark all articles in feed as read'));

	BZ.appendChild(this.EF('1','Open article web page in new window')); 

	BZ.appendChild(this.EF('Esc','Exit news reader'));

	var eF=kC('The key you are most likely to use is the Z key, which will skip to the next unread article.',12,false); 

	eF.style.paddingTop='10px';

	eF.style.whiteSpace='normal'; 

	eF.style.width='240px'; 

	var ve=kC('Widgt will automatically order your news feeds according to how frequently you visit them.',12,false); 

	ve.style.paddingTop='10px'; 

	ve.style.whiteSpace='normal'; 

	ve.style.width='240px';

	BZ.appendChild(eF); 

	BZ.appendChild(ve);

	return BZ; 

	};

	LQ.prototype.iQ=function(title,url)

	{

		NQ(this.UTn); 

		this.UTn.appendChild(document.createTextNode(title)); 

		this.UTn.style.paddingTop='10px';

		this.UTn.style.fontSize='14px'; 

		if(vl(title,'scheme-body-text',14,true,false)>this.Sg)

	{

		this.UTn.style.fontSize='11px'; 

		if(vl(title,'scheme-body-text',11,true,false)>this.Sg)

	{

		this.UTn.style.paddingTop='3px'; 

		}

		}

		this.UTn.href=url; 

		}; 

		LQ.prototype.hr=function(title,url)

		{

		this.rF.href=url; 

		this.ihE.style.display=this.spW?'block':'none'; 

		this.kPf.style.display=this.spW?'none':'block';

		this.kPf.style.paddingTop='10px';

		if(!this.spW){ NQ(this.kPf); 

		this.kPf.style.fontSize='14px'; 

		if(vl(title,'scheme-body-text',14,true,false)>this.QSt)

		{

		this.kPf.style.fontSize='11px'; 

		if(vl(title,'scheme-body-text',11,true,false)>this.QSt)

		{

		this.kPf.style.paddingTop='3px'; 

		}

		}

		this.kPf.appendChild(document.createTextNode(title));

		this.kPf.href=url; 

		}

		};

		LQ.prototype.XB=function(sH,YvJ,ZsU)

		{

		if(!YvJ&&!ZsU)

		{

			this.JQU.innerHTML=sH; 

			}

			else

		{

			NQ(this.JQU);

			var BZ=document.createElement('div'); 

			if(YvJ)

		{ 

			var eU=document.createElement('div');

			eU.style.paddingTop='8px'; 

			eU.style.paddingBottom='8px'; 

			eU.appendChild(YvJ);

			BZ.appendChild(eU); 

		}

		var body=document.createElement('div'); 

		if(ZsU) body.appendChild(ZsU); 

		else body.innerHTML=sH; BZ.appendChild(body); 

		this.JQU.appendChild(BZ); 

		}

		};

		LQ.prototype.uA=function(Nmq,Cjb,Sm,FbK)

		{ 

			var tR=this; 

			var hq=colorsAndSettings.disableFeedReader; 

			preventDefault(FbK); 

			if(hq)

		{

			return vu(Nmq,FbK); 

		}

		else if(Mf(FbK))

		{

			return false; 

		}

		this.lq(); 

		this.efh=true; 

		this.rh(); 

		if(!this.Wij)

		this.Uj(); 

		var Fr=false; 

		var Rq=Ol.iL();

		var VH=Rq.Ch(Sm,15,function(Sm)

		{

			if(!tR.Wij) 

			return; tR.ek(Sm); 

			tR.Bs(Sm.locatorUrl);

			if(Fr)

		{ 

			tR.fJ(tR.nGM.Sm.locatorUrl,tR.nGM.SI.guid); 

		}

		else{ tR.fJ(Sm.locatorUrl,Cjb); 

		}

		}

		);

		if(!VH)

		{

			this.fJ(Sm.locatorUrl,Cjb); 

			Fr=true; 

		}

		for(var ii in Rq.Rq)

		{

			var af=Rq.Rq[ii]; Rq.Ch(af,15,function(Sm)

		{ 

			if(!tR.Wij) 

			return; tR.ek(Sm); tR.Bs(Sm.locatorUrl); 

		});

		}

		return false; 

		};

		LQ.prototype.ek=function(Sm)

		{

			var tR=this;

			var VO=tR.eQ(Sm.locatorUrl);

			var CH=VO.ZY; 

			for(var ii in Sm.entries)

			{ 

			var SI=Sm.entries[ii];

			var MX=function(SI)

			{

			var lE=false; 

			for(var dA in CH)

		{ 

			if(CH[dA].Sp.QEI==SI.guid)

			{

			lE=true; break; 

		}

		}

		if(!lE)

		{

			var Sp=tR.YO(Sm,SI); CH.push(new ub(false,function()

		{ 

			var BZ=Sp.Mm.Gb(); 

			return BZ;

			},

			[],null,null,null,null,Sp)); 

		}

		}

		(SI); 

		}

		VO.gW(CH); 

		}; 

		LQ.prototype.fJ=function(Qb,QEI)

		{ 

			this.Wij.vZ

			(null,function(Sp)

		{ 

		return Sp.Qb==Qb; 

		}

		)

		.sh(true); 

		var Mm=this.Wij.vZ(null,function(Sp)

		{ 

		return Sp.QEI==QEI; 

		}

		)

		.Sp.Mm; Mm.JM(true);

		}; 

		LQ.prototype.mo=function(Sm,SI,pK,eP,npX)

		{

			var BZ=document.createElement('div'); 

			BZ.style.marginBottom='10px'; 

			BZ.style.width='100%'; 

			BZ.style.cursor='pointer';

			var xB=document.createElement('div'); 

			xB.className='scheme-body-text'; 

			xB.style.fontWeight='normal'; 

			xB.style.paddingLeft='4px'; 

			xB.onmousedown=function()

		{ 

			DC.fJ(Sm.locatorUrl,SI.guid); 

		}; 

		var oK=document.createElement('div');

		oK.style.fontWeight=pK?'bold':'normal';

		oK.style.marginTop='10px'; 

		oK.style.fontSize='14px'; 

		oK.appendChild(document.createTextNode(SI.headline));

		xB.appendChild(oK);

		var NV=document.createElement('div');

		NV.style.marginTop='10px'; 

		NV.style.marginBottom='10px'; 

		var sH=null; 

		if(SI.content&&(SI.content!=''))

		{

		sH=SI.content;

		}

		else

		{

		sH=SI.byline; 

		}

		sH=Pt(sH); 

		NV.innerHTML=sH; 

		xB.appendChild(NV);

		if(xi.Yk(SI))

		{

			var eD=xi.pa(SI,14,pK); 

			eD.style.marginBottom='10px';

			xB.appendChild(eD); 

		}

		var cl=document.createElement('div'); 

		cl.style.width='30px';

		cl.style.height='30px'; 

		cl.style.cursor='pointer'; 

		En(cl,'web/images/launch-link.png');

		bJ.Vh(cl,this.Uab);

		rF=document.createElement('a'); 

		rF.href=SI.link; 

		rF.appendChild(cl);

		rF.onclick=function(qX)

		{

			preventDefault(qX); 

			if(!Mf(qX)) El(SI.link); 

			return false; 

			}; 

			var table=document.createElement('table');

			var JH=document.createElement('tbody'); 

			var Pa=document.createElement('tr');

			var jA=document.createElement('td'); 

			var Fb=document.createElement('td'); 

			table.width='100%'; 

			table.appendChild(JH); 

			JH.appendChild(Pa); 

			Pa.appendChild(jA); 

			Pa.appendChild(Fb); 

			jA.vAlign='top'; 

			Fb.vAlign='top'; 

			Fb.width=50; jA.appendChild(xB); 

			Fb.appendChild(rF); 

			var Iw=document.createElement('div'); 

			Iw.style.width='100%'; 

			Iw.appendChild(table); 

			var hT=document.createElement('a'); 

			hT.style.fontSize='0.1px'; 

			hT.href='#'; 

			var tH=document.createElement('a');

			tH.style.fontSize='0.1px'; 

			tH.href='#'; 

			BZ.appendChild(hT); 

			BZ.appendChild(Iw); 

			BZ.appendChild(tH); 

			if(npX)

			{ 

				var OA=function()

			{ 

			tH.focus();

			hT.focus(); 

			}; 

			npX(OA); 

			}

			if(pK)

			{

				Iw.className='scheme-header scheme-header-text'; 

				xB.className='scheme-header-text'; 

				Iw.style.borderTop='1px solid #'+hE; 

				Iw.style.borderBottom='1px solid #'+hE; 

			}

			if(eP&&!pK)

			{

				xB.style.color='#'+hE; 

				xB.style.textDecoration='line-through'; 

			}

			return BZ; 

			};

			LQ.prototype.In=function(QEI,Qb)

			{ 

			var Rq=Ol.iL(); 

			for(var ii in Rq.Rq)

			{

			var Sm=Rq.Rq[ii]; 

			if(Sm.locatorUrl!=Qb) 

			continue; 

			var gO=true; 

			for(var dA in Sm.entries)

			{

			var SI=Sm.entries[dA]; 

			if(SI.content&&SI.content!=''&&(SI.content.length>400||SI.content.toLowerCase().indexOf('<img ')!=-1))

			{

				gO=false; break; 

			}

			};

			for(var dA in wk)

			{

				if(Sm.locatorUrl.indexOf(wk[dA])!=-1)

			{

				gO=true; break; 

			}

			}

			if(gO&&Sm.locatorUrl.indexOf('cnn.com')!=-1&&(Sm.locatorUrl.indexOf('blog')!=-1)) gO=false;

			this.spW=gO; 

			if(gO)

			{ 

				var XG=document.createElement('div'); 

				var OA=null; 

				for(var dA in Sm.entries)

			{

				var SI=Sm.entries[dA];

				var pK=(SI.guid==QEI); 

				var eP=qU.eP(Qb,SI.guid); 

				XG.appendChild(this.mo(Sm,SI,pK,eP,!pK?null:function(qYE){OA=qYE;}));

			}

			DC.XB(null,null,XG); 

			setTimeout(function(){ OA(); },200); 

			}

			else

			{

			for(var dA in Sm.entries)

			{

				var SI=Sm.entries[dA];

				if(SI.guid==QEI)

			{

				var kK=document.createElement('div'); 

				var mN=document.createElement('a'); 

				mN.style.fontSize='0.1px'; 

				mN.href='#'; kK.appendChild(mN); 

				if(xi.Yk(SI))

			{

				kK.appendChild(xi.pa(SI,14)); 

			}

			var sH=null; 

			if(SI.content&&(SI.content!=''))

			{

			sH='<p>'+SI.content.replace(/<script/ig,"<xscript")+'</p>'; 

			}

			else

			{

				sH='<p>'+SI.byline+'</p>'; 

			}


			DC.XB(sH,kK); 

			setTimeout(function()

			{ 

				try{ mN.focus(); 

				}

				catch(qX){}},200); 

			}

			}

			}

			}

			}; 

			LQ.prototype.Bs=function(Qb)

			{

			this.Wij.EW(function(Sp,Xph)

			{

			if(Sp.DlL)

			{

			if(Sp.Qb==Qb)

			{

			var Zm=0; 

			for(var ii in Xph.ZY)

			{ 

			if(Xph.ZY[ii].Sp.Mm.eP==false) Zm++; 

			}

			Sp.rfv.nS(Zm); 

			return true; 

			}

			}

			return false; 

			},

			true);

			};

			function UE(SI,Sm)

			{ 

				this.pK=null; 

				this.eP=qU.eP(Sm.locatorUrl,SI.guid);

				this.SI=SI; 

				this.Sm=Sm; 

			}

			UE.prototype.Gb=function()

			{ 

				var tR=this; 

				this.BZ=document.createElement('div'); 

				this.hT=document.createElement('a'); 

				this.hT.style.fontSize='0.1px'; 

				this.hT.href='#';

				this.BZ.appendChild(this.hT); 

				this.BZ.className='scheme-body-text'; 

				this.BZ.style.paddingLeft='4px'; 

				this.BZ.style.paddingRight='4px'; 

				this.oK=document.createElement('div');

				this.oK.style.fontSize='12px'; 

				this.oK.appendChild(document.createTextNode(this.SI.headline)); 

				this.Bu=document.createElement('div');

				this.Bu.style.paddingTop='7px'; 

				this.Bu.style.paddingBottom='2px';

				this.Bu.style.display='none'; 

				this.AGq=document.createElement('div'); 

				this.AGq.style.fontSize='10px'; 

				this.AGq.appendChild(document.createTextNode(qg(new Date(parseInt(this.SI.timestamp)),'hh:mma E, NNN d'))); 

				this.AGq.style.textAlign='right'; 

				this.AGq.style.whiteSpace='nowrap'; 

				this.BZ.appendChild(this.oK); 

				this.Bu.appendChild(this.AGq);

				if(this.SI.creator)

				{ 

					this.hrs=document.createElement('div'); 

					this.hrs.style.fontSize='10px'; 

					this.hrs.appendChild(document.createTextNode('by '+this.SI.creator));

					this.hrs.style.textAlign='right'; 

					this.hrs.style.whiteSpace='nowrap'; 

					this.Bu.appendChild(this.hrs); 

				}

				this.BZ.appendChild(this.Bu); 

				this.BZ.style.whiteSpace='normal'; 

				this.BZ.style.marginLeft='17px'; 

				this.BZ.style.marginRight='6px'; 

				this.BZ.style.marginTop='1px'; 

				this.BZ.style.marginBottom='1px'; 

				this.BZ.style.fontWeight='normal'; 

				this.BZ.onmousedown=function()

				{

					tR.JM(true); 

				}; 

				this.tH=document.createElement('a'); 

				this.tH.style.fontSize='0.1px'; 

				this.tH.href='#'; 

				this.BZ.appendChild(this.tH); 

				this.nS(); return this.BZ; 

				};

				UE.prototype.nS=function()

				{

					var tR=this; if(this.pK)

				{ 

					DC.In(this.SI.guid,this.Sm.locatorUrl); 

					DC.iQ(this.Sm.title,this.Sm.link);

					DC.hr(this.SI.headline,this.SI.link);

					this.BZ.style.color='#'+Un; 

					this.oK.style.fontWeight='bold'; 

					this.BZ.className='scheme-header scheme-header-text'; 

					this.BZ.style.marginTop='0px'; 

					this.BZ.style.marginBottom='0px'; 

					this.BZ.style.borderTop='1px solid #'+hE;

					this.BZ.style.borderBottom='1px solid #'+hE; 

					this.BZ.style.textDecoration='none'; 

					this.Bu.style.display='block'; 

					setTimeout(function()

				{

					tR.hT.focus(); tR.tH.focus(); 

				},

				1); 

				}

				else

				{

					this.oK.style.fontWeight='normal'; 

					this.BZ.className='scheme-body scheme-body-text'; 

					this.BZ.style.marginTop='1px'; 

					this.BZ.style.marginBottom='1px'; 

					this.BZ.style.borderTop='none'; 

					this.BZ.style.borderBottom='none';

					this.Bu.style.display='none'; 

					if(this.eP)

					{ 

						this.BZ.style.textDecoration='line-through'; 

						this.BZ.style.color='#'+hE; 

					}

					else

					{ 

						this.BZ.style.textDecoration='none';

						this.BZ.style.color='#'+dg; 

					}

				}

			}; 

			UE.prototype.JM=function(pK)

			{ 

				if(!this.BZ) 

				return; 

				if(pK==this.pK) 

				return; 

				if(pK)

				{ 

					var tR=this; 

					DC.Wij.EW(function(Sp,Xph)

					{ 

						if(Sp.DlL)

						{ 

							if(Sp.Qb!=tR.Sm.locatorUrl)

							{ 

								Xph.sh(false); 

							}

						}

						return false; 

					},

					true);

					if(DC.nGM) DC.nGM.JM(false); 

					DC.nGM=this; 

				}

				this.pK=pK; 

				this.nS(); 

				if(pK)

				{

					DC.MwS=this.Sm.locatorUrl; 

					this.qI(true); 

				}

			}; 

			UE.prototype.qI=function(eP)

			{ 

				var tR=this; 

				if(eP==this.eP) 

				return; 

				this.eP=eP; 

				this.nS(); 

				if(eP)

				{ 

					qU.dU(this.Sm.locatorUrl,this.SI.guid); DC.LnL.push(this); 

				}

				else

				{

					qU.Wv(this.Sm.locatorUrl,this.SI.guid); 

				}

				DC.Bs(this.Sm.locatorUrl); 

			}; 

			function ut(Sm)

			{

				this.Sm=Sm; 

				this.GxN=Sm.title; 

				this.ATh=Sm.link; 

			}

			ut.prototype.Gb=function()

			{

				var tR=this;

				var ZP=CG(this.ATh);

				var BZ=document.createElement('div'); 

				this.BZ=BZ; 

				BZ.className='scheme-body-text'; 

				BZ.style.whiteSpace='nowrap';

				BZ.style.fontSize='12px';

				BZ.style.fontWeight='bold';

				this.NmI=document.createTextNode(this.GxN); 

				BZ.appendChild(this.NmI); 

				Rk(BZ,ZP); return BZ;

			};

			ut.prototype.nS=function(rOs)

			{

				if(rOs==0)

				{ 

					this.BZ.style.fontWeight='normal';

					this.NmI.data=this.GxN; 

				}

				else

				{ 

				this.BZ.style.fontWeight='bold'; 

				this.NmI.data=this.GxN+' ('+rOs+')'

				}

			};

		function TZ(){ var BZ=document.createElement('div'); 

		BZ.id='status-indicator'; 

		BZ.className='status-indicator scheme-body scheme-body-text';

 BZ.style.visibility='hidden';

 BZ.innerHTML='Saving...';

 
 //************************ Comment ************************
 // Call Function for get the Body.
 
 jL().appendChild(BZ);

 }

function LE(Jua,Iml,oxs,zIndex,wS,ho,qfK,ERv,qXq,parentElement,bvE,TQh,UwJ,HvJ){ var tR=this;

 this.Jua=Jua;

 if(this.oxs&&(this.Jua>0&&this.Jua<26)) this.Jua=26; 

this.Iml=Iml;

 this.oxs=oxs; 

this.wS=wS;

 this.ho=ho; 

this.qfK=qfK;

 this.ERv=ERv;

 this.qXq=qXq;

 this.zIndex=zIndex;

 this.bvE=bvE; 

this.TQh=TQh;

 this.UwJ=UwJ; 

this.HvJ=HvJ;

 this.BZ=document.createElement('div');

 this.BZ.style.position='absolute'; 

this.BZ.style.left='-1000000px';

this.BZ.style.top='-1000000px';

this.iB=document.createElement('div');

this.iB.style.position='absolute';

this.iB.style.fontSize='0.1px';

this.iB.style.left='0px'; this.iB.style.top='0px';

this.iB.style.marginLeft='5px';

this.iB.style.marginRight='5px';

this.iB.style.height='5px'; 

this.eD=document.createElement('div');

this.eD.style.position='absolute'; 

this.eD.style.fontSize='0.1px';

this.eD.style.left='0px'; 

this.eD.style.top='0px';

this.eD.style.marginLeft='5px'; 

this.eD.style.marginRight='5px'; 

this.eD.style.height='5px';

this.NV=document.createElement('div');

this.NV.style.position='absolute';

this.NV.style.left='0px'; 

this.NV.style.top='5px'; 

this.BZ.appendChild(this.iB); 

this.BZ.appendChild(this.NV); 

this.BZ.appendChild(this.eD); 

if(this.oxs){ 

	this.WHJ=document.createElement('div'); 

	this.WHJ.style.position='absolute'; 

	this.WHJ.style.width=29+'px'; 

	this.WHJ.style.height=15+'px'; 

	}

	this.RJ(zIndex); this.parentElement=(parentElement?parentElement:jL()); if(this.oxs) this.parentElement.appendChild(this.WHJ); 

	this.parentElement.appendChild(this.BZ); 

	this.ho.style.position='absolute';

	this.ho.style.left='0px'; 

	this.ho.style.top='0px';

	this.ho.style.overflow='visible';

	this.NV.style.width=(this.bvE?this.bvE:90000)+'px'; 

	this.NV.style.height=(this.TQh?this.TQh-10:90000)+'px';

	this.NV.appendChild(this.ho);

	this.Gu=document.createElement('div');

	this.PM=document.createElement('div');

	this.pL=document.createElement('div');

	this.fR=document.createElement('div');

	this.Gu.style.position='absolute'; 

	this.Gu.style.width='5px';

	this.Gu.style.height='5px';

	this.Gu.style.left='-5px'; 

	this.Gu.style.top='0px';

	this.PM.style.position='absolute'; 

	this.PM.style.width='5px';

	this.PM.style.height='5px'; 

	this.PM.style.left='-5px';

	this.PM.style.top='0px';

	this.pL.style.position='absolute'; 

	this.pL.style.width='5px';

	this.pL.style.height='5px';

	this.pL.style.left='-5px';

	this.pL.style.top='0px';

	this.fR.style.position='absolute';

	this.fR.style.width='5px';

	this.fR.style.height='5px';

	this.fR.style.left='-5px';

	this.fR.style.top='0px';

	this.iB.appendChild(this.Gu);

	this.iB.appendChild(this.PM);

	this.eD.appendChild(this.pL); 

	this.eD.appendChild(this.fR); 

	this.AP(); 

	this.position(this.Jua,this.Iml);

	this.Ns(); 

	this.MAW=new UZ(this.BZ,true,this.parentElement,true,true,false,false); 

	
	//************************ Comment ************************
	// Create the Image tag
	
	if(this.ERv){ this.gYa=VD(); 

	this.gYa.src="web/dynamicImages/"+dg+"/panel-cross.gif"; 

	this.gYa.style.position='relative';

	this.gYa.style.left='6px'; 

	this.gYa.style.top='5px';

	this.usq=document.createElement('div');

	this.usq.appendChild(this.gYa);

	this.usq.style.position='absolute';

	this.usq.style.top='7px';

	this.usq.style.right='7px';

	this.usq.style.width='19px';

	this.usq.style.height='19px';

	this.BZ.appendChild(this.usq);

	this.usq.style.cursor='pointer';

	this.usq.onmousedown=function()

		{

		tR.jp();

		};

		}

		}

		LE.prototype.Rj=function(jp){ this.jp=jp; 

		};

		LE.prototype.Ns=function(){

			var fb=Ea[this.wS]; var baseScheme=bS(colorsAndSettings.baseScheme); var qY=baseScheme.NAk.EN(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset); 

			var RX=ku(fb,IA); 

			var ks=''; 

			if(colorsAndSettings.panelDropShadowPreference=='NEVER')

				{

				ks='-noshadow';

				}

				if(this.oxs) En(this.WHJ,'web/dynamicPng/'+(this.qfK?RX:fb)+'/bubble-caret-'+(this.qfK?'up':'down')+ks+'.png');

				if(!this.UwJ){ this.NV.style.backgroundImage='url(web/gradient/'+fb+'/'+IA+'/body-gradient.gif)';

				this.NV.style.backgroundRepeat='repeat-x';

				this.NV.style.backgroundPosition='top'; 

				this.NV.style.backgroundColor='#'+fb; 

				}

				else this.NV.style.backgroundColor='#'+fb; if(!this.UwJ){

					var ih=RX; var MR=fb; 

					}

					else{ var ih=fb; var MR=fb;

					}

					this.iB.style.backgroundColor='#'+ih; this.eD.style.backgroundColor='#'+MR; En(this.Gu,'web/dynamicPng/'+ih+'/corner-nw.png'); 

					En(this.PM,'web/dynamicPng/'+ih+'/corner-ne.png');

					En(this.pL,'web/dynamicPng/'+MR+'/corner-sw.png'); 

					En(this.fR,'web/dynamicPng/'+MR+'/corner-se.png');

					};

					LE.prototype.QX=function(ho){

						this.NV.removeChild(this.ho); 

						this.ho=ho; 

						this.ho.style.position='absolute';

						this.ho.style.overflow='visible';

						this.NV.appendChild(this.ho);

						};

						LE.prototype.jc=function(left,top,width,height){

							this.bvE=width; 

							this.TQh=height; 

							this.Jua=left; 

							this.Iml=top; 

							this.AP();

							};

LE.prototype.AP=function(){

if(this.bvE&&this.TQh){

this.eMA=this.bvE; this.iTG=this.TQh-10; 

}

else

{

this.iTG=this.ho.offsetHeight; this.eMA=this.ho.offsetWidth; 

}

this.width=this.eMA;

this.height=this.iTG+5+5;

this.BZ.style.width=this.width+'px';

this.BZ.style.height=this.height+'px';

this.iB.style.width=this.eMA-5-5+'px';

this.NV.style.width=this.eMA+'px'; 

this.eD.style.width=this.eMA-5-5+'px'; 

this.NV.style.height=(this.iTG)+'px';

this.PM.style.left=this.width-10+'px';

this.fR.style.left=this.width-10+'px'; 

this.eD.style.top=this.height-5+'px'; 

this.position(this.Jua,this.Iml,!true);

};

LE.prototype.VE=function(hgG){

if(this.parentElement==hgG) return; if(this.oxs) this.parentElement.removeChild(this.WHJ);

this.parentElement.removeChild(this.BZ);

this.MAW.VE(hgG); 

this.parentElement=hgG;

if(this.oxs) this.parentElement.appendChild(this.WHJ);

this.parentElement.appendChild(this.BZ); 

}; 

LE.prototype.position=function(Jua,Iml,VkQ){

this.Jua=Jua; if(this.oxs&&(this.Jua>0&&this.Jua<26)) this.Jua=26; this.Iml=Iml; var FD=10; var dX=this.Jua+25-this.width;

if(dX<FD) dX=FD; 

this.left=dX; 

if(this.oxs){

	if(this.qfK){

		this.WHJ.style.left=this.Jua-15+'px';

		this.WHJ.style.top=this.Iml+'px'; 

		this.top=this.Iml+15;

		}

		else

			{

			this.WHJ.style.left=this.Jua-15+'px';

			this.WHJ.style.top=this.Iml-15+'px';

			this.top=(this.Iml-this.height-15);

			}

			}

			else

				{

				if(!VkQ){

					var dX=this.Jua; var cG=WW()-this.width-10; 

					if(dX>cG){ if(!this.HvJ) dX=cG; 

					}

					this.left=dX;

					this.top=this.Iml; 

					}

					}

					if(!VkQ)

						{

						this.BZ.style.left=this.left+'px'; 

						this.BZ.style.top=this.top+'px';

						}

						if(this.MAW) this.MAW.position();

						};

						LE.prototype.RJ=function(cCq){

							this.BZ.style.zIndex=cCq;

							this.zIndex=cCq;

							if(this.oxs) this.WHJ.style.zIndex=this.zIndex; 

							if(this.MAW) this.MAW.Pp(); 

							};

							LE.prototype.hide=function(){

								this.position(-10000,-10000);

								};

								LE.prototype.sV=function(){

									this.Jua=0; this.Yf();

									};

									LE.nhf=new Array();

									LE.cY=function(ho){ 

										var width=WW()-rp()-20; var left=rp()+10; 

										var top=Sn()+10;

										var height=FL()-top-10; 

										var fm=new LE(left,top,false,Oo,'00',ho,false,false,null,jL(),width,height,true); 

										LE.nhf.push(fm); 

										ho.style.position='absolute';

										ho.style.left=10+'px'; ho.style.top=5+'px'; 

										fm.Yf(); 

										return fm;

										};

										LE.prototype.Yf=function(){ 

											if(this.Jua<0) return; var width=WW()-rp()-20; var left=rp()+10; 

											var top=Sn()+10;

											var height=FL()-top-10; 

											this.jc(left,top,width,height);

											this.ho.style.width=width-24+'px';

											this.ho.style.height=height-24+'px'; 

											};

											function wN()
											
											{ 
											
											
											//************************ Comment ************************
											// Call Function for get the Body and set the background Color.
											
											jL().style.backgroundColor='#ffdddd'; 

											}

											function pb(){

											}

                                            //************************ Comment ************************
                                            // To Crete the 'div'
											pb.gI=function(sH,left,top){

												var BZ=document.createElement('div');

												BZ.className='scheme-body-text';

												BZ.innerHTML=sH; var VM=new LE(left,top,false,Oo,'00',BZ,false,false,null,jL()); 

								return VM;

								};

								function va()

								{

								var sH='    <div class="scheme-body-text" style="position:relative; padding: 16px; font-size:11px;">            <div>        <h1>Which page would you like to add this item to?</h1>      </div>                  <div style="font-size:16px;">        <ul id="choose-excellen-for-new-link-ul" style="padding-right:16px;">          <li style="padding-top:14px;"><div id="createUntitledPagePrompt2"><a onclick="return '+WE(Jp)+'();" href="">Create a new untitled page</a> (no registration required)</div></li>        </ul>      </div>                  <div style="padding-top:28px; font-size:12px;">        If you wish to add the widget/bookmark/feed to a page not listed above, please log in to that page first.      </div>                </div>';

								var LS=pb.gI(sH,100,60);

								var uY=document.getElementById('choose-excellen-for-new-link-ul'); 

								var iN=UR(); 

								for(var ii in iN)

								{

									var MX=function(dwH)

								{ 

									var Gx=document.createElement('li'); 

									var Kj=document.createElement('a'); 

									Kj.href=''; 

									Kj.appendChild(document.createTextNode(dwH));

									Kj.onclick=function(qX)

								{

									preventDefault(qX); Mb(); 

									document.location.href='/'+dwH; 

									return false;

								};

								Gx.appendChild(Kj);

								uY.insertBefore(Gx,uY.firstChild); 

								}

								(iN[ii]);

								}

								LS.AP(); 

								}

								var Tm=null; 

								function TR()

								{

								var sH='    <div class="scheme-body-text" style="position:relative; padding: 6px; font-size:11px;">      <div style="margin-top: 0px;">        <div style="font-size:14px; font-weight:bold; padding-bottom:12px;">Add a bookmark</div>      </div>      <div style="margin-top: 0px;">        <div>Bookmark title</div>        <div style="margin-top: 3px;">          <input id="add-new-link-title" name="title" type="text" value="title text" class="xscheme-body-text" style="width:300px" >        </div>      </div>      <div style="margin-top: 10px;">        <div>Bookmark address</div>        <div style="margin-top: 3px;">          <input id="add-new-link-address" name="address" type="text" value="address text" class="xscheme-body-text" style="width:300px"  >        </div>      </div>      <div id="add-new-link-panel-div" style="margin-top: 10px;">        <div>Choose a panel to add the bookmark to</div>        <div style="margin-top: 3px;">          <select class="xscheme-body-text" id="add-new-link-panel-choice" style="padding:0px; font-size:11px; width:300px;">            <option value="jim">test content</option>          </select>        </div>      </div>      <div style="position:relative; margin-top: 12px; text-align:right;">        <div>          <a class="scheme-body-text" href="" id="add-new-link-cancel-button">Cancel</a>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;          <a class="scheme-body-text" href="" id="add-new-link-ok-button">OK</a>        </div>      </div>    </div>'; 

					Tm=pb.gI(sH,-60000,-60000); 

					Tm.position(10,FL()-Tm.height-40); 

					document.getElementById('add-new-link-cancel-button').onclick=function(qX)

					{

						preventDefault(qX); 

						Tm.position(-10000,-10000); 

					}; 

					document.getElementById('add-new-link-ok-button').onclick=function(qX)

					{

						preventDefault(qX);

						Tm.position(-10000,-10000); 

						
						//************************ Comment ************************
						// Call the Function for create and add new Link. 
						
						addNewLink(); 

					};

					return Tm; 

								}

								var fC=null; 

								function Dr()

					{ 

                    //************************ Comment ************************
                    // To open the Login Window
					var sH='<div class="scheme-body-text" style="position:relative; padding-left: 16px; padding-right: 16px; padding-bottom: 16px; font-size:11px;"><div style="font-size:20px; font-weight:bold; padding-top:10px; padding-bottom:10px">Log in</div><form name="loginForm" id="loginForm" action="login.php" style="margin:0px; padding:0px;" method="POST"> <div '+((CY()||Lt(excellenPath,'excellen/'))?' style="margin-bottom:10px"':' style="display:none"')+' style="margin-top: 0px;">							<div>Login name</div>							<div style="margin-top: 3px;">								<input style="font-size:16px" id="loginField-excellenPath" name="excellenPath" type="text" value="" tabindex="1">							</div>						</div>						<div style="margin-top: 0px;">							<div>Password</div>							<div style="margin-top: 3px;">								<input style="font-size:16px" onKeyPress="'+WE(wd)+'(\'loginForm\', event);" id="loginField-password" name="password" type="password" tabindex="2">							</div>						</div>					</form>										<div style="text-align:right; padding-right:6px; padding-top:10px; font-size:11px; overflow:visible;">						<a tabindex="4" class="scheme-body-text" href="" onClick="'+WE(Us)+'(false); return false;">Cancel</a>						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;						<a tabindex="3" class="scheme-body-text" style="font-weight:bold; font-size:18px" href="" onClick="document.getElementById(\'loginForm\').action = \'login.php\'; document.getElementById(\'loginForm\').submit(); return false;">OK</a>					</div>						<div style="text-align:right; padding-right:6px; padding-top:10px; overflow:visible;"><a class="scheme-body-text" style="font-size:11px;" href="/_api/forgottenPassword">Forgot your password?</a>					</div>					</div>';

					fC=pb.gI(sH,-60000,-60000); 

					return fC; 

					}

					function gf()

					{ 

						this.tkh=false;

					}

                    //************************ Comment ************************
                    // Function for Customize list and Search.
					gf.prototype.Gb=function()

					{

						var tR=this; 

						this.ho=document.createElement('div'); 

						this.ho.style.paddingLeft='16px'; 

						this.ho.style.paddingRight='16px'; 

						this.ho.style.paddingTop='12px'; 

						this.ho.style.paddingBottom='4px';

						this.ho.appendChild(this.Ow('Search preferences')); 

						this.ho.appendChild(this.Sk()); 

						this.ho.appendChild(this.Ow('Your search engines'));

						this.ho.appendChild(this.qc()); 

						this.ho.appendChild(this.Ow('Add an engine from our directory')); 

						this.ho.appendChild(this.Hs()); 

						this.ho.appendChild(this.Ow('Advanced')); 

						this.ho.appendChild(this.Xo()); 

						this.fm=new LE(100,100,false,vJ,'00',this.ho,true,true,null); 

						this.fm.jp=function()

					{ 

						tR.ZI(false); lG.mM();

					}; 

					}; 

					gf.prototype.Ud=function(ZP,text,Fc)

					{ 

						var BZ=document.createElement('div'); 

						BZ.className='scheme-body-text'; 

						BZ.style.whiteSpace='nowrap'; 

						BZ.style.fontSize='12px'; 

						BZ.style.fontWeight=Fc?'bold':'normal'; 

						BZ.appendChild(document.createTextNode(text)); 

						Rk(BZ,ZP);

						return BZ; 

						}; 

						gf.prototype.fK=function()

					{ 

						var BZ=document.createElement('div');

						BZ.style.paddingTop='5px'; 

						BZ.style.paddingBottom='12px'; 

						BZ.style.paddingLeft='8px';

						BZ.style.paddingRight='8px'; 

						BZ.style.whiteSpace='nowrap'; 

						return BZ; 

					}; 

					gf.prototype.Ow=function(text)

					{ 

						var BZ=document.createElement('div');

						BZ.style.paddingBottom='7px';

						BZ.className='scheme-body-text'; 

						BZ.style.fontSize='12px'; 

						BZ.style.whiteSpace='nowrap'; 

						BZ.appendChild(document.createTextNode(text)); 

						return BZ; 

					}; 

					gf.prototype.lo=function(tkh)

					{ 

						this.ZI(!this.tkh); 

					}; 

					gf.prototype.ZI=function(tkh,SEi)

					{

						this.tkh=tkh; if(tkh==true)

					{

						if(!this.ho)

					{ 

						this.Gb(); 

						

					}

					else

					{ 

					}

					this.position(8,Math.max(Sn()+8,Oh-5)); 

					}

					else

					{ 

						this.position(-100000,-100000); 

						if(this.qMb) this.qMb.position(-100000,-100000);

					}

					};

					gf.prototype.position=function(x,y)

					{ 

						this.fm.position(x,y); 

					};

					gf.prototype.AP=function()

					{

						this.fm.AP(); 

					};

					gf.prototype.CF=function(content,paddingLeft,paddingRight,paddingTop,paddingBottom)

					{ 

						var BZ=document.createElement('div'); 

						BZ.style.paddingLeft=paddingLeft+'px';

						BZ.style.paddingRight=paddingRight+'px'; 

						BZ.style.paddingTop=paddingTop+'px';

						BZ.style.paddingBottom=paddingBottom+'px';

						BZ.appendChild(content); return BZ; 

					}; 

					gf.prototype.Sk=function()

					{

						var tR=this;

						var Sj=this.fK(); 

						var BZ=document.createElement('div'); 

						var input=document.createElement("input"); 

						input.type='checkbox'; 

						input.value='isChecked'; 

						input.style.padding='0px'; 

						input.style.margin='0px';

						input.checked=searchTabSettings['openResultsInNewWindow']; 

						input.onclick=function()

						{ 

							searchTabSettings['openResultsInNewWindow']=input.checked; tR.GZ(); 

						}; 

						var table=wu([input,Nj(7),kC('Search results open in a new window',11,false)]); 

						BZ.appendChild(table); 

						Sj.appendChild(BZ);

						return Sj;

						}; 

						gf.prototype.qc=function()

						{ 

							var tR=this; 

							if(this.yourSearchEnginesSectionDiv) NQ(this.yourSearchEnginesSectionDiv); 

							else this.yourSearchEnginesSectionDiv=this.fK(); 

							var Sj=this.yourSearchEnginesSectionDiv;

							var BZ=document.createElement('div'); 

							for(var ii in searchTabSettings['searchEngines'])

							{ 

								var ON=searchTabSettings['searchEngines'][ii]; BZ.appendChild(this.Qm(ON)); 

							}

							var wr=document.createElement('div');;

							var fw=YJ.lv(wr); YJ.TS(wr,'search-engine-item',fw,function(JIq)

							{ 

								var Wj=JIq; 

								searchTabSettings['searchEngines'].push(JIq); 

								tR.GZ(); tR.qc(); tR.AP(); 

							}); 

							wr.appendChild(kC('(Drag the icons to reorder)',11,false)); 

							BZ.appendChild(wr); 

							Sj.appendChild(BZ); 

							return Sj; 

						}; 

						gf.prototype.Hs=function()

						{

							var tR=this; 

							var Sj=this.fK();

							var EG=function()

							{

								tR.AP();setTimeout(function(){tR.AP();},10);

							}; 

							var BZ=document.createElement('div');

							var entries=new Array(); 

							var Tq=new Array();

							for(var ii in bW)

							{

								var Ha=function(bW)

								{ 

									var Fl=bW[ii][0]; 

									var Kc=bW[ii][1]; 

									var aO=new Array(); 

									for(var dA in Kc)

									{ 

										var ON=Kc[dA]; 

										aO.push(function(ON)

										{

											return new ub(false,function()

											{ 

												var aP=ON[1]; 

												var hj=ON[2];

												var uk=ON[3]; 

												var He=tR.Ud(CG(hj,'search'),aP); 

												var Qg=fk('Add',11,false,14,function()

												{

													searchTabSettings['searchEngines'].push(ON);

													tR.GZ(); 

													tR.qc(); 

													tR.AP(); 

												}); 

												var MQ=fk('Preview',11,false,0,function(){ El(hj); });

												var table=wu([He,Qg,MQ],false); 

												return table; },[],EG);}(ON)); 

									}

									Tq.push(new ub(false,function()

									{ 

										return tR.Ud(null,Fl); 

									},

									aO,EG)); 

								}

								(bW); 

							}

							entries.push(new ub(false,function()

							{

								return tR.Ud(null,'All categories'); 

							},

							Tq,EG)); 

							var BY=new Id(entries); 

							BY.Gb(); 

							BZ.appendChild(BY.BZ); 

							Sj.appendChild(BZ); 

							return Sj; 

						}; 

						gf.prototype.Xo=function()

						{

							var tR=this; 

							var Sj=this.fK(); 

							var EG=function()

							{

								tR.AP();setTimeout(function(){tR.AP();},10);

							};

							var BZ=document.createElement('div');

							var Ci=document.createElement('div'); 

							Ci.appendChild(document.createTextNode('Add'));

							Ci.className='scheme-body-text'; 

							Ci.style.fontSize='12px'; 

							Ci.style.fontWeight='bold';

							Ci.style.paddingLeft=4+'px'; 

							var aP=null; 

							var kH=null; 

							var ui=null; 

							var Dt=bZ('Google',140,hE,function(qET,value){ aP=value; }); 

							var EB=bZ('http://www.google.com',140,hE,function(qET,value){ kH=value; });

							var KF=bZ('http://www.google.com/search?q=',140,hE,function(qET,value){ ui=value; });

							var table=CV([

							[kC('Search engine title'),Nj(4),Dt,Uf(20)],

							[kC('Search engine URL'),Nj(4),EB,Uf(20)],

							[kC('Search engine results URL'),Nj(4),KF,Ci]

							

],

							true); 

							BZ.appendChild(table); 

							Ci.onmousedown=function()

							{

								var eH=tR.xc(null,aP,kH,ui);

								searchTabSettings['searchEngines'].push(eH); tR.GZ(); tR.qc(); tR.AP(); 

							}; 

							var eF=document.createElement('div'); 

							eF.className='scheme-body-text'; 

							eF.style.paddingTop='5px'; 

							eF.style.fontSize='11px';

							eF.style.cursor='default'; 

							eF.style.width='260px'; 

							eF.style.whiteSpace='normal';

							eF.appendChild(document.createTextNode('Instructions: Your URL should be formatted such that the search terms can be appended to the end of the URL in order to create the entire search results URL. For example, the search results URL http://site.com?query=SEARCH_TERMS&order=asc should be entered as http://site.com?order=asc&query='));

							BZ.appendChild(eF); 

							var ZY=new Array();

							ZY.push(new ub(false,function()

							{

								return BZ;

							},

							[],EG)); 

							var entries=new Array(); 

							entries.push(new ub(false,function()

							{

								return tR.Ud(null,'Add a custom search engine');

							},

							ZY,EG));

							var BY=new Id(entries);

							BY.Gb();

							Sj.appendChild(BY.BZ); 

							return Sj; 

						}; 

						gf.prototype.GZ=function()

						{

							var ta=new Array();

							ta.push(new wK('searchTabSettings',KN.stringify(searchTabSettings)));

							var PA=new hG(accountId,excellenId,null,excellenPath,'save-search-tab-settings',ta); commandProcessor.aA(PA);

						};

						gf.eK=function(EZo,sdJ,IdY,HkJ)

						{

							for(var ii in sdJ)

							{

								var currentItem=sdJ[ii]; 

								if(currentItem==EZo)

								{ 

									IdY(sdJ,parseInt(ii),HkJ); 

									break; 

								}

							}

						};

						gf.prototype.xc=function(id,aP,hj,uk)

						{

							var item=new Array(); 

							item.push(id);

							item.push(aP); 

							item.push(hj); 

							item.push(uk); 

							return item; 

						}; 

						gf.prototype.Qm=function(ON)

						{ 

							var tR=this; 

							var BZ=document.createElement('div'); 

							var fw=YJ.lv(BZ); YJ.TS(BZ,'search-engine-item',fw,function(JIq)

							{

								var Wj=JIq; gf.eK(ON,searchTabSettings['searchEngines'],function(sdJ,ii,PVA)

								{

									sdJ.splice(ii,0,Wj); tR.GZ(); tR.qc(); tR.AP(); 

								}); 

							}); 

							var lf=document.createElement('div'); 

							lf.style.fontSize='0px'; 

							lf.style.width='11px'; 

							lf.style.height='11px'; 

							lf.style.marginTop='2px'; 

							lf.style.cursor='pointer'; 

							En(lf,'web/images/todo-cross.png'); 

							lf.onclick=function()

							{

								PE(ON,searchTabSettings['searchEngines']); 

								tR.GZ(); tR.qc(); 

							}; 

							var Op=null; 

							var table=wu([Ah.IK(ON,false,function(gX){ Op=gX; }),Nj(7),lf],

							true); 

							table.style.cursor='move';

							YJ.Nu(Op,ON,BZ,'search-engine-item',function()

							{

								gf.eK(ON,searchTabSettings['searchEngines'],

								function(sdJ,ii,PVA){ sdJ.splice(ii,1); }); 

							},

							function(){ },

							function(){ },

							function(){ }); 

							BZ.appendChild(table); 

							return BZ; 

						}; 

						function BB()

						{

							if(searchTabSettings==null)

							{ 

								var aV=new Array(); 

								if(detectedCountryCode.toUpperCase()=='UK')

								{ 

									aV.push([2751,'Google - UK','http://www.google.co.uk/','http://www.google.co.uk/search?hl=en&btnG=Google+Search&meta=&q=']);

									aV.push([3402,'Amazon - U.K.','http://www.amazon.co.uk','http://www.amazon.co.uk/gp/associates/link-types/searchbox.html?tag=widgt-21&mode=blended&keyword=']);

									aV.push([2523,'Yahoo Finance U.K. (Quote lookup)','http://uk.finance.yahoo.com','http://uk.finance.yahoo.com/q?d=t&p=&q=q&m=L&s=']); 

									aV.push([3327,'eBay - U.K.','http://www.ebay.co.uk/','http://search.ebay.co.uk/search/search.dll?from=R40&satitle=']); 

								}

								else if(detectedCountryCode.toUpperCase()=='FR')

								{ 

									aV.push([3403,'Amazon - France','http://www.amazon.fr','http://www.amazon.fr/gp/associates/link-types/searchbox.html?tag=widgt-21&mode=blended&keyword=']); 

									aV.push([3309,'eBay - France ','http://www.ebay.fr/','http://search.ebay.fr/search/search.dll?from=R40&satitle=']); 

									aV.push([2718,'Google - France','http://www.google.fr/','http://www.google.fr/search?hl=fr&btnG=Recherche+Google&meta=&q=']);

									aV.push([1308,'Wikipedia - France','http://fr.wikipedia.org/','http://fr.wikipedia.org/wiki/Special:Search?go=Go&search=']);

								}

								else if(detectedCountryCode.toUpperCase()=='DE')

								{ 

									aV.push([3404,'Amazon - Germany','http://www.amazon.de','http://www.amazon.de/gp/associates/link-types/searchbox.html?tag=widgt0b-21&mode=blended&keyword=']);

									aV.push([3310,'eBay - Germany ','http://www.ebay.de/','http://search.ebay.de/search/search.dll?from=R40&satitle=']);

									aV.push([2780,'Google - Germany','http://www.google.de/','http://www.google.de/search?hl=de&btnG=Google-Suche&meta=&q=']);

									aV.push([1307,'Wikipedia - German','http://de.wikipedia.org/','http://de.wikipedia.org/wiki/Special:Search?go=Go&search=']);

								}

								else if

								(detectedCountryCode.toUpperCase()=='JP')

								{ 

									aV.push([3405,'Amazon - Japan','http://www.amazon.co.jp','http://www.amazon.co.jp/gp/associates/link-types/searchbox.html?tag=a08ca-22&mode=blended&keyword=']); 

									aV.push([2814,'Google - Japan','http://www.google.co.jp','http://www.google.co.jp/search?hl=ja&btnG=Google+%E6%A4%9C%E7%B4%A2&lr=&q=']);

									aV.push([1310,'Wikipedia - Japanese','http://ja.wikipedia.org/','http://ja.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

								}

								else if

								(detectedCountryCode.toUpperCase()=='CA')

								{

								aV.push([3406,'Amazon - Canada','http://www.amazon.ca','http://www.amazon.ca/gp/associates/link-types/searchbox.html?tag=a09213-20&mode=blended&keyword=']); 

								aV.push([3307,'eBay - Canada ','http://www.ebay.ca/','http://search.ebay.ca/search/search.dll?from=R40&satitle=']);

								aV.push([2730,'Google - Canada','http://www.google.ca/','http://www.google.ca/search?hl=en&btnG=Google+Search&meta=&q=']); 

								}

								else if

								(detectedCountryCode.toUpperCase()=='AR')

								{ 

									aV.push([3302,'eBay - Argentina','http://www.mercadolibre.com.ar/home_visitor.html','http://listado.mercadolibre.com.ar/']);

									aV.push([2763,'Google - Argentina','http://www.google.com.ar/','http://www.google.com.ar/search?hl=es&btnG=B%C3%BAsqueda+en+Google&meta=&q=']); 

								}

								else if

								(detectedCountryCode.toUpperCase()=='AU')

								{

									aV.push([3303,'eBay - Australia','http://www.ebay.com.au/','http://search.ebay.com.au/search/search.dll?from=R40&satitle=']); 

									aV.push([2723,'Google - Australia','http://www.google.com.au/','http://www.google.com.au/search?hl=en&btnG=Google+Search&meta=&q=']);

								}

								else if

								(detectedCountryCode.toUpperCase()=='AT')

								{

									aV.push([3304,'eBay - Austria ','http://www.ebay.at/','http://search.ebay.at/search/search.dll?from=R40&satitle=']); 

								}

								else if

								(detectedCountryCode.toUpperCase()=='BE')

								{

									aV.push([3305,'eBay - Belgium ','http://www.ebay.be/','http://search.benl.ebay.be/search/search.dll?from=R40&satitle=']); 

									aV.push([2767,'Google - Belgium','http://www.google.be','http://www.google.be/search?hl=nl&btnG=Google+zoeken&meta=&q=']);

									}

									else if

									(detectedCountryCode.toUpperCase()=='BR')

									{

										aV.push([3306,'eBay - Brazil ','http://www.mercadolivre.com.br/home_visitor.html','http://lista.mercadolivre.com.br/']); 

										aV.push([2772,'Google - Brazil','http://www.google.com.br/','http://www.google.com.br/search?hl=pt-BR&btnG=Pesquisa+Google&meta=&q=']); 

										aV.push([1302,'Wikipedia - Portuguese','http://pt.wikipedia.org/','http://pt.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

										aV.push([1304,'Wikipedia - Espanol','http://es.wikipedia.org/','http://es.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='CN')

									{

										aV.push([3308,'eBay - China ','http://www.ebay.com.cn/','http://search.ebay.com.cn/search/search.dll?from=R40&satitle=']);

										aV.push([2824,'Yahoo - China','http://chinese.yahoo.com/','http://chinese.yahoo.com/?p=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='HK')

									{

										aV.push([3311,'eBay - Hong Kong','http://www.ebay.com.hk/','http://search.ebay.com.hk/search/search.dll?from=R40&satitle=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='IN')

									{

										aV.push([3312,'eBay - India ','http://www.ebay.in/','http://search.ebay.in/search/search.dll?from=R40&satitle=']); 

										aV.push([2737,'Google - India','http://www.google.co.in/','http://www.google.co.in/search?hl=en&btnG=Google+Search&meta=&q=']); 

										aV.push([2829,'Yahoo - India','http://in.yahoo.com/','http://in.search.yahoo.com/search?p=']); 

									}

									else if(detectedCountryCode.toUpperCase()=='IE')

									{

										aV.push([3313,'eBay - Ireland ','http://www.ebay.ie/','http://search.ebay.ie/search/search.dll?from=R40&satitle=']);

									}

									else if(detectedCountryCode.toUpperCase()=='IT')

									{ 

										aV.push([3314,'eBay - Italy ','http://www.ebay.it/','http://search.ebay.it/search/search.dll?from=R40&satitle=']);

										aV.push([2789,'Google - Italy','http://www.google.it/','http://www.google.it/search?hl=it&btnG=Cerca+con+Google&meta=&q=']);

										aV.push([1303,'Wikipedia - Italian','http://it.wikipedia.org/','http://it.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if(detectedCountryCode.toUpperCase()=='KR')

									{

										aV.push([3315,'eBay - Korea ','http://www.auction.co.kr/default.html','http://www.auction.co.kr/default.html?keyword=&itemno=&seller=&dom=auction&isSuggestion=No&optSection=%C5%EB%C7%D5%B0%CB%BB%F6&x=19&y=9&txtKeyword=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='MY')

									{

										aV.push([3316,'eBay - Malaysia ','http://www.ebay.com.my/home','http://www.ebay.com.my/listResults?browse=0&Submit=Search&Query=']); 

										aV.push([2831,'Yahoo - Malaysia','http://malaysia.yahoo.com/','http://malaysia.search.yahoo.com/search?p=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='MX')

									{ 

										aV.push([3317,'eBay - Mexico ','http://www.mercadolibre.com.mx/home_visitor.html','http://listado.mercadolibre.com.mx/']); 

										aV.push([2799,'Google - Mexico','http://www.google.com.mx/','http://www.google.com.mx/search?hl=es&btnG=B%C3%BAsqueda+de+im%C3%A1genes&q=china&sa=N&tab=iw&q=']);

										aV.push([2823,'Yahoo - Mexico','http://mx.yahoo.com/','http://mx.search.yahoo.com/search?p=']); 

										aV.push([1304,'Wikipedia - Espanol','http://es.wikipedia.org/','http://es.wikipedia.org/wiki/Special:Search?go=Go&search=']);

									}

									else if

									(detectedCountryCode.toUpperCase()=='NL')

									{ 

										aV.push([3318,'eBay - Netherlands ','http://www.ebay.nl/','http://search.ebay.nl/search/search.dll?from=R40&satitle=']); 

										aV.push([1309,'Wikipedia - Dutch','http://nl.wikipedia.org/','http://nl.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='NZ')

									{

										aV.push([3319,'eBay - New Zealand','http://pages.ebay.com/nz/','http://search.ebay.com//search/search.dll?salic=149&sojs=1&from=R40&satitle=']);

										aV.push([2744,'Google - New Zealand','http://www.google.co.nz/','http://www.google.co.nz/search?hl=en&btnG=Google+Search&meta=&q=']);

										aV.push([2828,'Yahoo - Australia/New Zealand','http://au.yahoo.com/','http://au.search.yahoo.com/search?p=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='PH')

									{

										aV.push([3320,'eBay - Philippines ','http://www.ebay.ph/home','http://www.ebay.ph/listResults?browse=0&Submit=Search&Query=']);

										aV.push([2832,'Yahoo - Phillipines','http://ph.yahoo.com','http://ph.search.yahoo.com/search?p=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='PL')

									{ 

										aV.push([3321,'eBay - Poland ','http://www.ebay.pl/','http://search.ebay.pl/search/search.dll?from=R40&satitle=']); 

										aV.push([1306,'Wikipedia - Polish','http://pl.wikipedia.org/','http://pl.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='SG')

									{

										aV.push([3322,'eBay - Singapore ','http://www.ebay.com.sg/','http://search.ebay.com.sg/search/search.dll?from=R40&satitle=']); 

										aV.push([2833,'Yahoo - Singapore','http://sg.yahoo.com/','http://sg.search.yahoo.com/search?p=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='ES')

									{

										aV.push([3323,'eBay - Spain ','http://www.ebay.es/','http://search.ebay.es/search/search.dll?from=R40&satitle=']);

										aV.push([2784,'Google - Spain','http://www.google.es/','http://www.google.es/search?hl=es&btnG=B%C3%BAsqueda+en+Google&meta=&q=']);

										aV.push([2826,'Yahoo - Spain','http://espanol.yahoo.com/','http://espanol.search.yahoo.com/search?p=']); 

										aV.push([1304,'Wikipedia - Espanol','http://es.wikipedia.org/','http://es.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='SE')

									{

										aV.push([3324,'eBay - Sweden ','http://www.ebay.se/home','http://www.ebay.se/listResults?browse=0&Submit=S%C3%B6k&Query=']);

										aV.push([1305,'Wikipedia - Svenska','http://sv.wikipedia.org/','http://sv.wikipedia.org/wiki/Special:Search?go=Go&search=']); 

									}

									else if

									(detectedCountryCode.toUpperCase()=='CH')

									{

										aV.push([3325,'eBay - Switzerland ','http://www.ebay.ch/','http://search.ebay.ch/search/search.dll?from=R40&satitle=']); 

										aV.push([2809,'Google - Switzerland','http://www.google.ch/','http://www.google.ch/search?hl=de&btnG=Google-Suche&meta=&q=']);

										aV.push([1308,'Wikipedia - France','http://fr.wikipedia.org/','http://fr.wikipedia.org/wiki/Special:Search?go=Go&search=']);

										aV.push([1307,'Wikipedia - German','http://de.wikipedia.org/','http://de.wikipedia.org/wiki/Special:Search?go=Go&search=']);

									}

									else if

									(detectedCountryCode.toUpperCase()=='TW')

									{

										aV.push([3326,'eBay - Taiwan ','http://www.tw.ebay.com/','http://search.tw.ebay.com/search/search.dll?from=R40&satitle=']);

									}

									var Ca=[ [2701,'Google','dictionary.gif','http://www.google.com/search?hl=en&q='],

									[1301,'Wikipedia - English','dictionary.gif','http://en.wikipedia.org/wiki/Special:Search?go=Go&search='],

									[1101,'Dictionary','dictionary.gif','http://dictionary.reference.com/search?q='],

									[1102,'Thesaurus','dictionary.gif','http://thesaurus.reference.com/search?q='],

									[3401,'One Look Dictionary','dictionary.gif','http://www.onelook.com/?w='],

									[2818,'Webster Online','dictionary.gif','http://www.merriam-webster.com/dictionary/'],

									[2501,'Cambrige','dictionary.gif','http://dictionary.cambridge.org/results.asp?searchword='],

									[3301,'Cambrige','dictionary.gif','http://dictionary.cambridge.org/results.asp?searchword='],

									[201,'American English','dictionary.gif','http://dictionary.cambridge.org/define.asp?key='],

									[1009,'Idioms','dictionary.gif','http://dictionary.cambridge.org/results.asp?searchword='],

									[1607,'Portugues','dictionary.gif','http://www.academia.org.br/abl/cgi/cgilua.exe/sys/start.htm?sid=23'],

									[106,'Portugues','dictionary.gif','http://www.priberam.pt/dlpo/definir_resultados.aspx?pal=']

									

]; 

aV=aV.concat(Ca);

 searchTabSettings={ 'openResultsInNewWindow':true,'searchEngines':aV

}; 

							}

							if(searchTabSettings['searchEngines'].length==0)

							{

								searchTabSettings['searchEngines'].push([2701,'Google','http://www.google.com/',

'http://www.google.com/search?hl=en&q=']);

							}

							lG=new Ah(); 

						}

						function Ah()

						{

							var tR=this; 

							this.GH=document.createElement('div'); 

							this.GH.style.position='absolute'; 

							this.GH.style.overflow='hidden'; 

							this.GH.id='search-tab';

							this.GH.style.zIndex=Vw;

							Gm.appendChild(this.GH); 

							this.mM(); 

							this.position();

							KJ

							(this.GH,function(ab)

							{

						if(tR.owR.style.display=='block')

						{

									if(tR.jfK!=null) 

									return; tR.owR.style.display='none'; 

									tR.qo.qd(); 

									tR.qo.position(5,0); 

									tR.position(); 

									tR.qo.MAW.position(); 
							}

						}

				);
                	St(this.GH,function(ab)
    
						{

						   if(tR.owR.style.display=='none')

						{

								tR.owR.style.display='block'; 

								tR.qo.qd(); 

								tR.qo.position(5,0); 

								tR.position();

								tR.qo.MAW.position(); 

						}

						}

					);

			}

						Ah.prototype.position=function()

					{

					this.GH.style.top=WP+'px'; 

					var XK=this.qo.ql();

					this.GH.style.width=XK+5+'px';

					this.GH.style.left=(WW()-(XK+5))+'px'; 

					this.GH.style.height=this.qo.NN()+5+'px'; 

																																};

																																Ah.prototype.mM=function()

																																		{

																																		var tR=this; var BZ=this.GH; NQ(BZ); this.qo=new Pd(); this.mQe=document.createElement('div'); var OV=function(an,hasFocus){

																																			if(tR.jfK==an&&!hasFocus)

																																				{ 

																																				setTimeout(function()

																																					{ 

																																					if(tR.jfK==null)

																																						{ 

																																						tR.owR.style.display='none'; tR.qo.qd(); tR.qo.position(5,0); tR.position(); tR.qo.MAW.position();

																																						}

																																						},20);

																																						}

																																						tR.jfK=hasFocus?an:null;

																																						};

																																						this.MEH=document.createElement('div');

																																						this.MEH.style.paddingLeft='5px'; 

																																						this.MEH.style.paddingRight='5px'; 

																																						var Fq=searchTabSettings['searchEngines'][0]; 

																																						this.MEH.appendChild(Ah.IK(Fq,true,null));

																																						this.owR=document.createElement('div'); 

																																						this.owR.style.display='none'; 

																																						this.owR.style.paddingLeft='5px';

																																						this.owR.style.paddingRight='5px'; 

																																						for(var ii=1;ii<searchTabSettings['searchEngines'].length;ii++)

																																						{ 

																																							var ON=searchTabSettings['searchEngines'][ii];

																																							this.owR.appendChild(Ah.IK(ON,false,null,OV));

																																						}

																																						var iS=fk('Customize list',11,false,5,function()

																																						{ 

																																						if(!kp) kp=new gf(); lN.ZI(false); kp.ZI(true); 

																																						}

																																								);

																																						iS.className='scheme-header-text'; 

																																						iS.style.fontWeight='normal';

																																						var UX=document.createElement('div'); 

																																						UX.style.textAlign='right'; UX.appendChild(iS); 

																																						if(loggedIn) this.owR.appendChild(UX); 

																																						this.mQe.appendChild(this.MEH); 

																																						this.mQe.appendChild(this.owR); 

																																						this.qo.bc(BZ,this.mQe,null,'00',true,false,null,null);

																																						this.qo.position(5,0);

																																								};

																																								Ah.IK=function(ON,focus,Mfi,OV){

																																									var BZ=document.createElement('div'); 

																																									
																																									//************************ Comment ************************
																																									// Call Function Create the Image tag
																																									
																																									var aU=VD();

																																									var aP=ON[1];

																																									var hj=ON[2]; 

																																									var uk=ON[3]; 

																																									aU.src='web/images/favIcon/search/'+hj; 

														//alert(aU.src);													  aU.width=16; 

																																									aU.height=16; 

																																									if(Mfi) Mfi(aU); bJ.Vh(BZ,'Search: '+aP,null,null,true); 

																																									var form=document.createElement('form');

																																									form.style.padding='0px'; 

																																									form.style.margin='0px';

																																									var an=null; 

																																									var Yt=bZ('',110,kv,function(qET,value){ 

																																									},

																																									function(jSk)

																																									{

																																										an=jSk; an.name='qqqqqqqqqqqq'; 

																																									}

																																									);

																																									if(OV)

																																									{

																																										an.onfocus=function()

																																											{

																																												OV(an,true);

																																											};

																																											an.onblur=function()

																																								{

																																									OV(an,false);

																																								};

																																									}

																																									if(focus)

																																									{ 

																																									XU=an; setTimeout(function()

																																									{

																																										XU.focus();

																																									},200);

																																									};

																																									form.onsubmit=function(qX)

																																									{

																																										preventDefault(qX); 

																																										var ds=uk+an.value; 

																																										if(searchTabSettings['openResultsInNewWindow']) El(ds); 

																																										else window.location=ds; 

																																										return false; 

																																									};

																																									form.appendChild(Yt); BZ.appendChild(wu([aU,Nj(5),form],

																																									true)); 

																																									var xY=document.createElement('div'); xY.style.height='5px'; BZ.appendChild(xY); 

																																									return BZ; 

																																								}; 
                                                                                                                                                                
                                                                                                                                                               
                                                                                                                                                                														//************************ Comment ************************
																																								// Function for Welcome Tab Setting
																																								
																																								function FT(qo)

																																									{

																																										var tR=this; 

																																										this.qo=qo;

																																										var x=qo.left+qo.BZ.offsetWidth-14;

																																										var y=qo.top+qo.BZ.offsetHeight-10;

																																										this.BZ=document.createElement('div'); 

																																										this.BZ.style.paddingLeft='15px'; 

																																										this.BZ.style.paddingRight='15px'; 

																																										this.BZ.style.paddingTop='5px'; 

																																										this.BZ.style.paddingBottom='5px';

																																										this.BZ.style.width='240px'; 

																																										this.BZ.appendChild(kC('Tab settings',14,true));

																																										this.BZ.appendChild(Uf(7)); 

																																										this.BZ.appendChild(kC('Tab color',12,false)); 

																																										this.BZ.appendChild(Uf(5));

																																										this.jAQ=new BG(function(wS)

																																									{

																																										tR.qo.rv['schemeOffset']=wS; tR.qo.wS=wS; tR.qo.Ns(); tR.qo.rv.nT(); 

																																									}

																																									);

																																									this.BZ.appendChild(this.jAQ.BZ);

																																									this.BZ.appendChild(Uf(12)); 

																																									this.BZ.appendChild(kC('Widget layout mode',12,false));

																																									this.BZ.appendChild(Uf(5));

																																									
																																									//************************ Comment ************************
																																									// Call function for create radio button. 'Free positioning' and 'Gravity'
																																									
																																									this.EUZ=new mS(['Free positioning','Gravity'],['free','gravity'],function(Lb)

																																								{

																																									var GI=tR.qo.rv['positioning'];

																																									if(GI==null||GI=='free')

																																								{

																																									if(Lb=='gravity')

																																								{

																																									Av();

																																								}

																																								}

																																								else if(GI=='gravity')

																																								{ 

																																								if(Lb=='free')

																																								{

																																								rM(); 

																																								}

																																								}

																																								HO.eY();

																																								}

																																							);

																																								setTimeout(function()

																																								{

																																								tR.EUZ.Iq(tR.qo.rv['positioning']);

																																								},1);

																																								this.BZ.appendChild(this.EUZ.GH); 

																																								this.BZ.appendChild(Uf(18)); 

																																								if(loggedIn&&this.qo.Kc['sharing']['type']!='imported')

																																							{

																																								var mY=document.createElement('div');

																																								mY.className='scheme-body-text';

																																								mY.style.fontSize='11px'; 

																																								mY.style.width='226px'; 

																																								mY.style.whiteSpace='normal'; 

																																								var Ie=document.createElement('span');

																																								Ie.appendChild(document.createTextNode('Note: Tabs are shared according to the category (or categories) they are in. To configure sharing for tabs in this category, click '));

																																								var eL=document.createElement('a');

																																								eL.style.textDecoration='underline'; 

																																								eL.style.cursor='pointer'; 

																																								eL.appendChild(document.createTextNode('here'));

																																								eL.onclick=function(qX){ stopPropagation(qX);

																																								var Kc=tR.qo.Kc; 

																																								for(var ii in YK.WQo)

																																							{ 

																																								if(YK.WQo[ii].Kc==Kc)

																																							{																																								YK.hij=new XM(YK.WQo[ii].BT); 

																																							}

																																							}

																																							};

																																							mY.appendChild(Ie); mY.appendChild(eL); 

																																							this.BZ.appendChild(mY); 

																																							}

																																							this.BZ.appendChild(Uf(18));

																																							var lf=document.createElement('div'); 

																																							lf.style.fontSize='0px'; 

																																							lf.style.width='11px';

																																							lf.style.height='11px'; 

																																							lf.style.marginTop='2px';

																																							En(lf,'web/images/todo-cross.png'); 

																																							var Qr=this.qo.rv.Bp()>1; 

																																							var cB=Qr?'Remove copy of this tab':'Delete this tab'; 

																																							var SZ=wu([lf,Nj(6),fk(cB,12,false,0,function(){ },null,true)]); 

																																							var dk=document.

																																							createElement('div'); 

																																							dk.style.clear='both'; 

																																							dk.style.cursor='pointer';

																																							dk.style.marginTop='2px'; 

																																							dk.appendChild(SZ); dk.onclick=function()

																																					{

																																						FT.Ms(); 

																																						if(Qr)

																																						{

																																							var Bn=confirm("You are about to remove a copy of this tab (this tab will continue to exist in another category). Are you sure?");

																																							if(Bn)

																																							{ 

																																								tR.qo.rv.bd(hM); YK.mM(); 

																																							}

																																						}else

																																						{

																																							var We=false;

																																							for(var ii in categories)

																																							{

																																								var Kc=categories[ii]; 

																																								if(!Kc.ZJ())

																																								{

																																									for(var dA in Kc['virtualPages'])

																																									{

																																										var XL=Kc['virtualPages'][dA];

																																										if(XL!=tR.qo.rv['id'])

																																										{

																																											We=true; 

																																											break; 

																																										}

																																									}

																																								}

																																							}

																																							var QS=true; 

																																							for(var ii in panelDatas)

																																							{

																																								if(panelDatas[ii].rv==tR.qo.rv['id']) QS=false; 

																																							}

																																							if(!QS)

																																							{

																																								alert('As a safety precaution, before you can delete this tab, you must delete all widgets inside it.'); 

																																							}

																																							else if(!We)

																																							{

																																								alert('You cannot delete this tab, because you must have at least one tab in your Widgt.'); 

																																							}

																																							else

																																							{

																																								var Bn=confirm("WARNING: You are about to permanently delete this tab. Are you sure?"); 

																																								if(Bn){ tR.qo.rv.Qo(); YK.mM(); }

																																							}

																																						}

																																					}; 

																																					var sw=fk('Cancel',12,false,0,function(){ FT.Ms(); },null,

																																					true); sw.style.display='block'; sw.style.paddingBottom='1px'; 

																																					var TE=fk('Save',14,true,0,function(){ FT.Ms(); },null,true); 

																																					this.BZ.appendChild(dk); 

																																					var Xw=wu([sw,Nj(10),TE],'bottom'); Gp(Xw); 

																																					this.BZ.appendChild(Xw); 

																																					this.BZ.appendChild(Uf(5)); FT.Rj(null); FT.oB(this.BZ,x,y); }; FT.Ms=function()

																																					{

																																					  if(FT.fm)

																																						{

  																													    								 if(this.Jua!=-10000||this.Iml!=-10000) FT.fm.position(-10000,-10000); 

																																					    }

																																					}; 


																																					FT.Rj=function(KFt)

																																					{ 

																																						FT.KFt=KFt; 

																																						};

																																						FT.oB=function(ho,x,y)

																																						{

																																							if(!FT.fm)

																																							{ 

																																								FT.fm=new LE(x,y,true,ls,'00',ho,true,true,null); 

																																								FT.fm.Rj(function()

																																								{

																																									FT.fm.position(-10000,-10000); 

																																									if(FT.KFt) FT.KFt(); 

																																								}); 

																																							}else

																																							{ 

																																								FT.fm.QX(ho); 

																																								FT.fm.position(x,y,false); FT.fm.AP(); 

																																							}

																																							};

																																							function BG(Rbg)

																																							{ 

																																								var BZ=document.createElement("div"); 

																																								this.BZ=BZ; 

																																								var vU=6; 

																																								var MJ=16;

																																								var YA=5; 

																																								var Al=0; 

																																								var xS=['00','01','02','03','04','05','06','07','08','09','10']; 

																																								for(var ii=0;ii<=10;ii++)

																																								{ 

																																									var PV=xS[ii]; 

																																									var qh=this.JI(Al+(MJ+YA)*ii,0,MJ,MJ,vU,mp[PV],Cs[PV]);

																																									BZ.appendChild(qh); qh.onmousedown=Rb(Rbg,PV);

																																								}

																																								var Yx=Al+(11*(MJ+YA))-YA; 

																																								var tj=MJ; BZ.style.width=Yx+'px'; 

																																								BZ.style.height=tj+'px'; 

																																								BZ.style.position='relative'; 

																																								BZ.style.height=MJ+'px'; 

																																							}

																																							BG.prototype.JI=function(left,top,width,height,DR,FAT,TD)

																																							{

																																								var BZ=document.createElement('div');

																																								BZ.style.fontSize='1px'; 

																																								BZ.style.position='absolute'; 

																																								BZ.style.left=left+'px'; 

																																								BZ.style.top=top+'px';

																																								BZ.style.width=(width-2)+'px'; 

																																								BZ.style.height=(height-2)+'px'; 

																																								BZ.style.border='1px solid #'+TD; 

																																								BZ.style.cursor='pointer'; 

																																								BZ.style.backgroundImage='url(web/gradient/'+FAT+'/'+TA+'/header-gradient.gif)'; 

																																								BZ.style.backgroundRepeat='repeat-x'; 

																																								BZ.style.backgroundPosition='top'; 

																																								BZ.style.backgroundColor='#'+FAT; return BZ; 

																																							}; 

																																							function Ux()

																																							{

																																							if(excellenPath=='excellen/widgettest') 

																																							return; 

																																							if(!loggedIn)

																																							{ 

																																								if(loggedInAsGuest)

																																								{ 

																																									HO=new vq(sj());

																																								}

																																								else

																																								{ 

																																									HO=new vq(ct()); 

																																								}

																																							}

																																							else

																																							{ 

																																								if(CY())

																																								{

																																									HO=new vq(Yd()); 

																																								}

																																								else

																																								{

																																									HO=new vq(ag()); 

																																								}

																																							}

																																							HO.as(Yl(),cJ()); HO.oI(); 

																																							}

																																							var tZ=new rZ('Escolha Tema','colors',19,function()

																																							{

																																							Zb.open();

																																							return false; 

																																							},

																																							'Choose the color scheme and wallpaper for your Widgt');

																																							vq.tZ=tZ;

																																							
																																							//************************ Comment ************************
																																							// For Creating the button 'Add widgets'
																																							var sl=new rZ('Iniciar','widget',19,pP); vq.sl=sl; vq.sl.xER='Clique em Iniciar para ver o menu de Widgets. Selecione e puxe para o centro da pagina o que desejar.';

																																																																														//************************ Comment ************************
																																							// Call when Click on about button.
																																							var bu=new rZ('Ajuda','bullet',19,function(iOE,HO,FbK)

																																							{

																																								var cM=es(FbK);

																																								if(!vq.fjd)

																																								{

																																									var BZ=document.createElement('div'); 

																																									BZ.style.padding='5px 10px 5px 10px';

																																									BZ.appendChild(fk('Read the Widgt news blog',11,false,5,function()

																																									{

																																										return El('http://66.7.200.176/~excellen/excellentglobal/Widgts/'); 

																																									}

																																									));

																																									BZ.appendChild(wo(8)); 

																																									BZ.appendChild(Uf(1));

																																									BZ.appendChild(fk('Set this as your homepage',11,false,5,function()

																																									{

																																									return El

																																									('/_api/setAsHomepage?path='+excellenPath);

																																									})); 

																																									BZ.appendChild(Uf(1)); 

																																									BZ.appendChild(fk('Invite a friend',11,false,5,function()

																																									{

																																									return El

																																									('/'+excellenPath+'/_api/sendInvitations');

																																									})); 

																																									BZ.appendChild(Uf(1));

																																									BZ.appendChild(fk('Send us feedback / suggestions',11,false,5,function()

																																									{ 

																																										return 

																																										El('contact.php'); }));

																																										BZ.appendChild(Uf(1)); 

																																										BZ.appendChild(fk('More about Widgt',11,false,5,function()

																																										{ 

																																											return El('help/'); 

																																										}));

																																										BZ.appendChild(Uf(1)); 

																																										BZ.appendChild(fk('Your account settings',11,false,5,function()

																																										{

																																											return El('/'+excellenPath+'/_api/editAccount');

																																											}));

																																											vq.fjd=new LE(cM.x,cM.y,true,Dn-2,'00',BZ,false,true,null); vq.fjd.Rj(function()

																																											{

																																											vq.fjd.position(-10000,-10000); 

																																											}); 

																																								}

																																								else

																																								{ 

																																								vq.fjd.position(cM.x,cM.y,false); 

																																								}

																																							},'Click here for more information about Widgt, how to contact us, and more.'); 

																																							
																																							//************************ Comment ************************
																																							// Call when Click on 'Legal / privacy' Button.
																																							
																																							var xO=new rZ('Copyright','bullet',18,function()

																																							{

																																							return El('terms.php');

																																							}

																																							);

																																							var XF=new rZ('A EG','bullet',19,function()

																																							{

																																							return El('help/');

																																							},'More information about Widgt');

																																							var Eg=new rZ('Gravity on','gravity',19,function(button,HO)

																																							{ 

																																								var GI=QV['positioning']; 

																																								if(GI==null||GI=='free')

																																								{

																																								Av(); 

																																								}

																																								else if

																																								(GI=='gravity')

																																								{

																																								rM(); 

																																								}

																																								HO.eY(); 

																																								},'Quando gravity esta off, voce pode posicionar seus widgets livremente. Se estiver on, entao elas nao se sobreporao. Cada tab tem um ajuste de gravidade diferente.');

																																								vq.Eg=Eg; var EY=new rZ('Import these tabs into your own Widgt','import',16,function(button,HO)

																																								{ 

																																								var UI=new Object(); 

																																								UI['type']='importedCategory'; 

																																								UI['granterexcellenId']=excellenId;

																																								UI['granterAccountId']=accountId;

																																								UI['granterCategoryId']=QV.Xx(); 

																																								UI['guestPassword']=pageParams['guestPassword'];

																																								Wa('/add-imported-category',UI); 

																																								},'Click here to access the tabs in this Widgt from your own personal Widgt. A new free personal Widgt will be created for you if you do not already have one.');

																																								
																																								//************************ Comment ************************
																																								// To open the Login Window
																																								var OZ=new rZ('Log in','key',22,function()

																																								{ 

																																									Us(true);

																																									return false; 

																																								},'Se ja for assinante, clique aqui para fazer seu login.'); 

																																								function ag()

																																								{

																																									return [ bu,new rZ('Logout','key',22,function(){DH();

																																									return false;

																																									},'Log out of your Widgt'),tZ,Eg,sl ]; 

																																								}

																																								function sj()

																																							{

																																								return 

																																								[ XF,new rZ('Logout',

'key',22,function(){DH();return false;},'Log out of your Widgt'),Eg,sl,EY

]; 

																																							}

																																							function ct(){

																																							var FA=[ xO,XF,OZ

];

																																							var IQ=false; for(var ii in categories)

																																							{																																								if(categories[ii]['virtualPages'].length>0) IQ=true; 

																																							}

																																							if(IQ) FA.push(EY); return FA; }function Yd()

																																																														{

																																																										

																																																															return [ xO,OZ,XF,tZ,Eg,sl]; 

																																																														}

																																																														
																																																														// Function For Creating Link on Button.
																																																														function rZ(label,JqI,NsK,HiP,rLu){

																																																														this.label=label; 

																																																														this.JqI=JqI; 

																																																														this.NsK=NsK;

																																																														this.HiP=HiP; 

																																																														this.rLu=rLu; 
																																																														


																																																											}

																																																											rZ.prototype.HS=function(){

																																																												this.CP.style.textDecoration='underline';

																																																												};

																																																												rZ.prototype.dI=function()

																																																													{ 

																																																														this.CP.style.textDecoration='none'; 

																																																														};

																																																														rZ.prototype.click=function(HO,FbK)

																																																															{

																																																															if(vq.NOB) vq.NOB.jp(); if(this.HiP) this.HiP(this,HO,FbK);

																																																															};

																																																															rZ.prototype.aY=function(){

																																																																if(this.rLu) pI.Vh(this.CP,this.rLu);

																																																																};

																																																																vq.prototype.jg=function(iOE,abe,CP)

																																																																	{ 

																																																																	var tR=this; St(abe,function(ab)

																																																																		{ iOE.HS(); 

																																																																	}

																																																																	);

																																																																	KJ(abe,function(ab){ iOE.dI(); 

																																																																	}

																																																																	);

																																																																	abe.onclick=function(qX){ preventDefault(qX); iOE.click(tR,qX); NQ(CP); CP.appendChild(document.createTextNode(iOE.label)); return false; 

																																																																	};

																																																																	};

																																																																	var en='web/images/toolbar2/'; 

																																																																	function vq(NeT,parentElement)

																																																																		{

																																																																			this.qo=new Pd();

																																																																			this.NeT=NeT; 

																																																																			this.parentElement=parentElement;

																																																																			for(var ii in this.NeT) this.NeT[ii].parentToolbar=this; 

																																																																			var xo=document.createElement('div');

																																																																			this.xo=xo; xo.style.paddingLeft='5px';

																																																																			xo.style.paddingRight='5px';

																																																																			var table=document.createElement('table'); 

																																																																			this.table=table; table.cellPadding=0; 

																																																																			table.cellSpacing=0; 

																																																																			var JH=document.createElement('tbody');

																																																																			var Pa=document.createElement('tr'); 

																																																																			Pa.vAlign='middle';

																																																																			JH.appendChild(Pa);

																																																																			table.appendChild(JH);

																																																																			xo.appendChild(table); 

																																																																			for(var ii=0;ii<this.NeT.length;ii++){ var gp=this.NeT[ii];

																																																																			gp.BZ=document.createElement('div');

																																																																			gp.BZ.style.paddingBottom='2px'; 

																																																																			var jA=document.createElement('td');

																																																																			var Fb=document.createElement('td');

																																																																			var fZ=document.createElement('div'); 

																																																																			gp.fZ=fZ; fZ.style.width=gp.NsK+'px';

																																																																			fZ.style.height='24px';

																																																																			En(fZ,en+gp.JqI+'.png',false); 

																																																																			jA.appendChild(fZ);

																																																																			jA.vAlign='middle';

																																																																			jA.align='right';

																																																																			var CP=document.createElement('div');

																																																																			CP.appendChild(document.createTextNode(gp.label));

																																																																			CP.className='scheme-header-text'; 

																																																																			CP.style.fontSize='11px'; 

																																																																			CP.style.whiteSpace='nowrap'; 

																																																																			CP.style.fontWeight='normal';

																																																																			CP.style.paddingLeft='5px';

																																																																			if(ii==(this.NeT.length-1)&&isIE){ CP.style.paddingRight='5px'

}if(ii!=0) fZ.style.marginLeft='20px';

gp.CP=CP; Fb.appendChild(CP); 

Fb.vAlign='middle';

Fb.align='left'; 

Pa.appendChild(jA);

Pa.appendChild(Fb);

this.jg(gp,jA,CP,this.qo);

this.jg(gp,Fb,CP,this.qo);

gp.aY(); jA.style.cursor='pointer';

Fb.style.cursor='pointer'; 

}

this.qo.bc(jL(),xo,null,'00',false,true,null,null,3); 

this.qo.BZ.style.zIndex=bN;

this.qo.MAW.ZuE.style.zIndex=bN-1; 

this.GH=this.qo.BZ; }; 

vq.prototype.eY=function()

	{

		if(!QV) return; if(QV.ou())

			{

			if(vq.sl.CP)

				{

				vq.sl.CP.style.display='block'; vq.sl.fZ.style.display='block';

				}

				if(vq.Eg.CP)

					{

					vq.Eg.CP.style.display='block'; vq.Eg.fZ.style.display='block';

					}

					}

					else

						{

						if(vq.sl.CP)

							{

							vq.sl.CP.style.display='none'; vq.sl.fZ.style.display='none';

							}

							if(vq.Eg.CP)

								{

								vq.Eg.CP.style.display='none'; vq.Eg.fZ.style.display='none';

								}

								}

                                //************************ Comment ************************
                                // Set the Gravity off / Gravity on
	

								if(vq.Eg.CP)

									{

									var iY=QV['positioning']=='gravity'; NQ(vq.Eg.CP); vq.Eg.label=iY?'Gravity on':'Gravity off'; vq.Eg.CP.appendChild(document.createTextNode(vq.Eg.label));

									}

									this.oI(); 

									};

									vq.prototype.as=function(x,y){ this.qo.position(x,y); 

									};

									vq.prototype.oI=function()

										{

											var tR=this; setTimeout(function()

												{ 

												var XK=tR.table.offsetWidth; tR.xo.style.width=XK+'px'; tR.qo.jj(XK+20+5); tR.qo.MAW.position(); YC(false,true);

												}

												)

													,1;

												};

function pP(qX){ 

	if(lN.tkh) lN.ZI(false); lN.ZI(true); 

	}

function KG(qfK){

	this.Hkr=false; 

	this.OsH=0; 

	this.iUO=null; 

	this.qfK=qfK; 

	this.disabled=false; 

}

KG.prototype.lU=function(GH,ho,XiD,TDU){

	if(this.disabled) 

	return; KG.XR(this); 

	var tR=this; 

	var wX=new Date().getTime(); 

	if(this.iUO!=null){

		clearTimeout(this.iUO); 

		this.iUO=null;

	}

	if(!XiD&&(wX-this.OsH)>300){

		this.iUO=setTimeout(function(){

		tR.iUO=null; 

		tR.lU(GH,ho,true,TDU); 

	},800); 

	return; 

	}

		this.Hkr=true; 

		this.OsH=wX; 

		var cM=dZ(GH); 

		var XK=GH.offsetWidth; 

		var x=cM.x+parseInt(XK/2); 

		if(TDU) x=cM.x+10; 

		var y=cM.y; 

		if(this.qfK) y+=GH.offsetHeight; 

		if(!this.fm)

		{

		this.fm=new LE(x,y,true,Dn,'00',ho,this.qfK,false,null); 

	}

	else

	{

		this.fm.QX(ho); 

		this.fm.position(x,y,false);

	}

		ho.style.whiteSpace='nowrap'; 

		if(ho.offsetWidth>300){ 

		ho.style.width='300px';

		ho.style.whiteSpace=''; 

	}

	if(ho.offsetWidth<50)

		{

		ho.style.width='50px'; 

		ho.style.whiteSpace=''; 

		}

		this.fm.AP(); 

		};

	KG.prototype.Zc=function(){

		log('hideTip'); 

		var wX=new Date().getTime(); 

		this.OsH=wX; 

		if(this.iUO!=null){ 

		clearTimeout(this.iUO);

		this.iUO=null; 

	};

		if(this.Hkr)

		{

		this.fm.position(-10000,-10000,false); 

		this.Hkr=false;

	}

	};

	KG.prototype.Vh=function(GH,Hl,jVS,eF,TDU){ 

		var tR=this;

		var LH=KI(GH,function(){

		var BZ=document.createElement('div');

			BZ.style.fontSize='12px';

			BZ.style.paddingLeft='15px'; 

			BZ.style.paddingRight='15px';

			BZ.style.paddingTop='7px'; 

			BZ.style.paddingBottom='7px';

			BZ.className='scheme-body-text';

			BZ.style.textAlign='left';

		if(eF) BZ.appendChild(eF);

		else if(Hl) BZ.appendChild(document.createTextNode(Hl)); 

		else 

			BZ.innerHTML=jVS; tR.lU(GH,BZ,false,TDU); 

		}

		);

		var RQ=qq(GH,function(){

		tR.Zc(); 

		}

		);

		return [LH,RQ];

		};

	KG.RUx=new Array(); 

	KG.BV=function(qYH){ 																													KG.RUx.push(qYH); 

		return qYH;

	};

	KG.Yv=function()

	{

	KG.XR(null);

		};

	KG.XR=function(qYH){

		for(var ii in KG.RUx){

		var Zr=KG.RUx[ii]; if(Zr!=qYH) Zr.Zc(); 

		}

	};

	KG.Zk=function(disabled){

		for(var ii in KG.RUx){ 

		var Zr=KG.RUx[ii]; 

		if(disabled){

		Zr.disabled=true; 

		Zr.Zc(); 

		}

																														else

		{

		Zr.disabled=false;

		}

	}

	};

	KG.fn=function(GH,vnU,Vlp){

	KG.listenerFunctionList.push

}; 

		var pI=KG.BV(new KG(false)); 

		var wR=KG.BV(new KG(false));

		var bJ=KG.BV(new KG(true));

		function NJ()

		{

		if(vC!=null) return; 

		var text=unescape(window.document.title); 

		vC=new Object(); 

		vC.qo=new Pd(); 

		vC.BZ=document.createElement('div'); 

		vC.BZ.zIndex=eX;

		vC.BZ.style.paddingLeft='5px';

		vC.BZ.style.paddingRight='5px';

		vC.BZ.onmousedown=function()

		{

		return false;

		};

		var kL=new aJ(vC.BZ,function(value,qET,width){

		vC.qo.jj(width+20); 

		vC.qo.MAW.position(); 

		if(window.document.title!=value){ 

		if(qET){ 

		window.document.title=value; EV(value); 

		YK.jT();

		}

	}

		},window.document.title,17,'bold','scheme-header-text'); 

		kL.BZ.zIndex=eX+20; 

		vC.qo.bc(wh,vC.BZ,null,'00',true,true,null,null); 

		vC.GH=vC.qo.BZ; 

		}

		function EV(title){

		var ta=new Array(); 

		ta.push(new wK('title',title)); 

		var PA=new hG(accountId,excellenId,null,excellenPath,'save-page-title',ta); 

		commandProcessor.aA(PA); 

		}

		function xa(Ww){

		for(var ii in panelDatas){

		var uH=panelDatas[ii]; 

		if(uH.rv==Ww) 

		return false; 

		}

		return true;

	}

		function HC(Ww){

		var iK=AU(Ww); 

		var nE; 

		if(iK==0) nE=1; 

		else nE=0;

		var Bn=confirm('This will make virtual page no. '+(parseInt(Ww)+1)+' '+(nE==0?'PUBLIC (others can view 	it, but only you can edit it)':'PRIVATE (only you can view or edit it)')+'. \nAre you sure?'); 

		if(!Bn) return; 

		lt(Ww,nE);

		populateVirtualPageController();

		saveVirtualPageRestrictions(); 

		}

		function YB(){

		var EI=0; 

		var iG=new Object(); 

		for(var ii in panelDatas){

		var XE=panelDatas[ii].rv; 

		if(!iG[XE])

		{

		EI++; 

		iG[XE]=true;

		}

			}

		return EI;

		}

		function II(Ww,tkh)

		{

		Ww=Ww+'';

		var BZ=sU(Ww);

		var uT=(Ww.indexOf('-')!=-1)?parseInt(Ww.substring(Ww.lastIndexOf('-')+1)):Ww; 

		BZ.style.left=(tkh?0:(-10000*(uT+10)))+'px';

			}

		function pj(Ww){

		if(Ww==VL) 

		return; 

		Gf(); 

		GR=false; 

		Ij=bw(hM,ZF(Ww));

		window.location.hash=Ij;

		FT.Ms();

		DC.reset();

		II(VL,false); VL=Ww; 

		QV=ZF(Ww);

		II(VL,true);

		setTimeout(function()

	{ 

		Ho(panelDatas); 

		GR=true; 

		if(HO) HO.eY();

		},1); YC(); 

	}

		function xZ(uH,Ww)

		{

		if(uH.rv==VL)

		{

		uH.Wc();

			}

		uH.rv=Ww; 

		kg(uH); 

		if(Ww==VL) Ls(uH);

		uH.cE(); 

		YC();

		}

		function sd(uH)

		{ 

		xZ(uH,-1);

		}

		function me(uH)

		{

		xZ(uH,VL);

	}

		function AU(Nkf)

	{

																														if(virtualPageRestrictions==null||virtualPageRestrictions=='null') virtualPageRestrictions=''; 

		var Kj=virtualPageRestrictions.split(','); 

		var Rl=new Array(); 

		for(var ii in Kj)

		{

																														var gp=Kj[ii].split(':');

		Rl[gp[0]]=gp[1]; 

		}

		if(Rl[Nkf]==undefined) 

		return requiresLogin?1:0; 

		else return Rl[Nkf];

		}

		function lt(Nkf,nE)

		{ 

		if(virtualPageRestrictions==undefined||virtualPageRestrictions==null||virtualPageRestrictions=='null') virtualPageRestrictions=''; 

		if(virtualPageRestrictions.indexOf('undefined')!=-1) virtualPageRestrictions=''; 

		var Kj=virtualPageRestrictions.split(','); 

		var Rl=new Array(); 

		for(var ii in Kj)

		{ 

		if(Kj[ii]=="") continue; 

		var gp=Kj[ii].split(':'); 

		Rl[gp[0]]=gp[1]; 

		}

		Rl[Nkf]=nE; 

		var ox=new Array(); 

		for(var ii in Rl)

		{ 

		ox.push(ii+':'+Rl[ii]);

	}

		virtualPageRestrictions=ox.join(','); 

		}

		function sU(ii)

		{

		if(UM[ii]==undefined){

		var BZ=document.createElement('div'); 

		BZ.style.position='absolute'; 

		BZ.style.left='0px'; 

		BZ.style.top=WP+Oh+'px'; 

		if(isIE) BZ.style.zIndex=10; 

		
		//************************ Comment ************************
		// Call Function for get the Body.
		
		jL().appendChild(BZ); 

		UM[ii]=BZ;

	}

		return UM[ii]; 

		}

		function cd(y){

		if(Oh==y) 

		return; 

		Oh=y; 

		for(var ii in UM)

		{

		UM[ii].style.top=WP+Oh+'px';

	}

		}

		function VK(eS)

		{

																														var gN=new Object(); 

		gN.Kc=null; 

		gN.rv=null;

		gN.eS=null;

		var BQ=false; 

		gN.Cml=true; 

		for(var ii in categories){ 

		var Kc=categories[ii];

		for(var dA in Kc['virtualPages']){

		var XL=Kc['virtualPages'][dA]; 

		if(XL==eS) continue; 

		else{ gN.Kc=Kc; gN.rv=ZF(XL);

		gN.eS=XL; 

		BQ=true; 

		break; 

		}

		}

		if(BQ) 

		break;

	}

		var Kc=hM; 

		for(var dA in Kc['virtualPages'])

		{

		if(Kc['virtualPages'][dA]!=eS){

		gN.Kc=Kc; 

		gN.eS=Kc['virtualPages'][dA];

		gN.rv=ZF(gN.eS); 

		BQ=true; 

		break;

		}

		}

		pj(gN.eS); if(hM!=gN.Kc)

	{

		hM=gN.Kc; YK.jT(); 

		};

		}

		function UG(){

		Tg['excellen-widget-config']=HZ;

		}function Nf(uH)

		{ 

		if(!uH.ou()) 

		return; 

		if(uH.ZT=='excellen-widget-config') 

		return; 

		if(uH.NZo) 

		return; 

		else uH.NZo=true; 

		var attributes=new Object(); 

		var BH=new Object(); 

		BH['pd']=uH; 

		var CT; 

		if(uH.Sw=='links'){ 

		var Bx=new Array(); 

		var qN=new Array(); 

		for(var ii in uH.nG){ 

		var Hg=uH.nG[ii]; 

		qN.push([Hg.label,Hg.url]); 

		}

		Bx['links']=qN; 

		BH['associatedWidgetAttributes']=Bx; 

		BH['associatedWidgetConfigTemplate']=oX(); 

		CT=gC('widget','Widget edit',100,kQ()+100,684,392,uH.wS,true,'excellen-widget-config','',attributes,BH); CT.gR(); 

		}

		if(uH.Sw=='html'||uH.Sw=='note'){

		if(uH.Sw=='note'){ 

		uH.Sw='html'; 

		var ox=uH.content; 

		if(ox==null) ox=''; 

		ox=TT(ox); 

		ox=ox.split('\n').join('<br>'); 

		uH.content=ox; 

		}

		var Bx=new Object(); 

		Bx['content']=uH.content; 

		BH['associatedWidgetAttributes']=Bx; 

		BH['associatedWidgetConfigTemplate']=sb(); 

		
		//************************ Comment ************************
		// Call function for edit the Tab tile of widget menu Popup
		
		CT=gC('widget','Panel edit',100,100+kQ(),616,466,uH.wS,true,'excellen-widget-config','',attributes,BH); 

		}

		if(uH.Sw=='widget'){ 

		BH['associatedWidgetConfigTemplate']=uH.VR.DRh.Lk(); 

		BH['associatedWidgetAttributes']=uH.VR.DRh.lH(); 

		BH['associatedWidgetInstance']=uH.VR;

        
        //************************ Comment ************************
        // Call function for edit the Tab tile of widget menu Popup
		CT=gC('widget','Panel edit',100,100+kQ(),692,568,uH.wS,true,'excellen-widget-config','',attributes,BH); }

		CT.gR(); 

		}

		function HZ(){ }HZ.prototype=new Cd();

		HZ.prototype.hl=function(){ 

		var tR=this; this.DRh.ea(); 

		this.DRh.eq(function(rn)

		{ 

		tR.DRh.lZ(!rn);

		}

		);

		var BZ=document.createElement('div'); 

		this.sAj=BZ; BZ.style.position='relative';

		this.DRh.mG().appendChild(BZ);

		var sH='';

		var kS=uid();

		var OM=uid();

		var Qh=uid();

		var ad=uid(); 

		var gx=uid();

		var cm=uid();

		var io=uid();

			sH+='<table id="'+cm+'" cellpadding=0 cellspacing=0>'; 

			sH+='<tr><td><div class="scheme-body-text" id="'+OM+'"></div></td><td align="right"><div id="'+Qh+'"></div></td></tr>';

			sH+='<tr><td colspan=2><div class="scheme-body-text" id="'+gx+'"></div></td></tr>';

			sH+='<tr><td colspan=2><div style="text-align: left" id="'+ad+'"></div></td></tr>';

			sH+='<tr><td colspan=2><div style="text-align: right" id="'+kS+'"></div></td></tr>';

			sH+='</table>'; BZ.innerHTML=(sH);

			this.rMV=document.getElementById(kS);

			this.iEp=document.getElementById(OM); 

			var UC=uid(); 

			var xd=uid();

			var Xi=uid();

			document.getElementById(kS).innerHTML='<a id="'+xd+'" class="scheme-body-text" href="">Cancel</a> &nbsp;&nbsp;&nbsp; <a id="'+Xi+'" class="scheme-body-text" style="font-weight:bold; font-size:20px" href="">Save</a>&nbsp;&nbsp;&nbsp;'; 

			document.getElementById(kS).style.paddingTop='20px';

			var sA=this.BH['associatedWidgetInstance'];

			if(sA)

		{

			var ZT=sA.DRh.TG.ZT; 

			if(ZT>0){ 

			document.getElementById(ad).style.paddingTop='20px'; 

			document.getElementById(ad).innerHTML='<a target="_NEW" class="scheme-body-text" style="font-size:11px" href="'+IT.Mr(ZT)+'">See comments / details about this widget in the showcase</a>'; 

			}

		}

            
            //****************************************** Comment ******************************************
            // To set the title of 'Widgt Edit' window which is open after click Widgt Popup window  'Edit button'
			document.getElementById(OM).innerHTML='Panel title&nbsp;&nbsp;&nbsp;<input style="width:200px;" id="'+io+'" type="text" value="Untitled" class="scheme-header scheme-header-text">'; 

			document.getElementById(OM).style.whiteSpace='nowrap';

			document.getElementById(io).value=tR.iA().title; document.getElementById(OM).style.paddingBottom='20px';

			document.getElementById(Qh).appendChild(YD(function(ii)

			{

			var wS=(ii<10)?'0'+ii:''+ii; tR.DRh.TG.wS=wS; tR.DRh.TG.Gn(); tR.DRh.TG.Dh(); 

			var uH=tR.iA(); uH.wS=wS; uH.Gn(); uH.Dh(); 

			for(var dA in tR.rG){ 

			var Dx=tR.rG[dA];

			if(Dx.QL) Dx.QL(); 

			}

		}

			)

		);

			this.XAg=tR.iA().wS; document.getElementById(Qh).style.paddingBottom='20px'; 

			this.sUY=document.getElementById(io);

			var Xb=document.getElementById(xd);

			var WG=document.getElementById(Xi);

			var WI=function(){

			var uH=tR.iA();

			uH.wS=tR.XAg; 

			uH.Gn(); uH.Dh(); tR.iD(); tR.iA().NZo=false; 

			};

			Xb.onclick=function(event){

			stopPropagation(event); WI(); tR.DRh.TG.Kr();

			return false; 

			};

			this.DRh.Vd(function(){

			if(!tR.pPq) WI(); 

			return false; 

			}

		);

		WG.onclick=function(event){

		stopPropagation(event);

		tR.pPq=true; 

		var uH=tR.iA(); uH.cE(); uH.title=document.getElementById(io).value; 

		if(uH.Sw=='links'){ 

			for(var ii in tR.rG){

			var Dx=tR.rG[ii]; 

			if(Dx.MNE=='links'){

			var rows=Dx.TO();

			var nG=new Array();

			for(var dA in rows){

			var il=rows[dA];

			if(il[0]==''&&il[1]=='')

			continue; 

			nG.push(new LinkData(il[0],il[1]));

			}

			uH.nG=nG; 

			uH.Ao();

			uH.he(uH.title);

			nq(uH);


			}

		}

		}

			if(uH.Sw=='html')

			{

			for(var ii in tR.rG)

			{

			var Dx=tR.rG[ii]; if(Dx.MNE=='content')

		{ 

		uH.content=Dx.TO(); 

		uH.Xq();

		uH.he(uH.title);

		ok(uH);

	}

		}

		}

		if(uH.Sw=='widget')

		{

		uH.title=document.getElementById(io).value; uH.he(uH.title);

		for(var ii in tR.rG)

		{

		var Dx=tR.rG[ii];

		if(Dx.wO) Dx.wO();

		else if(Dx.TO)

	{

		if(Dx.MNE) uH.VR.DRh.setAttribute(Dx.MNE,Dx.TO());

		}

		}

		for(var ii in tR.rG)

	{

		var Dx=tR.rG[ii]; if(Dx.pq) Dx.pq(); 

		}

		uH.VR.DRh.oZ(); 

		uH.VR.DRh.UA(); 

		}

		tR.iD(); 

		tR.DRh.TG.Kr(); 

		tR.iA().NZo=false; 

		return false; 

	};

		this.iD=function()

		{

		for(var ii in this.rG){

		var Dx=this.rG[ii]; 

		if(Dx.Uo) Dx.Uo();

		}

		};

		this.table=document.getElementById(cm); 

		var uH=tR.DRh.TG; 

		this.rG=SR(document.getElementById(gx),

		this.BH['associatedWidgetConfigTemplate'],

		this.BH['associatedWidgetAttributes'],

		this.BH['associatedWidgetInstance'],

		this,function(nAx){

		if(uH.oe=='MAXIMIZED')

		{

		RT(uH); 

		}

		else

	{

		if(nAx) Gw(uH); uH.Mg();

		}

	}

		);

		for(var ii in this.rG){

		if(this.rG[ii].dl)

		this.rG[ii].dl(); 

		}

		this.DRh.jG(this.PU);

		this.PU(uH.innerWidth,uH.uZ,false);

		};

		HZ.prototype.PU=function(innerWidth,uZ,df){ 

		this.sAj.style.width=innerWidth-20+'px';

		var uH=this.DRh.TG;

		var Zt;

		if(uH.oe!='MAXIMIZED')

		{

		var os=0; 

		os+=this.rMV.offsetHeight;

		os+=this.iEp.offsetHeight;

		os+=uH.Dc();

		Zt=uH.height-os;

		}

		else

		{

		Zt=FL()-uH.Dc()-200; 

		}

		kj(this.rG,innerWidth,Zt);

		};

		HZ.prototype.iA=function()

	{

		return this.BH['pd'];

		};

		function rC(uH){

		if(uH.YLI){

		uH.Ao(); 

		}

		uH.he(uH.title);

		nq(uH); 

		};

		function nq(uH){

		var ta=new Array();

		var ox=0; ta.push(new wK('id',uH.id)); 

		ta.push(new wK('title',uH.title)); 

		ta.push(new wK('objectType',uH.Sw)); 

		for(var ii in uH.nG){ 

		ta.push(new wK('_labels',uH.nG[ii].label)); 

		ta.push(new wK('_urls',uH.nG[ii].url)); 

		ox++; 

		}

		var PA=new hG(uH.TU(),uH.Ve(),uH.Xx(),excellenPath,'save-links-panel',ta);

		PA.TG=uH;

		PA.ix=wc; commandProcessor.aA(PA); 

		}

		function ok(uH)

	{

		var ta=new Array(); 

		ta.push(new wK('id',uH.id));

		ta.push(new wK('title',uH.title)); 

		ta.push(new wK('objectType',uH.Sw)); 

		ta.push(new wK('content',uH.content));

		var PA=new hG(uH.TU(),uH.Ve(),uH.Xx(),excellenPath,'save-content-panel',ta);

		PA.TG=uH; PA.ix=wc;

		commandProcessor.aA(PA); 

		}

		function sW(uH){

		var ta=new Array(); 

		ta.push(new wK('id',uH.id)); 

		ta.push(new wK('title',uH.title));

		ta.push(new wK('content',uH.content));

		var PA=new hG(uH.TU(),uH.Ve(),uH.Xx(),excellenPath,'save-widget-attributes',ta);

		PA.TG=uH; PA.ix=wc; 

		commandProcessor.aA(PA); 

		}

		function Vc(uH,wU,hf)

		{

			uH.BZ.style.left=wU+"px"; 

			uH.BZ.style.top=hf+"px";

			uH.DU();

	}

		function MS(){

		for(var ii in panelDatas){

		if(panelDatas[ii].rv!=VL) 

		continue; 

		if(panelDatas[ii].oe=='MAXIMIZED')

		return true; 

		}

		return false; 

		}

		function RT(uH){ Vc(uH,rp()+kh,60); 

		var Nr=0;

		if(uH.oe=='MAXIMIZED') Nr=2; 

		if(uH.oe=='MAXIMIZED'&&uH.mC) Nr=0.5; uH.kn(WW()-(rp()+kh+10),uH.Dc()*(1+Nr)+uH.Yi.offsetHeight);

	}

		function Gw(uH){ 

		uH.kn(uH.width,uH.Dc()*1+uH.Yi.offsetHeight+1);

		}

		function JG(wgB,lIV){

		var x=wgB; var y=lIV; while(true){ 

		var TL=false; for(var ii in panelDatas){

		if(panelDatas[ii].rv!=VL) continue; 

		if(panelDatas[ii].left==x&&panelDatas[ii].top==y)

		{

		x+=10; y+=10; TL=true; 

		}

		}

		if(!TL) break;

		}

		return new ZX(x,y);

		}

		function Wg(rv){

		var VX=0; 

		for(var ii in panelDatas){ 

		if(panelDatas[ii].rv==rv)

		{ 

		var uH=panelDatas[ii];

		var y=uH.top+uH.height+1; 

		if(VX<y) VX=y; 

		}

		}

		return xp(rv,0,1000000,VX,new Array(),new Array());

		}

		function xp(rv,uuU,kLA,y,iR,lMw)

		{

		var fG=new Array(); 

		var qv=new Array(); 

		var Wi=new Array(); 

		for(var ii in panelDatas)

{

		if(panelDatas[ii].rv==rv)

		{

		var uH=panelDatas[ii]; 

		var ij=false; 

		if(uH.mC) ij=true; 

		for(var dA in lMw)

		{

		if(lMw[dA]==uH)

		{

		ij=true; 

		break; 

		}

		}

		for(var dA in iR)

		{

		if(iR[dA]==uH){

		ij=true; 

		break;

		}

	}

		if(ij) 

		continue; 

		if(uH.top>y) 

		continue; 

		if(bt(uH.left,uH.width,uuU,kLA-uuU)){ 

		fG.push(uH); 

		}

		}

		}

		fG.sort(Gr); 

		while(true)

	{

		if(fG.length==0) 

		break; 

		var uH=fG.shift(); 

		var pk=xp(rv,uH.left,uH.left+uH.width,uH.top,iR.concat([uH]),qv.concat(Wi).concat(lMw));

		while(pk.length>0){

		var Pj=pk.shift(); 

		Wi.push(Pj);

		for(var ii in fG){ 

		if(fG[ii]==Pj){

		fG.splice(ii,1); 

		break; 

		}

		}

		}

		var FQ=new Array(); 

		FQ=FQ.concat(qv); 

		FQ=FQ.concat(Wi);

		FQ=FQ.concat(lMw);

		var VX=0; 

		for(var ii in FQ){ 

		var bE=FQ[ii]; 

		if(bt(uH.left,uH.width,bE.left,bE.width))

		{

		var Au=bE.ifs?(bE.top+bE.Dc()):(bE.top+bE.height); 

		Au+=8; 

		if(VX<Au) VX=Au; 

		}

		}

		if(uH.top!=VX){ 

		uH.top=VX; uH.MBK=true; 

		}

		qv.push(uH);

		}

		var Gq=new Array(); 

		Gq=Gq.concat(qv);

		Gq=Gq.concat(Wi);

		return Gq; 

		}

		function bt(uMw,kOt,JOi,lGZ){ 

		var fs=uMw+kOt; 

		var Fm=JOi+lGZ;

		if((uMw>=JOi)&&(uMw<=Fm))

		return true; 

		if((fs>=JOi)&&(fs<=Fm))

		return true; 

		if((JOi>=uMw)&&(JOi<=fs)) 

		return true; 

		if((Fm>=uMw)&&(Fm<=fs)) 

		return true; 

		return false; 

		}

		function Gr(mIU,bE){

		if(mIU.left>bE.left) 

		return-1; 

		if(mIU.left<bE.left) 

		return 1; 

		if(mIU.left==bE.left)

		{

		if(mIU.top>bE.top) 

		return-1; 

		if(mIU.top==bE.top) 

		return 0; 

		if(mIU.top<bE.top) 

		return 1;

		}

		if(JZ) throw('Panel dimensions not specified'); 

		else return 0; 

		}

		function KY()

		{

		for(var ii in panelDatas)

		{

		var uH=panelDatas[ii]; if(uH.MBK){

		uH.cE(); uH.MBK=false;

		}

		}

		}

		function PanelData(id,accountId,excellenId,Sw,title,left,top,width,height,ifs,zIndex,nIa,nG,content,oe,rv,wS,ZT,Ku,mC,BR,mx,Tl,ew,ri)

		{
			

		this.accountId=accountId; 

		this.excellenId=excellenId;

		this.id=id;this.Sw=Sw;this.title=title;

		this.left=left;

		this.top=top;

		this.width=width;

		this.height=height;

		this.ifs=ifs;

		this.zIndex=zIndex;

		this.nIa=nIa;

		this.nG=nG;

		this.content=content;

		this.Yqi=null; 

		this.oe=oe;

		this.rv=rv;

		this.wS=wS; 

		this.ZT=ZT; 

		this.Ku=Ku; 

		this.mC=mC;

		this.BR=BR; 

		this.mx=mx;

		this.Tl=Tl;

		this.ew=ew; 

		this.ri=ri; 

		var tR=this; 

		this.WJq=this.left;

		this.ENG=this.top;

		this.LCC=this.width; 

		this.mhV=this.height;

		this.EDH=false;

		this.MBK=false;

		this.innerWidth=this.width-20;

		if(this.ZT==Ev)

		this.nIa=0;

		if((this.rv==null)||(this.rv=='')||(this.rv=='null'))

		{

		this.rv=0;

		}

		if((this.wS==null)||(this.wS=='')||(this.wS=='null'))

		{

		this.wS='00';

		}

		if((this.oe==null)||(this.oe=='')||(this.oe=='null'))

		{ 

		this.oe='FLOATING'; 

		}

		this.YLI=false;

		this.rcT=false;

		this.GH=null; 

		this.MAW=null;

		this.VR=null;

		}

		PanelData.prototype.Wc=function()

		{

		var Lh=sU(this.rv);

		this.qn.removeChild(this.BZ); 

		if(this.MAW) 

		this.MAW.remove();

		this.YLI=false;

	};

		PanelData.prototype.xt=function()

		{

		if(IM())

		{

		this.MAW=new UZ(this.GH,true,

		this.qn,true,true,false,false);

		}

		};

		PanelData.prototype.SU=function()

		{

		if(this.MAW)

			{

			this.MAW.remove(); 

			delete this.MAW;

			}

			};

			PanelData.prototype.ZA=function()

			{

			if(IM()&&(!this.MAW))

			this.xt(); 

			if((!IM())&&(this.MAW)) 

			this.SU();

			};

			PanelData.prototype.DU=function()

			{

			if(this.MAW) 

			this.MAW.position();

			};

			PanelData.prototype.GO=function()

			{

			if(this.MAW&&IM()) 

			this.MAW.Pp();

			};

			PanelData.prototype.hide=function()

			{ 

			this.BZ.style.left='-100000px';

			this.BZ.style.top='-100000px'; 

			if(this.MAW) 

			this.MAW.ZI(false); 

			};

			

			PanelData.prototype.Tu=function(){ try{ this.GH.style.left=this.left+'px'; this.GH.style.top=this.top+'px'; if(this.MAW) this.MAW.ZI(true); }catch(qX){}}; 

			

			PanelData.prototype.nd=function()

			{

			return 'scheme-offset-'+this.wS;

			};

			PanelData.prototype.Gn=function()

			{

			this.GH.className='panel '+this.nd(); 

			};

			PanelData.prototype.tG=function()

			{

			return mp[this.wS];

			};

			PanelData.prototype.QE=function()

			{

			return Ea[this.wS];

			};

			PanelData.prototype.Ns=function()

			{

			var cQ=this.tG();

			var fb=this.QE();

			var baseScheme=bS(colorsAndSettings.baseScheme);

			var qY=baseScheme.NAk.EN(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset);

			var ru=baseScheme.RmR.EN(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset);

			var GE=ku(cQ,TA);

			var Vq=ku(fb,IA);

			var Hh=ku(ET,IA); 

			this.Iv.style.backgroundColor='#'+GE;

			this.Jj.style.backgroundImage='url(web/gradient/'+cQ+'/'+TA+'/header-gradient.gif)';

			this.Jj.style.backgroundRepeat='repeat-x'; 

			this.Jj.style.backgroundPosition='top';

			this.Jj.style.overflow='hidden'; 

			this.ib.style.backgroundImage='url(web/gradient/'+fb+'/'+IA+'/body-gradient.gif)';

			this.ib.style.backgroundRepeat='repeat-x';

			this.ib.style.backgroundPosition='top';

			En(this.Gu,'web/dynamicPng/'+GE+'/corner-nw.png');

			En(this.PM,'web/dynamicPng/'+GE+'/corner-ne.png');

			En(this.pL,'web/dynamicPng/'+fb+'/corner-sw.png'); 

			En(this.fR,'web/dynamicPng/'+fb+'/corner-se.png');

			this.EDH=false; 

			};

			PanelData.prototype.Dh=function()

			{

			if(this.rv==VL)

			{

			if(this.YLI) this.Ns();

			}

			else

			{

			this.EDH=true;

			}

			};

			PanelData.prototype.rR=function()

			{

			var tR=this; 

			var qn=sU(this.rv); 

			this.qn=qn; 

			var BZ=document.createElement('div');

			this.BZ=BZ; 

				BZ.id=this.id;

				BZ.className=this.nd(); 

				BZ.style.position='absolute';

				BZ.style.visibility='visible'; 

				BZ.style.overflow='visible';

				BZ.style.zIndex=this.BR?aE:this.zIndex;

				BZ.style.height=this.height+'px';

				BZ.style.width=this.width+'px'; 

				BZ.style.left=this.left+'px'; 

				BZ.style.top=this.top+'px';

				BZ.style.overflow='visible'; 

				kR(BZ,function(){tR.Vs();

			}

		);

			KJ(BZ,function(ab)

			{

			tR.mil.style.display='none'; 

			tR.fQ.style.display='';

			tR.vL();

		}

		);

		var Gu=document.createElement('div');

		var PM=document.createElement('div'); 

		var pL=document.createElement('div');

		var fR=document.createElement('div');

		this.Gu=Gu; this.PM=PM; this.pL=pL;

		this.fR=fR; Gu.style.position='absolute';

			Gu.style.left='0px'; 

			Gu.style.top='0px'; 

			Gu.style.width='5px'; 

			Gu.style.height='5px';

			PM.style.position='absolute';

			PM.style.left=this.width-5+'px';

			PM.style.top='0px';

			PM.style.width='5px';

			PM.style.height='5px'; 

			pL.style.position='absolute'; 

			pL.style.left='-5px'; 

			pL.style.top=0+'px'; 

			pL.style.width='5px'; 

			pL.style.height='5px';

			fR.style.position='absolute';

			fR.style.left=this.width-10+'px';

			fR.style.top=0+'px';

			fR.style.width='5px';

			fR.style.height='5px'; 

		var iB=document.createElement('div'); 

		this.iB=iB; iB.style.overflow='hidden'; iB.style.cursor='Move'; iB.onmouseover=function(qX)

		{
			
		tR.mil.style.display=''; 

		tR.fQ.style.display='none';

		tR.TX(qX);

		};

		KJ(iB,function()

		{

		if(tR.bD) tR.bD();

		if(!tR.ZlP)

		{

		tR.mil.style.display='none'; tR.fQ.style.display='';

		}

		}

		);

		var cQ=this.tG(); 

		var Iv=document.createElement('div'); 

		this.Iv=Iv; 

			Iv.className='scheme-header'; 

			Iv.style.fontSize='1px';

			Iv.style.marginLeft='5px'; 

			Iv.style.marginRight='5px';

			Iv.style.height='5px';

			Iv.appendChild(Gu);

			Iv.appendChild(PM); 

			iB.appendChild(Iv); 

		var VB=document.createElement('div');

		this.VB=VB; 

			VB.style.whiteSpace='nowrap'; 

			VB.style.cursor='Move'; 

			VB.style.position='absolute'; 

			VB.style.right='6px'; 

			VB.style.top='5px'; 

		//******************** Comment ********************
		// Call Function Create the Image tag
		this.mil=VD(); 

		this.mil.style.display='none'; 

		this.mil.style.position='absolute'; 

		this.mil.style.cursor='pointer'; 

		this.mil.style.left='9px'; 

		this.mil.style.top='6px'; 

		var Rd='web/images/twister-'+(!this.ifs?'open.gif':'closed.gif'); 

		this.mil.src=Rd; 

		this.mil.width='14'; 

		this.mil.height='14'; 

		this.mil.onmousedown=function(qX)

		{

		stopPropagation(qX); tR.Pk();

		};

		this.iB.appendChild(this.mil); 

			pI.Vh(this.mil,'Expand or collapse this widget'); 

		if(this.ou())

		{

		this.tnC=document.createElement('div'); 

		this.tnC.className='panel-modify-icon';

		this.tnC.style.paddingTop='4px';

		this.tnC.style.paddingRight='4px';

		
		//******************** Comment ********************
		// Call Function Create the Image tag
		
		this.Arm=VD();

		this.Arm.src=vo; 

		this.Arm.width='7'; 

		this.Arm.height='7';

		this.Arm.onmousedown=function(qX)

			{

			stopPropagation(qX); 

			if(tR.ZT!='excellen-widget-config')

			{

			var Bn=confirm("This will remove and delete this widget. Are you sure?"); 

			if(!Bn) return false;

			}

			tR.Kr(); KG.Yv();

			};

			this.tnC.appendChild(this.Arm);

			this.VB.appendChild(this.tnC);

			pI.Vh(this.tnC,'Delete this widget from your page');

			this.mMZ=document.createElement('div'); 

			this.mMZ.className='panel-modify-link'; 

			this.Uun=document.createElement('a'); 

			this.Uun.onmousedown=function(qX)

			{

			stopPropagation(qX); Nf(tR); KG.Yv(); 

			return false;

			};

			this.Uun.onclick=function()

			{

			return false;

			};

			this.Uun.style.fontSize='9px';

			this.Uun.className='scheme-header-text';

			this.Uun.appendChild(document.createTextNode('edit'));

			this.mMZ.appendChild(this.Uun);

			pI.Vh(this.mMZ,'Edit or configure this widget');

			this.mMZ.onmouseover=function(qX)

			{
				

			if(tR.eNg) return; 

			tR.QbR.style.display='block';

			tR.iZ();

			tR.bD=function()

			{

			tR.QbR.style.display='none'; if(!tR.eNg) tR.iZ(); 

			};

			};

			VB.appendChild(this.mMZ);

			}

			this.QbR=document.createElement('div'); 

			this.QbR.style.display='none';

			this.QbR.style.paddingTop='3px';

			this.QbR.style.marginRight=((iE||Mw)?36:6)+'px';

			if(this.ZT==Ev||this.ZT==nf||this.ZT>0)

			{

			this.SGf=document.createElement('div');

			this.SGf.className='panel-modify-icon';

			this.SGf.style.paddingTop='3px';

			this.SGf.style.marginRight='6px'; 

			this.SGf.style.width='9px'; 

			this.SGf.style.height='8px'; 

			En(this.SGf,'web/dynamicPng/'+Un+'/reload.png'); 

			this.SGf.onmousedown=function(qX){ stopPropagation(qX);

				KG.Yv();

				tR.VR.DRh.xq(); 

				return false; 

		};

	this.QbR.appendChild(this.SGf);

	var Hl=this.ZT==Ev?'Refresh this news feed':'Reload this widget';

	pI.Vh(this.SGf,Hl);

}

VB.appendChild(this.QbR);

if(this.ZT!=Ev&&this.ZT<0){

	this.uxo=document.createElement('div');

	this.uxo.className='panel-modify-icon';

	this.uxo.style.paddingRight='5px';

	
	//******************** Comment ********************
	// Call Function Create the Image tag
	
	this.umE=VD();

	this.umE.src=cn;

	this.umE.width='9'; 

	this.umE.height='9';

	this.umE.onmousedown=function(qX)

	{

		stopPropagation(qX); 

		var Bn=confirm("This will make a duplicate copy of this widget. Are you sure?"); 

		if(!Bn) 

		return false;

		var CT=gC(tR.Sw,tR.title,tR.left+8,tR.top+8,tR.width,tR.height,tR.wS,

		false,tR.ZT,tR.Ku,tR.Sw=='widget'?bL(tR.VR.DRh.attributes):null,null,tR.content,tR.nG);

		KG.Yv();

		return false; 

	};

	this.uxo.appendChild(this.umE);

	this.QbR.appendChild(this.uxo);

	pI.Vh(this.umE,'Create a duplicate copy of this widget');

}

if(this.ZT>0)

{

	this.HQH=document.createElement('div'); 

	this.HQH.className='panel-modify-icon';

	this.HQH.style.paddingRight='5px'; 

	this.Sjo=document.createElement('a');

	this.ZdU=VD();

	this.ZdU.src=qH; 

	this.ZdU.width='9';

	this.ZdU.height='9';

	this.Sjo.onclick=function(qX){ stopPropagation(qX); preventDefault(qX); El(IT.Mr(tR.ZT));

		return false;

	};

	this.Sjo.appendChild(this.ZdU);

	this.HQH.appendChild(this.Sjo);

	this.QbR.appendChild(this.HQH); 

	pI.Vh(this.ZdU,'See more information about this widget'); 

}

iB.appendChild(VB); iB.onmousedown=function(qX){

	if(tR.eNg){ 

		return true; 

	}

	Po(qX,iB,tR,function(SY,Ga,eR,lP)

	{

		KG.Zk(true);

		tR.CpO=true;

		cZ=tR; tR.fX();

		tR.pAJ=tR.left; tR.KcF=tR.top;

		tR.gKK=tR.zIndex;

		if(tR.BR)

		{

			tR.BR=false;

			tR.rv=VL; 

			if(tR.VR){ tR.VR.DRh.rq(); 

			}

			lN.ZI(false,true); 

			commandProcessor.uo(tR);

			if(tR.VR){ tR.VR.DRh.Ej();

	}

	};

	},function(SY,Ga,mW,CJ,eR,lP,tGU,Baw)

{

	var Sc=Sn();

	var AM=FL(); 

	var Zi=(AM-Sc)<300;

	var GM=Baw<(Sc+40);

	var ec=Baw<(Sc+60); 

	var IH=Baw>(AM-40);

	var Vb=Baw>(AM-60); 

	if(Zi)

	{

	GM=false; 

	ec=false; 

	IH=false; 

	Vb=false; 

}

	if(Sc==0)

{

	GM=false; ec=false;

	}

	if(SS)

	{

	SS=ec;

	}

	else

	{

	if(GM)

{

	SS=true; CJ-=500; window.scrollBy(0,-500); 

	}

}

	if(no){ no=Vb; 

	}

	else

	{

	if(IH)

	{

	no=true; CJ+=500; window.scrollBy(0,500);

	}

	}

	var wU=Qn((tR.pAJ+mW)); 

	var hf=EU((tR.KcF+CJ));

		wU=Math.max(kh,wU);

		hf=Math.max(xT,hf);

	if(tR.left!=wU||tR.top!=hf)

		{

		tR.left=wU; 

		tR.top=hf; 

		Vc(tR,wU,hf); 

		}

	var cL=(tR.pAJ!=tR.left||tR.KcF!=tR.top);

	if(cL){ Ld(); 

		}

		},function(SY,Ga,cR,oP,eR,lP)

			{

			KG.Zk(false);

			tR.CpO=false; cZ=null; tR.Ht(); kg(tR); 

			if(tR.pAJ!=tR.left||tR.KcF!=tR.top||tR.gKK!=tR.zIndex)

			{

			tR.cE(); BM(VL); KY(); }PP(); YC();

			}

			);

			};

			var Jj=document.createElement('div'); 

			this.Jj=Jj; 

				Jj.className='scheme-header';

				Jj.style.height='1.6em';

				Jj.style.paddingTop='0.1em'; 

				Jj.style.paddingLeft='10px';

				iB.appendChild(Jj);

			var LM=document.createElement('div'); 

			this.LM=LM; LM.style.position='relative'; 

				LM.style.marginLeft=17+'px';

				LM.style.overflow='hidden';

				iB.appendChild(LM);

			var DN='web/images/icons/';

			var uQ='widget.gif'; 

			if(this.Sw=='note'||this.Sw=='html') uQ='document.gif'; 

			if(this.Sw=='links')uQ='bookmarks.gif';

			if(this.ZT==Ev) uQ='rss.gif';

			if(this.ZT==CK) uQ='document.gif';

			if(this.ZT==Dg) uQ='weather.gif';

			if(this.ZT==uE) uQ='mail.gif'; 

			if(this.ZT==nH) uQ='photo.gif'; 

			if(this.ZT==nf) uQ='document.gif';

			if(this.ZT==Ee) uQ='protopuppy.gif'; 

			if(this.ZT==BE) uQ='todo.gif';

			if(this.ZT==Td) uQ='comments.gif'; 

			if(this.ZT==VQ) uQ='digital-clock.gif';

			if(this.ZT==ws) uQ='analog-clock.gif';

			if(this.ZT==Db) uQ='calendar.gif'; 

			if(this.ZT>0) uQ='widget.gif'; 

			else if(this.mC) uQ='edit.gif';

			var Eh=DN+uQ; 

			var fQ=document.createElement('div');

			this.fQ=fQ; 

				fQ.style.position='absolute';
/* change by cp for title bar image start */
				fQ.style.left=10+'px';//5

				fQ.style.top=10+'px';//6

				fQ.style.width=20+'px';

				fQ.style.height=20+'px';

			
			//******************** Comment ********************
			// Call Function Create the Image tag
			
			var Hf=VD(); 

			this.Hf=Hf; 

				Hf.width=10; //20

				Hf.height=10; //20
/* change by cp for title bar image end */
				Hf.src=Eh; 

				fQ.appendChild(Hf); 

				iB.appendChild(fQ);

			this.mii=new aJ(LM,

			function(value,qET,width){ tR.eNg=!qET; 

			if(tR.RHS==null) tR.RHS=tR.width; tR.dY(width);

			if(tR.title!=value){ 

			if(qET)

			{

				tR.title=value;

				tR.An(); 

				tR.cE();

			}

		}

			if(qET){ tR.RHS=null;

				}

					},tR.title,12,'bold','scheme-header-text',

					function()

						{

					var Hc=false; if(tR.CpO){

					if(tR.pAJ!=tR.left||tR.KcF!=tR.top) Hc=true;

							}

					if(!tR.ou()) Hc=true; return Hc;

							}

							);

						Jj.appendChild(LM);

						BZ.appendChild(iB);

						qn.appendChild(BZ); 

					var Pn=this.Dc();

					var wP=this.width;

					var tX=this.height-Pn;

					this.uZ=tX; 

					var ib=document.createElement('div');

					this.ib=ib; 

						ib.className='scheme-body scheme-body-text'; 

						ib.style.position='relative';

						ib.style.overflow='hidden';

						ib.style.width=wP+'px'; 

						ib.style.height=tX+'px'; 

						ib.style.left='0px'; 

						ib.style.top='0px'; 

					this.Ns(); 

					

					try

	{ 

	if(ib.addEventListener&&!iE)

	{

	ib.addEventListener('DOMMouseScroll',

	function(mGN)

	{

	try{XU.blur();

	}

	catch(qX){}if(tR.oe=='MAXIMIZED'||tR.rcT||!tR.Ge)

	return true; 

	var SL=mGN.detail/3;

	if(SL>0&&tR.nIa==1) 

	return true; 

	if(SL<0&&tR.nIa==0) 

	return true; 

		tR.HA(SL); 

		mGN.preventDefault(); 

		mGN.stopPropagation();

	if(tR.ZT!=Ev) tR.cE(); 

	return false; 

	}

	,false); 

	}

	else

	{

		ib.onmousewheel=function()

		{

		try{XU.blur();

		}

		catch(qX)

		{

		}

		if(tR.oe=='MAXIMIZED'||tR.rcT||!tR.Ge)

		return true; 

		var SL=event.wheelDelta/-120;

		if(iE) SL=-1*SL; 

		if(SL>0&&tR.nIa==1) 

		return true; 

		if(SL<0&&tR.nIa==0) 

		return true; 

			tR.HA(SL); 

			window.event.cancelBubble=true;

			window.event.returnValue=false;

		if(tR.ZT!=Ev) tR.cE(); 

		return false;

		};

		}

		}

		catch(qX){ }var Yi=document.createElement('div');

		this.Yi=Yi; 

			Yi.style.position='absolute';

			Yi.style.marginLeft='10px';

			Yi.style.marginRight='18px'; 

			Yi.style.marginTop='5px'; 

			Yi.style.marginBottom='0px';

			Yi.style.paddingLeft='0px'; 

			Yi.style.paddingRight='0px'; 

			Yi.style.paddingTop='0px';

			Yi.style.paddingBottom='0px'; 

			Yi.style.left='0px';

			Yi.style.top='0px'; 

		if(this.Sw=='links')

		{

			Yi.style.fontSize='1px'; 

		var HG=document.createElement('div');

		this.Fv=HG; 

			HG.style.visibility='hidden'; 

			HG.style.position='absolute';

			HG.style.top='-1000px';

			HG.style.left='-1000px';

		var fc=document.createElement('div');

		this.vh=fc; 

			fc.style.paddingBottom='0px'

			Yi.appendChild(fc);

			Yi.appendChild(HG);

	}

			ib.appendChild(Yi);

		var Lc=document.createElement('div'); 

		this.Lc=Lc;

			Lc.style.position='absolute'; 

			Lc.style.right='0px';

			Lc.style.top='0px';

			Lc.style.width='17px';

			Lc.style.height='0px';

		var Ip=document.createElement('div'); 

		this.Ip=Ip; 

			Ip.style.position='absolute'; 

			Ip.style.backgroundRepeat='repeat'; 

			Ip.style.zIndex=100001; 

			Ip.onmousedown=function(qX)

			{

			Po(qX,iB,tR,

		function(SY,Ga,eR,lP)

		{ 

			KG.Zk(true); 

			tR.xnT=true; 

			tR.fX(); 

			tR.gce=parseInt(tR.Ip.style.top); 

			tR.GTu=tR.nIa; 

			tR.PnL=parseInt(tR.Yi.style.top); 

		},function(SY,Ga,mW,CJ,eR,lP)

		{

			var na=tR.gce+CJ; 

			var gd=parseInt(tR.Lc.style.height)-15; 

			var qE=tR.Ip.offsetHeight; tR.nIa=tR.GTu+(CJ/(gd-qE));

			if(tR.nIa<0) tR.nIa=0; 

			if(tR.nIa>1) tR.nIa=1; tR.Mg(true); 

			},function(SY,Ga,cR,oP,eR,lP)

			{ 

				KG.Zk(false); 

				tR.xnT=false; 

				tR.Ht(); 

				kg(tR); 

				tR.Mg(); 

			if(tR.ZT!=Ev) tR.cE(); 

				BM(VL); KY(); PP(); YC(); 

				}

				);

				}; 

				Ip.style.left='4px'; 

				Ip.style.top='3px'; 

				Ip.style.width='9px'; 

				Ip.style.height='20px'; 

				Ip.style.backgroundImage='url(\'web/dynamicImages/'+dg+'/vertical-scroll-bar.gif\')'; 

				Lc.appendChild(Ip); 

				ib.appendChild(Lc); 

			var Ef=document.createElement('div'); 

			this.Ef=Ef; 

				Ef.style.position='absolute'; 

				Ef.style.right='2px'; 

				Ef.style.bottom='2px'; 

				Ef.style.zIndex=100001; 

			var Io=VD(); 

			this.Io=Io; 

			if(!Mw) Io.style.cursor='se-resize'; 

			Io.src='web/dynamicImages/'+dg+'/resizer.gif'; 

			Io.width='16'; 

			Io.height='16'; 

			Io.onmousedown=function(qX)

			{ 

			Po(qX,iB,tR,function(SY,Ga,eR,lP)

			{ 

			KG.Zk(true); 

			tR.iNl=true; 

			if(!tR.BR) tR.fX(); Ld(); tR.RHS=tR.width; tR.Rxm=tR.height; 

			},function(SY,Ga,mW,CJ,eR,lP)

			{ 

			var gj=Qn(Math.max(KC,(tR.RHS+mW)));

			var DS=EU(Math.max(Oe,(tR.Rxm+CJ)));

			if(tR.width!=gj||tR.height!=DS)

			{

			tR.width=gj;

			tR.height=DS;

			tR.kn(gj,DS);

			tR.Mg(); 

			}

			fg(); 

			if(tR.Sw=='widget')

		{

			if(tR.VR){ tR.VR.DRh.PU(true,tR.innerWidth,tR.uZ);

		}

	}

			},function(SY,Ga,cR,oP,eR,lP)

						{

				KG.Zk(false);

				tR.RHS=null;

				tR.Rxm=null;

				tR.iNl=false;

			if(!tR.BR) tR.Ht();

				kg(tR); 

				tR.Mg(); 

				tR.Ao(); 

				tR.cE(); 

				BM(VL); 

				KY(); 

				PP(); 

			if(tR.Sw=='widget')

		{

			if(tR.VR)

	{

				tR.VR.DRh.PU(false,tR.innerWidth,tR.uZ);

			}

		}

				YC(); });

		};

				Ef.appendChild(Io); 

			var Kq=document.createElement('div');

				Kq.id=this.id+'-bspcr';

				Kq.style.position='absolute'; 

				Kq.style.top='74px';

				Kq.style.left='0px';

			
			//******************** Comment ********************
			// Call Function Create the Image tag
			
			var JN=VD(); 

				JN.src='web/images/spacer.gif';

				JN.width=1; JN.height=1;

				Kq.appendChild(JN); 

				Ef.appendChild(Kq); 

				BZ.appendChild(Ef);

				BZ.appendChild(ib);

			var eD=document.createElement('div');

				eD.className='scheme-body';

				eD.style.position='relative';

				eD.style.marginLeft='5px'; eD.style.marginRight='5px';

				eD.style.height='5px';

				eD.style.fontSize='0.1px'; eD.appendChild(pL);

				eD.appendChild(fR); BZ.appendChild(eD);

			this.iZ(); 

			if(this.Sw=='html'||this.Sw=='note')

			this.Xq(); 

			this.GH=BZ;

			this.YLI=true; 

			}; 

				PanelData.prototype.nb=function(BH,Hk)

				{

			var tR=this; 

				Be(this.ZT,this.Ku,function(Kv)

		{

			var VR=new Kv();

			tR.VR=VR; tR.VR.DRh=new ZV(tR,Kv); 

			if(BH) tR.VR.BH=BH;

			tR.VR.hl(Hk);

			}

			);

			};

			PanelData.prototype.he=function(text)

		{

			this.title=text;

			if(this.YLI) 

			this.mii.Iq(text); 

			};

			PanelData.PUC=null; 

			PanelData.prototype.Qx=function()

		{

			if(!PanelData.PUC) PanelData.PUC=parseInt(this.iB.offsetHeight);

			return PanelData.PUC; 

			};

			PanelData.prototype.Dc=function()

	{

			var rN=5;

			var DW=this.Qx()+rN;

			return DW; 

		};

				PanelData.prototype.gR=function(prI)

				{

				var hN=this.Dc()+this.Yi.offsetHeight+10; 

				if(prI) hN=Math.max(this.height,hN); 

				this.height=hN;

				this.kn(this.width,hN); 

		};

				PanelData.prototype.kn=function(gj,DS,KBi)

				{

				this.iZ(KBi);

				if(this.LCC){ 

				if(gj==this.LCC&&DS==this.mhV) 

				return;

			}

				this.LCC=gj; 

				this.mhV=DS;

				this.PM.style.left=gj-5+'px'; 

				this.fR.style.left=gj-10+'px';

				var jx=this.Dc(); 

				var Sr=gj;

				var mD=(DS-jx);

				this.ib.style.width=Sr+'px';

				this.uZ=mD; this.Yi.style.width=gj+'px'; 

				if(DS!=null) this.ib.style.height=mD+"px";

				else this.ib.style.height=null; 

				this.BZ.style.width=gj+"px";

				if(DS!=null){ this.BZ.style.height=DS+"px";

	}

				else{ this.BZ.style.height=null;

		}

				this.DU(); if(DS!=null)

				{

				if(this.oe!='MAXIMIZED')

				{

				this.Mg();

	}

		}

				if(this.Sw=='links') this.Ao(); 

			};

				PanelData.prototype.Mg=function(Tke)

	{

				try{ if(this.rcT)

			{

				this.innerWidth=this.width-20; 

				return; 

				}

				var jx=this.Dc(); 

				var XP=this.height-jx;

				if(!Tke)

				{

				this.Lc.style.height=XP+'px';

			}

				var Rx=4;

				var gd=parseInt(this.Lc.style.height)-15; 

				var MK=this.Yi.offsetHeight;

				var ra=this.ib.offsetHeight;

				var Gg=ra/MK; if(MK==0) Gg=0;

				var mv=parseInt(this.Yi.style.top);

				var cv=Math.round(Gg*gd);

				var uM=Math.round(this.nIa*(gd-cv))+4;

				var Ge=(Gg<=1&&Gg!=0);

				if(cv>gd) cv=gd; if(cv<0) cv=0;

				try{ this.Ip.style.top=uM+'px'; 

		}

				catch(qX)

			{

					this.Ip.style.top='0px'; 

				}

					if(!Tke)

				{

						this.Ip.style.height=cv+"px"; 

						this.Lc.style.visibility=(Ge?'inherit':'hidden');

						this.Yi.style.marginRight=Ge?'18px':'10px'; 

						this.Yi.style.width=(this.width-(Ge?32:20))+'px'

				this.innerWidth=this.width-(Ge?32:20); 

		}

				this.Yi.style.top=Math.round(this.nIa*-1*(MK-ra))+'px'; if(Gg>=1)

			{

					this.Yi.style.top='0px';

				};

					this.Ge=Ge;

			}

					catch(qX)

	{

		if(JZ) alert("resizeScrollbar: "+qX);

		}

		};

			PanelData.prototype.nX=function()

		{

			this.GK(false); this.BZ.style.height=this.height+"px"; 

			this.ib.style.display='block';

			this.Ef.style.visibility='visible';

			this.Mg();

			this.DU(); 

			};

			PanelData.prototype.GK=function(state)

			{

				this.rcT=state; this.Lc.style.visibility=state?'hidden':'inherit'; 

				};

				PanelData.prototype.nJ=function()

				{

				this.GK(true);

				var jx=this.Dc(); 

				this.BZ.style.height=jx+'px';

				this.ib.style.display='none'; 

				this.Ef.style.visibility='hidden';

				this.DU(); 

				};

					PanelData.prototype.TX=function()

					{

				if(this.oe=='MAXIMIZED') 

				return; 

				if(!this.ifs)

				return; 

				if(this.CpO) 

				return; 

				if(this.ZlP) 

				return; 

				this.ZlP=true; 

				this.fX();

				this.nX();

				this.Ao();

				this.Mg(); 

				};

				PanelData.prototype.vL=function()

				{

				if(!this.ZlP) 

				return; 

				if(this.xnT) 

				return; 

				if(this.iNl) 

				return; 

				if(this.oe=='MAXIMIZED') 

				return; 

				this.Ht(); 

				this.ZlP=false; 

				this.nJ(); 

				this.ZlP=false; 

				};

				PanelData.prototype.fX=function()

		{

				this.BZ.style.zIndex=BA;

				if(true||!isIE)

				this.GO();

			};

				 PanelData.prototype.Ht=function()

				{

				this.BZ.style.zIndex=this.zIndex; 

				this.GO();

				};

					PanelData.prototype.Xq=function()

				{

				this.Yi.innerHTML=tm(this.content,this.Sw);

				};

					PanelData.prototype.Ao=function()

					{

				if(this.Sw!='links') 

				return; 

				var tk=this.ib.offsetWidth;

				var cu=this.ib.offsetHeight;

				var Fv=this.Fv; 

					Fv.style.paddingTop='5px'; 

					Fv.innerHTML=this.kB(1,1);

				this.teP=Fv.offsetHeight;

				this.Er=Fv.offsetWidth; 

				var KD=Math.floor(tk/this.Er);

				var vh=this.vh; 

					vh.style.paddingTop='5px';

					ju=this.kB(KD,this.Er);

					vh.innerHTML=ju; 

				this.Yi.style.marginLeft='0px'; 

				this.Yi.style.marginRight='0px'; 

				this.Yi.style.marginTop='0px'; 

				this.Yi.style.marginBottom='0px'; 

				this.Yi.style.paddingLeft='10px'; 

				this.Yi.style.paddingRight='18px'; 

				this.Yi.style.paddingTop='0px';

				this.Yi.style.paddingBottom='0px'; 

			};

				function LinkData(label,url)

		{

				this.label=label;

				this.url=url; 

				if(url.indexOf('://')==-1||url.indexOf('://')>10) 

				this.url='http://'+url;

			}

					PanelData.prototype.HA=function(fId)

		{

				var mr=Math.ceil(54*fId); 

				this.nIa=this.nIa+(mr/(this.Yi.offsetHeight-parseInt(this.ib.offsetHeight))); 

				if(this.nIa<0) this.nIa=0; 

				if(this.nIa>1) this.nIa=1; 

				this.Mg(true);

				};

					PanelData.prototype.kB=function(KD,faB)

					{

					var ju='';

					ju+='<div class="links-area" style="padding:0px; margin:0px">'; 

					ju+='<table border="0" cellpadding="0" cellspacing="0" style="padding:0px; margin:0px"><tbody><tr>';

				var eo=Math.ceil(this.nG.length/KD);

				var wL=this.nG.length%KD;

				var GX=0;

				for(var ii=0;ii<this.nG.length;ii++)

			{

				var hH=this.nG[ii]; if(GX==0)

		          {

					ju+='<td valign="top">';

			      }

				var jQ=!colorsAndSettings.disableBookmarkIcons; 

					ju+='<div class="link-item" style="padding-top:1px; '+(jQ?('padding-bottom:3px; padding-left:21px; background-repeat:no-repeat; background-image:url(http://www.excellentglobal.com/web//'+hH.url+');'):'')+'"><a style="margin-bottom:2px" onclick="return '+WE(vu)+'(\''+hH.url+'\', event);" class="links-panel-link scheme-body-text" href="'+hH.url+'">'+hH.label+'</a></div>'; GX++; if((GX==eo)||ii==(this.nG.length-1)){ GX=0; ju+='<div><img src="web/images/spacer.gif" border="0" width="'+faB+'" height="1"></div>'; ju+='</td>'; if(wL>0)

				{

					wL--; if(wL==0) eo--; 

				}

				}

				}

					ju+='</tr></tbody></table>'; 

					ju+='</div>'; 

				return ju; 

				};

					PanelData.prototype.Pk=function()

				{

				if(this.ifs)

			{

				this.ZlP=false; this.nX(); 

				this.ifs=false; 

				}

				else

			{

				this.nJ(); this.ifs=true; 

				}

				var Rd='web/images/twister-'+(!this.ifs?'open.gif':'closed.gif'); this.mil.src=Rd; this.cE();

				};

				PanelData.prototype.cE=function()

				{

				if(this.mC) 

				return;

				if(!this.ou()) 

				return; 

				var ta=new Array();

				ta.push(new wK('id',this.id)); 

				ta.push(new wK('left',this.left));

				ta.push(new wK('top',this.top));

				ta.push(new wK('width',this.width));

				ta.push(new wK('height',this.height)); 

				ta.push(new wK('collapsed',this.ifs?'true':'false'));

				ta.push(new wK('zIndex',this.zIndex)); 

				ta.push(new wK('verticalScrollProportion',this.nIa==null?0:this.nIa));

				ta.push(new wK('mode',this.oe)); ta.push(new wK('virtualPage',this.bY())); 

				ta.push(new wK('schemeOffset',this.wS));

				var PA=new hG(this.TU(),this.Ve(),this.Xx(),excellenPath,'save-panel-geometry',ta);

				PA.TG=this;

				PA.ix=wc; commandProcessor.aA(PA);

				};

				PanelData.prototype.bY=function()

				{

					if((this.accountId==accountId)&&(this.excellenId==excellenId)) 

					return this.rv; 

					else return Cr.jb(this.rv); 

				};

				PanelData.prototype.Vs=function()

			{

					if(!this.ZlP)

				{

					if(kg(this))

				{

					this.cE();

				}

				}

			};

			PanelData.prototype.Um=function()

			{

			

				uH.Nf();

			};

			PanelData.prototype.dY=function(KBi)

			{

				if(this.BR)

				{

					this.iZ(); return;

				};

				var jX=28+KBi+this.ml(); 

				jX=Math.max(jX,this.RHS); 

				this.width=jX;

				this.kn(this.width,this.height,KBi); 

			};

			PanelData.prototype.dW=function()

			{

				return this.width-(this.ml()+28+(this.QbR.style.display=='none'?0:15));

			};

				PanelData.prototype.ml=function()

				{

				return vl('edit','scheme-header-text',10,false,false)+32;

				};

				PanelData.prototype.iZ=function(KBi)

				{

				if(KBi)

				{

				this.LM.style.width=KBi+'px'; 

				}

				else

				{

					var PW=this.dW();

					var mP=vl(this.title,'scheme-header-text',12,true,false); 

					this.LM.style.width=Math.max(30,Math.min(PW,mP))+'px'; 

				}

				};

				PanelData.prototype.ou=function()

				{

					var Kc=ZF(this.rv).YR(); return Kc.ou();

				};

				PanelData.prototype.Xx=function()

				{

					return ZF(this.rv).Xx();

				};

				PanelData.prototype.TU=function()

				{

					return this.accountId;

				};

				PanelData.prototype.Ve=function()

				{

					return this.excellenId; 

				};

				PanelData.prototype.An=function()

				{

					var ta=new Array(); 

					ta.push(new wK('id',this.id)); 

					ta.push(new wK('title',this.title));

					var PA=new hG(this.TU(),this.Ve(),this.Xx(),excellenPath,'save-panel-title',ta); 

					PA.TG=this;

					PA.ix=wc; commandProcessor.aA(PA); 

				};

				PanelData.prototype.Kr=function()

				{

				var VZ=false; 

				if(this.VR) VZ=this.VR.DRh.tV(); if(VZ) 

				return; 

				this.Wc(); removedPanelDatas.push(this); 

				for(var ii in panelDatas){ 

				if(panelDatas[ii]==this)

				{

				panelDatas.splice(ii,1); 

				}

				}

				if(!this.mC)

				{

				var ta=new Array(); 

				ta.push(new wK('id',this.id));

				var PA=new hG(this.TU(),this.Ve(),this.Xx(),excellenPath,'remove-panel',ta);

				PA.TG=this; PA.ix=wc; commandProcessor.aA(PA); 

				}

				BM(VL); KY();

				};


                //******************** Comment ********************
                // Function for setting the Initial settings for the Page
				
				function excellenInit()

				{

				oU(gK,'/');

				//if(!loggedInAsGuest){ }

				var qM=jl('relayedPageParams'); 

				if(qM!=null)

				{

				oU('relayedPageParams','/'); 

				var Wx=eval('('+unescape(qM)+')'); 

				for(var ii in Wx)

				{

				pageParams[ii]=Wx[ii]; 

				}

				}

				if(CY())

				{

					if(parseInt(hoursUntilExpiry)==0){ Jp();

					return; 

				}

				}

				
				//******************** Comment ********************
				// Call Function for get the Body.
				
				jL().className='scheme-offset-00';

				if(colorsAndSettings.backgroundMode=='PLAIN_COLOR'&&colorsAndSettings.backgroundColor==null)

				{

					var IS=bS(colorsAndSettings.baseScheme);

					colorsAndSettings.backgroundColor=IS.hMk.EN(colorsAndSettings.hueOffset+colorsAndSettings.backgroundHueOffset,colorsAndSettings.backgroundSaturationOffset,colorsAndSettings.backgroundLightnessOffset);

					

				}

				if(colorsAndSettings.headerForegroundColor==null)

				{

					var IS=bS(colorsAndSettings.baseScheme);

					colorsAndSettings.headerForegroundColor=IS.RmR.EN(0,0);

					colorsAndSettings.headerBackgroundColor=IS.pt.EN

					(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset);

					colorsAndSettings.bodyForegroundColor=IS.NAk.EN(0,0); 

					colorsAndSettings.bodyBackgroundColor=IS.YQj.EN

					(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset);

				}

				kv='ff0000'; 

				hE='00ff00';

				Ol=new et();

				Zb=new AT();

				lN=new jP();

				DC=new LQ(); Nv();

				wh=document.createElement('div'); 

				wh.style.position='absolute';

				if(isIE) wh.style.zIndex=2; 

				
				//******************** Comment ********************
				// Call Function for get the Body.
				
				jL().appendChild(wh); 

				Gm=document.createElement('div');

				Gm.style.position='absolute'; 

				if(isIE) Gm.style.zIndex=100; 

				
				//******************** Comment ********************
				// Call Function for get the Body.
				
				jL().appendChild(Gm); 

				jL().removeChild(document.getElementById('troubleshootingLink'));

				if(branding=='FT') ZK=cs; 

				else 

				ZK=tE; 

				if(colorsAndSettings.widgetPositioning==null) colorsAndSettings.widgetPositioning='FREE'; 

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; 

				if(uH.top<0) uH.top=0; 

				}

				maxPanelZIndex=1;

				for(var ii=0;ii<panelDatas.length;ii++)

				{

				maxPanelZIndex=Math.max(maxPanelZIndex,panelDatas[ii].zIndex);

				if(panelDatas[ii].zIndex==0) panelDatas[ii].zIndex=1; 

				}

				var gN=bh(window.location.hash); 

				if(gN.rv)

				{

				VL=gN.rv['id']; QV=gN.rv; hM=gN.Kc; 

				}

				Ij=window.location.hash; 

				var Jb=aF();

				if(Jb!=null)

				{

				var message='Your web browser software is out of date or unsupported. This site may not work correctly for you.\n\n'+Jb+'\n\nTo try Widgt with Firefox, go to www.getfirefox.com where you can download a new web browser.'; alert(message); 

				}

				Zx(true,true,true,false); UG(); XT(); TZ(); 

				if(excellenPath!='excellen/autocreate'){ Ux(); }

				if(hoursUntilExpiry!=null) Hb(); 

				if(excellenPath=='excellen/addlink') va(); 

				if((!loggedIn)&&(panelDatas.length==0)&&excellenPath!='excellen/addlink'&&excellenPath!='excellen/widgettest'&&excellenPath!='excellen/autocreate')

				{

				Us(true); 

				}

				//******************** Comment ********************
				// Call the Function 
				
				Km(); 

				}

              
				function Km()

				{

				JB(panelDatas); 
				
				//******************** Comment ********************
				// Call the Function 
				
				ce(); 

				}

				function ce()

				{

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; if(uH.rv==VL)

				{

				uH.Ao(); 

				}

				}

				try{ if(XU) XU.focus(); }

				catch(qX){}
				
				//******************** Comment ********************
				// Call the Function 
				
				Ir();

				}

				function Ir()

				{

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; if(uH.rv!=VL) continue; if(uH.ifs){ }else{ uH.Mg(); 

				}

				}

				//******************** Comment ********************
				// Call the Function 
				
				oT(); 

				}

				function oT()

				{

				Ml(); YC(); if(isIE)

				{

				window.attachEvent('onresize',Ep); window.attachEvent('onscroll',Ep);

				}

				else

				{

				window.onresize=Ep; window.onscroll=Ep;

				}

				if(excellenPath=='excellen/loginrequired')

				{

				IP(3); 

				}

				if(excellenPath=='excellen/welcome'||excellenPath=='v2'||excellenPath=='excellen/autocreate'){ 

				IP(4); 

				}

				if(excellenPath!='excellen/addlink'){ NJ(); qW();

				}

				if(excellenPath!='excellen/addlink'&&excellenPath!='excellen/widgettest')

				{

				NJ(); qW(); BB(); PQ(); 

				}

				hY=new xH(); 

				if(excellenPath=='excellen/widgettest')

				{

					var wf=new Object();

					wf['widgetId']=pageParams['widgetId']; 

					wf['widgetSourceId']=pageParams['widgetSourceId'];

					Jv('/_api/widgetKeyGen',wf,function(NS)

				{

					var mx=NS['readKey'];

					var Tl=NS['writeKey'];

					var ew=NS['thirdPartyUserIdentifier'];

					var ri=NS['widgetInfo'];

					ri['widgetSourceId']=pageParams['widgetSourceId']; 

					var left=Math.floor((WW()-ri['defaultWidth'])/2); 

					var UJ=new Object();

					var AJ=gC('widget',ri['widgetTitle'],left,100,ri['defaultWidth'],38+ri['defaultHeight'],'00',true,ri['widgetId'],'',UJ,null,null,null,true,mx,Tl,ew,ri); 

				}

				);

				}

				//******************** Comment ********************
				// Call the Function 
				
				Qt();

				}

				function Qt()

				{

				setTimeout('setInterval("'+Np(Ep)+'", '+CQ+');',3000); 

				var Hk=false; 

				for(var ii in pageParams)

				if(ii.toLowerCase()=='safemode') Hk=true; 

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; 

				if(uH.rv!=VL) 

				continue; 

				if(uH.Sw=='widget')

				{

				setTimeout(function(uH)

				{

				return function(){ uH.nb(null,Hk); 

				}

				}

				(uH),5);

				}

				}

				setTimeout(function()

				{

				if(HO&&HO.GH)

				{

				HO.as(Yl(),cJ()); 

				}

				//******************** Comment ********************
				// Call the Function 
				
				OB();

				},300); try{ if(jL().addEventListener)

				{

				jL().addEventListener('DOMMouseScroll',function(mGN)

				{

				try{XU.blur();

				}

				catch(qX){}return true;

				},false);

				}

				else{ jL().onmousewheel=function(){ try{XU.blur();}catch(qX){}return true; }; 

				}

				}

				catch(qX){ }HN();

				}

				function HN()
				{ 
				
				var AQ=['web/images/tab-drop-indicator.png']; for(var ii in AQ){ Hx(AQ[ii]); 

				}

				if(excellenPath=='excellen/autocreate')

				{

				var width=600; 

				var height=100;

				var left=parseInt((WW()-width)/2);

				var top=parseInt((FL()-height)/2)-100;

				var Tf=document.createElement('div'); 

				Tf.style.padding='35px'; 

				Tf.className='scheme-body-text'; 

				Tf.style.textAlign='center'; 

				Tf.style.fontSize='22px';

				Tf.appendChild(document.createTextNode('Creating your new Widgt page - please wait...'));

				this.fm=new LE(left,top,false,Oo,'00',Tf,false,false,null,jL(),width,height,true); 

				setTimeout(function(){ Jp(); },3000);

				}

				GR=true; var wM=function()

				{

				if(GR)

				{

				if(Ij!=window.location.hash)

				{

					Ij=window.location.hash; 

					var gN=bh(window.location.hash); 

					if(!gN.Cml)

				{

				var Wr=null;

				for(var ii in YK.WQo)

				{

				var ap=YK.WQo[ii];

				if(gN.Kc!=ap.Kc) 

				continue; 

				for(var dA in ap.MKL)

				{

				var qo=ap.MKL[dA];

				if(qo.rv==gN.rv) Wr=qo;

				}

				var BT=ap.BT; BT.vNr.fL();

				}

				if(Wr!=null) YK.pr(Wr);

				}

				}

				}

				setTimeout(function()

				{

				//******************** Comment ********************
				// Call the Function 
				
				wM(); 

				},1000);

				};

				if(YK) wM();

				if(displayExpandedCarousel) YK.sh(true); 

				var autoAddFeedUrl=pageParams['importAutoAddFeedUrl'];

				if(!autoAddFeedUrl) autoAddFeedUrl=pageParams['autoAddFeedUrl'];

				if(CY()&&autoAddFeedUrl)

				{

				var Nt=ux(autoAddFeedUrl); 

				if(!Lt(Nt.toLowerCase(),'http://66.7.200.176/~excellen/excellentglobal/Widgts/')&&!Lt(Nt.toLowerCase(),'http://66.7.200.176/~excellen/excellentglobal/Widgts/')&&!Lt(Nt.toLowerCase(),'http://66.7.200.176/~excellen/excellentglobal/Widgts/')&&!Lt(Nt.toLowerCase(),'http://66.7.200.176/~excellen/excellentglobal/Widgts/'))

				{

				var au=new cf(); 

				au.locatorUrl=Nt; 

				au.includeBylines=false;

				au.includeFullEntryBodies=false;

				au.maxEntries=1; au.lastReadTimestamp=0;

				var feedContentRequests=[au];

				/*lQ(feedContentRequests,function(feeds,error)

				{

				var nI=feeds[0]&&!feeds[0]['state']&&!error; if(nI)

				{

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii];

				if(uH.rv!=VL) 

				continue; if(uH.Sw=='widget'&&uH.ZT==Ev&&uH.title.indexOf('CNN')!=-1)

				{

				uH.VR.DRh.attributes['feeds']=[[Nt]]; uH.VR.sc(null); 

				}

				}

				}

				}

				);*/

				}

				}

				if(excellenPath!='excellen/addlink')

				{

				if(!pageParams['importType'])

				{

				if(pageParams['importUrl']) pageParams['importType']='link';

				}

				}

				if(pageParams['importType']&&excellenPath!='excellen/addlink')

				{

				if(pageParams['importType']=='link')

				{

				importNewLink(pageParams['importLabel'],pageParams['importUrl']); 

				}

				else if(pageParams['importType']=='webpage')

				{

				lN.lo(); lN.Od(lN.JL(nf,pageParams['importTitle'],

				{'url':pageParams['importUrl'],'safetyTimeoutCompleted':true,'disableScrollbars':false,'verticalOffset':'0','horizontalOffset':'0'

				}

				),330,300)();

				}

				else if(pageParams['importType']=='feed')

				{

				lN.lo(); lN.vr(pageParams['importUrl']); 

				}

				else if(pageParams['importType']=='widget')

				{

				lN.lo(); setTimeout(function()

				{

				var Ua=lN.rf(pageParams['importWidgetId']);

				var wf=new Object();

				wf['widgetId']=pageParams['importWidgetId']; 

				Jv('/_api/widgetKeyGen',wf,function(NS)

				{

					var ri=NS['widgetInfo']; 

				lN.Od(Ua,parseInt(ri['defaultWidth']),38+parseInt(ri['defaultHeight'],ri),ri)(); 

				}

				);

				},1000) 

				}

				}if((!CY())&&(QV!=null)&&(QV.ou()))

				{

				pI.Vh(vq.sl.CP,vq.sl.xER);

				}

				if(HO&&HO.eY) HO.eY();

				}

				function JB(panelDatas){

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; if(uH.rv==VL){

				uH.rR(); if(uH.ifs){ uH.nJ(); 

				}

				}

				}

				}

				function IM()

				{

				return colorsAndSettings.panelDropShadowPreference!='NEVER';

				}

				function Ho(panelDatas)

				{

				for(var ii in panelDatas)

				{

				var uH=panelDatas[ii]; 

				if(uH.rv==VL){ Ls(uH); uH.Dh();

				}

				}

				}

				function Ls(uH)

				{

				if(!uH.YLI)

				{

				uH.rR(); uH.Ao(); uH.Mg(); if(uH.ifs)

				{

				uH.nJ(); 

				}

				if(IM()) uH.xt(); if(uH.Sw=='widget')

				{

				setTimeout(function()

				{

				uH.nb();

				},10); 

				}

				}

				else

				{

				uH.Tu(); 

				}

				uH.ZA();

				}

				function Ml()

				{

				for(var ii in panelDatas)

				{

				if(panelDatas[ii].rv!=VL) continue; panelDatas[ii].xt();

				}

				}

				function fW(thY)

				{

				if(!thY) 

				return;

				if(!thY.GH) 

				return; thY.Hbd=thY.GH.style.left;

				thY.aZT=thY.GH.style.top;

				thY.GH.style.left='-10000px'; 

				thY.GH.style.top='-10000px'; PZ(thY);

				}

				function PZ(thY)

				{

				if(thY.MAW)

				{

				thY.MAW.ZI(false); 

				}

				}

				function kd(thY,Gpm)

				{

				if(Gpm)

				{

				thY.GH.style.left=thY.Hbd; thY.GH.style.top=thY.aZT; 

				}

				if(thY.MAW)

				{

				thY.MAW.ZI(true); 

				}

				}

				function hb()

				{

				Ck=true; IP(0); 

				}

				function YC(gn,pT)

				{

				if(YK&&gn)

				{

				YK.jT();

				}

				if(DC) DC.rh(); 

				for(var ii in LE.nhf)

				{

					var fm=LE.nhf[ii]; fm.Yf();

				}

				if(lG&&gn)

				{

				lG.position(); 

				}

				if(hY )

				{

					hY.position(); 

				}

				if(HO&&pT){ }

				if(iJ)

				{

				var XI=(WW()-iJ.GH.offsetWidth); 

				iJ.GH.style.left=XI+'px'; 

				iJ.GH.style.top=0+'px'; 

				iJ.MAW.position(); 

				iJ.popup.MAW.position(); 

				}

				if(HO&&HO.GH&&pT)

				{

				HO.as(Yl(),cJ()); if(fC)

				{

				if(fC.Jua>0)

				{

				fC.position(200,FL()-fC.height-40);

				}

				}

				if(CY())

				{

				if(IW) IW.position(20,FL()-IW.height-40);

				var cM=dZ(vq.sl.CP);

				cM.x+=parseInt(vq.sl.CP.offsetWidth/2);

				vq.sl.BZ.style.backgroundColor='#ff0000';

				if(!vq.NOB)

				{

				var BZ=document.createElement('div'); 

				BZ.style.padding='5px 10px 5px 10px'; 

				BZ.style.width='220px'; 

				var RH=wb(vq.sl.xER,12,false);

				var Cl=document.createElement('div');

				Cl.style.width='30px'; 

				Cl.style.height='15px';

				Gp(Cl); 

				BZ.appendChild(Cl); 

				BZ.appendChild(RH);

				vq.NOB=new LE(cM.x,cM.y,true,Sq+2,'00',BZ,false,true,null);

				vq.NOB.Rj(function()

				{

				vq.NOB.position(-10000,-10000); pI.Vh(vq.sl.CP,vq.sl.xER);

				}

				);

				}

				else

				{

				if(vq.NOB.Jua>=0) vq.NOB.position(cM.x,cM.y,false);

				}

				}

				}

				if(iJ&&gn)

				{

				kd(iJ);

				}

				if(!MS()&&pT)

				{

				if(HO&&HO.GH)

				{

				kd(HO);

				}

				}

				OB(); 

				}

				function ji()

				{

				fW(iJ); iJ.GH.style.left=(WW()-iJ.GH.offsetWidth)+'px';

				iJ.GH.style.top=0+'px'; 

				iJ.MAW.position(); 

				kd(iJ); 

				}

				function Yl()

				{

				return 0;

				}

				function cJ()

				{

				if(!HO.GH){ }return(FL()-HO.GH.offsetHeight);

				}

				var rV=null; 

				var dE=null; 

				var Xa=null; 

				var Co=null; 

				var wi=0; 

				var dh=false; 

				var oj=false; 

				var eZ=false; 

				function Ep()

				{

				 var Lj=false; 

				 var pT=false; 

				 var gn=false; 

				 var kY=isIE?document.body.scrollLeft:window.pageXOffset;

				 var Jc=isIE?document.body.scrollTop:window.pageYOffset;

				 var Hp=WW(); 

				 var fI=FL(); 

				 if(rV!=kY||Hp!=Xa)

				 {

					Lj=true; 

					gn=true;

			 }

				if(dE!=Jc||fI!=Co)

			 {

				 Lj=true; pT=true; 

				 };

				 if(Lj)

				 {

					dh=true; if(gn) eZ=true; if(pT) oj=true;

					 }

					 else{ if(dh)

					 {

			 var wX=new Date().getTime(); if((wX-wi)>=CQ)

						 {

					kV(eZ,oj); dh=false; eZ=false; oj=false; wi=wX; 

			}

				 }

					}

					 rV=kY; dE=Jc; Xa=Hp; Co=fI;

					}

					 function kV(gn,pT)

					{

					YC(gn,pT); 

					for(var ii in panelDatas)

								 {

					var uH=panelDatas[ii]; 

					if(uH.rv!=VL) continue; 

					if(uH.oe=='MAXIMIZED')

		 {

						RT(uH);

	 }

		 }

			 }

					 function NI(uH)

				 {

					if(uH.wAO) 

					return; 

					uH.wAO=true; 

					uH.fX();

					var lW=document.getElementById(id+'-ae'); 

						lW.style.height=uH.Qx()+'px'; 

						lW.style.paddingLeft='60px';

						var rb=document.getElementById(id+'-aea');

							rb.style.fontSize='12px';

							rb.onmousedown=function(event)

				{

						stopPropagation(event);

						Nf(uH); 

						uH.Ht();

						return false; 

						};

						rb.onmouseup=function(event)

						{

						Ht(FlF);

						return false; 

			 };

						var BZ=document.createElement('div');

						var Na=true;

							BZ.className='scheme-header scheme-header-text';

							BZ.style.position='absolute'; 

							BZ.style.paddingLeft='6px'; 

							BZ.style.paddingRight='4px'; 

							BZ.style.paddingTop='2px'; 

							BZ.style.paddingBottom='6px';

						var uU=((TG.oe=='MAXIMIZED')?27:36);

						if(Na) uU-=12; 

							BZ.style.right=uU+'px'; 

							BZ.style.top=Qx(uH)-2+'px';

							BZ.style.zIndex='200002'; 

							BZ.style.overflow='visible';

							BZ.appendChild(uu('delete',FlF,BZ,function()

				{

						var Bn=confirm("This will remove and delete this panel. Are you sure?"); 

						if(!Bn) 

						return false; 

							Kr(getPanelData(id)); 

							BM(VL); 

							KY(); 

				 }

					));

						if(TG.Sw=='html'||TG.Sw=='links'||(TG.ZT!=undefined&&TG.ZT==Ev))

				 {

							BZ.appendChild(uu('create duplicate',FlF,BZ,function()

							 {

						var CT=gC(TG.Sw,TG.title,TG.left,TG.top,TG.width,TG.height,TG.wS,

						false,TG.ZT,TG.Ku,TG.Sw=='widget'?bL(TG.VR.DRh.attributes):null,null,TG.content,TG.nG); })); }BZ.zIndex=101; var iframe=null; if(TG.ZT==nf) iframe=document.createElement('iframe'); qK([BZ,lW,rb],function(ab){ try{ if(iframe) FlF.removeChild(iframe); FlF.removeChild(BZ); }catch(qX){ return; }lW.style.paddingLeft='0px'; rb.style.fontSize='9px'; Ht(FlF); TG.wAO=false; }); FlF.appendChild(BZ); if(iframe!=null){ iframe.style.zIndex=100; iframe.style.position='absolute'; iframe.style.right=parseInt(BZ.style.right)+'px'; iframe.style.top=parseInt(BZ.style.top)+'px'; iframe.frameBorder=0; var Kj=BZ.offsetWidth; var gp=BZ.offsetHeight; iframe.style.width=Kj+'px'; iframe.style.height=gp+'px'; iframe.width=Kj; iframe.width=gp; FlF.appendChild(iframe); }} 

																																																																																																	

							

							function nc(TG,Ww,xgr)

							{

							return function()

							{

							xZ(TG,Ww); if(xgr)

							{

							populateVirtualPageController(); YC();

							}

							kg(TG);

							};

							}

							function uu(label,FlF,rOb,HiP)

							{

							var Kj=document.createElement('a');

							Kj.style.display='block'; 

							Kj.style.textAlign='right'; 

							Kj.style.padding='1px'; 

							Kj.style.whiteSpace='pre'; 

							Kj.className='scheme-header scheme-header-text'; 

							Kj.innerHTML=label; 

							Kj.href='';

							Kj.onmousedown=function(event)

							{

							stopPropagation(event); Ht(FlF); HiP(); 

							if(isIE)

							{

							window.event.cancelBubble=true; 

							window.event.returnValue=false; 

							}

							else

							{

							event.cancelBubble=true; event.preventDefault(); event.stopPropagation(); 

							}

							return false;

							};

							Kj.onclick=function(){return false;}; return Kj; 
							
							}
							
							
							//******************** Comment ********************
							// Function for set the initial title.
							
							function CY()

							{

							return excellenPath.indexOf('untitled-')==0; 

							}

							function tm(content,Sw)

							{

								var ox; 

								if(Sw=='note')

								{

									ox=TT(content);

									ox=ox.split('\n').join('<br>');

									var RS='\\b(http://[^\\s]+)\\b';

									var OC='<a onclick="return '+WE(vu)+'(\'$1\', event);" href="$1">$1</a>'; 

									var iV=new RegExp(RS,"g"); ox=ox.replace(iV,OC); 

									}

									if(Sw=='html'){ ox=content; }

							return '<div class="rich-text" style="font-size: 92%;">'+ox+'</div>'; 

							}

							function BM(eS)

							{

							if(ZF(eS)['positioning']=='gravity')

							{

							var YV=Wg(eS); for(var ii in YV)

							{

							if(YV[ii].Yi) Vc(YV[ii],YV[ii].left,YV[ii].top);

							}

							}

							}

							function DD(cM,cRv)

							{

							if(cM<0) return 0; var Lb=Math.ceil(cM/cRv)*cRv; return Lb; }function Qn(cM)

							{

							return DD(cM,BI);

							}

							function EU(cM)

							{

							return DD(cM,cK);

							}

							function kg(uH)

							{

							var DW=new Object(); DW.left=uH.left; DW.top=uH.top; DW.width=uH.width; DW.height=uH.ifs?uH.Dc():uH.height; DW.right=DW.left+DW.width; DW.bottom=DW.top+DW.height; 

							for(var ii in panelDatas)

							{

								var oq=panelDatas[ii]; 

								if(oq.rv!=VL) 

								continue; 

								if(uH==oq) 

								continue; 

								if(!uH.mC&&oq.mC) 

								continue; 

								var MV=new Object(); 

								MV.left=oq.left;

								MV.top=oq.top; 

								MV.width=oq.width;

								MV.height=oq.ifs?oq.Qx():oq.height; 

								MV.right=MV.left+MV.width;

								MV.bottom=MV.top+MV.height; 

								var Kj=bi(DW.left,MV.left,MV.right)?1:0; 

								var gp=bi(DW.right,MV.left,MV.right)?1:0; 

								var ox=bi(DW.top,MV.top,MV.bottom)?1:0;

								var Yn=bi(DW.bottom,MV.top,MV.bottom)?1:0; 

								var qX=bi(MV.left,DW.left,DW.right)?1:0;

								var ei=bi(MV.right,DW.left,DW.right)?1:0; 

								var Yc=bi(MV.top,DW.top,DW.bottom)?1:0;

								var hN=bi(MV.bottom,DW.top,DW.bottom)?1:0;

								var ip=Kj+gp+ox+Yn+qX+ei+Yc+hN;

								if(ip>=4)

								{

									if(uH.zIndex<=oq.zIndex)

									{ 

										uH.zIndex=++maxPanelZIndex; 

										uH.zIndex=++maxPanelZIndex; 

										uH.BZ.style.zIndex=uH.zIndex; 

										uH.GO(); 

										return true; 

									}

								}

							}

							return false; 

							}

							function Kh()

									{

										document.location.reload();

									}

									function DH()

					{

						if(loggedInAsGuest)

						{

							oU('gp','/'+excellenPath); Kh(); 

						}

						if(loggedIn)

					{

						var RZ=jl('excellen'); 

						var ta=new Array(); 

							ta.push(new wK('authToken',RZ)); 

							var PA=new hG(accountId,excellenId,null,excellenPath,'clear-auth-token',ta); 

							PA.NU=function()

							{

							oU('excellen','/'+excellenPath);

							AL(excellenPath); 
							
							Kh();

							};

							IP(5); 

							setTimeout(function()

				{

							commandProcessor.aA(PA); 

				}

				,800); setTimeout(function(){Kh();},20000); return; 

					}

					}

						function Us(show)

					{

						if(show==true)

			      {

					var jC=checkCookiesEnabled(); 

					if(!jC) 

					return; 

					if(!fC) Dr(); 

					fC.position(200,FL()-fC.height-40); 

					var Nq=document.getElementById('loginField-excellenPath'); 

					if(excellenPath=='excellen/loginrequired'){ Nq.value=pageParams['pagePathAttempted']; 

					}

					else if(Lt(excellenPath,'excellen/'))

					{

					Nq.value=''; 

					}

					else if(Lt(excellenPath,'untitled-'))

					{

					Nq.value=''; 

					}

					else{ Nq.value=excellenPath; 

					}

					if(Nq.value!='')

					{

					document.getElementById('loginField-password').focus(); 

					}

					else{ 

					Nq.focus(); 

					}

					}

					else{

					if(fC) fC.position(-10000,-10000); 

					}

					}

                    
                    //******************** Comment ********************
                    // function for edit the Tab tile
					function gC(Sw,title,Bm,rx,width,height,wS,mC,ZT,Ku,UJ,BH,content,nG,BR,mx,Tl,ew,ri)

					{

					var hk='new'+Math.ceil(10000000*Math.random()); 

					if(content==undefined||content==null)

					{

					if(Sw=='links') content=null; 

					if(Sw=='html') content='';

					if(Sw=='widget'&&UJ!=null) content=KN.stringify(UJ);

					}

					if(nG==null) nG=[new LinkData('Yahoo!','http://www.yahoo.com'),

					new LinkData('Wikipedia','http://en.wikipedia.org'),

					new LinkData('Widgt Blog','http://66.7.200.176/~excellen/excellentglobal/Widgts/')]; 

					var uH=new PanelData(hk,QV.sf(),QV.tY(),Sw,title,Bm,rx,width,height,

					false,++maxPanelZIndex,0,nG,content,'FLOATING',VL,wS,ZT,Ku,mC,BR,mx,Tl,ew,ri); 

					if(!ZT) uH.ZT=''; 

					if(!Ku) uH.Ku='';

					panelDatas.push(uH);

					uH.rR(); uH.xt(); uH.Ao(); uH.Mg();

					if(!uH.mC)

					{

					var ta=new Array();

					ta.push(new wK('excellenId',excellenId)); 

					ta.push(new wK('objectType',Sw));

					ta.push(new wK('title',uH.title));

					ta.push(new wK('left',uH.left)); 

					ta.push(new wK('top',uH.top));

					ta.push(new wK('width',uH.width));

					ta.push(new wK('height',uH.height));

					ta.push(new wK('widgetId',uH.ZT));

					ta.push(new wK('widgetKey',uH.Ku)); 

					ta.push(new wK('zIndex',uH.zIndex));

					ta.push(new wK('virtualPage',uH.rv));

					ta.push(new wK('content',content)); 

					ta.push(new wK('readKey',mx)); 

					ta.push(new wK('writeKey',Tl));

					ta.push(new wK('thirdPartyUserIdentifier',ew)); 

					var PA=new hG(QV.sf(),QV.tY(),QV.Xx(),excellenPath,'request-new-panel-id',ta); 

					PA.TG=uH;

					PA.NU=function(PA,GN){ uH.Yqi=GN; 

					};

					commandProcessor.aA(PA);

					}

					if(uH.Sw=='links')

					{

					if(!uH.mC) nq(uH);

					}

					if(uH.Sw=='html'||uH.Sw=='note')

					{

					if(!uH.mC) ok(uH);

					}

					if(uH.Sw=='widget')

					{

					if(BH) uH.nb(BH);

					else uH.nb(); 

					if(!uH.mC)

					{

					if(uH.VR)

					{

					uH.VR.DRh.oZ();

	

	              }

	           }

	         }

				if(!uH.mC){ uH.cE();

				}

				return uH;

				}

				
				//******************** Comment ********************
				// Function for Redirect the 'register.php' Page
				
				function wE()

				{

				document.location='register.php';//excellenPath+'/_api/register';

				}

				function Hb()

				{

				if(!loggedIn) 

				return; 

				var BZ=document.createElement('div');

					BZ.style.whiteSpace='nowrap'; 

					BZ.appendChild(document.createTextNode('Click here to name this page'));

					BZ.style.fontSize='30px'; 

					BZ.className='scheme-body-text';

					BZ.style.padding='10px 20px'; 

				var rE='seu nome'; 

				if(branding=='bigpond') rE='seu nome';

				if(branding=='FT') rE='seu nome'; 

				BZ.innerHTML='<div onclick="'+Np(wE)+'" style="cursor:pointer;"><div style="font-size:15px; font-weight:bold; "><img src="web/images/icons/eglogo2.gif">CADASTRE-SE</div><div style="display:inline; font-size:10px; font-weight:bold; text-decoration:underline">CLIQUE AQUI</div><div style="font-size:12px; padding-top:4px">(ou '+rE+')<br>expira em '+hoursUntilExpiry+' horas.</div></div>';

				var VM=new LE(-10000,-10000,

				false,Sq,'00',BZ,

				true,

				false,null); 

				VM.position(20,FL()-VM.height-40); 

				IW=VM; }function importNewLink(label,url,type)

				{

				var LS=TR();

				var sp=document.getElementById('add-new-link-panel-choice');

				var nM=document.getElementById('add-new-link-panel-div');

				nM.style.display='block'; 

				document.getElementById('add-new-link-title').value=label; 

				document.getElementById('add-new-link-address').value=url; 

				while(sp.childNodes.length>0) sp.removeChild(sp.childNodes[0]);

				for(var ii in panelDatas)

				{

				if(panelDatas[ii].Sw=='links')

				{

				//******************** Comment ********************
				// Call Function for Create the check box
				
				JT(panelDatas[ii].id,panelDatas[ii].title,sp); 

				}

				}

				JT('','(create new panel for this link)',sp); 

				}
			    
			    //******************** Comment ********************
			    // Function for create and add new Link.
			
				function addNewLink()

				{

				var sp=document.getElementById('add-new-link-panel-choice');

				var kw; 

				var label;

				var url;

				var type; 

				kw=sp.value; 

				label=document.getElementById('add-new-link-title').value; 

				url=document.getElementById('add-new-link-address').value;

				var OL;

				if(kw==''||kw==null){ OL=gC('links','Untitled bookmarks',56,FL()-340,254,100,'00',false,'',''); 

				OL.nG=new Array(); 

				}

				else{

				for(var ii in panelDatas)

				{

				if(panelDatas[ii].id==kw) OL=panelDatas[ii]; }

				}

				OL.nG.push(new LinkData(label,url));

				rC(OL);

	      }

	function AL(KWF)

	{

	var iN=UR(); 

	var Pc=new Array();

	for(var ii in iN)

	{

	if(iN[ii]==KWF)

	continue;

	Pc.push(iN[ii]); 

	}

	var dt=Pc.join(":");

	dc("login",dt,"/");

	}

	function UR()

	{

	var ox=jl("login");

	if(ox==null) 

	return new Array(); 

	else return ox.split(":"); 

	}

	function DQ()

	{

	SA(HO); 

	SA(iJ);

	SA(iJ.popup);

	SA(Lp); 

	SA(Th); 

	SA(RU); 

	}

	function SA(thY)

	{

	if(!thY) 

	return;

	var du=colorsAndSettings.opacity+25; 

	if(du>100) du=100; eu(thY.GH,du);

	if(thY.MAW) thY.MAW.eu(du);

	}

	function fg()

	{

	if(iE) 

	return; 

	return; 

		vj.style.left=rp()+'px'; 

		vj.style.top=Sn()+'px';

		vj.style.width=Math.max(10000,WW())+'px'; 

		vj.style.height=Math.max(10000,FL())+'px'; 

		}

		function PP()

		{

		if(iE) 

		return; 

		iC=false; 

		if(vj)

		{

		vj.style.left='-20000px'; 

		vj.style.top='-20000px'; 

		}

		}

		function Ld()

		{

		if(iE) 

		return; 

		if(vj)

		{

		if(!iC)

		{

		vj.style.left=0+'px';

		vj.style.top=WP+Oh+'px';

		}

		}

		else{

		vj=document.createElement('div'); 

		vj.style.position='absolute';

		vj.style.left=0+'px'; 

		vj.style.top=WP+Oh+'px'; 

		vj.style.width='10000px';

		vj.style.height='10000px';

		vj.style.zIndex=ma; 

		// Call Function for get the Body.
		
		jL().appendChild(vj); 

		}

		iC=true;

	

	}

	var ref_SH=95.047

var Fs=100.000

var ref_DE=108.883

var Un; 

var dg; 

var kv; 

var hE; 

var qO; 

function XS(id,label,RmR,pt,NAk,YQj,hMk)

{

	this.id=id; 

	this.label=label; 

	this.RmR=RmR; 

	this.pt=pt; 

	this.NAk=NAk; 

	this.YQj=YQj; 

	this.hMk=hMk;

	}

	
	//******************** Comment ********************
	// For the Colors
	var baseSchemes=[ new XS(18,'Cappuccino',

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#000000'),

	new UY('#FFFFC8'),

	new UY('#71A1D1'),null),

	new XS(19,'Espresso',

	new UY('#FFFFFF'),

	new UY('#000000'),

	new UY('#000000'),

	new UY('#FFFFC8'),

	new UY('#71A1D1'),null),

	new XS(2,'Paper',

	new UY('#000000'),

	new UY('#BEE2D4'),

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#E9F8F2'),null),

	new XS(13,'Banana',

	new UY('#000000'),

	new UY('#FFFAA1'),

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#71A1D1'),null),

	new XS(14,'Lemon cheesecake',

	new UY('#000000'),

	new UY('#FFE873'),

	new UY('#000000'),

	new UY('#FEFFD8'),

	new UY('#FFF7B7'),null),

	new XS(20,'Championship',

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#FFFFFF'),

	new UY('#B60000'),

	new UY('#D40B15'),null),

	new XS(21,'Snowcap',

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#FFFFFF'),

	new UY('#2353D6'),

	new UY('#D40B15'),null),

	new XS(3,'Flex',

	new UY('#FFFFFF'),

	new UY('#2854D1'),

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#71A1D1'),null),

	new XS(17,'Live wire',

	new UY('#FFFFFF'),

	new UY('#4775F4'),

	new UY('#FFFFFF'),

	new UY('#2B57D4'),

	new UY('#71A1D1'),null),

	new XS(8,'Washed',

	new UY('#05255C'),

	new UY('#E0E9FF'),

	new UY('#05255C'),

	new UY('#FFFFFF'),

	new UY('#FCFFDF'),null),

	new XS(15,'Ocean breeze',

	new UY('#FFFFFF'),

	new UY('#5A9AFF'),

	new UY('#000000'),

	new UY('#E3EEFF'),

	new UY('#71A1D1'),null),

	new XS(16,'Zest',

	new UY('#FFFFFF'),

	new UY('#FF6A54'),

	new UY('#000000'),

	new UY('#FFC3BA'),

	new UY('#71A1D1'),null),

	new XS(1,'Solid',

	new UY('#FFFFFF'),

	new UY('#14305A'),

	new UY('#FFFFFF'),

	new UY('#0A182C'),

	new UY('#525D7A'),null),

	new XS(4,'Fizzy',

	new UY('#FFFFFF'),

	new UY('#F63A6C'),

	new UY('#FFFFFF'),

	new UY('#AB2045'),

	new UY('#F18BA6'),null),

	new XS(5,'Pro',

	new UY('#FFFFFF'),

	new UY('#913D3D'),

	new UY('#000000'),

	new UY('#FFFFFF'),

	new UY('#E8F8D3'),null),

	new XS(6,'Slate',

	new UY('#FFFFFF'),

	new UY('#2a1d00'),

	new UY('#FFFFFF'),

	new UY('#262621'),

	new UY('#353530'),null),

	new XS(7,'Mocha',

	new UY('#FFFFFF'),

	new UY('#654B08'),

	new UY('#FFFFFF'),

	new UY('#322604'),

	new UY('#7A6F52'),null),

	new XS(9,'Loud',

	new UY('#000000'),

	new UY('#FFE500'),

	new UY('#000000'),

	new UY('#FFCC00'),

	new UY('#FFB200'),null),

	new XS(10,'Sheer',

	new UY('#FFFFFF'),

	new UY('#001C75'),

	new UY('#FFFFFF'),

	new UY('#002EA5'),

	new UY('#96C6F4'),null),

	new XS(11,'Tangerine',

	new UY('#FFFFFF'),

	new UY('#DC8050'),

	new UY('#FFFFFF'),

	new UY('#FF7E47'),

	new UY('#D4470B'),null),

	new XS(12,'Sanguine',

	new UY('#FFFFFF'),

	new UY('#A70000'),

	new UY('#FFFFFF'),

	new UY('#FF3B3B'),

	new UY('#D40B15'),null)]; 

	var wallpaperChoices=[new Fn('(No wallpaper)',''),

	new Fn('Clean','web/images/wallpaper/1.jpg'),

	new Fn('Artesao','web/images/wallpaper/2.jpg'),

	new Fn('Workaholic','web/images/wallpaper/3.jpg'),

	new Fn('Jovem','web/images/wallpaper/4.jpg'),
	
	new Fn('Emo','web/images/wallpaper/5.jpg'),
	
	new Fn('Musico','web/images/wallpaper/6.jpg'),
	
	new Fn('VisuGlos Stationary','web/images/wallpaper/7.jpg'),
	
	new Fn('Romantico','web/images/wallpaper/8.jpg'),

	new Fn('Inspirational','web/images/wallpaper/9.jpg')]; 

	//******************** Comment ********************
	// Function For Set the Wallpaper int Background.
	
	function Fn(label,url)

	{ 

	this.label=label; 

	this.url=url; 

	}

	function nu(eSo,WA,BJ)

	{ 

	BJ=BJ?BJ:0.5; 

	var BS=new rg(eSo); 

	var hF=new rg(WA); BS.GhW=BS.GhW+(hF.GhW-BS.GhW)*BJ; 

	if(BS.uOa==0) BS.lI=hF.lI; 

	else 

		BS.lI=BS.lI+(hF.lI-BS.lI)*BJ;

		BS.uOa=BS.uOa+(hF.uOa-BS.uOa)*BJ; 

	return BS.EN(); 

	}

	function 

		Bw(eSo,JKA,WA)

		{

		var DF=nu(JKA,WA); 

		var ow=nu(eSo,WA); 

		var hu=Os(DF,ow); 

		return hu; 

		}

		function 

			UY(hu)

			{

			if(hu.substring(0,1)=='#') hu=hu.substring(1); 

			this.pju=hu; 

			var var_qG=parseInt(hu.substring(0,2),16)/255; 

			var var_UV=parseInt(hu.substring(2,4),16)/255; 

			var var_DP=parseInt(hu.substring(4,6),16)/255; 

			var FF=Math.min(Math.min(var_qG,var_UV),var_DP); 

			var mk=Math.max(Math.max(var_qG,var_UV),var_DP); 

			var nB=mk-FF; 

			this.uZE=(mk+FF)/2; 

			if(nB==0) 

			{

			this.lI=0; 

			this.uOa=0; 

			}

			else 

			{ 

			if(this.uZE<0.5) this.uOa=nB/(mk+FF); 

			else           

			this.uOa=nB/(2-mk-FF); 

			var del_qG=(((mk-var_qG)/6)+(nB/2))/nB; 

			var cH=(((mk-var_UV)/6)+(nB/2))/nB; 

			var del_DP=(((mk-var_DP)/6)+(nB/2))/nB; if(var_qG==mk) this.lI=del_DP-cH; 

			else if(var_UV==mk) this.lI=(1/3)+del_qG-del_DP; 

			else if(var_DP==mk) this.lI=(2/3)+cH-del_qG; 

			if(this.lI<0) this.lI+=1; 

			if(this.lI>1) this.lI-=1;

}

}

UY.prototype.EN=function(hueOffset,saturationOffset,KYk){

	var hn=this.lI; 

	var Nn=this.uOa;

	var Va=this.uZE;

	if(hueOffset!=null) hn=(((this.lI*360)+hueOffset+360)%360)/360;

	if(saturationOffset!=null)

		{

		if(saturationOffset<-100) saturationOffset=-100;

		if(saturationOffset<=0)

		{

		Nn=(this.uOa*(saturationOffset+100))/100;

	

	}

	else{

	Nn=this.uOa+((1-this.uOa)*(saturationOffset/100)); 

		}

		}

		if(Nn>1) Nn=1; if(KYk!=null)

		{

		if(KYk<=0)

			{

			Va=(this.uZE*(KYk+100)/100);

			}

			else

				{

				Va=this.uZE+((1-this.uZE)*(KYk/100));

				}

				}

				if(Va>1) Va=1; 

				if(Nn==0) 

					{

					var qG=Va*255;

					var UV=Va*255; 

					var DP=Va*255; 

					}

					else 

						{

						if(Va<0.5)

						{

						var ro=Va*(1+Nn); 

						}

						else{ 

						var ro=(Va+Nn)-(Nn*Va);

						}

						var Fj=2*Va-ro;

						var qG=Math.round(255*eW(Fj,ro,hn+(1/3))); 

						var UV=Math.round(255*eW(Fj,ro,hn));

						var DP=Math.round(255*eW(Fj,ro,hn-(1/3)));

						}

						qG=Math.round(qG); 

						UV=Math.round(UV);

						DP=Math.round(DP);

						var qB=xn(qG.toString(16))+xn(UV.toString(16))+xn(DP.toString(16)); 

						if(KYk==null)

						{

						qB=Os(qB,this.pju);

						}

						return qB;

						}; 

						function eW(ogo,nUU,DmW)

						{

						if(DmW<0) DmW+=1;

						if(DmW>1) DmW-=1;

						if((6*DmW)<1) 

						return(ogo+(nUU-ogo)*6*DmW); 

						if((2*DmW)<1) 

						return(nUU); 


						if((3*DmW)<2) 

						return(ogo+(nUU-ogo)*((2/3)-DmW)*6); 

						return(ogo);

						}

						function xn(wT)

						{

						if(wT.length==1)

						return '0'+wT; 

						else 

						return wT; 

						}

						var sE=180;

						var IB=180;

						var iF=null;

						var vc=null;

						var vo; 

						var cn; 

						var qH; 

						function TV()

						{

						return false;

						return!isIE;

						}

						function Ro(Ww)

						{

						var MV=''+Ww;

						if(MV.length==1) MV='0'+MV;

						return MV;

						}

						var UU;

						var nR;

						var db;

						var ET; 

						var mp=new Object();

						var Ea=new Object();

						var Cs=new Object();

						function Zx(VcZ,ucB,eDo,WYI)

						{

						UU=colorsAndSettings.headerForegroundColor; nR=colorsAndSettings.headerBackgroundColor; db=colorsAndSettings.bodyForegroundColor; ET=colorsAndSettings.bodyBackgroundColor; 

						if(TV())

						{

						if(WYI)

						{

						for(var ii in panelDatas)

						{

						if(panelDatas[ii].rv!=VL) 

						continue; 

							panelDatas[ii].WYI(); 

							}

							DQ();

							}

							}

							if(VcZ)

							{

							if(document.styleSheets)

							{

							var rules=document.styleSheets.item(0).rules||document.styleSheets.item(0).cssRules;

							var FW=rules.item(0); 

							var Vo=rules.item(1); 

							var Tx=rules.item(2); 

							var ZN=new UY(nR); 

							var lk=new UY(ET);

							FW.style.color='#'+UU;

							Vo.style.color='#'+db;

							for(var ii=0;ii<=10;ii++)

							{

							var lX=rules.item(3+(2*ii));

							var wD=rules.item(3+(2*ii)+1); 

							var dp=(ii==10)?0:((ii/10)*360);

							var KU=(ii==10)?-200:0; 

							var PN=ZN.EN(dp,KU,null,nR);

							var Fa=lk.EN(dp,KU,null,ET);

							var ML=nu(db,Fa); 

							lX.style.backgroundColor='#'+PN;

							wD.style.backgroundColor='#'+Fa; 

							mp[Ro(ii)]=PN; Ea[Ro(ii)]=Fa; 

							Cs[Ro(ii)]=ML; 

							}

							if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

							{

							jL().style.backgroundColor='#'+colorsAndSettings.backgroundColor;

							}

							Tx.style.color=Vo.style.color; 

							for(var ii in panelDatas)

							{

							var uH=panelDatas[ii]; uH.Dh(); 

							}

							}

							}

							if(ucB)

							{

							var ru=UU; var qY=db; 

							Un=ru; 

							dg=qY; 

							kv=nu(Un,mp['00']); 

							hE=nu(dg,Ea['00']);

							qO=nu(dg,Ea['00'],0.9); 

							if(true){ vo="web/dynamicImages/"+ru+"/panel-cross.gif"; cn="web/dynamicImages/"+ru+"/panel-duplicate.gif"; qH="web/dynamicImages/"+ru+"/question-mark.gif"; 

							for(var ii=0;ii<document.images.length;ii++)

							{

							var gX=document.images[ii];

							var wT; 

							if(gX.src.indexOf('web/dynamicImages/')!=-1)

							{

							if(gX.src.indexOf('undock-centered.gif')!=-1) 

							continue; 

							if(gX.src.indexOf('pixel.gif')!=-1) 

							continue; 

							if(gX.src.indexOf('/expand.gif')!=-1||gX.src.indexOf('/collapse.gif')!=-1||gX.src.indexOf('/maximise.gif')!=-1) wT=ru; 

							else wT=qY; gX.src="web/dynamicImages/"+wT+"/"+gX.src.substring(gX.src.lastIndexOf('/')+1); 

							for(var dA in panelDatas)

							{

							var ai=panelDatas[dA].visibleScrollbarHandle; 

							if(ai!=null) ai.style.backgroundImage='url("web/dynamicImages/'+qY+'/vertical-scroll-bar.gif")'; 

							}

							}

							}

							}

							if(iF==null){ iF=ru; vc=qY; 

							}

							}

							if(eDo)

							{

							var gp=jL(); 

							if(colorsAndSettings.backgroundMode=='PATTERN')

							{

							gp.style.backgroundImage='url("web/pattern/'+Math.round(colorsAndSettings.backgroundHueOffset)+'/'+(Math.round(colorsAndSettings.backgroundSaturationOffset-100))+'/'+Math.round(colorsAndSettings.backgroundLightnessOffset)+'/'+colorsAndSettings.backgroundPattern+'.gif")'; 

							}

							if(colorsAndSettings.backgroundMode=='PLAIN_COLOR')

							{

							gp.style.backgroundImage='none'; 

							gp.style.backgroundColor='#'+colorsAndSettings.backgroundColor; 

							}

							if(colorsAndSettings.backgroundMode=='WALLPAPER_IMAGE')

							{

							if(colorsAndSettings.wallpaperMode=='CENTER')

							{

							gp.style.backgroundPosition='center';

							gp.style.backgroundRepeat='no-repeat'; 

							gp.style.backgroundAttachment='fixed'; 

							}

							if(colorsAndSettings.wallpaperMode=='TILE')

							{

							gp.style.backgroundPosition='0% 0%';

							gp.style.backgroundRepeat='repeat';

							gp.style.backgroundAttachment='scroll';

							}

							gp.style.backgroundImage='url("'+colorsAndSettings.wallpaperImageUrl+'")';

							}

							}

							}

							function bS(baseSchemeId)

							{

							for(var ii=0;ii<baseSchemes.length;ii++) 

							if(parseInt(baseSchemes[ii].id)==parseInt(baseSchemeId)) 

							return baseSchemes[ii]; 

							if(JZ) alert('Error code 649 - Please report this as a bug to Widgt using the feedback form. Could not find base scheme for id '+baseSchemeId); 

							}

							function LK(arK)

							{

							var ta=new Array(); 

							ta.push(new wK('colorsAndSettings',KN.stringify(colorsAndSettings)));

							var PA=new hG(accountId,excellenId,null,excellenPath,'save-colors-and-settings',ta); 

							if(arK){ PA.NU=function(){ document.location.reload();

							}; 

							}

							commandProcessor.aA(PA);

							}

							function ZE(uZE,Zl,Lb)

							{

							this.uZE=uZE; 

							this.Zl=Zl;

							this.Lb=Lb;

							}

							function Nd(hu)

							{

							var var_qG=parseInt(hu.substring(0,2),16)/255; 

							var var_UV=parseInt(hu.substring(2,4),16)/255;

							var var_DP=parseInt(hu.substring(4,6),16)/255; 

							if(var_qG>0.04045) var_qG=Math.pow(((var_qG+0.055)/1.055),2.4);

							else                   

							var_qG=var_qG/12.92; 

							if(var_UV>0.04045) var_UV=Math.pow(((var_UV+0.055)/1.055),2.4); 

							else                  

							var_UV=var_UV/12.92; 

							if(var_DP>0.04045) var_DP=Math.pow(((var_DP+0.055)/1.055),2.4);

							else                   

							var_DP=var_DP/12.92;

							var_qG=var_qG*100; 

							var_UV=var_UV*100; 

							var_DP=var_DP*100; 

							var SH=var_qG*0.4124+var_UV*0.3576+var_DP*0.1805;

							var rt=var_qG*0.2126+var_UV*0.7152+var_DP*0.0722; 

							var DE=var_qG*0.0193+var_UV*0.1192+var_DP*0.9505;

							var Gh=(4*SH)/(SH+(15*rt)+(3*DE));

							var var_GhW=(9*rt)/(SH+(15*rt)+(3*DE)); 

							var var_rt=rt/100;

							if(var_rt>0.008856) var_rt=Math.pow(var_rt,(1/3)); 

							else                   

							var_rt=(7.787*var_rt)+(16/116); 

							var WQ=(4*ref_SH)/(ref_SH+(15*Fs)+(3*ref_DE)); 

							var sS=(9*Fs)/(ref_SH+(15*Fs)+(3*ref_DE)); 

							var Wp=(116*var_rt)-16; SM=13*Wp*(Gh-WQ); pn=13*Wp*(var_GhW-sS); 

							if(isNaN(SM)) SM=0;

							if(isNaN(pn)) pn=0; 

							return new ZE(Wp,SM,pn);

							}

							ZE.prototype.EN=function()

							{

							var Wp=this.uZE;

							var SM=this.Zl; 

							var pn=this.Lb;

							var var_rt=(Wp+16)/116; 

							if(Math.pow(var_rt,3)>0.008856) var_rt=Math.pow(var_rt,3); 

							else                      

							var_rt=(var_rt-16/116)/7.787;

							var WQ=(4*ref_SH)/(ref_SH+(15*Fs)+(3*ref_DE)); 

							var sS=(9*Fs)/(ref_SH+(15*Fs)+(3*ref_DE)); 

							var Gh=SM/(13*Wp)+WQ;

							var var_GhW=pn/(13*Wp)+sS; 

							var rt=var_rt*100; 

							var SH=-(9*rt*Gh)/((Gh-4)*var_GhW-Gh*var_GhW);

							var DE=(9*rt-(15*var_GhW*rt)-(var_GhW*SH))/(3*var_GhW); var_SH=SH/100;

							var_rt=rt/100; var_DE=DE/100; 

							var var_qG=var_SH*3.2406+var_rt*-1.5372+var_DE*-0.4986;

							var var_UV=var_SH*-0.9689+var_rt*1.8758+var_DE*0.0415;

							var var_DP=var_SH*0.0557+var_rt*-0.2040+var_DE*1.0570;

							if(var_qG>0.0031308) var_qG=1.055*Math.pow(var_qG,(1/2.4))-0.055;

							else                     

							var_qG=12.92*var_qG; 

							if(var_UV>0.0031308) var_UV=1.055*Math.pow(var_UV,(1/2.4))-0.055;

							else                    

							var_UV=12.92*var_UV; 

							if(var_DP>0.0031308) var_DP=1.055*Math.pow(var_DP,(1/2.4))-0.055;

							else                   

							var_DP=12.92*var_DP; 

							var qG=var_qG*255; 

							var UV=var_UV*255; 

							var DP=var_DP*255; 

							if(qG>255) qG=255; 

							if(UV>255) UV=255;

							if(DP>255) DP=255; 

							if(qG<0) qG=0; 

							if(UV<0) UV=0;

							if(DP<0) DP=0; 

							qG=Math.round(qG);

							UV=Math.round(UV);

							DP=Math.round(DP);

							var qB=xn(qG.toString(16))+xn(UV.toString(16))+xn(DP.toString(16));

							return qB;

							};

							function Os(pQE,RkU)

							{

							if(pQE==RkU) 

							return pQE; 

							var BS=Nd(pQE);

							var hF=Nd(RkU);

							BS.uZE=hF.uZE;

							return BS.EN();

							}

							function ku(YH,KYk)

							{

							var ox=new rg(YH); ox.GhW+=KYk/100;

							if(ox.GhW>1){ ox.uOa-=(ox.GhW-1);

							if(ox.uOa<0) ox.uOa=0;

							ox.GhW=1; 

							}

							return ox.EN();

							}

							function Pd()

							{

							}

							Pd.prototype.position=function(x,y)

							{

							if(this.left==x&&this.top==y) 

							return; 

							this.left=x; 

							this.top=y;

							this.BZ.style.left=x+'px'; 

							this.BZ.style.top=y+'px'; 

							this.MAW.position(); 

							};

							Pd.prototype.cr=function()

							{

							return 5;

							};

							Pd.prototype.NN=function()

							{

							return this.BZ.offsetHeight;

							};

							Pd.prototype.ql=function()

							{

							return this.BZ.offsetWidth; 

							};

							Pd.prototype.jj=function(XK)

							{

							this.width=XK; 

							this.BZ.style.width=XK+'px';

							this.Vbr.style.left=XK-5+'px'; 

							}; 

							Pd.prototype.iT=function()

							{

							return this.ho.offsetWidth+20; 

							};

							Pd.prototype.fS=function(pJX)

							{

							};

							Pd.prototype.RJ=function(cCq)

							{

							if(this.zIndex==cCq) 

							return; 

							this.zIndex=cCq; 

							this.BZ.style.zIndex=cCq; 

							this.MAW.Pp(); }; 

							Pd.prototype.bc=function(parentElement,ho,GPY,wS,afE,ZwI,Ubr,ISB,hS)

							{

							this.wS=wS;

							this.afE=afE;

							this.Ubr=Ubr;

							this.ho=ho; 

							this.GPY=GPY;

							this.ZwI=ZwI;

							this.parentElement=parentElement;

							this.BZ=document.createElement('div'); parentElement.appendChild(this.BZ); 

							this.BZ.style.position='absolute'; 

							this.BZ.style.left='0px'; 

							this.BZ.style.top='0px'; 

							this.BZ.style.fontSize='0.01px';

							this.BZ.style.zIndex=2;

							this.Qqb=document.createElement('div'); 

							this.Vbr=document.createElement('div'); 

							this.Qqb.style.position='absolute'; 

							this.Qqb.style.width='5px';

							this.Qqb.style.height='5px'; 

							this.Qqb.style.left='0px';

							this.Vbr.style.position='absolute'; 

							this.Vbr.style.width='5px'; 

							this.Vbr.style.height='5px'; 

							this.Vbr.style.left='0px';

							if(this.afE)

							{

							this.Qqb.style.top='0px';

							this.Vbr.style.top='0px';

							}

							else{ 

							this.Qqb.style.top='0px'; 

							this.Vbr.style.top='0px'; 

							}

							this.doH=document.createElement('div');

							this.doH.style.fontSize='0.01px'; 

							this.doH.style.marginLeft='5px'; 

							this.doH.style.marginRight='5px';

							this.doH.style.paddingTop='5px';

							this.doH.appendChild(this.Qqb); 

							this.doH.appendChild(this.Vbr);

							this.NV=document.createElement('div'); 

							this.NV.style.fontSize='0.01px'; 

							this.NV.style.paddingLeft='5px';

							this.NV.style.paddingRight='5px';

							this.NV.appendChild(this.ho);

							if(this.afE)

							{

							this.eoR=document.createElement('div');

							this.eoR.style.fontSize='0.01px';

							this.eoR.style.paddingTop='5px'; 

							this.BZ.appendChild(this.eoR); 

							this.BZ.appendChild(this.NV);

							this.BZ.appendChild(this.doH);

							}

							else{

							this.BZ.appendChild(this.doH);

							this.BZ.appendChild(this.NV);

							}

							if(hS!=null)

							{

							this.ho.style.height=(this.ho.offsetHeight-hS)+'px'; 

							this.ho.style.width=(this.ho.offsetWidth)+'px'; 

							this.ho.style.position='relative';

							this.ho.style.overflow='hidden';

							this.ho.style.top='-'+hS+'px';

							}

							this.Ns(); 

							this.MAW=new UZ(this.BZ,this.ZwI,parentElement,true,true,true,this.afE);

							var YT=this.ho.offsetWidth; 

							if(this.afE)

							{

							var nt=this.ho.offsetHeight;

							this.Qqb.style.top=nt+5+'px';

							this.Vbr.style.top=nt+5+'px';

							this.Vbr.style.left=YT+5+'px';

							}

							else{

							this.Vbr.style.left=YT+5+'px'; 

							}

							};

							Pd.prototype.qd=function()

							{

							if(this.afE)

							{

							var nt=this.ho.offsetHeight; 

							this.Qqb.style.top=nt+5+'px';

							this.Vbr.style.top=nt+5+'px'; 

							}

							};

							Pd.prototype.tG=function()

							{

							return mp[this.wS];

							};

							Pd.prototype.QE=function()

							{

							return Ea[this.wS];

							};

							Pd.prototype.Ns=function()

							{

							if(this.kkl)

							{

							var cQ=this.iCP;

							var ru=this.xgO; 

							}

							else{

							var cQ=this.tG();

							var baseScheme=bS(colorsAndSettings.baseScheme); 

							var ru=baseScheme.RmR.EN(colorsAndSettings.hueOffset,colorsAndSettings.saturationOffset); 

							}

							var Im=ku(cQ,TA);

							if(!this.useMonoScheme)

							{

							this.NV.style.backgroundImage='url(web/gradient/'+cQ+'/'+TA+'/header-gradient.gif)'; 

							this.NV.style.backgroundRepeat='repeat-x'; 

							this.NV.style.backgroundPosition='top'; 

							this.NV.style.backgroundColor='#'+cQ; 

							}

							if(this.afE)

							{

							En(this.Qqb,'web/dynamicPng/'+cQ+'/corner-sw.png'); 

							En(this.Vbr,'web/dynamicPng/'+cQ+'/corner-se.png'); 

							if(!this.useMonoScheme)

								{

								this.eoR.style.backgroundColor='#'+Im; 

								}

								else

									{

									this.NV.style.backgroundColor='#'+cQ; 

									this.eoR.style.backgroundColor='#'+cQ; 

									}

									this.doH.style.backgroundColor='#'+cQ; 

									}

									else

										{

										En(this.Qqb,'web/dynamicPng/'+Im+'/corner-nw.png'); 

										En(this.Vbr,'web/dynamicPng/'+Im+'/corner-ne.png');

										this.doH.style.backgroundColor='#'+Im; 

										}

										};

										function GL(wOL,Mom,Fc,paddingBottom,cursor,xLe)

											{

												var BZ=document.createElement('div');

												BZ.className='scheme-header-text'; 

												BZ.style.fontWeight=Fc?'bold':'normal';

												BZ.style.whiteSpace='nowrap'; 

								if(Mom) BZ.style.fontSize=Mom+'px'; 

								if(xLe!=null)

							{

									BZ.style.paddingLeft=xLe+'px'; BZ.style.paddingRight=xLe+'px'; 

						}

								if(paddingBottom!=null) BZ.style.paddingBottom=paddingBottom+'px'; 

								if(cursor!=null) BZ.style.cursor=cursor; 

									BZ.appendChild(document.createTextNode(wOL)); 

								return BZ;

									}

									var CallbackNotify=new Object(); 

													CallbackNotify.ldw=0; 

													CallbackNotify.llK=new Array(); 

													CallbackNotify.Bo=function(HiP)

														{

													CallbackNotify.ldw++; 

													CallbackNotify.llK[CallbackNotify.ldw]=HiP;

							return CallbackNotify.ldw; };

												CallbackNotify.callbackNotify=function(mKE,EAh)

						{

												CallbackNotify.llK[mKE](EAh); 

							};

											CallbackNotify.kD=function(mKE)

				{

						return 'callbackFrame'+mKE;

						};

											CallbackNotify.sF=function(mKE)

		{

						return '<iframe name="'+CallbackNotify.kD(mKE)+'" style="position:absolute; left:-1000px; top:-1000px; width:1px; height:1px; border:none; visibility:hidden;"></iframe>'; 

			};

									CallbackNotify.XW=function(mKE)

			{

						return '<input type="hidden" name="callbackId" value="'+mKE+'">';

		};

						CallbackNotify.Ug=function(mKE)

			{

					var Vv=document.createElement('div');

					Vv.style.width='1px'; 

					Vv.style.height='1px';

					Vv.style.position='absolute';

					Vv.style.left='-50000px';

					Vv.style.top='-50000px';

					
					//******************** Comment ********************
					// Call Function for get the Body.
					
					jL().appendChild(Vv); 

					Vv.innerHTML=CallbackNotify.sF(mKE);

		};

					function Sl(parentElement,laA,ot)

				{

				var tR=this; 

				this.color='123456'; 

				this.ot=ot; 

				this.laA=laA; 

				this.qCx=1000; 

				this.BZ=document.createElement('div'); 

				this.BZ.style.position='relative'; 

				this.BZ.style.width='350px'; 

				this.BZ.style.height='200px'; 

					parentElement.appendChild(this.BZ); 

					this.gsD=document.createElement('table'); 

					this.gsD.style.position='absolute'; 

					this.gsD.style.left='270px'; 

					this.gsD.style.top='0px'; 

					this.gsD.style.width='70px'; 

					this.gsD.style.height='188px';

					this.gsD.border=0; 

					this.gsD.cellPadding=0; 

					this.gsD.cellSpacing=0; 

					this.avE=document.createElement('tbody'); 

					this.Qbk=document.createElement('tr'); 

					this.RCk=document.createElement('td'); 

					this.eVR=document.createElement('tr'); 

					this.Sds=document.createElement('td'); 

					this.wnT=document.createElement('tr'); 

					this.Hef=document.createElement('td');

					this.ISb=document.createElement('tr');

					this.bwf=document.createElement('td'); 

					this.Ieq=document.createElement('tr'); 

					this.ZDg=document.createElement('td'); 

					this.gsD.appendChild(this.avE);

					this.avE.appendChild(this.Qbk); 

					this.avE.appendChild(this.eVR); 

					this.avE.appendChild(this.wnT); 

					this.avE.appendChild(this.ISb);

					this.avE.appendChild(this.Ieq); 

					this.Qbk.appendChild(this.RCk); 

					this.eVR.appendChild(this.Sds);

					this.wnT.appendChild(this.Hef); 

					this.ISb.appendChild(this.bwf); 

					this.Ieq.appendChild(this.ZDg); 

					this.FhR=document.createElement('div'); 

					this.FhR.style.width='70px';

					this.FhR.style.height=laA?'100px':'148px';

					this.FhR.style.borderLeft='2px solid #ffffff'; 

					this.FhR.style.borderTop='2px solid #ffffff';

					this.FhR.style.borderRight='2px solid #000000'; 

					this.FhR.style.borderBottom='2px solid #000000';

					this.Hef.appendChild(this.FhR);

					this.XTD=document.createElement('div');

					this.XTD.style.position='absolute'; 

					this.XTD.style.left='0px'; 

					this.XTD.style.top='160px'; 

					this.XTD.style.width='250px';

					this.XTD.style.height='25px';

					this.XTD.style.cursor='pointer'; 

					this.aoA=kC('Hex color code',11,false); 

					this.aoA.style.textAlign='center'; 

					this.RCk.appendChild(this.aoA); 

					this.CFb=bZ('ff00aa',70,'000000',function(value)

					{

					},

					function(ANB){ tR.OQr=ANB; 

					}

					);

					this.OQr.onkeyup=function()

				{

				if(tR.OQr.value.length==6)

				{

				tR.qT(tR.OQr.value.toUpperCase(),true); 

				}

				};

				this.OQr.onmouseup=this.OQr.onkeyup; 

				this.CFb.style.textAlign='center'; 

				this.Sds.appendChild(this.CFb); 

				if(this.laA)

				{

				this.PCC=kC('Cancel',11,false);

				this.PCC.style.textAlign='center';

				this.PCC.style.textDecoration='underline';

				this.PCC.style.cursor='pointer';

				this.bwf.appendChild(this.PCC); 

				this.wMg=kC('OK',26,true); 

				this.wMg.style.textAlign='center'; 

				this.wMg.style.textDecoration='underline';

				this.wMg.style.cursor='pointer'; 

				this.ZDg.appendChild(this.wMg); 

				this.Ieq.vAlign='bottom'; 

				}

				this.Mnq=new Array(); 

				for(var MV=0;MV<10;MV++)

				{

				var lx=document.createElement('div'); 

					lx.style.position='absolute'; 

					lx.style.width='25px'; 

					lx.style.height='25px'; 

					lx.style.left=(25*MV)+'px'; 

					lx.style.top=0+'px'; 

				this.Mnq.push(lx); 

				this.XTD.appendChild(lx); 

				}

				this.bWa=document.createElement('div'); 

				this.bWa.position='absolute';

				this.bWa.width='250px'; 

				this.bWa.height='250px'; 

				this.bWa.style.cursor='pointer'; 

				var un=new Array(); 

				this.un=un; 

				for(var x=0;x<25;x++)

				{

				un.push(new Array()); 

				for(var y=0;y<15;y++)

				{

				var QO=document.createElement('div');

					QO.style.fontSize='1px'; 

					QO.style.position='absolute';

					QO.style.width='10px'; 

					QO.style.height='10px';

					QO.style.left=(10*x)+'px'; 

					QO.style.top=(10*y)+'px'; 

					un[x].push(QO); 

				}

				}

				this.BZ.appendChild(this.bWa); 

				this.BZ.appendChild(this.XTD); 

				this.BZ.appendChild(this.gsD);

				}

				Sl.prototype.mT=function(UoA,Kg,LYZ)

				{

				var tR=this; 

				var Qq=new Object(); 

					Qq.lI=UoA; Qq.uZE=Kg; 

				var lK=this.Mnq[0]; 

				var kT=10000000; 

				var gc=parseInt(LYZ,16); 

				for(var MV=0;MV<10;MV++)

				{

				Qq.uOa=1-(MV/9); 

				var tt=UY.prototype.EN.call(Qq,0,0,0); 

				this.Mnq[MV].style.backgroundColor='#'+tt; 

				var bg=Math.abs(parseInt(tt,16)-gc); 

				if(bg<kT){ lK=this.Mnq[MV]; kT=bg; 

				}

				var MX=function(UoA,qQ,Kg,lx,color)

				{

				lx.onmousedown=function()

				{

				tR.xQ(qQ); tR.qT(color); tR.mT(UoA,Kg,color);

				};

				}

				(Qq.lI,Qq.uOa,Qq.uZE,this.Mnq[MV],tt);

				}

				};

				Sl.prototype.vb=function(YH)

				{

				var Lf=new UY(YH); this.xQ(Lf.uOa); 

				this.mT(Lf.lI,Lf.uZE); 

				this.qT(YH.toUpperCase(),true); 

				this.OQr.value=YH.toUpperCase(); 

				this.FhR.style.backgroundColor='#'+this.color; 

				};

				Sl.prototype.xQ=function(qQ)

				{

				var tR=this; 

				this.fIS=new Array(); 

				var Qq=new Object(); Qq.uOa=qQ; 

				for(var y=0;y<15;y++)

				{

				Qq.uZE=1-(y/14); 

				for(var x=0;x<25;x++)

				{

				Qq.lI=(x/24);

				var QO=this.un[x][y]; 

				var Tn=UY.prototype.EN.call(Qq,0,0,0).toUpperCase();

				if(!this.fIS[Tn]) this.fIS[Tn]=QO; QO.style.backgroundColor='#'+Tn;

				var MX=function(QO,Tn)

				{

				QO.onmousedown=function(qX){ tR.iPY=true; QO.onmousemove(qX);

				};

				QO.onmouseup=function(qX){ tR.iPY=false;

				};

				QO.onmousemove=function(qX)

				{

				if(!tR.iPY) return; 

				if(tR.kqf)  tR.kqf.style.border='none'; 

					QO.style.borderLeft='2px solid #ffffff';

					QO.style.borderTop='2px solid #ffffff';

					QO.style.borderRight='2px solid #000000'; 

					QO.style.borderBottom='2px solid #000000'; 

					QO.style.zIndex=tR.qCx++; tR.kqf=QO; 

					tR.qT(Tn);

					tR.mT(tR.Lf.lI,tR.Lf.uZE,tR.color);

				};

				}

				(QO,Tn); 

				this.bWa.appendChild(QO); 

				}

				}

				};

				Sl.prototype.qT=function(YH,ItJ)

				{

				if(this.color==YH.toUpperCase()) return; this.color=YH.toUpperCase(); 

				this.Lf=new UY(YH);

				this.OQr.value=this.color; this.FhR.style.backgroundColor='#'+this.color;

				if(ItJ){ this.xQ(this.Lf.uOa);

				this.mT(this.Lf.lI,this.Lf.uZE,this.color);

				var lY=null; var Cg=10000000; 

				for(var ii in this.fIS)

				{

				var color=ii;

				var BZ=this.fIS[ii]; 

				var bg=Sl.qR(color,YH); 

				if(bg<Cg){ lY=BZ; Cg=bg; 

				}

				}

				if(this.kqf) this.kqf.style.border='none'; lY.style.borderLeft='2px solid #ffffff'; lY.style.borderTop='2px solid #ffffff'; lY.style.borderRight='2px solid #000000'; lY.style.borderBottom='2px solid #000000'; lY.style.zIndex=this.qCx++; this.kqf=lY; 

				}

				if(this.ot) this.ot(this.color);

				};

				Sl.qR=function(nOt,JAY)

				{

				var Rv=parseInt(nOt.substring(0,2),16); 

				var km=parseInt(nOt.substring(2,4),16); 

				var tb=parseInt(nOt.substring(4,6),16);

				var Mu=parseInt(JAY.substring(0,2),16);

				var FK=parseInt(JAY.substring(2,4),16); 

				var OO=parseInt(JAY.substring(4,6),16);

				return parseInt(Math.abs(Rv-Mu)+Math.abs(km-FK)+Math.abs(tb-OO));

				};

				function rg(hu)

				{

				if(!hu) return; if(hu.substring(0,1)=='#') hu=hu.substring(1); 

				this.pju=hu;

				var var_qG=parseInt(hu.substring(0,2),16)/255; 

				var var_UV=parseInt(hu.substring(2,4),16)/255;

				var var_DP=parseInt(hu.substring(4,6),16)/255;

				var FF=Math.min(Math.min(var_qG,var_UV),var_DP);

				var mk=Math.max(Math.max(var_qG,var_UV),var_DP);

				var nB=mk-FF; this.GhW=mk; if(nB==0) 

				{

				this.lI=0; this.uOa=0; 

				}

				else 

				{

				this.uOa=nB/mk; var del_qG=(((mk-var_qG)/6)+(nB/2))/nB; var cH=(((mk-var_UV)/6)+(nB/2))/nB; 

				var del_DP=(((mk-var_DP)/6)+(nB/2))/nB; 

				if(var_qG==mk) this.lI=del_DP-cH; 

				else if(var_UV==mk) this.lI=(1/3)+del_qG-del_DP; 

				else if(var_DP==mk) this.lI=(2/3)+cH-del_qG; 

				if(this.lI<0) this.lI+=1; 

				if(this.lI>1) this.lI-=1; 

				}

				}

				rg.prototype.EN=function()

				{

				if(this.uOa==0) 

				{

				var qG=this.GhW*255; var UV=this.GhW*255; var DP=this.GhW*255;

				}

				else

				{

				var var_hN=this.lI*6; 

				if(var_hN==6) var_hN=0; 

				var dj=Math.floor(var_hN); 

				var Fj=this.GhW*(1-this.uOa); 

				var ro=this.GhW*(1-this.uOa*(var_hN-dj));

				var lM=this.GhW*(1-this.uOa*(1-(var_hN-dj)));

				var var_gp; var SP; if(dj==0){var_DW=this.GhW;SP=lM;var_gp=Fj;

				}

				else if(dj==1)

				{

				var_DW=ro;SP=this.GhW;var_gp=Fj;

				}

				else if(dj==2){var_DW=Fj;SP=this.GhW;var_gp=lM;

				}

				else if(dj==3){var_DW=Fj;SP=ro;var_gp=this.GhW;

				}

				else if(dj==4){var_DW=lM;SP=Fj;var_gp=this.GhW;

				}

				else{var_DW=this.GhW;SP=Fj;var_gp=ro;

				}

				var qG=var_DW*255; var UV=SP*255; var DP=var_gp*255; 

				}

				qG=Math.round(qG); UV=Math.round(UV); DP=Math.round(DP); var qB=xn(qG.toString(16))+xn(UV.toString(16))+xn(DP.toString(16)); return qB; 

				};

				function bR(Ewx,DOm,sTD)

				{

				NQ(Ewx); var tk=Ewx.offsetWidth; if(tk==0) tk=parseInt(Ewx.style.width); 

				var Fv=document.createElement('div');

				Fv.style.position='absolute'; 

				Fv.style.left='-10000px';

				Fv.style.top='-10000px'; 

				
				//******************** Comment ********************
				// Call Function for get the Body.
				
				jL().appendChild(Fv); dq(Fv,DOm,1,1); 

				var Er=Fv.offsetWidth; jL().removeChild(Fv);

				var KD=Math.floor(tk/Er);

				var vh=Ewx; dq(vh,DOm,KD,Er);

				}

				function dq(NFP,DOm,KD,faB)

				{

				var table=document.createElement('table');

				table.border=0; table.cellPadding=0; 

				table.cellSpacing=0; var JH=document.createElement('tbody'); 

				table.appendChild(JH); var Pa=document.createElement('tr');

				JH.appendChild(Pa); 

				var eo=Math.ceil(DOm.length/KD);

				var wL=DOm.length%KD; 

				var GX=0;

				var AB=null; 

				for(var ii=0;ii<DOm.length;ii++)

				{

				var tn=DOm[ii];

				if(GX==0){ AB=document.createElement('td');

				AB.vAlign='top'; 

				Pa.appendChild(AB); 

				}

				AB.appendChild(tn);

				GX++;

				if((GX==eo)||ii==(DOm.length-1))

				{

				GX=0; 

				var nm=document.createElement('div');
				
				//******************** Comment ********************
				// Call Function Create the Image tag
				
				var MW=VD();

				MW.src='web/images/spacer.gif'; 

				MW.border=0;

				MW.width=faB;

				MW.height=1;

				MW.style.padding='0px';

				MW.style.margin='0px'; 

				nm.appendChild(MW); 

				AB.appendChild(nm);

				if(wL>0)

				{

					wL--; 

					if(wL==0) eo--; 

				}

				}

				}

				NFP.appendChild(table);

				}

				var ZB=new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); 

				var qj=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat'); 

				function KE(x){return(x<0||x>9?"":"0")+x}function Fx(XQ,MB)

				{ 

					var dm=Pm(XQ,MB); if(dm==0)

				{

					return false;}return true;

				}

				function bo(fEH,el,WCL,Ya)

				{

				var hO=Pm(fEH,el);

				var ZC=Pm(WCL,Ya); 

				if(hO==0||ZC==0)

				{

				return-1;

				}

				else if(hO>ZC)

				{

				return 1;

				}

				return 0;

				}

				function qg(dm,MB)

				{

				MB=MB+""; 

				var NS=""; 

				var ii_MB=0; 

				var ox=""; 

				var wW="";

				var y=dm.getYear()+"";

				var Js=dm.getMonth()+1;

				var Yn=dm.getDate();

				var E=dm.getDay();

				var lI=dm.getHours(); 

				var Qw=dm.getMinutes(); 

				var MV=dm.getSeconds();

				var LO,LL,Aw,LX,WM,pO,hN,BC,rH,aj,pm,lI,tq,Lr,Go,ja;

				var value=new Object(); 

				if(y.length<4)

				{

					y=""+(y-0+1900);

				}

				value["y"]=""+y; 

				value["yyyy"]=y; 

				value["yy"]=y.substring(2,4); 

				value["M"]=Js; 

				value["MM"]=KE(Js); 

				value["MMM"]=ZB[Js-1]; 

				value["NNN"]=ZB[Js+11];

				value["d"]=Yn;

				value["dd"]=KE(Yn);

				value["E"]=qj[E+7];

				value["EE"]=qj[E]; 

				value["H"]=lI;

				value["HH"]=KE(lI);

				if(lI==0)

				{

					value["h"]=12;

				}

				else 

				if(lI>12)

				{

					value["h"]=lI-12;

				}

				else

				{

					value["h"]=lI;

				}

				value["hh"]=KE(value["h"]); 

				if(lI>11){value["K"]=lI-12;

				}

				else

				{

					value["K"]=lI;

				}

				value["k"]=lI+1;

				value["KK"]=KE(value["K"]); 

				value["kk"]=KE(value["k"]); 

				if(lI>11)

				{

					value["a"]="pm";

				}

				else

				{

					value["a"]="am";

				}

				value["m"]=Qw; 

				value["mm"]=KE(Qw);

				value["s"]=MV; 

				value["ss"]=KE(MV); 

				while(ii_MB<MB.length)

				{

				ox=MB.charAt(ii_MB); wW=""; while((MB.charAt(ii_MB)==ox)&&(ii_MB<MB.length))

				{

				wW+=MB.charAt(ii_MB++);

				}

				if(value[wW]!=null){NS=NS+value[wW];

				}

				else{NS=NS+wW;

				}

				}

				return NS; 

				}

				function Pq(XQ)

				{

				var digits="1234567890"; 

				for(var ii=0;ii<XQ.length;ii++)

				{

				if(digits.indexOf(XQ.charAt(ii))==-1)

				{

				return false;

				}

				}

				return true;

				}

				function up(cb,ii,mbf,Zqa)

				{

				for(var x=Zqa;x>=mbf;x--)

				{

				var wW=cb.substring(ii,ii+x); 

				if(wW.length<mbf)

				{

					return null;

				}

				if(Pq(wW))

				{

					return wW;

				}

				}

				return null; 

				}

				function Pm(XQ,MB)

				{

					XQ=XQ+""; 

					MB=MB+"";

					var ii_XQ=0;

					var ii_MB=0;

					var ox="";

					var wW=""; 

					var QZ="";

					var x,y;

					var wX=new Date(); 

					var DB=wX.getYear(); 

					var jk=wX.getMonth()+1; 

					var dm=1;

					var pO=wX.getHours();

					var BC=wX.getMinutes(); 

					var rH=wX.getSeconds(); 

					var aj="";

					while(ii_MB<MB.length)

			{

				ox=MB.charAt(ii_MB); wW=""; 

				while((MB.charAt(ii_MB)==ox)&&(ii_MB<MB.length))

				{

					wW+=MB.charAt(ii_MB++); 

				}

				if(wW=="yyyy"||wW=="yy"||wW=="y")

				{

					if(wW=="yyyy"){x=4;y=4;}

					if(wW=="yy"){x=2;y=2;}

					if(wW=="y"){x=2;y=4;}

					DB=up(XQ,ii_XQ,x,y);

					if(DB==null)

					{

					return 0;

					}

					ii_XQ+=DB.length;

					if(DB.length==2)

					{

						if(DB>70){DB=1900+(DB-0);}

						else{DB=2000+(DB-0);}

					}

				}

				else if(wW=="MMM"||wW=="NNN")

				{

					jk=0;

					for(var ii=0;ii<ZB.length;ii++)

					{

						var CS=ZB[ii]; 

						if(XQ.substring(ii_XQ,ii_XQ+CS.length).toLowerCase()==CS.toLowerCase())

						{

							if(wW=="MMM"||(wW=="NNN"&&ii>11))

							{

								jk=ii+1; 

								if(jk>12){jk-=12;}ii_XQ+=CS.length; 

								break; 

							}

						}

					}

					if((jk<1)||(jk>12))

					{

						return 0;

					}

				}

				else if(wW=="EE"||wW=="E")

				{

					for(var ii=0;ii<qj.length;ii++)

				{

					var Ru=qj[ii];

					if(XQ.substring(ii_XQ,ii_XQ+Ru.length).toLowerCase()==Ru.toLowerCase())

				{

					ii_XQ+=Ru.length;

					break;

				}

				}

				}

				else if(wW=="MM"||wW=="M"){ jk=up(XQ,ii_XQ,wW.length,2);

				if(jk==null||(jk<1)||(jk>12))

				{

				

				return 0;

				}

				ii_XQ+=jk.length;

				}

				else if(wW=="dd"||wW=="d")

				{

					dm=up(XQ,ii_XQ,wW.length,2); 

					if(dm==null||(dm<1)||(dm>31))

				{

				return 0;

				}

				ii_XQ+=dm.length;

				}

				else if(wW=="hh"||wW=="h")

				{

					pO=up(XQ,ii_XQ,wW.length,2); 

					if(pO==null||(pO<1)||(pO>12))

					{

						return 0;

					}

					ii_XQ+=pO.length;

					}

					else if(wW=="HH"||wW=="H")

			{

					pO=up(XQ,ii_XQ,wW.length,2);

					if(pO==null||(pO<0)||(pO>23))

			{

				return 0;

			}

			ii_XQ+=pO.length;

			}

			else if(wW=="KK"||wW=="K")

				{

				pO=up(XQ,ii_XQ,wW.length,2);

				if(pO==null||(pO<0)||(pO>11))

					{

					return 0;

					}

					ii_XQ+=pO.length;

					}

					else if(wW=="kk"||wW=="k")

						{

						pO=up(XQ,ii_XQ,wW.length,2);

						if(pO==null||(pO<1)||(pO>24))

							{

							return 0;

							}

							ii_XQ+=pO.length;pO--;

							}

							else if(wW=="mm"||wW=="m")

								{

								BC=up(XQ,ii_XQ,wW.length,2); 

								if(BC==null||(BC<0)||(BC>59))

																																																											{

				return 0;

			}

			ii_XQ+=BC.length;

			}

			else if(wW=="ss"||wW=="s")

			{

				rH=up(XQ,ii_XQ,wW.length,2);

				if(rH==null||(rH<0)||(rH>59))

			{

			return 0;

			}

			ii_XQ+=rH.length;

			}

			else if(wW=="a")

			{

				if(XQ.substring(ii_XQ,ii_XQ+2).toLowerCase()=="am"){

				aj="am";

			}



			else if(XQ.substring(ii_XQ,ii_XQ+2).toLowerCase()=="pm"){

			aj="pm";

			}

			else

			{

				return 0;

			}

			ii_XQ+=2;

			}

			else

			{

				if(XQ.substring(ii_XQ,ii_XQ+wW.length)!=wW){

				return 0;

			}

			else

			{

				ii_XQ+=wW.length;

			}

			}

			}

			if(ii_XQ!=XQ.length){

			return 0;

			}

			if(jk==2)

			{

			if(((DB%4==0)&&(DB%100!=0))||(DB%400==0))

			{

				if(dm>29){return 0;

			}

			}

			else

			{

			if(dm>28){return 0;

			}

			}

			}

			if((jk==4)||(jk==6)||(jk==9)||(jk==11))

			{

				if(dm>30){return 0;

			}

			}

			if(pO<12&&aj=="pm"){

			pO=pO-0+12;

			}

			else if(pO>11&&aj=="am"){

			pO-=12;

			}

			var ER=new Date(DB,jk-1,dm,pO,BC,rH);

			return ER.getTime();

			}

			function sD(XQ){

			var Qf=(arguments.length==2)?arguments[1]:false; 

			Wb=new Array('y-M-d','MMM d, y','MMM d,y','y-MMM-d','d-MMM-y','MMM d');

			ak=new Array('M/d/y','M-d-y','M.d.y','MMM-d','M/d','M-d');

			QQ=new Array('d/M/y','d-M-y','d.M.y','d-MMM','d/M','d-M');

			var nN=new Array('generalFormats',Qf?'dateFirst':'monthFirst',Qf?'monthFirst':'dateFirst'); 

			var Yn=null; for(var ii=0;ii<nN.length;ii++)

			{

				var NB=window[nN[ii]];

				for(var dA=0;dA<NB.length;dA++){ Yn=Pm(XQ,NB[dA]);

				if(Yn!=0){return new Date(Yn);

			}

			}

			}

			return null;

			}

			var Bb=!true; var Kd=null; var xU=1;

			function log(message){

			if(!Bb) return; 

			if(!Kd){

			Kd=document.createElement('div');

			Kd.style.position='absolute';

			Kd.style.left='900px'; 

			Kd.style.top='1em'; 

			Kd.style.fontSize='10px'; 

			Kd.style.fontFamily='Arial, Helvetica, sans-serif';

			Kd.style.lineHeight='1.2em'; 

			Kd.innerHTML='debug log'; 

			//******************** Comment ********************
			// Call Function for get the Body.
			
			jL().appendChild(Kd); 

			}

			Kd.innerHTML+='<br>'+xU+++': '+message; Kd.style.top=(10-xU)*1.2+'em'; 

			}

			function cV(){

			this.JIq=null; this.XhC=null;

			this.MtQ=null; 

			this.PjG=null;

			this.trY=null;

			this.fxP=null; this.VDv=false;

			this.aMG=new Array();

			}

			cV.TPN=3; cV.prototype.Nu=function(wDJ,GwW,Xsm,Vfo,Jhf,Yu,ngM,foD){ 

			var tR=this; wDJ.onmousedown=function(qX){ Po(qX,wDJ,null,function(SY,Ga,eR,lP){ },function(SY,Ga,mW,CJ,eR,lP,tGU,Baw){

			if(!tR.VDv){

			if((Math.abs(mW)>cV.TPN)||(Math.abs(CJ)>cV.TPN)){

			tR.VDv=true; tR.aMG=new Array();

			tR.JIq=GwW; tR.MtQ=Xsm.offsetWidth;

			tR.PjG=Xsm.offsetHeight; Xsm.parentNode.removeChild(Xsm); 

			tR.XhC=Xsm; tR.trY=Vfo; 

			tR.fxP=document.createElement('div');

			tR.fxP.style.zIndex=bF; 

			tR.fxP.style.position='absolute';

			tR.fxP.style.width=tR.MtQ+'px'; 

			tR.fxP.style.height=tR.PjG+'px';

			tR.fxP.appendChild(tR.XhC); 

			//******************** Comment ********************
			// Call Function for get the Body.
			
			jL().appendChild(tR.fxP);

			Jhf(); 

			}

			}

			if(tR.VDv){

			tR.fxP.style.left=tGU+2+'px'; tR.fxP.style.top=Baw-2+'px'; 

			}

			}

			,function(SY,Ga,cR,oP,eR,lP){

			if(!tR.VDv){ Yu(); 

			}

			else{

			tR.VDv=false; 

			jL().removeChild(tR.fxP); 

			if(tR.uMV){ tR.uMV(tR.JIq); 

			}

			else{

			ngM(); 

			}

			for(var ii in tR.aMG)

			{

			var uh=tR.aMG[ii];

			uh.style.display='none'; 

			}

			tR.aMG=new Array(); foD();

			}

			}

			);

			};

			};

			cV.prototype.TS=function(GH,Sw,DJ,uMV){ var tR=this; 

			KI(GH,function(ab)

			{

			ab.event.cancelBubble=true;

			if(tR.VDv)

				{

				if(GH!=tR.XhC)

					{

					DJ.style.display='block';

					DJ.style.width=tR.MtQ-(isIE?0:2)+'px';

					DJ.style.height=tR.PjG-(isIE?0:2)+'px';

					DJ.style.border='1px dashed #'+dg;

					tR.uMV=uMV; for(var ii in tR.aMG)

						{

						var uh=tR.aMG[ii];

						if(fB(uh.parentNode,DJ)&&DJ!=uh) uh.style.display='none';

						}

						if(!kI(tR.aMG,DJ)) tR.aMG.push(DJ);

						}

						}

						}

						);

						qq(GH,function(ab){

							ab.event.cancelBubble=true;

							if(tR.VDv){

								if(GH!=tR.XhC){

									DJ.style.display='none'; tR.uMV=null; 

									Xc(DJ,tR.aMG);

									}

									}

									}

									);

									};

									cV.prototype.lv=function(parentElement)

										{

											var DJ=document.createElement('div');



				parentElement.appendChild(DJ); 

				return DJ; 

				};

				var SY,Ga,wF,oF,cW;

				var eR,lP; 

				var cR,oP;

				function Po(event,GH,XdN,OBM,SiG,Pvq){ SY=GH; Ga=XdN; wF=OBM; oF=SiG; cW=Pvq; cR=0; oP=0; 

				if(isIE||iE){

				eR=window.event.clientX+(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft; lP=window.event.clientY+(iE?0:document.documentElement.scrollTop)+document.body.scrollTop; 

				}

				else{

				eR=event.clientX+window.scrollX; lP=event.clientY+window.scrollY; 

				}

				if(isIE){

				document.attachEvent(gw,CD); document.attachEvent(On,kc); window.event.cancelBubble=true; 

				window.event.returnValue=false; 

				}

				else{

				document.addEventListener(OT,CD,false);

				document.addEventListener(ME,kc,false);

				event.preventDefault(); }wF(SY,Ga,eR,lP);

				}

				function CD(event)

				{

				var x,y,mW,CJ; if(isIE||iE)

				{

				x=window.event.clientX+(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft; y=window.event.clientY+(iE?0:document.documentElement.scrollTop)+document.body.scrollTop; 

				}

				else{

				x=event.clientX+window.scrollX; y=event.clientY+window.scrollY; 

				}

				mW=x-eR; CJ=y-lP; var ig=false; if(cR!=mW||oP!=CJ) ig=true; cR=mW; oP=CJ; if(ig){ 

				oF(SY,Ga,mW,CJ,eR,lP,x,y);

				}

				if(isIE){

				window.event.cancelBubble=true; window.event.returnValue=false;

				}

				else{

				event.preventDefault(); 

				}

				}

				function kc(event){

				if(isIE)

				{

				document.detachEvent(gw,CD); document.detachEvent(On,kc); 

				}

				else{

				document.removeEventListener(OT,CD,false); document.removeEventListener(ME,kc,false);

				}

				cW(SY,Ga,cR,oP,eR,lP); 

				}

				function Rr(parentElement,width,height,NIc,ot,bp,value,Ft,fontWeight,btt,rXu,IJM)

				{

					var tR=this;

					this.parentElement=parentElement; 

					this.NIc=NIc; 

					this.ot=ot;

					this.bp=bp; 

					this.IJM=IJM; 

					this.value=value; 

					this.Ft=Ft;

					this.fontWeight=fontWeight; 

					this.btt=btt;

					this.width=width; 

					this.height=height; 

					this.rXu=rXu; 

					this.AfU=false;

					this.BZ=document.createElement('div'); 

					this.BZ.style.width=width+'px'; 

					this.BZ.style.height=height+'px'; 

					this.dcp=document.createElement('textarea');

					this.dcp.style.width=width+'px';

					this.dcp.style.height=height+'px'; 

					this.dcp.style.overflow='hidden'; 

					this.dcp.style.border='none';

					this.dcp.style.paddingTop='0px'; 

					this.dcp.style.paddingLeft='0px'; 

					this.dcp.style.paddingRight='0px';

					this.dcp.style.paddingBottom='0px';

					this.dcp.style.marginTop='0px';

					this.dcp.style.marginLeft='0px';

					this.dcp.style.marginRight='0px';

					this.dcp.style.marginBottom='0px'; 

					this.dcp.style.background='transparent'; 

					this.dcp.className=tR.btt; 

					this.dcp.style.fontSize=tR.Ft+'px'; 

					this.dcp.style.fontWeight=tR.fontWeight; 

					this.BZ.appendChild(this.dcp);

					if(this.parentElement) this.parentElement.appendChild(this.BZ); 

					this.ot=ot; 

					this.Iq(this.value);

					this.qd();

					if(loggedIn){

					this.dcp.style.cursor='text'; 

					}

					else{

					this.dcp.style.cursor='pointer';

					}

					this.dcp.onblur=function()

					{

					if(tR.AfU) tR.nP(); 

					}; 

					this.dcp.onkeyup=function(qX)

					{

					if(IJM) if(IJM())

					{

					tR.dcp.blur(); 

					return; 

					}

					if(!tR.AfU){

					tR.AfU=true; tR.NIc();

					}

					if(!tR.rXu){

					if(tR.dcp.value.indexOf('\n')!=-1){ tR.dcp.value=GP(tR.dcp.value.replace('\n',''));

					}

					}

					var IE=qX; 

					if(!IE) IE=window.event;

					if(IE) if(IE.keyCode==27)

					{

					tR.nP(false); return;

					}

					if(!tR.rXu){

					if(IE) if(IE.keyCode==13)

					{

					tR.nP(true); return;

					}

					}

					tR.value=tR.dcp.value; tR.qd(); ot(tR.value,false);

					return false;

					};

					tR.dcp.onmouseup=tR.dcp.onkeyup; return false;

					}

					Rr.prototype.Si=function(width,height,df)

					{

					this.width=width; this.BZ.style.width=width+'px';

					this.dcp.style.width=width+'px'; 

					if(!df){

					this.qd(height);

					}

					};

					Rr.prototype.DZ=function(Ft)

					{

					if(Ft==''||Ft==null||Ft==undefined) Ft=11; this.Ft=Ft; 

					this.dcp.style.fontSize=Ft+'px'; 

					this.qd();

					};

					Rr.prototype.Ui=function(Kcv)

					{

					if(Kcv) this.dcp.style.textDecoration='underline';

					else this.fD(this.aoI); 

					};

					Rr.prototype.wV=function(Fc)

					{

					this.dcp.style.fontWeight=Fc?'bold':'normal'; 

					this.fD(this.aoI);

					};

					Rr.prototype.Ax=function(qWS)

					{

					this.dcp.style.fontStyle=qWS?'italic':'normal';

					};

					Rr.prototype.fD=function(qYB)

					{

					this.aoI=qYB; 

					this.dcp.style.textDecoration=qYB?'line-through':'none';

					};

					Rr.prototype.qd=function(Vbm)

					{

					var hN=lL(this.value,this.width,this.btt,this.Ft,false,false); 

					if(Vbm) hN=Math.max(Vbm,hN);

					this.BZ.style.height=hN+'px'; 

					this.dcp.style.height=hN+'px';

					this.bp(hN); 

					};

					Rr.prototype.Iq=function(value,liM)

					{

					this.value=value; NQ(this.dcp); 

					this.dcp.appendChild(document.createTextNode(value)); 

					};

					Rr.prototype.jj=function(width)

					{

					this.width=width; this.dcp.style.width=width+'px';

					this.BZ.style.width=width+'px'; 

					this.qd();

					};

					Rr.prototype.SN=function(){

					this.dcp.focus();

					this.dcp.onkeyup(); 

					};

					Rr.prototype.nP=function(iie){

					this.AfU=false; this.dcp.blur();

					this.ot(this.value,true,iie);

					};

					function aJ(parentElement,ot,value,Ft,fontWeight,btt,lCA,fWc){ var tR=this; 

					this.parentElement=parentElement;

					this.ot=function(){};

					this.fWc=fWc;

					this.value=value; 

					this.Ft=Ft;

					this.fontWeight=fontWeight; 

					this.btt=btt; 

					this.lCA=lCA; 

					this.AfU=false;

					this.Gnp=false; 

					this.BZ=document.createElement('div'); 

					this.BZ.style.position='relative'; 

					this.BZ.style.overflow='hidden';

					this.Xp=document.createElement('a');

					this.Xp.style.textDecoration='none';

					this.Xp.style.display='block';

					this.Xp.className=this.btt;

					this.Xp.style.whiteSpace='nowrap';

					this.Xp.style.fontSize=this.Ft+'px'; 

					this.Xp.style.fontWeight=this.fontWeight; 

					this.Xp.style.overflow='hidden'; 

					this.Iq(this.value); 

					this.ot=ot;

					this.BZ.appendChild(this.Xp);

					this.parentElement.appendChild(this.BZ);

					if(loggedIn){

					this.Xp.style.cursor='text'; 

					}

					var Ih=function()

					{

					if(tR.AfU) return; 

					if(tR.fWc) tR.fWc(); 

					tR.AfU=true; 

					var an=document.createElement('input'); 

					an.setAttribute("autocomplete","off");

					an.style.position='absolute';

					an.style.left='0px'; an.style.top='0px'; 

					an.style.width=tR.Xp.offsetWidth+'px';

					an.style.height=tR.Xp.offsetHeight+(Mw?10:0)+'px'; 

					an.style.overflow='hidden'; an.style.border='none'; 

					an.style.paddingTop='0px';

					an.style.paddingLeft='0px'; 

					an.style.paddingRight='0px';

					an.style.paddingBottom='0px'; 

					an.style.marginTop='0px';

					an.style.marginLeft='0px';

					an.style.marginRight='0px';

					an.style.marginBottom='0px'; 

					an.style.background='transparent';

					NQ(tR.Xp); tR.Xp.innerHTML='&nbsp;'; 

					tR.Xp.style.width='1px'; 

					if(!Mw) an.className=tR.btt; an.style.fontSize=tR.Ft+'px'; an.style.fontWeight=tR.fontWeight; tR.BZ.appendChild(an);

					an.value=tR.value; an.onblur=function(){

					tR.BZ.removeChild(an);

					tR.Iq(tR.value,false);

					setTimeout(function(){ 

					tR.AfU=false; 

					},300); 

					return false;

					}; 

					an.onkeyup=function(qX){ var IE=qX; if(!IE) IE=window.event; if(IE) if(IE.keyCode==13){ an.blur(); 

					return; }

					tR.value=an.value; var XK=vl(tR.value,tR.btt,tR.Ft,tR.fontWeight=='bold',null); 

					an.style.width=XK+30+'px';

					tR.BZ.style.width=XK+30+'px'; 

					ot(an.value,false,XK+30); 

					return false; 

					};

					an.onmouseup=an.onkeyup;

					an.onkeyup(); 

					setTimeout(function()

					{

					an.focus();

					},100); return false; 

					};

					this.Xp.onmousedown=function(qX){

					if(tR.juL){

					var wX=new Date().getTime();

					tR.gQp=wX;

					}

					};

					this.Xp.onmouseup=function(qX){

					if(tR.AfU) return true; 

					var wX=new Date().getTime(); 

					var OI=(wX-tR.gQp)>800; var wm=false; 

					if(tR.lCA) wm=tR.lCA();

					if(tR.juL&&!OI){

					if(!wm) tR.Gnp=true; return false; 

					}

					else{

					if(!wm) Ih(); return false;

					}

					};

					}

					aJ.prototype.RB=function(url){

					var tR=this; this.Kn=url; 

					this.juL=true; 

					this.Xp.href=url;

					this.Xp.style.cursor='pointer';

					this.Xp.style.textDecoration='';

					this.Xp.onclick=function(qX){

					if(tR.Gnp){ 

					tR.Gnp=false; 

					return vu(tR.Kn,qX); 

					}

					else return false;

					};

					};

					aJ.prototype.dO=function(Fc){

					this.fontWeight=Fc?'bold':'normal';

					this.Xp.style.fontWeight=this.fontWeight;

					this.oI(); 

					};

					aJ.prototype.kq=function(Ft){

					this.Ft=Ft; 

					this.Xp.style.fontSize=Ft+'px';

					this.oI(); 

					};

					aJ.prototype.oI=function(){

					var XK=vl(this.value,this.btt,this.Ft,this.fontWeight=='bold',null); 

					XK=Math.max(XK,20);

					this.Xp.style.width=XK+'px'; 

					this.BZ.style.width=XK+'px';

					return XK; 

					};

					aJ.prototype.IX=function(CuJ){

					this.Xp.style.cursor=CuJ?'text':'pointer'; 

					};

					aJ.prototype.Iq=function(value,liM){ 

					this.value=value; if(value==''||GP(value)=='')

					{

					this.Xp.innerHTML='&nbsp;';

					}

					else

					{

					NQ(this.Xp);

					this.Xp.appendChild(document.createTextNode(value));

					}

					var XK=this.oI();

					this.ot(value,!liM,XK);

					};

					function Tj(XCR,type,YiN,fOt)

					{

					this.XCR=XCR;

					this.type=type;

					this.YiN=YiN; 

					this.fOt=fOt; 

					}

					Tj.prototype.remove=function()

					{

					if(isIE)

					{

					this.XCR.detachEvent(this.type,this.YiN); 

					}

					else{

					this.XCR.removeEventListener(this.type,this.YiN,this.fOt);

					}

					};

					function PD()

					{

					}

					PD.prototype.Pb=function()

					{

					if(this.notifyCount>3000) return; 

					if(this.jgL) return;

					for(var ii in this.images)

					{

					if(!this.images[ii].complete)

					{

					return;

					}

					}

					this.jgL=true; 

					clearInterval(this.DlS);

					this.HiP(); 

					};

					PD.prototype.MH=function(images,HiP)

					{ 

					this.jgL=false; this.images=images; 

					this.HiP=HiP;

					var tR=this; for(var ii in images){

					images[ii].onload=function()

					{

					tR.Pb();

					};

					}

					this.Pb();

					this.DlS=setInterval(function()

					{

					tR.Pb(); 

					},500); 

					};

					PD.WN=function(image,sYs){

					if(image.complete){

					sYs(); return; 

					}

					var DL=new PD();

					DL.MH([image],sYs);

					};

					function Ss(dRI){

					var Vg=''; for(var ii in dRI){ Vg+=Qs(ii,dRI[ii]);

					}

					return Vg; 

					}

					function Qs(name,XQ)

					{

					if(XQ==null) return ''; 

					if(!(XQ instanceof Array)){

					return '<a n="'+escape(name)+'" v="'+escape(XQ)+'"/>\n'; 

					}

					else{

					var Vg=''; Vg+='<a n="'+escape(name)+'">\n';

					for(var ii in XQ){

					Vg+=Qs(ii,XQ[ii]);

					}

					Vg+='</a>\n'; return Vg;

					}

					}

					function EZ(kEs){

					if(kEs==null||kEs==''||kEs=='null') return new Array(); 

					var Tv=new RegExp('<a n="([^"]*)" v="([^"]*)"/>|<a n="([^"]*)">|(</a>)'); 

					var ng=new Array(); 

					var NH=new Array(); 

					var Ce=new Array();

					var tags=kEs.split('\n');

					for(var ii in tags)

					{

					var BN=tags[ii]; 

					var Qw=Tv.exec(BN); 

					if(Qw==null) continue;

					var we=false; 

					var name=unescape(Qw[1]); 

					var value=unescape(Qw[2]);

					if(Qw[3]){ we=true; 

					name=unescape(Qw[3]);

					}

					var gY=Qw[4]; 

					if(!gY){ 

					if(!we)

					{

					Ce[''+name]=value; 

					}

					else{

					ng.push(Ce);

					NH.push(name);

					Ce=new Array();

					}

					}

					else{

					var on=ng.pop();

					var vg=NH.pop();

					on[vg]=Ce; Ce=on;

					}

					}

					return Ce;

					}

					var KN={ org:'http://www.JSON.org',copyright:'(c)2005 JSON.org',license:'http://www.crockford.com/JSON/license.html',stringify:function(QJe)

					{

					var ox,ii,NB,MV='',Lb; switch(typeof QJe){ 

					case 'object': if(QJe){ 

					if(QJe instanceof Array){ 

					for(ii=0;ii<QJe.length;++ii){

					Lb=this.stringify(QJe[ii]);

					if(MV){ MV+=','; 

					}

					MV+=Lb; 

					}

					return '['+MV+']'; 

					}

					else if(typeof QJe.toString!='undefined')

					{

					for(ii in QJe)

					{

					Lb=QJe[ii];

					if(typeof Lb!='undefined'&&typeof Lb!='function')

					{

					Lb=this.stringify(Lb);

					if(MV){ MV+=',';

					}

					MV+=this.stringify(ii)+':'+Lb; 

					}

					}

					return '{'+MV+'}';

					}

					}

					return 'null';

					case 'number':

					return isFinite(QJe)?String(QJe):'null'; 

					case 'string': NB=QJe.length; 

					MV='"'; 

					for(ii=0;ii<NB;ii+=1){ 

					ox=QJe.charAt(ii);

					if(ox>=' '){

					if(ox=='\\'||ox=='"')

					{

					MV+='\\'; 

					}

					MV+=ox; 

					}

					else{ 

					switch(ox)

					{

					case '\b': MV+='\\b'; 

					break;

					case '\f': MV+='\\f';

					break; case '\n': MV+='\\n'; 

					break; case '\r': MV+='\\r'; 

					break; case '\t': MV+='\\t'; 

					break; default: ox=ox.charCodeAt();

					MV+='\\u00'+Math.floor(ox/16).toString(16)+(ox%16).toString(16); 

					}

					}

					}

					return MV+'"'; 

					case 'boolean': return String(QJe); 

					default: return 'null';

					}

					},parse:function(text){ 

					var rP=0; var ch=' ';

					function error(Qw){

					throw{ 

					name:'JSONError',message:Qw,rP:rP-1,text:text

					}; 

					}

					function WD()

					{

					ch=text.charAt(rP); rP+=1; return ch; 

					}

					function uI()

					{

					while(ch!==''&&ch<=' '){ WD(); 

					}

					}

					function cb()

					{

					var ii,MV='',Zr,Zl; if(ch=='"'){ outer:while(WD()){ if(ch=='"'){ WD();

					return MV; 

					}

					else if(ch=='\\'){

					switch(WD())

					{

					case 'b': MV+='\b'; break; case 'f': MV+='\f'; break;

					case 'n': MV+='\n'; break; case 'r': MV+='\r'; break;

					case 't': MV+='\t'; break; case 'u': Zl=0; for(ii=0;ii<4;ii+=1)

					{

					Zr=parseInt(WD(),16); if(!isFinite(Zr)){ break outer; 

					}

					Zl=Zl*16+Zr; 

					}

					MV+=String.fromCharCode(Zl); break; default: MV+=ch;

					}

					}

					else{

					MV+=ch; 

					}

					}

					}

					error("Bad string");

					}

					function jN(){

					var Kj=[]; 

					if(ch=='['){ 

					WD(); uI(); if(ch==']'){ 

					WD(); 

					return Kj; 

					}

					while(ch)

					{

					Kj.push(XQ()); uI(); 

					if(ch==']')

					{

					WD(); return Kj; 

					}

					else if(ch!=',')

					{ 

					break; 

					}

					WD();

					uI(); 

					}

					}

					error("Bad array");

					}

					function gG()

					{

					var ja,iG={};

					if(ch=='{')

					{

					WD();

					uI();

					if(ch=='}')

					{

					WD();

					return iG;

					}

					while(ch)

					{

					ja=cb();

					uI(); 

					if(ch!=':')

					{

					break;

					}

					WD();

					iG[ja]=XQ();

					uI(); 

					if(ch=='}')

					{

					WD();

					return iG;

					}

					else if(ch!=',')

					{

					break;

					}

					WD();

					uI();

					}

					}

					error("Bad object"); 

					}

					function bX()

					{

					var Ww='',Lb;

					if(ch=='-')

					{

					Ww='-';

					WD();

					}

					while(ch>='0'&&ch<='9')

					{

					Ww+=ch; WD();

					}

					if(ch=='.')

					{

					Ww+='.';

					while(WD()&&ch>='0'&&ch<='9')

					{

					Ww+=ch; 

					}

					}

					if(ch=='e'||ch=='E')

					{

					Ww+='e';

					WD();

					if(ch=='-'||ch=='+')

					{ 

					Ww+=ch; WD();

					}

					while(ch>='0'&&ch<='9')

					{

					Ww+=ch; WD();

					}

					}

					Lb=+Ww;

					if(!isFinite(Lb))

					{ error("Bad number"); 

					}

					else

					{ 

					return Lb;

					}

					}function Zg()

					{ 

					switch(ch)

					{ 

					case 't':

					if(WD()=='r'&&WD()=='u'&&WD()=='e')

					{

					WD(); 

					return true;

					}

					break; case 'f':

					if(WD()=='a'&&WD()=='l'&&WD()=='s'&&WD()=='e')

					{

					WD();

					return false;

					}

					break;

					case 'n':

					if(WD()=='u'&&WD()=='l'&&WD()=='l')

					{

					WD();

					return null;

					}

					break; 

					}

					error("Syntax error");

					}

					function XQ()

					{

					uI();

					switch(ch)

					{

					case '{': 

					return gG();

					case '[': 

					return jN();

					case '"': 

					return cb();

					case '-': 

					return bX(); 

					default: 

					return ch>='0'&&ch<='9'?bX():Zg(); 

					}

					}

					return XQ();

					}

					};

					document.onkeypress=function(qX)

					{



					var event=qX?qX:window.event;

					var Vi=event.keyCode; 

					var Vn=String.fromCharCode(event.keyCode); 

					for(var ii in UH) if(Vn==UH[ii])

					{

					if(DC.efh)

					{

					preventDefault(qX);

					}

					}

					};

					document.onkeyup=function(qX)

					{

					var event=qX?qX:window.event;

					var Vi=event.keyCode;

					var Vn=String.fromCharCode(event.keyCode);

					for(var ii in UH) if(Vn==UH[ii])

					{

					if(DC.efh)

					{

					preventDefault(qX);

					}

					}

					};

					var UH=['A','Z','Q','S','X','1'];

					document.onkeydown=function(qX)

					{

					var event=qX?qX:window.event;

					var Vi=event.keyCode; 

					var Vn=String.fromCharCode(event.keyCode); 

					if(DC.efh){ fx(qX,Vn,'A',function(){DC.hL();

					}

					);

					fx(qX,Vn,'Z',function(){DC.lh();

					}

					);

					fx(qX,Vn,'Q',function(){DC.xM();

					}

					);

					fx(qX,Vn,'S',function(){DC.dV(false);

					}

					);

					fx(qX,Vn,'X',function(){DC.dV(true);

					}

					);

					fx(qX,Vn,'1',function(){DC.ud();

					}

					);

					if(Vi==27){ preventDefault(qX); DC.mH();

					}

					}

					};

					function fx(qX,aXV,jXZ,qrS)

					{

					if(aXV==jXZ)

					{

					preventDefault(qX);

					qrS(); 

					}

					};

					function Id(entries,sJ,fu)

					{

					this.entries=entries; 

					this.sJ=sJ; 

					this.fu=fu; 



					}

					Id.prototype.Gb=function()

					{

					var tR=this;

					this.BZ=document.createElement('div');

					var sJ=this.sJ;

					var fu=this.fu;

					var MC=false; 

					if(sJ){ for(var ii in this.entries)

					{

					var SI=this.entries[ii];

					if(SI.ZY.length>0)

					{

					MC=true; break;

					}

					}

					}

					for(var ii in this.entries)

					{

					var SI=this.entries[ii];

					if(!SI.jar){ SI.Gb(this.BZ,MC,sJ,fu);

					}

					}

					};

					Id.prototype.SO=function(ZAO,GsI)

					{

					for(var ii=0;ii<this.entries.length;ii++)

					{

					var SI=this.entries[ii]; 

					if(SI==GsI)

					{

					this.entries.splice(ii,0,ZAO); 

					this.Gb(); 

					GsI.BZ.parentNode.insertBefore(ZAO.BZ,GsI.BZ);

					break; 

					}

					}

					};

					Id.prototype.ke=function(ZAO)

					{

					this.entries.push(ZAO);

					this.Gb(); 

					};

					Id.prototype.IZ=function(Bjo,wmU)

					{

					for(var ii=0;ii<this.entries.length;ii++)

					{

					var SI=this.entries[ii]; 

					if(SI==Bjo)

					{

					if(wmU)

					{

					this.entries.splice(ii+1,0,wmU);

					this.Gb(); wmU.BZ.parentNode.replaceChild(wmU.BZ,Bjo.BZ);

					}

					this.entries.splice(ii,1);

					break;

					}

					}

					};

					Id.qEO=17; Id.prototype.EW=function(Vgt,aK)

					{

					for(var ii in this.entries)

					{

					var Gj=this.entries[ii].EW(Vgt,aK); 

					if(Gj) break; 

					}

					};

					Id.prototype.vZ=function(Sp,nWR)

					{

					var xG=null; 

					for(var ii in this.entries)

					{

					xG=this.entries[ii].vZ(Sp,nWR); 

					if(xG!=null) 

					break; 

					}

					return xG; 

					};

					Id.prototype.jj=function(width)

					{

					for(var ii in this.entries)

					{

					this.entries[ii].jj(width);

					}

					};

					function ub(isExpanded,GG,ZY,EG,Yu,aM,ep,Sp)

					{

					this.isExpanded=isExpanded;

					this.GG=GG;

					this.EG=EG; 

					this.Yu=Yu; 

					this.aM=aM; 

					this.ep=ep;

					this.ZY=ZY; 

					this.Sp=Sp; 

					this.jar=false; 

					}

					ub.prototype.EW=function(Vgt,aK)

					{

					if(this.Sp)

					{

					var Gj=Vgt(this.Sp,this);

					if(Gj) 

					return true; 

					}

					if(!aK){ 

					for(var ii in this.ZY)

					{

					var Gj=this.ZY[ii].EW(Vgt);

					if(Gj) 

					return true; 

					}

					}

					return false; 

					};

					ub.prototype.vZ=function(Sp,nWR)

					{

					if(nWR)

					{

					if(nWR(this.Sp)) 

					return this; 

					}

					if(this.Sp==Sp) 

					return this; 

					var xG=null; 

					for(var ii in this.ZY)

					{

					xG=this.ZY[ii].vZ(Sp,nWR);

					if(xG!=null)

					break; 

					}

					return xG; 

					};

					ub.prototype.gW=function(rUi)

					{

					this.ZY=rUi; 

					this.PVH=false;

					NQ(this.GcH);

					if(this.isExpanded)

					{

					this.isExpanded=false; 

					this.sh(true); 

					}

					};

					ub.prototype.sh=function(isExpanded,JBx)

					{

					if(this.isExpanded==isExpanded) 

					return; 

					this.isExpanded=isExpanded; 

					if(this.ZY.length>0)

					{

					this.qL(this.OQe,this.sJ,this.fu); 

					if(this.ep) 

					this.ep(this.isExpanded);

					}

					if(this.Yu) 

					this.Yu(JBx); 

					};

					ub.prototype.Gb=function(parentElement,OQe,sJ,fu)

					{

					this.OQe=OQe;

					this.sJ=sJ; 

					this.fu=fu; 

					this.jar=true;

					this.parentElement=parentElement;

					var tR=this; 

					this.BZ=document.createElement('div');

					this.BZ.style.whiteSpace='nowrap'; 

					this.MT=document.createElement('div');

					this.MT.style.paddingBottom='4px'; 

					this.GcH=document.createElement('div');

					this.RMs=OQe?Id.qEO:0; 

					this.GcH.style.paddingLeft=Id.qEO+'px'; 

					this.PXA=null; 

					this.NG=null; 

					if(this.ZY.length>0)

					{

					this.PXA=document.createElement('div');

					this.PXA.style.cursor='pointer'; 

					this.PXA.style.fontSize='1px';

					this.PXA.style.width=17+'px'; 

					this.PXA.style.height=14+'px'; 

					//******************** Comment ********************
					// Call Function Create the Image tag
					
					this.HRB=VD(); 

					this.HRB.width=14; 

					this.HRB.height=14; 

					this.PXA.appendChild(this.HRB);

					this.MT.appendChild(this.PXA);

					}

					else if(OQe)

					{

					var NG=document.createElement('div'); 

					NG.style.fontSize='1px';

					this.NG=NG; NG.style.width='17px'; 

					NG.style.height='14px'; 

					this.MT.appendChild(NG); 

					}

					var leftMargin=(OQe||(this.ZY.length>0))?Id.qEO:0; 

					this.ho=this.GG(leftMargin,this.BZ);

					var OK=wu([this.PXA,this.NG,this.ho],true);

					this.MT.appendChild(OK);

					this.BZ.appendChild(this.MT);

					this.BZ.appendChild(this.GcH);

					this.GcH.style.display='none'; 

					if(this.ZY.length>0) this.qL(OQe,sJ,fu);

					this.ho.style.cursor='pointer'; 

					var MG=function(qX){ tR.sh(!tR.isExpanded,qX);

					return true; 

					};

					var Wh=fu?this.PXA:this.MT; 

					if(Wh){ Wh.onmousedown=MG;

					if(isIE) Wh.ondblclick=function(qX){ Wh.onmousedown(qX);

					}

					}

					this.parentElement.appendChild(this.BZ);

					};

					ub.prototype.Yw=function(ZOg)

					{

					this.ZOg=ZOg;

					};

					ub.prototype.jj=function(width)

					{

					if(this.ZOg)

					{

					this.ZOg(width);

					}

					for(var ii in this.ZY)

					{

					this.ZY[ii].jj(width-this.RMs);

					}

					};

					ub.prototype.qL=function(OQe,sJ,fu)

					{ 

					if(!this.PVH&&this.isExpanded)

					{

					var MC=false; if(sJ)

					{

					for(var ii in this.ZY)

					{

					var Ib=this.ZY[ii]; 

					if(Ib.ZY.length>0)

					{

					MC=true; break; 

					}

					}

					}

					for(var ii in this.ZY)

					{

					var Ib=this.ZY[ii]; 

					Ib.Gb(this.GcH,OQe||MC,sJ,fu); 

					}

					}

					var Rd='web/images/twister-'+(this.isExpanded?'open.gif':'closed.gif');

					this.HRB.src=Rd;

					this.GcH.style.display=this.isExpanded?'':'none'; 

					if(!this.PVH&&this.isExpanded) this.PVH=true; 

					if(this.PVH) if(this.EG) this.EG(this.isExpanded);

					};

					var Ji=['Sun','Mon','Tue','Wed','Thu','Fri','Sat'];

					var Vp=['January','February','March','April','May','June','July','August','September','October','November','December']; 

					function ZQ(Yn)

					{

					var y=Yn.getYear();

					if(y>2000) return y; 

					if(y>100) return 1900+y; 

					return 2000+y; 

					}

					function jo(Yn)

					{

					var aj='am'; 

					var XH=Yn.getHours(); 

					if(XH>=12){ aj='pm'; XH-=12;

					}

					if(XH==0) XH=12;

					var Rc=Yn.getMinutes(); 

					if(Rc<10) Rc="0"+Rc; 

					return XH+':'+Rc+' '+aj; 

					}

					//******************** Comment ********************
					// Function for create the check box.
					
					function JT(value,label,DRH)

					{

					var UD=document.createElement('OPTION');
					
					UD.value=value; 

					if(isIE){ UD.text=label; DRH.add(UD);

					}

					else{ UD.innerHTML=TT(label); DRH.appendChild(UD);

					}

					}

					function RM(cb)

					{

					var ox=cb; ox=xr(ox,'&','&amp;'); ox=xr(ox,'<','&lt;'); ox=xr(ox,'>','&gt;'); ox=xr(ox,'\"','&quot;'); ox=xr(ox,'\'','&apos;'); 

					return ox; 

					}

					function TT(cb)

					{

					var ox=cb; 
					
					ox=xr(ox,'<','&lt;');
					
					ox=xr(ox,'>','&gt;'); 

					return ox; 

					}


                    //******************** Comment ********************
                    // Function for set the backgrountd Image

					function En(GH,FP,CXe,vEp)

					{

					if(hI||(FP.indexOf('.gif')!=-1)||(FP.indexOf('.jpg')!=-1))

					{

					if(FP==null){ GH.style.backgroundImage=''; 

					}

					else{ GH.style.backgroundImage='url('+FP+')'; GH.style.backgroundRepeat=CXe?'repeat':'no-repeat';

					}

					}

					if(isIE)

					{

					if(FP==null)

					{

					GH.style.filter=''; 

					}

					else

					{

					var Up=vEp?'scale':'crop'; GH.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+FP+"', sizingMethod='"+Up+"')"; 

					}

					}

					}

					function xr(MV,Kj,gp)

					{

					if(!MV) return ''; 

					for(var ii=0;ii<MV.length;ii++)

					{

					if(MV.charAt(ii)==Kj) MV=MV.substring(0,ii)+gp+MV.substring(ii+1,MV.length); 

					}

					return MV; 

					}

					function dc(name,value,KWF)



					{

					//******************** Comment ********************
					//alert(name+' '+value)

					var dm=new Date(); dm.setTime(dm.getTime()+(1000000000*1000)); 

					var expires="; expires="+dm.toGMTString(); document.cookie=name+"="+value+"; domain=; expires="+dm.toGMTString()+"; path="+KWF; 

					}

					function jl(name) 

					{

					var VY=name+"=";

					var QH=document.cookie.split(';');

					var XQ=null;

					for(var ii=0;ii<QH.length;ii++)

					{

					var ox=QH[ii];

					while(ox.charAt(0)==' ') ox=ox.substring(1,ox.length); 

					if(ox.indexOf(VY)==0) XQ=ox.substring(VY.length,ox.length); 

					}

					return XQ; 

					}

					function oU(name,KWF)

					{

					var cookie_dm=new Date();

					cookie_dm.setTime(cookie_dm.getTime()-1000); 

					document.cookie=name+"=null; domain=; expires="+cookie_dm.toGMTString()+"; path="+KWF; 

					}

					function jU()

					{

					var Ei=new Array();

					var eh=0; 

					var vd=0; 

					var QH=document.cookie.split(';');

					for(var ii=0;ii<QH.length;ii++) 

					{

					var ox=QH[ii]; 

					while(ox.charAt(0)==' ') ox=ox.substring(1,ox.length); 

					if(ox.indexOf('untitled-')==0)

					{

					var GW=ox.substring(0,ox.indexOf('=')); eh++; 

					if(eh>vd){ Ei.push(GW);

					}

					}

					}

					for(var ii in Ei) oU(Ei[ii],'/');

					}

					function lj(){ dc(gK,'test','/'); 

					if(jl(gK)==null)

					{

					return false; 

					}

					else

					{

					return true;



					}

					}

					function checkCookiesEnabled()

					{

					/*if(!lj())

					{

					alert('You need to enable \'cookies\' in your web browser preferences before you can proceed');

					return false; 

					}*/

					return true;

					}

					function aF()

					{

					var qx=navigator.userAgent; 

					if(qx.indexOf('Mac')!=-1)

					{

					if(qx.indexOf('MSIE')!=-1) 

					return 'Please use the Firefox web browser on the Mac (download it from www.getfirefox.com).';

					}

					else if(qx.indexOf('Win')!=-1)

					{

					if(qx.indexOf('MSIE')!=-1)

					{

					var Kj=qx.indexOf('MSIE');

					var gp=qx.substring(Kj).indexOf(' ');

					var ox=qx.substring(Kj).indexOf(';');

					var version=qx.substring(Kj).substring(gp+1,ox); 

					if(parseFloat(version)<5.5) 

					return 'Please upgrade your version of Internet Explorer to version 6.0 or above, or use Firefox (www.getfirefox.com)';

					}

					}

					return null; 

					}

					function El(Kn)

					{

					window.open(Kn,'','');

					return false; 

					}

					function Mf(qX)

					{

					if(isIE) 

					if(!window.event) 

					return false; 

					else if(!qX) 

					return false; 

					var Rg=0; 

					var Wq=0; 

					var rW=0; 

					var vw=0; 

					if(qX!=null)

					{

					if(isIE)

					{

					rW=event.shiftKey; Wq=event.altKey; Rg=event.ctrlKey; 

					}

					else

					{

					rW=qX.shiftKey; Rg=qX.ctrlKey; Wq=qX.altKey; vw=qX.metaKey; 

					}

					}

					if(Rg||vw||rW)

					{

					return true;

					}

					else return false

					}

					function vu(Kn,qX)

					{

					if(Mf(qX))

					{

					return false; 

					}

					else

					{

					if(colorsAndSettings.openLinksInNewWindow)

					{

					window.open(Kn,'',''); 

					return false; 

					}

					else

					{

					if(commandProcessor.uN.length>0)

					{

					if(!(commandProcessor.uN.length==1&&commandProcessor.uN[0].name=='save-panel-geometry'))

					{

					alert('We are still saving your changes to the server - you cannot navigate away from this page until your changes have been saved. (You can use shift-click to open links in a new window until then...)');

					return false; 

					}

					}

					return true; 

					}

					}

					}

					var Oa=new Array();

					function VV(ei)

					{

					if(ei.name) 

					return ei.name; 

					if(!Oa[ei])

					{

					var code=ei.toString();

					var Kj=code.indexOf(' ');

					var gp=code.indexOf('(');

					var name=code.substring(Kj+1,gp); Oa[ei]=name;

					}

					return Oa[ei];

					}

					function WE(ei)

					{

					return VV(ei);

					}

					function Np(ei)

					{

					return VV(ei)+'();';

					}

					function Sn()

					{

					if(isIE||iE)

					{

					return(iE?0:document.documentElement.scrollTop)+document.body.scrollTop;

					}

					else{ return window.scrollY; 

					}

					}

					function rp()

					{

					if(isIE||iE)

					{

					return(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft; 

					}

					else

					{

					return window.scrollX; 

					}

					}

					function WW()

					{

					if(isIE||iE)

					{

					return(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft+document.body.clientWidth; 

					}

					else

					{

					return window.scrollX+document.width; 

					}

					}

					var jr=null; 

					function FL()

					{

					if(isIE||iE)

					{

					return(iE?0:document.documentElement.scrollTop)+document.body.scrollTop+document.body.clientHeight;

					}

					else

					{

					if(!jr)

					{

					jr=document.createElement('div'); 

					jr.style.width='1px'; 

					jr.style.height='100%'; 

					jr.style.position='fixed'; 

					jr.style.left='-1px'; 

					jr.style.top='0px'; 

					//******************** Comment ********************
					// Call Function for get the Body.
					
					jL().appendChild(jr); 

					}

					var height=jr.scrollHeight+window.scrollY; 

					return height;

					}

					}

					function hQ(MV)

					{

					try

					{

					return parseInt(MV);

					}

					catch(qX)

					{

					return 0; 

					}

					}

					function wd(Te,qX)

					{

					var Dl; 

					if(qX&&qX.which){ qX=qX; Dl=qX.which; 

					}

					else

					{

					qX=event; Dl=qX.keyCode; 

					}

					if(Dl==13)

					{

					document.getElementById(Te).submit(); 

					Us(false); 

					return false;

					}

					else

					{

					return true;

					}

					}

					//******************** Comment ********************
					// Function for replace the string.
					
					function GP(MV)

					{

					if(!MV==null||MV==undefined) 

					return ''; 

					return MV.replace(/^\s+/,'').replace(/\s+$/,'');

					}

					var Zd=new Date().getTime();

					function uid()

					{

					Zd+=1; 

					return(Math.round(Math.random()*10000000))+'-'+Zd; 

					}

					//******************** Comment ********************
					// Function Return the Body.
					
					function jL()

					{

					return document.body; 

					}

					function NQ(GH)

					{

					if(!GH) 

					return; 

					while(GH.childNodes.length>0) GH.removeChild(GH.childNodes[0]);

					}

					function ZX(x,y)

					{

					this.x=x; 

					this.y=y; 

					this.jR=function(hF)

					{

					return new ZX(this.x-hF.x,this.y-hF.y);

					};

					}

					function dR(Kj)

					{

					var gp=new Array();

					for(var ii in Kj)
					
					gp[ii]=Kj[ii][0];

					return gp; 

					}

					//******************** Comment ********************
					// Function for create the Image.
					
					function VD()

					{

					if(Mw!=undefined&&Mw) 

					return document.createElement('img'); 

					else
					
					return new Image(); 

					}

					function preventDefault(event)

					{

					if(isIE)

					{

					if(window.event) window.event.returnValue=false;

					}

					else

					{

					if(event) event.preventDefault(); 

					}

					}

					function stopPropagation(event)

					{

					if(isIE)

					{

					window.event.cancelBubble=true; 

					window.event.returnValue=false; 

					}

					else

					{

					event.cancelBubble=true; 

					event.preventDefault(); 

					event.stopPropagation(); 

					}

					}

					function bL(gG)

					{

					return eval('('+KN.stringify(gG)+')'); 

					}

                    //******************** Comment ********************
                    // Function for create div and  [Return div]
                    
					function wZ(text,LAM,Fc,qWS)

					{

					var BZ=document.createElement('div');

					BZ.className='scheme-body-text'; 

					BZ.style.fontSize=LAM+'px'; 

					if(qWS) BZ.style.fontStyle='italic';

					BZ.style.fontWeight=Fc?'bold':'normal'; 

					var SJ=text.split('\n'); 

					for(var ii in SJ)

					{

					var ed=document.createElement('div'); 

					if(SJ[ii]=='')

					{

					var QT=document.createElement('div'); QT.innerHTML='&nbsp;'; ed.appendChild(QT); 

					}

					else

					{

					ed.appendChild(document.createTextNode(SJ[ii]));

					}

					BZ.appendChild(ed);

					}

					return BZ; 

					}

					var ba=new Array();

					function lL(text,width,className,LAM,Fc,qWS)

					{

					for(var ii in ba)

					{

					var ox=ba[ii]; 

					if(ox.className==className&&ox.LAM==LAM&&ox.Fc==Fc&&ox.qWS==qWS&&ox.text==text&&ox.width==width)

					{

					return ox.height;

					}

					}

                    //******************** Comment ********************
                    // Create New Div
					var BZ=document.createElement('div'); 

					//******************** Comment ********************
					// Apply Style for Div
					
					BZ.style.position='absolute'; 

					BZ.style.left='-10000000px'; 

					BZ.style.top='-10000000px'; 

					BZ.style.width=width+'px'; 

					BZ.className=className; 

					BZ.style.fontSize=LAM+'px'; 

					if(qWS) BZ.style.fontStyle='italic'; 

					BZ.style.fontWeight=Fc?'bold':'normal'; 

					var SJ=text.split('\n'); 

					for(var ii in SJ)

					{

					var ed=document.createElement('div'); 

					ed.appendChild(document.createTextNode(GP(SJ[ii])==''?'anti-collapse':SJ[ii]));

					BZ.appendChild(ed); 

					}

					//******************** Comment ********************
					// Call Function for get the Body and append div.
					
					jL().appendChild(BZ); 

					var hN=BZ.offsetHeight; 

					jL().removeChild(BZ);

					var ox=new Object(); 

					ox.className=className; 

					ox.LAM=LAM; ox.Fc=Fc; 

					ox.qWS=qWS; ox.text=text; 

					ox.width=width; 

					ox.height=hN;

					ba.push(ox); 

					return hN;

					}

					var FU=new Array();

					function pw(className,LAM,Fc,qWS)

					{

					for(var ii in FU)

					{

					var ox=FU[ii]; 

					if(ox.className==className&&ox.LAM==LAM&&ox.Fc==Fc&&ox.qWS==qWS)

					{

					return ox.height;

					}

					}
					
					//******************** Comment ********************
					// Create new Div

					var BZ=document.createElement('div');

					//******************** Comment ********************
					// Apply Style for Div
					
					BZ.style.position='absolute'; 

					BZ.style.left='-10000000px'; 

					BZ.style.top='-10000000px'; 

					BZ.style.whiteSpace='nowrap';

					BZ.className=className; 

					BZ.style.fontSize=LAM+'px'; 

					if(qWS) BZ.style.fontStyle='italic'; 

					BZ.style.fontWeight=Fc?'bold':'normal';

					BZ.appendChild(document.createTextNode('Ay')); 

					//******************** Comment ********************
					// Call Function for get the Body and append div.
					
					jL().appendChild(BZ);

					var hN=BZ.offsetHeight; 

					jL().removeChild(BZ); 

					var ox=new Object(); 

					ox.className=className; 

					ox.LAM=LAM; ox.Fc=Fc; 

					ox.qWS=qWS; 

					ox.height=hN;

					FU.push(ox); 

					return hN;

					}

					var wl=new Array(); 

					function vl(text,className,LAM,Fc,qWS)

					{

					for(var ii in wl)

					{

					var ox=wl[ii]; 

					if(ox.text==text)

					{

					if(ox.className==className&&ox.LAM==LAM&&ox.Fc==Fc&&ox.qWS==qWS)

					{

					return ox.width; 

					}

					}

					}

					var BZ=document.createElement('div'); 

					BZ.style.position='absolute';

					BZ.style.left='-10000px'; 

					BZ.style.top='-10000px'; 

					BZ.style.whiteSpace='nowrap'; 

					BZ.className=className; 

					BZ.style.fontSize=LAM+'px'; 

					if(qWS) BZ.style.fontStyle='italic'; 

					BZ.style.fontWeight=Fc?'bold':'normal';

					BZ.appendChild(document.createTextNode(text)); 

					//******************** Comment ********************
					// Call Function for get the Body and append div.
					
					jL().appendChild(BZ); 

					var XK=BZ.offsetWidth; 

					jL().removeChild(BZ); 

					var ox=new Object();

					ox.text=text; 

					ox.className=className; 

					ox.LAM=LAM;

					ox.Fc=Fc; 

					ox.qWS=qWS;

					ox.width=XK;

					wl.push(ox); 

					return XK; 

					}

					function gS(gG,gM)

					{

					var xA=new gM(); 

					for(var ii in gG) xA[ii]=gG[ii];

					return xA; 

					}

					function la(Es,gM)

					{

					for(var ii in Es) Es[ii]=gS(Es[ii],gM);

					}

					function bi(Kj,gp,ox)

					{

					return((Kj>=gp)&&(Kj<=ox));

					}

					function ux(url)

					{ 	

					var Nt=SW(url,'/',3); 

					return Nt; 

					}

					function SW(MV,ox,Ww)

					{

					var EI=0; 

					for(var ii=0;ii<MV.length;ii++)

					{

					if(MV.charAt(ii)==ox) EI++;

					if(EI==Ww) 

					return MV.substr(0,ii);

					}

					return MV.substr(0,ii+1);

					}

                    //******************** Comment ********************
                    // Function for Create 'Table', 'tr', 'td' and [Return the Table]

					function wu(elements,NEZ,MpB)

					{

					var table=document.createElement('table'); 

					table.cellPadding=0; 

					table.cellSpacing=0; 

					var JH=document.createElement('tbody');

					var Pa=document.createElement('tr'); Pa.vAlign='middle'; 

					if(NEZ) Pa.vAlign='top'; 

					if(NEZ=='bottom') Pa.vAlign='bottom'; JH.appendChild(Pa); table.appendChild(JH);

					for(var ii in elements)

					{

					var GH=elements[ii];

					if

					(GH==null) continue; 

					var gr=document.createElement('td');

					if(MpB&&MpB[ii]) gr.width=MpB[ii]; 

					gr.appendChild(GH); 

					gr.vAlign='middle'; 

					if(NEZ) gr.vAlign='top'; 

					if(NEZ=='bottom') gr.vAlign='bottom'; Pa.appendChild(gr); 

					}

					return table; 

					}

                    //******************** Comment ********************
                    // Function for Create 'Table', 'tr', 'td' and [Return the Table]

					function CV(aZr,NEZ,MpB)

					{

					var table=document.createElement('table'); table.cellPadding=0; table.cellSpacing=0; 

					var JH=document.createElement('tbody'); table.appendChild(JH); 

					for(var dA in aZr)

					{

					var gh=aZr[dA]; 

					var qC=function(gh)

					{

					var Pa=document.createElement('tr'); Pa.vAlign='middle'; 

					if(NEZ) Pa.vAlign='top'; JH.appendChild(Pa); 

					var elements=gh; 

					var MX=function(elements)

					{

					for(var ii in elements)

					{

					var GH=elements[ii]; 

					if(GH==null) continue; 

					var gr=document.createElement('td'); 

					if(MpB&&MpB[ii]) gr.width=MpB[ii]; gr.appendChild(GH); gr.vAlign='middle'; 

					if(NEZ) gr.vAlign='top'; Pa.appendChild(gr); 

					}

					}

					(elements); 

					}

					(gh); 

					}

					return table; 

					}

					function GA(FP,mZA,Rdk)

					{

					var BZ=document.createElement('div'); BZ.style.width=mZA+'px'; BZ.style.height=Rdk+'px'; En(BZ,FP,false); 

					return BZ; 

					}

					function Qa(FP,mZA,Rdk)

					{

					//******************** Comment ********************
					// Call Function Create the Image tag
					
					var gX=VD(); 
					
					gX.src=FP; 

					return gX; 

					}

                    //******************** Comment ********************
                    // Function for Set the Icons for Search.
					
					function CG(bC,iIC)

					{

					if(!iIC) iIC='search'; 

					var Eh='web/images/favIcon/'+iIC+'/'+bC; 
					//var Eh='web/images/twister-closed.gif'; 

					return Eh; 

					}

					function tS(bC)

					{

					return Qa(CG(bC),16,16);

					}

                    //******************** Comment ********************
                    // Function for Set the Icons.
					
					function Su(GCL)

					{

					var ZP='web/images/icons/'+GCL+'.gif'; 

					return ZP; 

					}

					function bZ(MqZ,width,qrR,NO,vHk,fontSize){ fontSize=(fontSize?fontSize:11); 

					var BZ=document.createElement('div'); BZ.style.position='relative'; BZ.style.width=(width+(isIE?2:0))+'px'; BZ.className='scheme-header-text'; BZ.style.fontSize=fontSize+'px'; BZ.style.fontWeight='normal'; BZ.style.border='1px solid #'+qrR; 

					var hN=pw('scheme-header-text',fontSize,false,false); BZ.style.height=hN+(Mw?5:0)+(isIE?2:0)+'px'; 

					var an=document.createElement('input'); an.setAttribute("autocomplete","off"); an.value=MqZ; an.onkeyup=function(qX)

					{

					var IE=qX; if(!IE) IE=window.event; 

					if(IE) if(IE.keyCode==13){ NO(true,an.value); 

					return; 

					}

					NO(false,an.value); 

					return false; 

					};

					an.onmouseup=an.onkeyup; 

					NO(false,an.value);

					an.className='scheme-header-text';

					an.style.color='#000000'; 

					an.style.fontSize=fontSize+'px';

					an.style.fontWeight='normal'; 

					an.style.position='absolute'; 

					an.style.left='0px'; 

					an.style.top='0px'; 

					an.style.width=width+'px';

					an.style.overflow='hidden';

					an.style.border='none';

					an.style.paddingTop='0px'; 

					an.style.paddingLeft='0px'; 

					an.style.paddingRight='0px';

					an.style.paddingBottom='0px';

					an.style.marginTop='0px'; 

					an.style.marginLeft='0px';

					an.style.marginRight='0px';

					an.style.marginBottom='0px'; 

					an.style.height=hN+(Mw?5:0)+'px';

					BZ.appendChild(an); 

					if(vHk) vHk(an); 

					return BZ; 

					}

					function tc(GH)

					{

					if(isIE) GH.style.styleFloat='left'; 

					else GH.style.cssFloat='left'; 

					}

					function Gp(GH)

					{

					if(isIE) GH.style.styleFloat='right'; 

					else

					GH.style.cssFloat='right'; 

					}

					function SQ(BZ,text)

					{

					NQ(BZ);

					BZ.appendChild(document.createTextNode(text)); 

					}


                    //******************** Comment ********************
                    // Function for Create 'div' and set the Title, font (bold, size) and style sheets [Return the Div]
					
					function kC(text,Ft,Fc,iLe)

					{

					var BZ=document.createElement('div');

					BZ.className=iLe?'scheme-header-text':'scheme-body-text'; 

					if(Ft) BZ.style.fontSize=Ft+'px'; 

					if(Fc) BZ.style.fontWeight=Fc?'bold':'normal'; 

					if(text) BZ.appendChild(document.createTextNode(text));

					return BZ; 

					}

                    //******************** Comment ********************
                    // Function for Create 'Span' and set the Title, font (bold, size) and style sheets [Return the Span]
					
					function wb(text,Ft,Fc,padding)

					{

					var span=document.createElement('span'); 

					span.className='scheme-body-text'; 

					if(Ft) span.style.fontSize=Ft+'px'; 

					if(Fc) span.style.fontWeight=Fc?'bold':'normal'; 

					if(padding) span.style.padding=padding+'px'; 

					if(text) span.appendChild(document.createTextNode(text)); 

					return span; 

					}

                    //******************** Comment ********************
                    // Function for Create 'a'(Link) and set the Title, font (bold, size) and style sheets [Return the 'a'(Link)]
                    
					function fk(text,Ft,Fc,margin,sRk,UwC,bDd)

					{

					var Kj=document.createElement('a'); 

					Kj.onclick=function(qX)

					{

					preventDefault(qX); sRk();

					};

					Kj.className='scheme-body-text links-panel-link';

					Kj.style.cursor='pointer';

					if(bDd) Kj.style.textDecoration='underline'; 

					if(Ft) Kj.style.fontSize=Ft+'px'; 

					if(Fc) Kj.style.fontWeight=Fc?'bold':'normal'; 

					if(margin){ Kj.style.margin=margin+'px'; 

					}

					Kj.style.lineHeight='1.5em'; 

					if(text) Kj.appendChild(document.createTextNode(text)); 

					if(UwC)

					{

					pI.Vh(Kj,UwC);

					}

					return Kj; 

					}

					function Rk(BZ,ZP)

					{

					if(ZP)

					{

					if(isIE)

					{

					//******************** Comment ********************
					// Call Function for Crate the Image Tag.
					
					var hp=VD(); 

					hp.width=1; 

					hp.height=14; 

					hp.url='web/images/spacer.gif'; 

					BZ.appendChild(hp); 

					BZ.style.backgroundPosition='0px 1px'; 

					};

					if(!isIE) BZ.style.paddingTop='1px'; 

					BZ.style.paddingLeft='32px'; 

					BZ.style.backgroundImage='url('+ZP+')';

					BZ.style.backgroundRepeat='no-repeat';

					BZ.style.minHeight='24px'; 

					}

					}
					
					//******************** Comment ********************
					// Function for Create 'div' and [Return the Div]

					function vT(FP,mZA,Rdk)

					{

					var BZ=document.createElement('div');

					BZ.style.width=mZA+'px';

					BZ.style.height=Rdk+'px';

					BZ.style.backgroundImage='url('+FP+')';

					BZ.style.backgroundRepeat='no-repeat'; 

					return BZ; 

					}

					function Dd(BGI,BJJ,vUI,Men)

					{

					var NS=new Object(); 

					if(BGI<100&&BJJ<100)

					{

					NS.XK=BGI; NS.hN=BJJ; 

					return NS; 

					}

					var HL=vUI/Men;

					var Bg=BGI/BJJ; 

					var xk;

					if(Bg>HL){ xk=vUI/BGI; 

					}

					else

					{

					xk=Men/BJJ; 

					}

					var Pr=Math.floor(xk*BGI); 

					var RV=Math.floor(xk*BJJ);

					NS.XK=Pr; NS.hN=RV; 

					return NS; 

					}

					function so(name,value)

					{

					var BN=document.createElement('param');

					BN['name']=name; 

					BN['value']=value; 

					return BN; 

					};
					
					//******************** Comment ********************
					// Function for Creating height, width etc. for 'div' and [Return the Div]

					function EX(left,top,width,height)

					{

					var BZ=document.createElement('div');

					BZ.style.position='absolute'; 

					BZ.style.left=left+'px';

					BZ.style.top=top+'px';

					BZ.style.width=width+'px'; 

					BZ.style.height=height+'px'; 

					return BZ; 

					}

                    //******************** Comment ********************
                    // Function for Create width for 'td'
					
					function VN(width)

					{

					var gr=document.createElement('td');

					gr.appendChild(Nj(width)); 

					return gr; 

					}

                    //******************** Comment ********************
                    // Function for Create width for 'div'
					
					function Nj(width)

					{

					var BZ=document.createElement('div'); 

					BZ.style.fontSize='1px'; 

					BZ.style.height='1px'; 

					BZ.style.width=width+'px'; 

					return BZ;

					}

                    //******************** Comment ********************
                    // Function for Create Space for 'span'
					
					function wo(uTj)

					{

					var span=document.createElement('span');

					span.style.fontSize='12px'; 

					var sH=''; 

					for(var ii=0;ii<uTj;ii++) sH+='&nbsp;'; 

					span.innerHTML=sH; 

					return span; 

					}

                    //******************** Comment ********************
                    // Function for Create height for 'div'
					
					function Uf(height)

					{

					var BZ=document.createElement('div');

					BZ.style.fontSize='1px';

					BZ.style.height=height+'px'; 

					BZ.style.width=1+'px'; 

					return BZ; 

					}

					function Bd(url,width,height,uf)

					{

					var pN=''; 

					if(uf)

					{

					pN=' flashvars="';

					for(var ii in uf)

					{

					pN+=(ii+'='+uf[ii]+'&'); 

					}

					pN+='" '; 

					}

					var MV='<embed '+pN+' src="'+url+'" width="'+width+'" height="'+height+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>'; 

					return MV; 

					}

					function PE(item,Es){ Xc(item,Es);

					}

					function Xc(item,Es)

					{

					for(var ii=0;ii<Es.length;ii++)

					{

					if(Es[ii]==item)

					{

					Es.splice(ii,1); ii--; 

					}

					}

					}

					function kI(Es,item)

					{

					for(var ii in Es)

					{

					if(Es[ii]==item) 

					return true; 

					}

					return false; 

					}

					var Vj=0; 

					function or(url,ZjZ,UI)

					{

					var BZ=document.createElement('div');

					var Te='postForm'+Vj++; 

					var sH='<form target="'+ZjZ+'" id="'+Te+'" method="POST" action="'+url+'">'; 

					for(var ii in UI)

					{

					sH+='<input type="hidden" name="'+RM(ii)+'" value="'+RM(UI[ii])+'">';

					}

					sH+='</form>'; 

					BZ.innerHTML=sH;

					//******************** Comment ********************
					// Call Function for get the Body.
					
					jL().appendChild(BZ); 

					document.getElementById(Te).submit();

					setTimeout(function()

					{ 

					jL().removeChild(BZ); 

					},60000); 

					}

					function Da(url,dco)

					{ 

					if(tQ(dco)==0) 

					return url; 

					if(url.indexOf('?')!=-1)

					{ 

					if(!IC(url,'?'))

					{

					if(!IC(url,'&'))

					{ 

					url=url+'&'; 

					}

					}

					}

					else

					{ 

					url=url+'?'; 

					}

					var ox=0; 

					for(var ii in dco)

					{

					ox++; 

					var name=ii;

					var value=dco[ii]; 

					url=url+name+'='+value+'&'; 

					}

					if(ox!=0) url=VF(url,1); 

					return url; 

					}

					function VF(NDa,qF)

					{

					var ii=Math.min(NDa.length,qF); 

					return NDa.substring(0,NDa.length-ii); 

					}

					function IC(NDa,match)

					{

					if(NDa==null||match==null||NDa==undefined||match==undefined) 

					return false; 

					if(NDa.lastIndexOf(match)==(NDa.length-match.length))

					{

					return true; 

					}

					return false; 

					}

					function Lt(NDa,match)

					{

					if(NDa==null||match==null||NDa==undefined||match==undefined) 

					return false; 

					if(NDa.indexOf(match)==0)

					{

					return true; 

					}

					return false; 

					}

					function aD(BZ,left,top,width,height)

					{

					BZ.style.left=left+'px';

					BZ.style.top=top+'px';

					BZ.style.width=width+'px'; 

					BZ.style.height=height+'px';

					};

                    //******************** Comment ********************
                    // Function for create div with 'absolute' position
					
					function Cq()

					{

					var BZ=document.createElement('div');

					BZ.style.position='absolute'; 

					return BZ; 

					}

					function Xj(GH)

					{

					try

					{

					if(GH.addEventListener&&!iE)

					{

					GH.addEventListener('DOMMouseScroll',function(mGN)

					{

					var lT=parseInt(GH.style.height); 

					if(!lT) lT=GH.offsetHeight; 

					var bV=GH.firstChild.offsetHeight; 

					var dF=(GH.scrollTop+lT)>=bV;

					var FV=GH.scrollTop==0;

					var QU=mGN.detail<0;

					var TW=mGN.detail>0; 

					if((QU&&FV)||(TW&&dF)){ mGN.preventDefault(); mGN.stopPropagation();

					return false;

					}

					else return true;

					},

					false);

					}

					else

					{

                    //******************** Comment ********************
                    // Function for set the position of popup window
					GH.onmousewheel=function()

					{

					var lT=parseInt(GH.style.height);

					if(!lT) lT=GH.offsetHeight; 

					var bV=GH.firstChild.offsetHeight; 

					var dF=(GH.scrollTop+lT)>=bV;

					var FV=GH.scrollTop==0; 

					var wheelDelta=event.wheelDelta;

					if(iE) wheelDelta=-1*wheelDelta; 

					var QU=wheelDelta>0;

					var TW=wheelDelta<0; 

					if((QU&&FV)||(TW&&dF))

					{

					window.event.cancelBubble=true;

					window.event.returnValue=false; 

					return false; 

					}

					else return true;

					};

					}

					}

					catch(qX)

					{

					}

					}

					function Pt(MV)
					{ 
					
					MV=MV.replace(/<[A-Za-z]/g,'<x'); 

					return MV;

					}

					function MN(MV)

					{

					if(!MV) return MV; 

					var DW='';

					var YL=false;

					for(var ii=0;ii<MV.length;ii++)

					{

					var ox=MV.charAt(ii); 

					if(ox=='<')

					{

					YL=true; continue; 

					}

					if(MV.charAt(ii)=='>')

					{

					YL=false; DW+=" "; continue;

					}

					if(!YL) DW+=ox; 

					}

					return DW; 

					}

					function tQ(gG)

					{

					var ox=0; 

					for(var ii in gG) ox++; 

					return ox; 

					}

					function Hx(url)

					{

					var ht=new Image(); ht.src=url; 

					}

					function Wa(url,UI)

					{

					var BZ=document.createElement('div'); 

					var Te='postForm'+Vj++; 

					var sH='<form id="'+Te+'" method="POST" action="'+url+'">';

					for(var ii in UI)

					{

					sH+='<input type="hidden" name="'+RM(ii)+'" value="'+RM(UI[ii])+'">';

					}

					sH+='</form>'; BZ.innerHTML=sH; 

					//******************** Comment ********************
					// Call Function for get the Body.
					
					jL().appendChild(BZ); 

					document.getElementById(Te).submit();

					}

					
					
					function Gf()

					{

					var anchor=document.createElement('a'); 
					
					anchor.href='#';

					var BZ=document.createElement('div'); 

					//******************** Comment ********************
					// Call Function for get the Body and append the anchor ('a').
					
					BZ.appendChild(anchor); 

					BZ.style.position='absolute'; 

					BZ.style.left=dK()+50+'px';

					BZ.style.top=kQ()+50+'px'; 

					// Call Function for get the Body and append the Div.
					
					jL().appendChild(BZ);

					anchor.focus();

					jL().removeChild(BZ);

					}

					function Cm(GH,DoV){ GH.onmousemove=function(event){DoV(new JU(GH,event));}

					; }

					function tO(GH,DoV)

					{

					GH.onmousedown=function(event){DoV(new JU(GH,event))

					;}

					; 

					}

					function St(GH,DoV)

					{

					GH.onmouseover=function(event)

					{

					DoV(new JU(GH,event));}

					; }

					function wY(GH,DoV)

					{

					GH.onmouseup=function(event){DoV(new JU(GH,event));}

					; }

					function iq(GH,DoV)

					{

					GH.onmouseout=function(event){DoV(new JU(GH,event));};

					}

					function RY(GH,DoV)

					{

					GH.onclick=function(event){DoV(new JU(GH,event));}

					;

					}

					function Ys(GH,DoV)

					{

					GH.ondblclick=function(event)

					{

					DoV(new JU(GH,event));}

					;

					}

					function kR(GH,DoV)

					{

					lb(GH,MI,LR,DoV);

					}

					function As(GH,DoV)

					{

					lb(GH,Xk,FC,DoV);

					}

					function KI(GH,DoV)

					{

					return lb(GH,PH,Jf,DoV);

					}

					function LD(GH,DoV)

					{ 

					return lb(GH,ME,On,DoV);

					}

					function qq(GH,DoV)

					{

					var wv; 

					if(isIE)

					{

					wv=function(event)

					{

					DoV(new JU(GH,event));

					}; 

					GH.attachEvent(ki,wv); 

					return new Tj(GH,ki,wv,false); 

					}

					else{ wv=function(event)

					{

					var qf,Il; qf=event.currentTarget; Il=event.relatedTarget; 

					if(qf==GH&&qf!=Il&&!fB(qf,Il))

					{

					DoV(new JU(GH,event));

					}

					};

					GH.addEventListener(cO,wv,false); 

					return new Tj(GH,cO,wv,false);

					}

					}

					function KJ(GH,DoV)

					{

					if(isIE){ GH.onmouseleave=function(event)

					{

					DoV(new JU(GH,event)); 

					}; 

					}

					else

					{

					GH.onmouseout=function(event)

					{

					var qf,Il; qf=event.currentTarget; Il=event.relatedTarget; 

					if(qf==GH&&qf!=Il&&!fB(qf,Il))

					{

					DoV(new JU(GH,event));

					}

					};

					}

					}

					function qK(elements,DoV)

					{

					if(isIE)

					{

					for(var ii in elements)

					{

					var GH=elements[ii]; GH.onmouseleave=Gt(GH,elements,DoV); 

					}

					}

					else

					{

					for(var ii in elements)

					{

					var GH=elements[ii]; GH.onmouseout=mZ(GH,elements,DoV);

					}

					}

					}

					function mZ(GH,elements,DoV)

					{

					return function(event)

					{

					var qf,Il; qf=event.currentTarget; Il=event.relatedTarget; 

					if(qf==GH&&qf!=Il&&!fB(qf,Il))

					{

					for(var dA in elements) if(Il==elements[dA]) return; DoV(new JU(GH,event));

					}

					};

					}

					function Gt(GH,elements,DoV)

					{

					return function()

					{

					for(var dA in elements) if(window.event.toElement==elements[dA]) return; DoV(new JU(GH,window.event)); 

					};

					}

					function fB(Ygr,NbU)

					{

					try

					{

					if(!NbU) return false; while(NbU.parentNode) if((NbU=NbU.parentNode)==Ygr) return true; return false; 

					}

					catch(qX)

					{

					return false; 

					}

					}

					function JU(GH,event)

					{

					this.GH=GH; 

					this.event=event; 

					this.LpM=null; 

					this.gOQ=null; 

					this.kM=function()

					{

					if(this.LpM==null)

					{

					var ox=pR(GH,event); 

					this.LpM=ox.x; 

					this.gOQ=ox.y; 

					}

					return this.LpM; 

					}; 

					this.NC=function()

					{

					if(this.LpM==null)

					{

					this.kM(); 

					}

					return this.gOQ; 

					};

					}

					function lb(GH,ZUI,Qrg,DoV)

					{

					var ei=function(event)

					{

					var ab=new JU(GH,event); DoV(ab); 

					};

					if(isIE){ GH.attachEvent(Qrg,ei); 

					return new Tj(GH,Qrg,ei,false); 

					}

					else

					{

					GH.addEventListener(ZUI,ei,false);

					return new Tj(GH,ZUI,ei,false); 

					}

					}

					function Bv(GH,XdN,YtV,oel,Nwe)

					{

					tO(GH,function(ab)

					{

					Po(ab.event,GH,XdN,YtV,oel,Nwe); 

					}

					);

					}

					function es(FbK)

					{

					return Qi(FbK); 

					}; 

					function pR(GH,event)

					{

					if(isIE||Mw)

					{

					return new ZX(window.event.offsetX,window.event.offsetY); 

					}

					return Qi(event).jR(dZ(GH)); 

					}

					function Qi(event)

					{

					if(isIE||iE)

					{

					var x=window.event.clientX+(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft; 

					var y=window.event.clientY+(iE?0:document.documentElement.scrollTop)+document.body.scrollTop;

					}

					else

					{

					var x=event.clientX+window.scrollX; 

					var y=event.clientY+window.scrollY;

					}

					return new ZX(x,y); 

					}

					function dZ(GH)

					{

					var qX=GH; 

					var x=0; 

					var y=0; 

					while(true)

					{

					var PK=qX.offsetParent; 

					if(PK==undefined) break; x+=qX.offsetLeft; y+=qX.offsetTop; qX=PK; 

					}

					return new ZX(x,y);

					}

					function eu(BZ,WRb,eKZ)

					{

					if(!eKZ) if(!TV()) return; 

					try

					{

					if(WRb==100)

					{

					BZ.style.filter=''; BZ.style.mozOpacity=''; BZ.style.opacity='';

					}

					else

					{

					BZ.style.filter='alpha(opacity='+WRb+')'; 

					BZ.style.mozOpacity=WRb/100;

					BZ.style.opacity=WRb/100;

					}

					}

					catch(qX)

					{

					}

					}

					function kQ()

					{

					if(isIE||iE) return(iE?0:document.documentElement.scrollTop)+document.body.scrollTop; 

					else return window.scrollY; 

					}

					function dK()

					{

					if(isIE||iE) return(iE?0:document.documentElement.scrollLeft)+document.body.scrollLeft;

					else return window.scrollX; 

					}

					function Jv(url,wf,HiP)

					{

					var WB=KN.stringify(wf); HF(url,WB,function(GN)

					{

					if(HiP) HiP(eval('('+GN+')')); 

					}

					);

					}

					function HF(url,Yb,HiP)

					{

					var aN=ES(); 

					//alert(HiP);

					aN.open(Yb==null?"GET":"POST",url,true); 

					aN.setRequestHeader("Content-Type","text/xml"); 

					aN.onreadystatechange=function()

					{ 

					var Dj=false; Dj=(aN.readyState==4);

					if(Dj)

					{

					//alert(aN.responseText);

					var GN=aN.responseText; 

					HiP(GN); 

					}

					};

					aN.send(Yb);

					}

					function ES()

					{

					var aN=false; 

					try

					{

					aN=new ActiveXObject("Msxml2.XMLHTTP"); 

					}

					catch(qX)

					{

					try

					{

					aN=new ActiveXObject("Microsoft.XMLHTTP");

					}

					catch(Rp)

					{

					aN=false; 

					}

					}

					if(!aN&&typeof XMLHttpRequest!=undefined)

					{

					aN=new XMLHttpRequest(); 

					}

					return aN; 

					}

					function Av()

					{

					for(var ii in panelDatas)

					{

					var uH=panelDatas[ii]; 

					if(!uH.mC)

					{

					if(uH.rv==VL)

					{

					uH.hNY=uH.left; 

					uH.tOg=uH.top; 

					}

					}

					}

					QV['positioning']='gravity'; 

					QV.nT(); 

					BM(VL); 

					KY(); 

					}

					function rM()

					{

					for(var ii in panelDatas)

					{

					var uH=panelDatas[ii];

					if(!uH.mC)

					{

					if(uH.hNY||uH.hNY==0)

					{

					uH.left=uH.hNY; uH.top=uH.tOg; uH.MBK=true; 

					if(uH.BZ) Vc(uH,uH.left,uH.top);

					uH.hNY=null; 

					uH.tOg=null; 

					}

					}

					}

					QV['positioning']='free'; 

					QV.nT(); KY();

					}

					function LN()

					{

					}

					LN.rL=[ new ConfigFieldAlignedGroup([ new ConfigTextField('correction','Time offset (hours)','E.g. if you are on the US West Coast then enter -3 to make this clock display East Coast times.',0,30) ]) ]; 

					LN.prototype=new Cd(); 

					LN.prototype.hl=function()

					{

					var tR=this; if(!this.DRh.getAttribute('correction')) this.DRh.setAttribute('correction',0); 

					this.DRh.TG.GK(true); 

					this.DRh.RC();

					this.er(); 

					var uf=new Array(); 

					uf['correction']=parseInt(this.DRh.getAttribute('correction'))*3600*1000; 

					uf['faceColor']='0xffffff'; 

					uf['bodyColor']='0x72a2d2';

					this.DRh.mG().innerHTML=Bd('web/images/flash/clockWidgetAnalog.swf',this.Ukg,this.nSM,uf); 

					this.DRh.jG(function(innerWidth,uZ,df)

					{

					if(!df){ tR.er(); tR.hl();

					}

					}

					);

					};

					LN.prototype.er=function()

					{

					this.Ukg=this.DRh.TG.innerWidth; 

					this.nSM=this.DRh.TG.uZ-6; 

					}; 

					//******************** Comment ********************
					// Function For Configure Table
					
					function ConfigTable(MNE,xKX,hMO)

					{

					this.MNE=MNE; 

					this.xKX=xKX; 

					this.hMO=hMO;

					this.Ix=function(VR,jq)

					{

					return new aX(this,VR,jq,MNE,xKX,hMO);

					};

					}


                    //******************** Comment ********************
                    // Function For Configure Rich Text Area
                    
					function ConfigRichTextArea(MNE,defaultValue)

					{

					this.MNE=MNE;

					this.defaultValue=defaultValue; 

					this.Ix=function()

					{

					return new NY(this,MNE,defaultValue);

					};

					}

                    //******************** Comment ********************
                    // Function For Configure AlignedGroup
                    
					function ConfigFieldAlignedGroup(RvV)

					{

					this.RvV=RvV; 

					this.Ix=function(VR,jq)

					{

					return new Fh(this,VR,jq,RvV);

					};

					}


                    //******************** Comment ********************
                    // Function For Configure Attribute
					
					function ConfigAttribute(MNE,defaultValue)

					{

					this.MNE=MNE; 

					this.defaultValue=defaultValue;

					this.Ix=function()

					{

					return new gQ(this,MNE,defaultValue);

					};

					}

					function ConfigLabelField(MNE,label,description,defaultValue,WUV,SMN)

					{

					this.MNE=MNE; 

					this.label=label; 

					this.description=description; 

					this.defaultValue=defaultValue;

					this.WUV=WUV; 

					this.SMN=SMN; 

					this.Ix=function()

					{

					return new OW(this,MNE,label,description,defaultValue,WUV,SMN); 

					};

					}

					//******************** Comment ********************
					// Function For Configure Custom Field
					
					function ConfigCustomField(RtF,Kj,gp,ox,Yn,qX,ei,Yc,hN,ii,dA,ja,NB,Qw,Ww,iG,PK,IDt,DW,MV,Zr,Zl,Lb,XK,x,y,cCq)

					{

					this.RtF=RtF; 

					this.Ix=function(VR,jq)

					{

					return new this.RtF(this,VR,jq,Kj,gp,ox,Yn,qX,ei,Yc,hN,ii,dA,ja,NB,Qw,Ww,iG,PK,IDt,DW,MV,Zr,Zl,Lb,XK,x,y,cCq); 

					};

					}

					//******************** Comment ********************
					// Function For Configure Text Area
					
					function ConfigTextArea(MNE,label,description,defaultValue,WUV)

					{

					this.MNE=MNE; 

					this.label=label; 

					this.description=description; 

					this.defaultValue=defaultValue; 

					this.WUV=WUV; 

					this.Ix=function()

					{

					return new eM(this,MNE,label,description,defaultValue,WUV);

					};

					}

					//******************** Comment ********************
					// Function For Configure Text Field
					
					function ConfigTextField(MNE,label,description,defaultValue,WUV,SMN)

					{

					this.MNE=MNE; 

					this.label=label; 

					this.description=description; 

					this.defaultValue=defaultValue;

					this.WUV=WUV; 

					this.SMN=SMN; 

					this.Ix=function()

					{

					return new oE(this,MNE,label,description,defaultValue,WUV,SMN);

					};

					}

					//******************** Comment ********************
					// Function For Configure Password Field
					
					function ConfigPasswordField(MNE,label,description,defaultValue,WUV,SMN)

					{

					this.MNE=MNE; 

					this.label=label; 

					this.description=description;

					this.defaultValue=defaultValue; 

					this.WUV=WUV; 

					this.SMN=SMN; 

					this.Ix=function()

					{

					return new Bc(this,MNE,label,description,defaultValue,WUV,SMN);

					};

					}

					//******************** Comment ********************
					// Function For Configure Checkbox
					
					function ConfigCheckbox(MNE,label,description,defaultValue)

					{

					this.MNE=MNE; 

					this.label=label;

					this.description=description; 

					this.defaultValue=defaultValue; 

					this.Ix=function()

					{

					return new rI(this,MNE,label,description,defaultValue);

					};

					}

					//******************** Comment ********************
					// Function For Configure Divider
					
					function ConfigDivider(label,description)

					{

					this.label=label; 

					this.description=description;

					this.Ix=function()

					{

					return new Ph(this,label,description);

					}; 

					}

					//******************** Comment ********************
					// Function For Configure Option Group
					
					function ConfigOptionGroup(MNE,label,description,SND)

					{

					this.MNE=MNE; 

					this.SND=SND; 

					this.label=label;

					this.description=description;

					this.Ix=function()

					{

					return new cX(this,MNE,label,description,SND);

					}; 

					}

					//******************** Comment ********************
					// Function For Configure Option
					
					function ConfigOption(label,value,ZVx)

					{

					this.label=label; 

					this.value=value; 

					this.ZVx=ZVx; 

					}

					//******************** Comment ********************
					// Function For Configure Html Free
					
					function ConfigFreeformHtml(sH)

					{

					this.sH=sH; 

					this.Ix=function()

					{

					return new VC(this,sH); 

					};

					}

					function NY(Vmu,MNE,defaultValue)

					{

					this.Vmu=Vmu; 

					this.IHr=null; 

					this.ZW=function(HiP)

					{

					this.IHr=HiP; 

					}; 

					this.bv=function()

					{

					if(this.IHr!=null) this.IHr(); 

					};

					this.cT=function(PA,pkx,CNG)

					{

					var HX=this.JYB.contentWindow; HX.focus(); 

					try{ HX.document.execCommand(PA,false,pkx); 

					}

					catch(qX){}HX.focus(); 

					};

					this.qJ=function(pxA){ if(isIE)

					{

					var pA=this.JYB.contentWindow.document.selection.createRange();

					var MV=pA.htmlText; 

					var fd=new RegExp('<font size=([^>]+)>'); 

					var Qw=fd.exec(MV.toLowerCase());

					var Bl=null; 

					if(Qw==null)

					{

					Bl=3; 

					}

					else

					{

					for(var ii=1;ii<Qw.length;ii++)

					{

					if(Bl==null) Bl=parseInt(Qw[ii]); 

					if(Bl<parseInt(Qw[ii])) Bl=parseInt(Qw[ii]);

					}

					if(Bl==7) Bl--; 

					}

					this.cT('FontSize',Bl+pxA); 

					}

					else if(Mw)

					{

					this.cT('FontSizeDelta',pxA);

					}

					else{ if(pxA==1) this.cT('IncreaseFontSize',''); 

					else this.cT('DecreaseFontSize',''); 

					}

					};

					this.tp=function(sH)

					{

					if(isIE)

					{

					var DW=this.JYB.contentWindow.document.selection.createRange();

					DW.pasteHTML(sH); 

					DW.collapse(false); 

					DW.select();

					}

					else

					{

					this.cT('insertHTML',sH);

					}

					};

					this.YI=function()

					{

					var window=this.JYB.contentWindow; 

					var document=this.JYB.contentWindow.document; 

					if(window.getSelection)

					{

					window.getSelection().collapseToEnd(); 

					}

					else if(document.selection)

					{

					document.selection.empty();

					}

					};

					this.ato=false; 

					this.dl=function()

					{ 

					if(this.ato) return; 

					if(this.Am())

					{

					this.iW('rich'); 

					this.RjA.checked=true; 

					this.tQl.checked=false; 

					}

					else

					{

					this.iW('html'); 

					this.RjA.checked=false; 

					this.tQl.checked=true; 

					}

					this.YZ();

					};

					this.Am=function()

					{

					var Bj=false; if(this.value.toLowerCase().indexOf('<iframe')!=-1) Bj=true; 

					if(this.value.toLowerCase().indexOf('<object')!=-1) Bj=true; 

					if(this.value.toLowerCase().indexOf('<embed')!=-1) Bj=true;

					if(this.Qp()&&!Bj)

					{

					return true; 

					}

					else

					{

					return false; 

					}

					};

					this.YZ=function()

					{

					var tR=this; if(this.FcY=='rich')

					{

					if((this.JYB==undefined)||(this.JYB.contentWindow==undefined)||(this.JYB.contentWindow.document.getElementById('body')==undefined)){ setTimeout(function()

					{

					tR.YZ(); 

					},

					100);

					return; 

					}

					}

					this.ato=true; 

					this.Iq(this.value); 

					if(this.FcY=='rich')

					{

					this.cT('insertHTML',' '); 

					this.cT('Undo','');

					}

					};

					this.Uo=function()

					{

					if(!this.ato) 

					return; 

					clearInterval(this.heightCheckIntervalHandle); 

					this.ato=false;

					};

					this.Qp=function()

					{

					return true; 

					};

					this.EEQ=new Array(); 

					this.rd=function()

					{

					for(var ii in this.EEQ)  this.EEQ[ii](); 

					};

					this.aa=function(nxd,PJR,Ewx,FP,x,y,aCs,HiP,PFx)

					{

					//******************** Comment ********************
					// Call Function Create the Image tag
					
					var button=VD(); 

					button.style.left=x+'px'; 

					button.style.top=y+'px'; 

					button.style.position='absolute'; 

					button.src=FP; button.title=PJR; 

					var nW=document.createElement('div'); 

					nW.style.visibility='visible';

					nW.style.left=x+'px'; 

					nW.style.top=y+'px'; 

					nW.style.width=29+'px';

					nW.style.height=27+'px'; 

					nW.style.position='absolute'; 

					En(nW,Uc+'web/images/richtext/button-shadow.png',false);

					Ewx.appendChild(nW); Ewx.appendChild(button); 

					var Ps=this;

					var UF=function()

					{

					if(nW.style.visibility=='hidden') 

					return;

					button.style.top=(parseInt(button.style.top)+1)+'px';

					button.style.left=(parseInt(button.style.left)+1)+'px'; 

					nW.style.visibility='hidden'; 

					nxd(); 

					return false; 

					};

					if(isIE){ RY(button,UF);

					Ys(button,UF);

					}

					else if(Mw&&PFx)

					{

					St(button,UF); 

					}

					else tO(button,UF); 

					var AR=function()

					{

					if(nW.style.visibility=='visible') 

					return;

					button.style.top=(parseInt(button.style.top)-1)+'px'; 

					button.style.left=(parseInt(button.style.left)-1)+'px';

					nW.style.visibility='visible'; 

					return false; 

					};

					wY(button,AR); 

					iq(button,AR);

					this.EEQ.push(AR);

					};

					this.vk=function(pOA)

					{

					var window=this.JYB.contentWindow; 

					var document=this.JYB.contentWindow.document; 

					if(window.getSelection)

					{

					if(window.getSelection()=='')

					{

					alert(pOA); 

					return false; 

					}

					}

					else if(document.selection)

					{

					if(document.selection.createRange().htmlText=='')

					{

					alert(pOA); 

					return false; 

					}

					}

					return true; 

					};

					this.US=function(XK)

					{

					var frame=document.createElement('iframe'); 

					frame.frameBorder='0px'; 

					frame.style.border='1px solid #000000';

					frame.style.width=XK+'px'; 

					frame.style.height=264+'px'; 

					frame.scrolling='auto'; 

					return frame; 

					};

					this.jw=function(frame)

					{

					var Za='<body id="body" style="padding:5px; margin:5px; font-family: Arial, Helvetica, sans-serif;	font-size: 12px;"></body>';

					var Fo=frame.contentWindow.document; 

					Fo.open();

					Fo.write(Za);

					Fo.close(); 

					Fo.designMode="On"; 

					if(Mw) Fo.body.contentEditable='true'; 

					};

					this.Vt=function(window,frame,UiQ)

					{

					if(this.FcY!='rich') 

					return; 

					if(isIE)

					{

					var ZZ=UiQ; while(true)

					{

					if(ZZ.className.indexOf('scheme-body')!=-1) 

					break; 

					ZZ=ZZ.parentNode; 

					}

					var tR=this; 

					if(frame.contentWindow.document.getElementById('body')==undefined)

					{

					setTimeout(function()

					{

					tR.Vt(window,frame,UiQ); 

					}

					,100);

					return; 

					}

					frame.contentWindow.document.getElementById('body').style.color=ZZ.currentStyle.color; 

					frame.contentWindow.document.getElementById('body').style.backgroundColor=ZZ.currentStyle.backgroundColor; 

					setTimeout(function()

					{

					if(isIE)

					{

					colorsAndSettings.backgroundHueOffset+=1; 

					Zx(true,false,false,false); 

					colorsAndSettings.backgroundHueOffset-=1; 

					}

					},

					100);

					}

					else

					{

					frame.contentWindow.document.getElementById('body').style.color=window.getComputedStyle(UiQ,null).color; 

					frame.contentWindow.document.getElementById('body').style.backgroundColor=window.getComputedStyle(UiQ,null).backgroundColor; 

					}

					};

					this.Ke=function(qsF,gij)

					{

					var tR=this; 

					this.be(qsF,gij,function(x,y)

					{

					var color=tR.Mv(x,y); tR.cT('ForeColor',color,true);

					}

					);

					};

					this.Ai=function(qsF,gij)

					{

					var tR=this; this.be(qsF,gij,function(x,y)

					{

					var color=tR.Mv(x,y); 

					if(isIE||Mw) tR.cT('BackColor',color,true);

					else tR.cT('hilitecolor',color,true); 

					}

					);

					};

					this.be=function(x,y,lKE)

					{

					this.wHd.style.visibility='visible'; 

					if(Mw)

					{

					this.wHd.style.left=(x-20)+'px'; 

					this.wHd.style.top=(y-48)+'px'; 

					this.rd();

					}

					else

					{

					this.wHd.style.left=(x-202)+'px'; 

					this.wHd.style.top=y+'px'; 

					}

					var tR=this; tO(this.wHd,function(ab)

					{

					lKE(ab.kM(),ab.NC());

					tR.wHd.style.visibility='hidden'; 

					}

					);

					};

					this.Mv=function(x,y)

					{

					if(this.QF(x,y,2,2,34,22)) 

					return '#000000'; 

					if(this.QF(x,y,2,24,34,45)) 

					return '#ffffff'; 

					var BS=new UY('B2B8FF'); 

					var hF=new UY('0015FF');

					var DV=new UY('000D9C'); 

					var Kj=36; 

					for(var ii=0;ii<=10;ii++)

					{

					if(this.QF(x,y,Kj,2,Kj+13,15))

					{

					if(ii==10) 

					return BS.EN(0,-100); 

					else return BS.EN(ii*36,0); 

					}

					if(this.QF(x,y,Kj,17,Kj+13,30))

					{

					if(ii==10) return hF.EN(0,-100); 

					else return hF.EN(ii*36,0); 

					}

					if(this.QF(x,y,Kj,32,Kj+13,45))

					{

					if(ii==10) return DV.EN(0,-100); 

					else return DV.EN(ii*36,0); }Kj+=15; 

					}

					return null; 

					};

					this.QF=function(x,y,nDs,TIS,lEI,QGM)

					{

					if(((x<=lEI)&&(x>=nDs))&&((y<=QGM)&&(y>=TIS))) return true; 

					return false; 

					};

					this.KR=function(BZ)

					{

					var tL=0; 

					var y=0;

					var HD=31; 

					var YY=40; 

					var tR=this; 

					if(!Mw)

					{

					this.aa(function()

					{

					tR.qJ(1);

					},

					'Make text larger',BZ,Uc+'web/images/richtext/larger-font.gif',tL,y,null,null); tL+=HD; 

					this.aa(function()

					{

					tR.qJ(-1);

					},

					'Make text smaller',BZ,Uc+'web/images/richtext/smaller-font.gif',tL,y,null,null); 

					}



					if(!Mw) tL+=YY; 

					this.aa(function()

					{

					tR.cT('Bold','');

					},

					'Bold',BZ,Uc+'web/images/richtext/bold.gif',tL,y,null,null);

					this.aa(function()

					{

					tR.cT('Italic','');

					},

					'Italic',BZ,Uc+'web/images/richtext/italic.gif',tL+=HD,y,null,null);

					this.aa(function()

					{

					tR.cT('Underline','');

					},

					'Underline',BZ,Uc+'web/images/richtext/underline.gif',tL+=HD,y,null,null);

					if(!Mw) this.aa(function()

					{

					tR.cT('Strikethrough','');

					},

					'Strikethrough',BZ,Uc+'web/images/richtext/strikethrough.gif',tL+=HD,y,null,null); 

					if(!Mw) this.aa(function()

					{

					tR.cT('InsertUnorderedList','');

					},

					'Create bulleted list',BZ,Uc+'web/images/richtext/bullets.gif',tL+=YY,y,null,null);

					if(!Mw) this.aa(function(){tR.cT('InsertOrderedList','');

					},

					'Create numbered list',BZ,Uc+'web/images/richtext/numbered-bullets.gif',tL+=HD,y,null,null); 

					if(!Mw) this.aa(function(){tR.cT('Indent','');

					},

					'Indent text',BZ,Uc+'web/images/richtext/indent.gif',tL+=HD,y,null,null); 

					if(!Mw) this.aa(function(){tR.cT('Outdent','');

					},

					'Outdent text',BZ,Uc+'web/images/richtext/outdent.gif',tL+=HD,y,null,null); 

					if(!Mw) this.aa(function(){tR.YI();tR.cT('InsertHorizontalRule','')

					;

					},

					'Insert horizontal text divider',BZ,Uc+'web/images/richtext/horiz-rule.gif',tL+=HD,y,null,null);

					tL+=YY; 

					var Ul=tL+22; 

					this.aa(function()

					{

					tR.Ke(Ul,y+26);

					},

					'Change text color',BZ,Uc+'web/images/richtext/font-color.gif',tL,y,null,null,true); 

					tL+=HD; 

					var gF=tL+22; 

					this.aa(function()

					{

					tR.Ai(gF,y+26);

					},

					'Change text background color',BZ,Uc+'web/images/richtext/font-bg-color.gif',tL,y,null,null,true); 

					if(!Mw) this.aa(function()

					{

					if(tR.vk('Before pressing this button, first select the text you would like to turn into a link')==false) return false; 

					var url=prompt('Enter the url for your new link:','http://'); 

					if(url!=null&&url!='') tR.cT('CreateLink',url); 

					},

					'Create web link',BZ,Uc+'web/images/richtext/link.gif',tL+=YY,y,null,null); 

					this.aa(function()

					{

					tR.cT('Undo','');

					},

					'Undo action',BZ,Uc+'web/images/richtext/undo.gif',tL+=YY,y,null,null); 

					this.aa(function()

					{

					tR.cT('Redo','');

					},

					'Redo action',BZ,Uc+'web/images/richtext/redo.gif',tL+=HD,y,null,null); 

					this.aa(function()

					{ 

					tR.JYB.contentWindow.focus(); 

					tR.JYB.contentWindow.print(); 

					},

					'Print',BZ,Uc+'web/images/richtext/print.gif',tL+=YY,y,null,null); 

					BZ.style.height='31px'; 

					BZ.style.overflow='visible'; 

					this.wHd=document.createElement('div'); 

				   //******************** Comment ********************
				   // Call Function Create the Image tag
				
					var gX=VD(); gX.src=''+Uc+'web/images/richtext/color-selection.png'; gX.style.cursor='pointer'; 

					this.wHd.appendChild(gX); 

					this.wHd.style.position='absolute'; 

					this.wHd.style.visibility='hidden'; 

					this.wHd.style.width='218px'; 

					this.wHd.style.height='48px'; 

					this.wHd.style.zIndex='10'; 

					this.wHd.style.cursor='pointer';

					BZ.appendChild(this.wHd); 

					};

					this.Pl=function(BZ){ BZ.style.paddingTop='10px'; 

					var YG=uid(); 

					var dQ=uid(); 

					var Ta=uid(); 

					var sH=''; 

					sH+='Edit as:&nbsp;&nbsp;<input type="radio" name="'+Ta+'" value="'+YG+'" checked>&nbsp;&nbsp;Rich text&nbsp;&nbsp;'; 

					sH+='<input type="radio" name="'+Ta+'" value="'+dQ+'" >&nbsp;&nbsp;HTML'; 

					BZ.innerHTML=sH; BZ.style.textAlign='left';

					var tR=this; 

					var BX=BZ.getElementsByTagName('input'); 

					this.RjA=BX[0]; 

					this.tQl=BX[1];

					this.RjA.style.width='3ex';

					this.tQl.style.width='3ex'; 

					this.RjA.onclick=function()

					{

					return tR.WV(tR.RjA,tR.tQl,tR.RjA);

					};

					this.tQl.onclick=function()

					{

					return tR.WV(tR.RjA,tR.tQl,tR.tQl)

					;}

					; 

					};

					this.WV=function(RjA,tQl,BFT)

					{

					if(BFT==RjA)

					{

					if(this.FcY=='rich') return true; 

					if(!this.Qp())

					{

					alert('Your browser does not support this feature. \n\nThe following browsers support rich text editing: Firefox, Safari 2.0, Internet Explorer'); 

					tQl.selected='true'; 

					RjA.selected='false';

					return false;

					}

					this.iW('rich'); 

					}

					if(BFT==tQl)

					{

					this.iW('html');

					if(this.JYB!=undefined)

					{

					if(this.JYB.style.height!=undefined)

					{

					this.cwG.style.height=parseInt(this.JYB.style.height)+'px'; 

					}

					}

					}

					this.bv(); return true; 

					}; 

					this.MNE=MNE; 

					this.defaultValue=defaultValue; 

					this.BZ=document.createElement("div");

					this.iB=document.createElement("div");

					this.iB.style.zIndex=100; 

					this.iB.style.position='relative'; 

					this.NV=document.createElement("div"); 

					this.NV.style.zIndex=1; 

					this.eD=document.createElement("div"); 

					this.eD.style.zIndex=1; 

					this.BZ.appendChild(this.NV); 

					this.BZ.appendChild(this.eD); 

					this.KR(this.iB); 

					this.Pl(this.eD); 

					this.FcY='';

					this.JYB=null; 

					this.cwG=null;

					this.vY=function(XK)

					{ 

					var GH=document.createElement('textarea');

					GH.style.width=580+'px'; 

					GH.style.height='264px'; 

					GH.style.padding=''; 

					GH.style.margin=''; 

					return GH; 

					};

					this.QL=function()

					{

					this.Vt(window,this.JYB,this.BZ); 

					};

					this.iW=function(oe)

					{

					if((oe=='rich')&&(!this.Qp())) oe='html'; 

					if(this.FcY==oe) return; 

					this.FcY=oe; 

					var vR=''; 

					if(oe=='rich')

					{

					this.BZ.insertBefore(this.iB,this.BZ.firstChild); 

					if(this.cwG!=null)

					{

					vR=this.cwG.value; 

					this.NV.removeChild(this.cwG); 

					this.value=vR; 

					}

					if(this.JYB==null) this.JYB=this.US(this.width);

					this.NV.appendChild(this.JYB); 

					this.jw(this.JYB);

					this.Iq(this.value); 

					this.Vt(window,this.JYB,this.BZ); 

					}

					else if(oe=='html')

					{

					try{ if(this.iB!=null) this.BZ.removeChild(this.iB);

					}

					catch(qX)

					{

					}

					if(this.JYB!=null)

					{

					vR=this.JYB.contentWindow.document.getElementById('body').innerHTML; 

					this.NV.removeChild(this.JYB); 

					}

					if(this.cwG==null) this.cwG=this.vY(this.width); 

					this.NV.appendChild(this.cwG);

					this.cwG.value=vR; 

					}

					else alert('mode '+oe+' unrecognised'); 

					};

					this.width=300;

					this.jj=function(XK)

					{

					this.width=XK; 

					this.BZ.style.width=XK+'px'; 

					if(this.cwG!=null) this.cwG.style.width=XK+'px'; 

					if(this.JYB!=null) this.JYB.style.width=XK+'px'; 

					};

					this.qd=function(btx)

					{

					var height=Math.round(btx-100); 

					if(height<0) height=0; 

					if(this.cwG!=null) this.cwG.style.height=height+'px'; 

					if(this.JYB!=null) this.JYB.style.height=height+'px';

					this.bv(); }; 

					this.Iq=function(vR)

					{

					this.value=vR; 

					if(!this.ato) return; 

					if(this.FcY=='rich')

					{ 

					var Za=''; 

					Za+='<head><style>'; 

					Za+='ol, ul { padding-left: 0px; margin-left: 3ex; }';

					Za+='big { font-size:116%; }'; 

					Za+='small { font-size:86%; }';

					Za+='p{padding-top:0px;padding-bottom:0px;margin-top:0px;margin-bottom:0px}';

					Za+='blockquote{margin:0 0 0 3ex;}';

					Za+='</style></head>'; 

					Za+='<body id="body" class="rich-text" style="padding:5px;margin:5px;					font-family: Arial, Helvetica, sans-serif;	font-size: 12px;">'; 

					Za+=vR

					Za+='</body>'; 

					var Fo=this.JYB.contentWindow.document; Fo.open(); Fo.write(Za); Fo.close(); 

					try

					{

					this.JYB.contentWindow.focus();

					}

					catch(qX)

					{

					}

					this.QL(); 

					}

					if(this.FcY=='html') this.cwG.value=vR; 

					};

					this.TO=function()

					{

					if(this.FcY=='rich') return this.JYB.contentWindow.document.getElementById('body').innerHTML; 

					if(this.FcY=='html') return this.cwG.value; alert('editMode unrecognised'); 

					};

					}

					function aX(Vmu,VR,jq,MNE,xKX,hMO)

					{

					this.Vmu=Vmu; 

					this.VR=VR; 

					this.jq=jq; 

					this.IHr=null; 

					this.ZW=function(HiP)

					{

					this.IHr=HiP; 

					};

					this.bv=function()

					{

					if(this.IHr!=null) this.IHr();

					};

					this.sMP=6; 

					this.ace=3; 

					this.MNE=MNE; 

					this.xKX=xKX; 

					this.hMO=hMO; 

					this.RMs=24; 

					this.Bnx=9;

					this.WUV=0; 

					for(var ii=0;ii<xKX.length;ii++) this.WUV+=xKX[ii].WUV;

					this.WUV+=(this.RMs+this.Bnx);

					this.tVN=new Array();

					this.rows=new Array();

					this.BZ=document.createElement("div");

					this.iB=document.createElement("div");

					this.iB.style.position='relative';

					this.iB.style.left=this.RMs+'px'; 

					this.cLP=null;

					this.quB=null; 

					this.oG=function(GH,XdN,saE,WcL)

					{

					var il=XdN; il.BZ.style.zIndex=10; 

					this.cLP=parseInt(il.BZ.offsetTop);

					this.quB=null; 

					}; 

					this.dM=function(GH,XdN,mW,CJ,saE,WcL)

					{

					var il=XdN;

					var hf=this.cLP+CJ;

					var kl=null; 

					var Ab=0; 

					for(var ii=0;ii<this.rows.length;ii++)

					{

					var ox=this.rows[ii]; 

					if(ox==il) continue; 

					var y=parseInt(ox.BZ.offsetTop); y-=50; 

					if(kl==null) kl=y; 

					if(kl>y) kl=y; 

					}

					for(var ii=0;ii<this.rows.length;ii++)

					{

					var ox=this.rows[ii]; 

					if(ox==il) continue;

					var y=ox.BZ.offsetTop+ox.BZ.offsetHeight; y+=50; 

					if(Ab<y) Ab=y; 

					}

					if(hf<kl)

					{

					hf=kl; 

					}

					if(hf>Ab)

					{

					hf=Ab; 

					}

					il.BZ.style.top=hf+'px'; 

					if(this.quB==null) this.quB=this.cLP;

					var JA=false; 

					for(var ii=0;ii<this.rows.length;ii++)

					{

					var ox=this.rows[ii]; 

					if(ox==il) continue; Au=parseInt(ox.BZ.offsetTop); 

					if((Au>=hf)&&(Au<this.quB))

					{

					ox.FY++; 

					ox.Xg();

					il.FY--;

					JA=true; 

					}

					else if((Au<=hf)&&(Au>this.quB))

					{

		ox.FY--; ox.Xg();

		il.FY++; JA=true;

		}

		}

		if(JA) this.quB=hf; 

		};

		this.tB=function(GH,XdN,mW,CJ,saE,WcL)

		{

		var il=XdN; il.BZ.style.zIndex=0;

		var hf=this.cLP+CJ; 

		var vG=null; 

		var Cx=null; 

		var eN=null; 

		var aB=null; 

		for(var ii=0;ii<this.rows.length;ii++)

		{ 

		var ox=this.rows[ii]; 

		if(ox==il) continue; Au=parseInt(ox.BZ.offsetTop);

		if(hf>Au)

		{ 

		if(eN==null)

		{

		eN=Au; vG=ox; 

		}

		if(Au>eN){ eN=Au; vG=ox; 

		}

		}

		if(hf<Au)

		{ 

		if(aB==null)

		{ 

			aB=Au; Cx=ox;

			}

			if(Au<aB)

			{ 

			aB=Au; Cx=ox; 

			}

			}

			}

			if(vG!=null) il.FY=vG.FY+1; 

			else if(Cx!=null) il.FY=Cx.FY-1;

			this.rows.sort(Ki); 

			this.kx(); }; 

			this.Iq=function(jD)

			{ 

			var PT=jD.length+this.ace; 

			if(PT<this.sMP) PT=this.sMP; 

			this.rows=new Array(); 

			while(this.NV.childNodes.length>0) this.NV.removeChild(this.NV.childNodes[0]); 

			for(var ii=0;ii<PT;ii++)

			{ 

			var La; 

			if(ii<jD.length) La=jD[ii];

			else

			{ 

				La=new Array(); 

			for(var dA=0;dA<this.xKX.length;dA++) La[dA]=''; 

			}

			this.rY(La); 

			}

			};

			this.rY=function(La)

			{ 

			var tR=this; 

			for(var ii=0;ii<this.rows.length;ii++)

			{ 

			var ox=this.rows[ii]; 

			}

			var FY=this.rows.length+1;

			var il=new EH(this.tVN,La,FY,this.RMs,this.Bnx,this); 

			for(var ii in il.ZZQ)

			{

			if(!il.ZZQ[ii].Ed) continue; il.ZZQ[ii].Ed(function()

			{

			tR.xV(); 

			}

			);

			}

			this.rows.push(il);

			this.NV.appendChild(il.BZ); 

			};

			this.WU=function(La)

			{ 

			for(var ii in this.rows)

			{ 

			if(this.rows[ii].HM())

			{

			var il=this.rows[ii]; 

			for(var dA in il.ZZQ) il.ZZQ[dA].Iq(La[dA]); 

			return; 

			}

			}

			this.rY(La); 

			};

			this.xV=function()

			{

			var hV=0; 

			var Pv=0; 

			for(var ii in this.rows)

			{ 

			if(this.rows[ii].HM()) Pv++; 

			}

			if(Pv<this.ace) hV=this.ace-Pv; 

			if((this.rows.length+hV)<this.sMP) hV=this.sMP-(this.rows.length+hV); 

			for(var ii=0;ii<hV;ii++) this.rY(null);

			if(hV!=0)

			{

			this.jj(this.width); this.bv();

			}

			};

			for(var ii=0;ii<xKX.length;ii++)

			{

			var Mo=xKX[ii]; 

			var GF=new Mt(Mo);

			if(Mo.SDC) continue; 

			this.tVN[ii]=GF; 

			this.iB.appendChild(GF.BZ); 

			}

			this.NV=document.createElement("div"); 

			this.NV.style.whiteSpace='nowrap'; 

			this.NV.style.position='relative'; 

			this.Iq(hMO); 

			this.BZ.appendChild(this.iB);

			this.BZ.appendChild(this.NV); 

			this.TO=function()

			{

			var jD=new Array(); 

			for(var ii in this.rows)

			{

			var il=this.rows[ii]; 

			if(!il.HM()) jD.push(il.TO()); 

			}

			return jD; 

			};

			this.jj=function(XK)

			{

			this.width=XK; 

			if(XK<this.WUV) XK=this.WUV;

			this.BZ.style.width=XK+'px';

			var innerWidth=XK-(this.RMs+this.Bnx);

			var jY=this.tVN.length;

			var nD=0; 

			var kO=0; 

			var mE=new Array();

			var HJ=new Array(); nD+=(this.RMs+this.Bnx); 

			for(var ii=0;ii<jY;ii++)

			{

			var kF=this.tVN[ii];

			var x=kF.Mo.WUV; 

			if(isNaN(x)||x==undefined||x==null) x=0; mE[ii]=x; nD+=x; 

			var PK=kF.Mo.SMN; 

			if(isNaN(PK)||PK==undefined||PK==null) PK=Math.floor(innerWidth/jY); HJ[ii]=PK; kO+=PK; 

			}

			var tP=XK-nD; 

			var EK=0;

			var xx=new Array();

			for(var ii=0;ii<jY;ii++){ xx[ii]=mE[ii]+Math.floor((HJ[ii]/kO)*tP);

			this.tVN[ii].jj(xx[ii]);

			this.tVN[ii].Zs(EK); EK+=xx[ii];

			}

			for(var ii=0;ii<this.rows.length;ii++)

			{

			var il=this.rows[ii]; il.jj(XK,xx,this.RMs,this.Bnx); 

			}

			this.BZ.style.height=((this.rows.length+1.5)*1.5)+'em'; 

			};

			this.kx=function()

			{

			for(var ii=0;ii<this.rows.length;ii++)

			{

			var ox=this.rows[ii]; ox.FY=ii+1; ox.Xg(); 

			}

			};

			}

			function EH(tVN,La,FY,RMs,Bnx,fh)

			{

			var tR=this; 

			this.fh=fh; 

			this.FY=FY; 

			this.AHb=1.5; 

			this.tVN=tVN; 

			this.La=La; 

			if(this.La==null)

			{

			this.La=new Array();

			for(var ii=0;ii<this.tVN.length;ii++) this.La.push(''); 

			}

			this.BZ=document.createElement("div"); 

			this.BZ.style.whiteSpace='nowrap'; 

			this.BZ.style.position='absolute'; 

			this.Xg=function()

			{

			this.BZ.style.top=(this.FY*this.AHb)+'em'; 

			for(var ii in tR.ZZQ)

			{ 

			var Dx=tR.ZZQ[ii]; 

			if(Dx.Lu) Dx.Lu(this.FY+ii); 

			}

			};

			this.HM=function()

			{ 

			for(var ii in tR.ZZQ)

			{

			var Dx=tR.ZZQ[ii];

			if(Dx.TO()!='') return false; 

			}

			return true; 

			}; 

			this.Xg(); 

			this.XUK=document.createElement("div"); 

			this.XUK.style.position='absolute'; 

			this.XUK.style.left='0px'; 

			this.XUK.style.top='5px'; 

			this.XUK.style.overflow='visible'; 

			this.XUK.style.cursor='n-resize'; 

			this.XUK.innerHTML='<img src="web/dynamicImages/'+dg+'/vert-reorder.gif">'; Bv(this.XUK,this,function(Kj,gp,ox,Yn,qX,ei)

			{

			tR.fh.oG(Kj,gp,ox,Yn,qX,ei); 

			},

			function(Kj,gp,ox,Yn,qX,ei)

			{

				tR.fh.dM(Kj,gp,ox,Yn,qX,ei);

				},

				function(Kj,gp,ox,Yn,qX,ei)

				{

				tR.fh.tB(Kj,gp,ox,Yn,qX,ei); 

				}

				);

				this.BZ.appendChild(this.XUK);

				this.gtO=document.createElement("div");

				this.gtO.style.position='absolute'; 

				this.gtO.style.left=RMs+'px'; 

				this.gtO.style.top='0px';

				this.BZ.appendChild(this.gtO); 

				this.ZZQ=new Array();

				for(var ii=0;ii<tVN.length;ii++)

				{

				var GF=this.tVN[ii]; 

				var NP=GF.Mo.Ix(fh.VR,fh.jq);

				if(NP.SDC) continue; NP.BZ.style.position='absolute'; NP.BZ.style.top='0px'; NP.BZ.style.left='0px'; NP.Iq(this.La[ii]); 

				this.ZZQ[ii]=NP; 

				this.gtO.appendChild(NP.BZ);

				}

				this.JId=document.createElement('div');

				this.JId.style.position='absolute'; 

				this.JId.style.left='0px';

				this.JId.style.top='5px';

				this.JId.style.overflow='visible';

				this.JId.style.cursor='pointer';

				this.JId.innerHTML='<img src="web/dynamicImages/'+dg+'/cross.gif">';

				this.BZ.appendChild(this.JId);

				this.JId.onmousedown=function()

				{

				var rows=tR.fh.rows; 

				for(var ii=0;ii<rows.length;ii++)

				{

				var ox=rows[ii]; 

				if(ox==tR)

				{

					tR.fh.NV.removeChild(ox.BZ); 

					rows.splice(ii,1); 

					}

					}

					tR.fh.kx(); 

					tR.fh.xV();

					tR.fh.jj(tR.fh.width);

					tR.fh.bv();

					};

					this.jj=function(XK,xx)

					{

					var jY=this.tVN.length; 

					var EK=0; 

					for(var dA=0;dA<this.ZZQ.length;dA++)

					{

					var NP=this.ZZQ[dA]; 

						NP.jj(xx[dA]);

						NP.BZ.style.left=EK+'px'; 

						EK+=xx[dA];

					}

					this.JId.style.left=EK+24+'px'; 

					};

					this.TO=function()

					{

					var NA=new Array();

					for(var ii=0;ii<this.ZZQ.length;ii++)

					{

					var NP=this.ZZQ[ii]; NA[ii]=NP.TO();

					}

					return NA;

					};

					}

					function Ki(Kj,gp)

					{

					if(Kj.FY<gp.FY) return-1; 

					if(Kj.FY==gp.FY) return 0; 

					if(Kj.FY>gp.FY) return 1; 

					}

					function Mt(Mo)

					{

					this.Mo=Mo;

					this.BZ=document.createElement("div");

					this.BZ.style.position='absolute';

					this.BZ.style.overflow='hidden';

					this.BZ.style.whiteSpace='nowrap';

					this.BZ.style.width=Mo.WUV+'px'; 

					this.BZ.style.top='0px';

					this.BZ.style.height='1.7em'; 

					this.BZ.innerHTML=Mo.label;

					this.jj=function(XK)

					{

					this.BZ.style.width=XK+'px';

					};

					this.Zs=function(x)

					{

					this.BZ.style.left=x+'px';

					};

					}

					function VC(Vmu,sH)

					{

					this.Vmu=Vmu; this.sH=sH; 

					this.BZ=document.createElement('div');

					this.BZ.style.className='scheme-body';

					this.BZ.style.fontSize='12px';

					this.BZ.innerHTML=sH;

					}

					function gQ(Vmu,MNE,defaultValue)

					{

					this.Vmu=Vmu;

					this.MNE=MNE; 

					this.defaultValue=defaultValue; 

					this.SDC=true; 

					this.SMN=0; 

					this.WUV=0; 

					this.value=defaultValue; 

					this.label='wha?'; 

					this.Iq=function(Lb)

					{

					this.value=Lb; 

					};

					this.TO=function()

					{

					return this.value;

					}; 

					}

					function eM(Vmu,MNE,label,description,defaultValue,WUV)

					{

					this.Vmu=Vmu; 

					this.MNE=MNE; 

					this.label=label; 

					this.description=description;

					this.defaultValue=defaultValue; 

					this.WUV=WUV; 

					this.kKQ=document.createElement("textarea");

					this.kKQ.value=defaultValue; 

					this.kKQ.style.padding='0px'; 

					this.kKQ.style.margin='0px'; 

					this.kKQ.style.width=WUV+'px';

					this.kKQ.rows=6;

					this.BZ=document.createElement("div");

					this.BZ.appendChild(this.kKQ); 

					this.Ed=function(HiP)

					{

					this.kKQ.onmousedown=HiP; 

					this.kKQ.onkeypress=HiP; 

					}; 

					this.Lu=function(ii)

					{

					this.kKQ.tabIndex=ii; 

					};

					this.Iq=function(value)

					{

					this.kKQ.value=value; 

					};

					this.TO=function()

					{

					return this.kKQ.value; 

					};

					this.jj=function(XK)

					{

					if(XK<this.WUV) XK=this.WUV; 

					this.kKQ.style.width=(XK-10)+'px'; 

					this.BZ.style.width=XK+'px'; 

					};

					}

					function oE(Vmu,MNE,label,description,defaultValue,WUV,SMN)

					{

					this.Vmu=Vmu; 

					this.MNE=MNE; 

					this.label=label; 

					this.description=description;

					this.defaultValue=defaultValue; 

					this.WUV=WUV; 

					this.SMN=SMN; 

					this.input=document.createElement("input");

					this.input.value=defaultValue;

					this.input.style.padding='0px';

					this.input.style.margin='0px'; 

					this.BZ=document.createElement("div"); 

					this.BZ.appendChild(this.input);

					this.Ed=function(HiP)

					{ 

					this.input.onmousedown=HiP;

					this.input.onkeypress=HiP; 

					}; 

					this.Lu=function(ii)

					{ 

					this.input.tabIndex=ii;

					};

					this.Iq=function(value)

					{ 

					this.input.value=value; 

					}; 

					this.TO=function()

					{

					return this.input.value;

					};

					this.jj=function(XK)

					{

					if(XK<this.WUV) XK=this.WUV; 

					this.input.style.width=(XK-10)+'px';

					this.BZ.style.width=XK+'px'; 

					};

					this.jj(WUV);

					}

					function OW(Vmu,MNE,label,description,defaultValue,WUV,SMN)

					{

					this.Vmu=Vmu;

					this.MNE=MNE; 

					this.label=label; 

					this.description=description;

					this.defaultValue=defaultValue; 

					this.WUV=WUV;

					this.SMN=SMN; 

					this.BZ=document.createElement("div"); 

					this.BZ.className='scheme-body-text'; 

					this.BZ.style.fontWeight='bold'; 

					this.Iq=function(value)

					{

					this.value=value; NQ(this.BZ); 

					this.BZ.appendChild(document.createTextNode(defaultValue));

					}; 

					this.Iq(defaultValue); 

					this.TO=function()

					{

					return this.value;

					}; 

					this.jj=function(XK)

					{

					if(XK<this.WUV) XK=this.WUV; this.BZ.style.width=XK+'px';

					};

					this.jj(WUV); 

					}

					function Bc(Vmu,MNE,label,description,defaultValue,WUV,SMN)

					{ 

					this.Vmu=Vmu; 

					this.MNE=MNE; 

					this.label=label; 

					this.description=description; 

					this.defaultValue=defaultValue; 

					this.WUV=WUV; 

					this.SMN=SMN; 

					this.input=document.createElement("input");

					this.input.type='password';

					this.input.value=defaultValue;

					this.input.style.padding='0px'; 

					this.input.style.margin='0px'; 

					this.BZ=document.createElement("div"); 

					this.BZ.appendChild(this.input); 

					this.Ed=function(HiP)

					{

					this.input.onmousedown=HiP; 

					this.input.onkeypress=HiP; 

					};

					this.Lu=function(ii)

					{

					this.input.tabIndex=ii; 

					};

					this.Iq=function(value)

					{

					this.input.value=value; 

					};

					this.TO=function()

					{

					return this.input.value; 

					};

					this.jj=function(XK)

					{ 

					if(XK<this.WUV) XK=this.WUV; 

					this.input.style.width=(XK-10)+'px'; 

					this.BZ.style.width=XK+'px'; 

					}; 

					this.jj(WUV); 

					}

					function rI(Vmu,MNE,label,description,defaultValue)

					{ 

					this.Vmu=Vmu; 

					this.MNE=MNE;

					this.label=label;

					this.description=description;

					this.defaultValue=defaultValue; 

					this.input=document.createElement("input"); 

					this.input.type='checkbox'; 

					this.input.value='isChecked';

					this.input.style.padding='0px'; 

					this.input.style.margin='0px'; 

					this.BZ=document.createElement("div"); 

					this.BZ.appendChild(this.input); 

					this.Ed=function(HiP)

					{ 

					this.input.onmousedown=HiP; 

					this.input.onkeypress=HiP; 

					};

					this.Lu=function(ii)

					{

					this.input.tabIndex=ii; 

					};

					this.Iq=function(value)

					{ 

					setTimeout(function(Ok,checked)

					{ 

					return function()

					{

					Ok.checked=checked; 

					}; 

					}

					(this.input,value),1); 

					};

					this.TO=function()

					{

					return this.input.checked; 

					}; 

					this.jj=function(XK)

					{

					if(XK<this.WUV) XK=this.WUV;

					this.input.style.width=(XK-10)+'px';

					this.BZ.style.width=XK+'px'; 

					}; 

					if(this.defaultValue) this.Iq(true); 

					}

					function Ph(Vmu,label,description)

					{

					this.Vmu=Vmu; 

					this.label=label;

					this.description=description;

					this.BZ=document.createElement("div"); 

					this.BZ.style.fontSize='12px';

					this.BZ.style.fontWeight='bold';

					this.BZ.style.borderBottom='1px solid';

					this.BZ.appendChild(document.createTextNode(label));

					this.BZ.style.marginTop='20px'; 

					this.BZ.style.marginBottom='20px'; 

					this.jj=function(XK)

					{

					this.BZ.style.width=XK+'px';

					}; 

					this.Le=function(state)

					{

					this.BZ.style.marginTop='0px'; 

					}; 

					}

					function cX(Vmu,MNE,label,description,SND)

					{

					this.Vmu=Vmu;

					this.MNE=MNE;

					this.SND=SND; 

					this.label=label;

					this.description=description;

					var tR=this;

					this.GH=document.createElement('div');

					this.BZ=this.GH; 

					this.Ta=uid(); 

					var sH=''; 

					for(var ii in this.SND)

					{ 

						sH+='<INPUT type="radio" name="'+this.Ta+'" value="'+this.SND[ii].value+'">';

						}

					this.GH.innerHTML=sH;

					this.GH.style.textAlign='left'; 

					this.GH.style.whiteSpace='nowrap'; 

					var Ju=this.GH.getElementsByTagName('INPUT'); 

					this.MEt=new Array(); 

					this.KEb=new Array(); 

					for(var ii=0;ii<Ju.length;ii++)

					{

					this.MEt[ii]=Ju[ii]; 

					this.MEt[ii].style.margin='0px'; 

					this.MEt[ii].style.padding='0px';

					this.MEt[ii].style.width='3ex'; 

					this.MEt[ii].align='left'; 

					this.MEt[ii].onclick=function()

					{

						tR.Sv();

						}; 

						}

					for(var ii in this.MEt)

					{

					var CP=document.createElement('div'); 

					this.KEb[ii]=CP; 

						CP.style.display='inline'; 

						CP.className='scheme-body-text';

						CP.style.paddingLeft='10px';

						CP.appendChild(document.createTextNode(this.SND[ii].label));

						this.GH.replaceChild(CP,this.MEt[ii]);

						this.GH.insertBefore(this.MEt[ii],CP); 

						}

						var span=document.createElement('span'); span.style.width='100%';

						this.GH.appendChild(span);

						for(var ii in this.SND)

						{

						if(this.SND[ii].ZVx) this.Iq(this.SND[ii].value); 

						}

						}

							cX.prototype.Sv=function()

							{

						for(var ii in this.MEt)

						{

						if(this.MEt[ii].checked)

						{

						if(typeof this.value=='boolean') this.value=(this.MEt[ii].value=='true');

						else this.value=this.MEt[ii].value; 

						break;

						}

						}

						if(this.YIc)

						{

						this.YIc(); 

						}

						};

							cX.prototype.Iq=function(Lb)

							{

						var tR=this; 

						this.value=Lb; 

						for(var ii in this.MEt)

						{

						var checked; 

						if(typeof Lb=='boolean')

						{

							checked=(this.MEt[ii].value==(''+Lb)); 

							}

						else

							{

							checked=this.MEt[ii].value==Lb; 

							}

							setTimeout(function(kOH,checked)

							{

						return function()

							{

							kOH.checked=checked; 

							};

							}

							(this.MEt[ii],checked),1); 

							}

							};

							cX.prototype.TO=function()

							{

							return this.value; 

							};

							cX.prototype.jj=function(XK)

							{

							this.BZ.style.width=XK+'px'; 

							};

							cX.prototype.Hq=function()

							{

							var max=0; 

							for(var ii in this.KEb)

							{

							var XK=parseInt(this.KEb[ii].offsetWidth);

							if(XK>max) max=XK; 

							}

							return max; 

							};

							cX.prototype.eA=function(XK)

							{

							for(var ii in this.KEb)

							{

							var x=parseInt(this.KEb[ii].offsetWidth);

							this.KEb[ii].style.paddingRight=(XK-x)+15+'px'; 

							}

							};

							cX.prototype.Ed=function(HiP)

							{

							this.YIc=HiP; 

							};

							function Fh(Vmu,VR,jq,RvV)

							{

							this.Vmu=Vmu; 

							this.RvV=RvV; 

							this.VR=VR; 

							this.jq=jq; 

							var tR=this; 

							this.IHr=null; 

							this.ZW=function(HiP)

							{

							this.IHr=HiP; 

							};

							this.bv=function(nAx)

							{

							if(this.IHr!=null) this.IHr(nAx); 

							};

							this.rG=new Array();

							for(var ii in this.RvV)

							{

							var Dx=this.RvV[ii].Ix(VR,jq);

							this.rG[ii]=Dx;

							if(Dx.ZW) Dx.ZW(function()

							{

								tR.bv(); 

								}

								);

								}

								this.BZ=document.createElement('div'); 

							var table=document.createElement('table'); 

								table.className='scheme-body-text'; 

								table.cellPadding=0; 

								table.cellSpacing=0; 

								this.BZ.appendChild(table);

							var JH=document.createElement('tbody');

								table.appendChild(JH); 

								this.xXR=new Array();

								this.LCr=new Array();

								for(var ii in this.rG)

								{

								var Dx=this.rG[ii];

								if(Dx.isDisplayOnly) continue; 

								var Pa=document.createElement('tr'); JH.appendChild(Pa);

								var mA=document.createElement('td'); 

								var iH=document.createElement('td'); 

									mA.vAlign='top'; 

									iH.vAlign='top'; 

									iH.style.fontSize='1px';

									Pa.appendChild(mA);

									Pa.appendChild(iH);

								var label=document.createElement('span'); 

									label.style.fontSize='13px'; 

									label.style.fontWeight='bold'; 

									label.style.whiteSpace='nowrap';

									label.style.paddingRight='5ex';

									label.appendChild(document.createTextNode(Dx.label));

									label.className='scheme-body-text';

									mA.appendChild(label); 

									iH.appendChild(Dx.BZ); 

									iH.style.paddingBottom='0.3em'; 

								this.xXR.push(label);

								if(Dx.description!=undefined&&Dx.description!=null&&Dx.description!='')

								{

								var tu=document.createElement('tr');

									JH.appendChild(tu); 

					var cg=document.createElement('td');

					var tW=document.createElement('td');

						tu.appendChild(cg);

						tu.appendChild(tW);

					var XZ=document.createElement('span');

						XZ.style.fontSize='11px'; 

						tW.style.paddingTop='0.3em';

						tW.style.paddingBottom='0.3em';

						XZ.appendChild(document.createTextNode(Dx.description));

						tW.appendChild(XZ);

					this.LCr[ii]=XZ; 

					}

					var LY=document.createElement('tr');

						JH.appendChild(LY); 

					var HB=document.createElement('td');

						HB.colSpan=2;

						LY.appendChild(HB);

						HB.style.height='1ex'; 

						}

						}

						Fh.prototype.dl=function()

						{

					var max=0; 

					for(var ii in this.rG)

					{

					var Dx=this.rG[ii]; 

					if(Dx instanceof cX)

					{

					var XK=Dx.Hq(); 

					if(XK>max) max=XK; 

					}

					}

					for(var ii in this.rG)

					{

					var Dx=this.rG[ii]; 

					if(Dx instanceof cX)

					{ 

					Dx.eA(max); 

					}

					if(Dx.dl) Dx.dl(); 

					}

					};

					Fh.prototype.AX=function(dRI)

					{

					for(var ii in this.rG)

					{

					var Dx=this.rG[ii];

					var sq=dRI[Dx.MNE];

					if(sq!=undefined) Dx.Iq(sq); 

					}

					};

					Fh.prototype.wO=function()

					{

					for(var ii in this.rG)

					{

					var Dx=this.rG[ii]; 

					if(Dx.Iq)

					{ 

					this.VR.DRh.setAttribute(Dx.MNE,Dx.TO());

					}

					if(Dx.wO){ Dx.wO(); 

					}

					}

					for(var ii in this.rG)

					{

					var Dx=this.rG[ii];

					if(Dx.pq) Dx.pq();

					}

					};

					Fh.prototype.jj=function(XK)

					{

					this.BZ.style.width=XK+'px'; 

					};

					function fe()

					{

					return [new ConfigTextField('attributeName','title','description','defaultValue',200,100)]; 

					}

					function sb()

					{

					return [new ConfigRichTextArea('content','')]; 

					}

					function oX()

					{

					var xW=new ConfigTextField('link','Link label (e.g. BBC News)','','',200,20); 

					var ac=new ConfigTextField('url','URL (e.g. www.bbc.co.uk/news or http://www.bbc.co.uk/news)','','',300,80); 

					return [ new ConfigTable('links',[xW,ac],[['Example link','http://www.bbc.co.uk/news']]) ];

					}

					function Rb(qYE,ii)

					{

					return function()

					{

					qYE(ii); 

					};

					}

					function YD(Rbg)

					{

					var BZ=document.createElement("div");

					var vU=6; 

					var TD='#5D5D5D'; 

					var MJ=16;

					var YA=5;

					var Al=0;

					for(var ii=0;ii<=10;ii++)

					{

					var hueOffset=36*ii;

					var vt=0; 

					if(ii==10)

					{

					hueOffset=0; vt=-100; 

					}

					var qh=JI(Al+(MJ+YA)*ii,0,MJ,MJ,vU,

					(new UY(nR)).EN(hueOffset,vt),

					(new UY(ET)).EN(hueOffset,vt),TD);

						BZ.appendChild(qh); qh.onmousedown=Rb(Rbg,ii); 

						}

					var Yx=Al+(11*(MJ+YA))-YA; 

					var tj=MJ; 

						BZ.style.width=Yx+'px'; 

						BZ.style.height=tj+'px';

						BZ.style.position='relative'; 

						BZ.style.height=MJ+'px'; 

					return BZ; 

					}

					function JI(left,top,width,height,DR,FAT,bodyColor,TD)

					{

					var BZ=document.createElement('div'); 

						BZ.style.cursor='pointer';

						BZ.style.fontSize='1px'; 

						BZ.style.position='absolute';

						BZ.style.left=left+'px'; 

						BZ.style.top=top+'px'; 

						BZ.style.width=(width-2)+'px';

						BZ.style.height=(height-2)+'px'; 

						BZ.style.border='1px solid '+TD; 

						BZ.innerHTML='		<div style="width:'+(width-2)+'px; height:'+DR+'px; background-color: #'+FAT+'"></div>		<div style="width:'+(width-2)+'px; height:'+((height-2)-DR)+'px; background-color: #'+bodyColor+'"></div>'; 

					return BZ;

					}

					function SR(bq,RvV,dRI,VR,jq,IHr)

					{

					var rG=new Array();

					var pi=false; 

					for(var ii=0;ii<RvV.length;ii++)

					{

					var TM=RvV[ii];

					var Mc=TM.Ix(VR,jq); rG[ii]=Mc; 

					if(ii==0&&Mc.Le) Mc.Le(true);

					if((!pi)&&Mc instanceof Ph)

					{

					pi=true; Mc.BZ.marginTop='0px'; 

					}

					if(Mc.Iq)

					{ 

					if(dRI!=null&&dRI!=undefined)

					{

					var sq=dRI[TM.MNE]; 

					if(sq!=undefined) Mc.Iq(sq); 

					}

					}

					if(Mc.AX)

					{

					if(dRI!=null&&dRI!=undefined)

					{

					Mc.AX(dRI);

					}

					}

					if(!JP(Mc))

					{

					bq.appendChild(Mc.BZ);

					}

					if(Mc.ZW) Mc.ZW(IHr); 

					}

					return rG; 

					}

					function kj(rG,width,Zt)

					{ 

					for(var ii=0;ii<rG.length;ii++)

					{

					var Mc=rG[ii]; 

					if(!JP(Mc))

					{

					if(Mc.jj) Mc.jj(width); 

					if(Mc.qd) Mc.qd(Zt); 

					}

					}

					}

					function JW(rG)

					{

					var bq=document.getElementById('panel-edit');

					var XK=WW()-50; bq.style.width=XK+'px';

					for(var ii=0;ii<rG.length;ii++)

					{

					var Mc=rG[ii];

					if(!JP(Mc)){ Mc.jj(XK);

					}

					}

					}

					function JP(Mc)

					{

					if(Mc.SDC) return true; 

					else return false; 

					}

					function Cd()

					{

					}

						Cd.prototype.hl=function()

						{

						};

						function ZV(TG,Kv)

						{

						var tR=this; 

						this.Kv=Kv;

						this.attributes=new Object();

						this.eTR=new Object();

						this.TG=TG; this.ST();

						this.Hr(function()

						{

						tR.rs().hl();

						}

						);

						}

						ZV.prototype.Lk=function()

						{

						return this.Kv.rL; 

						};

						ZV.prototype.UA=function()

						{

						if(this.SnR) this.SnR.call(this.rs());

						};

						ZV.prototype.Hr=function(SnR)

						{

						this.SnR=SnR; 

						};

						ZV.prototype.xq=function()

						{

						if(this.OkH) this.OkH.call(this.rs()); 

						};

						ZV.prototype.oa=function(OkH)

						{

						this.OkH=OkH; 

						};

						ZV.prototype.rn=function()

						{

						return(this.TG.oe=='MAXIMIZED');

						}; 

						ZV.prototype.Yh=function()

						{

						if(this.ZsY) this.ZsY.call(this.rs(),this.rn());

						}; 

						ZV.prototype.eq=function(ZsY)

						{

						this.ZsY=ZsY; 

						};

						ZV.prototype.ST=function()

						{

						try

						{

						this.attributes=eval('('+this.TG.content+')');

						}

						catch(qX)

						{

						alert(qX);alert(this.TG.content);

						}

						if(this.attributes==null||this.attributes==undefined) this.attributes=new Object(); 

						};

						ZV.prototype.oZ=function()

						{

						this.TG.content=KN.stringify(this.attributes); sW(this.TG);

						};

						ZV.prototype.rs=function()

						{

						return this.TG.VR; 

						};

						ZV.prototype.kb=function(sH)

						{

						this.mG().innerHTML=sH; this.Mg(); 

						}; 

						ZV.prototype.mG=function()

						{

						return this.TG.Yi; 

						};

						ZV.prototype.vf=function()

						{

						return this.TG.ib; 

						};

						ZV.prototype.RC=function()

						{

						NQ(this.mG());

						};

						ZV.prototype.Mg=function()

						{

						this.TG.Mg();

						}; 

						ZV.prototype.wJ=function(state)

						{

						};

						ZV.prototype.ea=function()

						{

						this.TG.mMZ.style.display='none';

						}; 

						ZV.prototype.lZ=function(state)

						{

						this.TG.Ef.style.visibility=state?'visible':'hidden';

						}; 

						ZV.prototype.getAttribute=function(name)

						{

						return this.attributes[name]; 

						};

						ZV.prototype.setAttribute=function(name,value)

						{

						this.attributes[name]=value; 

						};

						ZV.prototype.removeAttribute=function(name)

						{

						delete this.attributes[name];

						}; 

						ZV.prototype.lH=function()

						{

						return this.attributes; 

						};

						ZV.prototype.pV=function(name)

						{

						return this.eTR[name]; 

						};

						ZV.prototype.GT=function(name,value)

						{

						this.eTR[name]=value; 

						};

						ZV.prototype.PJ=function(name)

						{

						delete this.eTR[name]; 

						};

						ZV.prototype.EP=function()

						{

						return this.eTR; 

						};

						ZV.prototype.RL=function(){};

						ZV.prototype.qS=function(){};

						ZV.prototype.di=function(){}; 

						ZV.prototype.lJ=function(){};

						ZV.prototype.Zp=function(){};

						ZV.prototype.mL=function(name)

						{

						};

						ZV.prototype.lO=function(name,value)

						{

						};

						ZV.prototype.Ff=function(name)

						{

						};

						ZV.prototype.WO=function()

						{

						};

						ZV.prototype.Do=function()

						

						{

						};

						ZV.prototype.vM=function()

						{

						};

						ZV.prototype.um=function()

						{

						};

						ZV.prototype.VJ=function()

						{

						};

						ZV.prototype.KO=function()

						{

						};

						ZV.prototype.xL=function(){};

						ZV.prototype.Nl=function(){};

						ZV.prototype.jj=function(){};

						ZV.prototype.Fg=function(){};

						ZV.prototype.nk=function(){}; 

						ZV.prototype.he=function(Lb)

						{

			this.TG.he(Lb);

			};

					ZV.prototype.nL=function(){};

					ZV.prototype.SX=function(){};

					ZV.prototype.Rn=function(){}; 

					ZV.prototype.Bv=function(){}; 

					ZV.prototype.co=function(){}; 

					ZV.prototype.FJ=function(){}; 

					ZV.prototype.jG=function(KOn)

					{ 

			this.KOn=KOn; 

			};

					ZV.prototype.PU=function(df,innerWidth,uZ)

					{ 

			if(this.KOn) this.KOn.call(this.rs(),innerWidth,uZ,df); 

			};

					ZV.prototype.Vd=function(oxc)

			{this.oxc=oxc;

			};

					ZV.prototype.tV=function()

					{

			if(this.oxc) 

			return this.oxc.call(this.rs()); 

			else 

			return false; 

			}; 

					ZV.prototype.UQ=function(fvB)

					{

			this.fvB=fvB;

			};

					ZV.prototype.rq=function()

					{

			if(this.fvB) this.fvB.call(this.rs()); 

			else 

			return false; 

			};

					ZV.prototype.fV=function(NBs)

					{

					this.NBs=NBs; 

					};

					ZV.prototype.Ej=function()

					{

			if(this.NBs) this.NBs.call(this.rs()); 

			else

			return false; 

			};

					ZV.prototype.Qu=function(){};

					ZV.prototype.rr=function(){}; 

					ZV.prototype.rX=function(id){}; 

					ZV.prototype.HF=function(){};

					ZV.prototype.is=function(){}; 

					ZV.prototype.ne=function(){}; 

					ZV.prototype.JD=function(){}; 

					ZV.prototype.Zn=function(){}; 

					ZV.prototype.Lw=function(mxc){};

					ZV.prototype.tI=function(){}; 

					ZV.prototype.Ra=function(){}; 

					ZV.prototype.NE=function(FYM,YSm,HiP)

					{

			var Yb=KN.stringify(YSm); 
			//HF("/"+excellenPath+"/_api/ws/"+FYM,Yb,function(GN)
			HF(FYM+".php",Yb,function(GN)
			{
			//alert(GN);
			var NS=eval('('+GN+')'); HiP(NS); 
			
			}

			);

			};

			var Tg=new Array();

			var Ev=-1; 

			var Dg=-2; 

			var uE=-3;

			var nH=-4;

			var nf=-5;

			var gE=-6; 

			var CK=-7; 

			var Ee=-8; 

			var BE=-9; 

			var VQ=-10; 

			var ws=-11; 

			var Td=-12; 

			var Db=-13; 

		function XT()

				{

				Tg[Ev]=xi; 

				Tg[Dg]=qr; 

				Tg[uE]=gu; 

				Tg[nH]=je; 

				Tg[nf]=gi; 

				Tg[gE]=vI; 

				Tg[CK]=YQ; 

				Tg[Ee]=Ob; 

				Tg[BE]=iP; 

				Tg[VQ]=eE;

				Tg[ws]=LN; 

				Tg[Td]=So; 

				Tg[Db]=DO; 

				Tg[NZ]=Xh; 

				Tg[iO]=fp; 

				Tg[iw]=AD; 

				Tg[dC]=pp; 

				}

		function Be(ZT,Ku,HiP,awP)

		{

		if(ZT>0)

		{

		HiP(IT); 

		return; 

		}

		if(!Tg[ZT])

		{ 

		var Aj=false; 

		if(Aj)

		{

				HF('/_api/widgetSource?id='+ZT,function(data)

		{

		var Kv=new Function();

			Kv.prototype=new Cd();

		var hm=Kv.prototype; 

		var Oc=eval(data); 

		var kN=Oc[0]; 

		var rL=eval('('+Oc[1]+')');

		var xE=Oc[2]; Kv.rL=rL; 

		var Qe=new Array();

				eval(kN); 

				Tg[widgetClassId]=Kv; 

		}

		);

		}

		}

				HiP(Tg[ZT]); 

		}

		function DO(){ }DO.rL=[ new ConfigFieldAlignedGroup([ new ConfigOptionGroup('startWeekOnMonday','First day of the week','',[new ConfigOption('Sunday',false,true),new ConfigOption('Monday',true,false)]) ]) ]; 

				DO.prototype=new Cd();

				DO.prototype.hl=function()

			{

		var tR=this; 

		this.startWeekOnMonday=this.DRh.getAttribute('startWeekOnMonday');

		if(!this.DRh.getAttribute('items'))

		{

		var Xm=new Date(); Xm.setHours(0,0,0,0);

		var dm=Xm.getDate(); Xm.setDate(dm>25?26:dm+2);

		var ur=new Date(Xm.getTime()); ur.setDate(ur.getDate()+1);

		this.DRh.setAttribute('items',[tR.Fe(Xm.getTime(),'Lunchtime: Buy a new beanie hat'),tR.Fe(ur.getTime(),'6pm: Go rollerblading')]); 

		}

		var items=this.DRh.getAttribute('items'); 

		this.items=items; 

		var Yn=new Date(); Yn.setDate(1);Yn.setHours(0,0,0,0); 

		this.ice=Yn;

		this.mM(); 

		this.DRh.Mg(); 

		}; 

		DO.prototype.Fe=function(datestamp,text)

		{

		var item=new Object(); item['datestamp']=datestamp; item['text']=text; 

		return item; 

		};

		DO.prototype.mM=function(text)

		{

		this.mF=Cs[this.DRh.TG.wS]; 

		this.DRh.RC(); 

		this.BZ=document.createElement('div');

		this.BZ.style.cursor='default';

		this.BZ.appendChild(this.NR(this.ice));

		this.DRh.mG().appendChild(this.BZ); 

		};

			DO.prototype.dT=function(ice)

			{

		var tR=this;

		var QJ=document.createElement('div');

			QJ.style.width='10px'; 

			QJ.style.height='14px'; 

			QJ.style.cursor='pointer'; 

			QJ.onclick=function()

			{

		var Qw=tR.ice.getMonth(); 

		if(Qw==0)

		{

			tR.ice.setMonth(11);

			tR.ice.setFullYear(tR.ice.getFullYear()-1);

			}

			else

			{

			tR.ice.setMonth(Qw-1); 

			}

			tR.mM(); 

			};

			if(isIE) QJ.ondblclick=QJ.onclick; En(QJ,'web/dynamicPng/'+dg+'/chevron-left.png');

			var TY=document.createElement('div'); 

				TY.style.width='10px';

				TY.style.height='14px';

				TY.style.cursor='pointer'; 

				TY.onclick=function()

				{

			var Qw=tR.ice.getMonth(); 

			if(Qw==11)

			{ 

				tR.ice.setMonth(0); 

				tR.ice.setFullYear(tR.ice.getFullYear()+1);

				}

				else

				{

					tR.ice.setMonth(Qw+1); 

					}

					tR.mM(); 

					};

				if(isIE) TY.ondblclick=TY.onclick;

				En(TY,'web/dynamicPng/'+dg+'/chevron-right.png'); 

				var Cw=document.createElement('div'); 

					Cw.style.width='100%'; 

					Cw.className='scheme-body-text'; 

					Cw.style.paddingTop='3px';

					Cw.style.paddingBottom='3px';

					Cw.style.fontSize='14px'; 

					Cw.style.fontWeight='bold';

					Cw.appendChild(document.createTextNode(qg(ice,'MMM  yyyy')));

					Cw.style.cursor='pointer';

					Cw.onmouseup=function()

					{

				var wX=new Date(); 

					tR.ice.setMonth(wX.getMonth());

					tR.ice.setFullYear(wX.getFullYear()); 

					tR.mM(); 

					}; 

				var Pa=document.createElement('tr'); 

				var Tb=document.createElement('td'); 

					Tb.align='center'; 

					Tb.vAlign='middle';

					Pa.appendChild(Tb); 

					Tb.appendChild(QJ); 

				var jS=document.createElement('td');

					jS.colSpan=5; jS.align='center';

					jS.vAlign='middle'; 

					Pa.appendChild(jS); 

					jS.appendChild(Cw); 

				var Qd=document.createElement('td');

					Qd.align='center'; 

					Qd.vAlign='middle'; 

					Pa.appendChild(Qd); 

					Qd.appendChild(TY); 

				return Pa; 

				};

					DO.prototype.NR=function(ice)

					{

						var tR=this; 

						var Bk=this.startWeekOnMonday; 

						var wX=new Date();

						var Mh=['Sun','Mon','Tue','Wed','Thu','Fri','Sat'];

						if(Bk) Mh=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'];

							var table=document.createElement('table');

							table.cellPadding=0; table.cellSpacing=0; 

							table.align='center'; 

							table.border=0; 

							table.className='scheme-body-text'; 

							table.style.textAlign='center'; 

							var JH=document.createElement('tbody'); 

							table.appendChild(JH); JH.appendChild(this.dT(ice)); 

							var ha=document.createElement('tr'); 

							var xR=document.createElement('td');

							xR.appendChild(Uf(5));

							ha.appendChild(xR); 

							JH.appendChild(ha); 

							var Hu=document.createElement('tr');

							JH.appendChild(Hu); 

							for(var ii in Mh)

							{

								var gr=document.createElement('td'); 

								Hu.appendChild(gr); 

								var eT=document.createElement('div'); 

								gr.appendChild(eT); 

								eT.className='scheme-body-text';

								eT.style.fontSize='10px'; 

								eT.style.whiteSpace='nowrap'; 

								eT.appendChild(document.createTextNode(Mh[ii])); 

							}

							var hW=Bk?1:0; 

							var Yn=new Date(ice.getTime());; Yn.setDate(1); 

							var Ti=Yn.getDay(); 

							Yn=new Date(ice.getTime());;

							var Jg=0; Yn.setDate(27); 

							var bT=Yn.getMonth(); 

							while(true)

							{ 

								Yn.setTime(Yn.getTime()+1000*60*60*24); 

								if(Yn.getMonth()==ice.getMonth()) Jg=Yn.getDate(); 

								else break; 

							}

							var KT=document.createElement('tr'); 

							for(var ii=hW;ii<(Ti+((Bk&&Ti==0)?7:0));ii++)

							{

								KT.appendChild(document.createElement('td')); 

							}

							var ll=new Date(ice.getTime()); 

							for(var sL=1;sL<=Jg;sL++) 

							{

								ll.setDate(sL);

								if(KT==null) KT=document.createElement('tr');

								var jf=document.createElement('td');

								var TB=document.createElement('div');

								TB.className='scheme-body-text'; 

								TB.style.whiteSpace='nowrap'; 

								TB.style.cursor=tR.DRh.TG.ou()?'pointer':'default'; 

								TB.style.textAlign='center'; 

								TB.style.paddingLeft='8px';

								TB.style.paddingRight='8px';

								TB.style.paddingTop='8px';

								TB.style.paddingBottom='4px'; 

								if(isIE) TB.style.width='32px';

								jf.vAlign='middle';

								jf.align='center'; 

								jf.appendChild(TB);

								KT.appendChild(jf);

								var Ar=null;

								if((ll.getDay()==0)||(ll.getDay()==6))

								{

									Ar='#'+this.mF; 

								}

								var Et=null; 

								var lw=null; 

								var cS=(ll.getDate()==wX.getDate()&&ll.getMonth()==wX.getMonth()&&ll.getFullYear()==wX.getFullYear()); 

								if(cS)

								{

									Et='bold'; lw='14px'; 

								}

								if(Et) TB.style.fontWeight=Et; 

								if(lw){ TB.style.fontSize=lw; 

								}

								else

								{

									TB.style.fontSize='14px'; 

								}

								if(Ar) TB.style.color=Ar;

								TB.appendChild(document.createTextNode(''+sL));

								if(cS) TB.style.textDecoration='underline'; 

								var Jq=null; 

								for(var ii in this.items)

								{

									var xm=this.items[ii]; 

									if(xm['datestamp']==ll.getTime()) Jq=xm; 

								}

								var MX=function(Jq,ll)

								{

								if(Jq){ En(TB,'web/dynamicPng/'+(cS?dg:tR.mF)+'/date-loop2.png');

								var text=Jq['text'];

								var aS=document.createElement('div');

								aS.style.width='260px';

								var HW=kC(qg(ll,'MMM d, y'),12,!false);

								HW.style.paddingBottom='8px'; 

								aS.appendChild(HW);

								var Xp=wZ(text,12,false);

								Xp.style.whiteSpace='normal'; 

								aS.appendChild(Xp); 

								pI.Vh(TB,null,null,aS,false); 

								}

								TB.onmousedown=function(FbK)

								{

									if(!tR.DRh.TG.ou()) return; 

									if(Jq==null){ Jq=tR.Fe(ll.getTime(),''); tR.items.push(Jq); 

								}

								var aS=document.createElement('div'); 

								aS.style.width='260px'; 

								aS.style.padding='5px 10px 5px 10px'; 

								var HW=kC('Editing: '+qg(ll,'MMM d, y'),12,!false); 

								HW.style.paddingBottom='8px';

								aS.appendChild(HW); 

								var Tt=new Rr(null,240,Math.max(40,lL(Jq['text'],240,'scheme-body-text',12,false,false)),function(){ },function(value,qET,iie)

								{

									if(qET)

								{

									if(GP(value)=='')

								{

									PE(Jq,tR.items);

								}

								else

								{

									Jq['text']=value; 

								}

								DO.lfL.position(-10000,-10000); tR.DRh.oZ(); tR.mM();

								}

								},

								function(){ if(DO.lfL) DO.lfL.AP(); 

								},

								Jq['text'],12,'normal','scheme-body-text',true,function()

								{

									return!tR.DRh.TG.ou();

								}

									);

								aS.appendChild(Tt.BZ);

								var cM=es(FbK); cM.x+=10;

								if(!DO.lfL){ DO.lfL=new LE(cM.x,cM.y,false,Dn-2,'00',aS,false,!true,null);

								}

								else

								{

									if(DO.JCZ) DO.JCZ.nP(); 

									DO.lfL.QX(aS); 

									DO.lfL.position(cM.x,cM.y,false); 

								}

								DO.JCZ=Tt; setTimeout(function(){Tt.SN();

								},

								200); 

								};

								}

								(Jq,new Date(ll));

								if(ll.getDay()==(Bk?0:6)) 

								{

									JH.appendChild(KT); 

									KT=null; 

								}

								}

								if(KT!=null) JH.appendChild(KT); 

								return table; 

								};

								function So(){ }So.rL=[]; 

								So.PpP=15;

								So.prototype=new Cd();

								So.prototype.hl=function()

								{

									var tR=this; 

									this.DRh.RC();

									this.pfg=new Array();

									var oV=document.createElement('div');

									this.oV=oV; 

									if(!this.DRh.getAttribute('items'))

								{

									this.DRh.setAttribute('items',[tR.Fe()]); 

								}

								var items=this.DRh.getAttribute('items');

								this.items=items;

								for(var ii in items)

								{

									var item=items[ii];

									this.oV.appendChild(this.CM(item,this.DRh.TG.innerWidth));

								}

								this.DRh.mG().appendChild(oV);

								if(this.DRh.TG.ou()) this.DRh.mG().appendChild(this.Qk()); 

								this.DRh.jG(function(innerWidth,uZ,df)

								{

									if(!df)

								{

									tR.DRh.Mg(); tR.oI(); tR.DRh.Mg(); 

								}

								}

									); 

								this.DRh.Mg(); 

								this.oI(); }; 

								So.prototype.Qk=function(item,width)

								{

									var tR=this; 

									var wq=document.createElement('div');

									wq.style.cursor='pointer'; 

									wq.style.paddingTop='7px';

									//******************** Comment ********************
									// Call Function Create the Image tag
									
									var Jt=VD(); Jt.width=11; 

									Jt.height=11; Jt.src='web/images/add-item.gif';

									//******************** Comment ********************
									// Call function for Create New Div
									
									var CP=kC('new item',11,false);

									wq.style.paddingBottom='10px';

									wq.appendChild(wu([Jt,Nj(5),CP])); 

									wq.onmouseover=function()

									{

										CP.style.textDecoration='underline'; 

									};

									wq.onmouseout=function()

									{

										CP.style.textDecoration='none'; 

									};

									wq.onclick=function()

									{

										var eH=tR.Fe('');

										tR.items.push(eH);

										var Tt; 

										tR.oV.appendChild(tR.CM(eH,tR.DRh.TG.innerWidth,function(gG)

										{

											Tt=gG; 

										}

											));

										tR.DRh.Mg();

										tR.oI();

										tR.DRh.Mg();

										Tt.SN();

									};

									return wq; 

									};

									So.prototype.CM=function(item,width,lGF)

									{

										var tR=this;

										var BZ=document.createElement('div');

										var Tt=new Rr(null,width-So.PpP,pw('scheme-body-text',12,false,false),function(){ },function(value,qET,iie)

							{

									if(qET)

							{

									item['text']=value; tR.DRh.oZ(); 

							}

							if(iie&&value!=''){ }

							},

							function()

							{

								tR.DRh.Mg();

							},

							item['text'],12,item['isBold']?'bold':'normal','scheme-body-text',false,function()

							{

								return!tR.DRh.TG.ou(); 

							}

							); 

							if(lGF) lGF(Tt);

							this.pfg.push(Tt); 

							var lf=document.createElement('div');

							lf.style.fontSize='0px'; 

							lf.style.width='11px'; 

							lf.style.height='11px'; 

							lf.style.marginTop='2px'; 

							lf.style.marginLeft='5px'; 

							lf.style.cursor='pointer'; 

							//******************** Comment ********************
							// Call function for set the Icon
							
							En(lf,'web/images/todo-cross.png'); 

							lf.onclick=function()

							{

								PE(item,tR.items); 

								tR.DRh.oZ(); 

								BZ.parentNode.removeChild(BZ); 

								tR.oI();

								tR.DRh.Mg(); 

								tR.oI();

								tR.DRh.Mg(); 

							};

							if(!this.DRh.TG.ou()) lf.style.display='none'; 

							var table=wu([Tt.BZ,lf],true); 

							table.style.paddingTop='5px'; 

							table.style.paddingBottom='5px';

							BZ.appendChild(table); 

							var mF=Cs[this.DRh.TG.wS]; 

							BZ.style.borderBottom='1px solid #'+mF; 

							var tw=qg(new Date(item['createDate']),'MMM d, y       hh:mm a');

							pI.Vh(BZ,'Created: '+tw,null,null,false);

							return BZ; 

							};

							So.prototype.oI=function()

							{

								for(var ii in this.pfg)

							{

								this.pfg[ii].jj(this.DRh.TG.innerWidth-So.PpP);

							}

							};

							So.prototype.Fe=function(text)

							{

								var item=new Object();

								item['createDate']=new Date().getTime();

								item['text']=text!=null?text:'Hello, world!'; 

								return item; 

							};

							function eE(){ }eE.rL=[ new ConfigFieldAlignedGroup([ new ConfigOptionGroup('digits','Display mode','',[new ConfigOption('12 hour','12',true),new ConfigOption('24 hour','24',false)]),new ConfigTextField('correction','Time offset (hours)','E.g. if you are on the US West Coast then enter -3 to make this clock display East Coast times.',0,30) ]) ]; 

							eE.prototype=new Cd(); 

							eE.prototype.hl=function()

							{

								var tR=this; 

								if(!this.DRh.getAttribute('digits')) this.DRh.setAttribute('digits','12'); 

								if(!this.DRh.getAttribute('correction')) this.DRh.setAttribute('correction',0);

								this.DRh.TG.GK(true);

								this.DRh.RC();

								this.er();

								var uf=new Array();

								uf['correction']=parseInt(this.DRh.getAttribute('correction'))*3600*1000; uf['digits']=this.DRh.getAttribute('digits');

								uf['faceColor']='0xffffff'; uf['bodyColor']='0x0066FF'; uf['type']='ANALOG';

								this.DRh.mG().innerHTML=Bd('web/images/flash/clockWidgetDigital.swf',this.Ukg,this.nSM,uf); 

								this.DRh.jG(function(innerWidth,uZ,df)

							{

								if(!df){ tR.er(); tR.hl(); 

							}

							}

							); };

							eE.prototype.er=function()

							{

								this.Ukg=this.DRh.TG.innerWidth; 

								this.nSM=this.DRh.TG.uZ-5; 

							};

							function IT(){ }IT.prototype=new Cd(); 

							IT.rL=[]; 

							IT.Rm=function(VR)

							{

								var BZ=document.createElement('div');

								BZ.appendChild(fk('Safe mode enabled. Click here to load this widget',12,false,0,function()

							{

								VR.DRh.RC(); VR.hl(); 

							}

							));

							BZ.style.textDecoration='underline';

							VR.DRh.mG().appendChild(BZ); 

							};

							IT.prototype.hl=function(Hk)

							{

								this.HE=0; 

								this.hS=0;

								this.Qwp=false; 

								if(Hk)

							{

								IT.Rm(this); 

								return; 

							}

							var tR=this;

							this.DRh.oa(function()

							{tR.hl(); });

							this.DRh.Lk=function()

							{

								var aq=eval('('+this.TG.ri['configElementsJson']+')');

								return [ new ConfigFieldAlignedGroup(aq) ];

							}; 

							this.DRh.RC(); 

							this.DRh.Hr(function(){ tR.hl(); }); 

							var ri=this.DRh.TG.ri; 

							var url;

							var kt=false; 

							var Vm=new Array();

							var rL=eval('('+ri['configElementsJson']+')'); 

							var UJ=new Object(); 

							for(var ii in rL)

							{

								var TM=rL[ii]; 

								if(TM.defaultValue) UJ[TM.MNE]=TM.defaultValue; 

								if(TM.hMO) UJ[TM.MNE]=KN.stringify(TM.hMO); 

								}

								for(var ii in this.DRh.attributes)

								{

									var value=this.DRh.attributes[ii]; 

									if(typeof value=='object') value=KN.stringify(value); UJ[ii]=value; 

								}

								JF=ri['sourceUrl']!=''; 

								if(JF)

								{

									for(var ii in UJ){ Vm[ii]=UJ[ii]; }

									if(ri['sendUserToken']) Vm['ppUserId']=this.DRh.TG.ew; 

									if(ri['horizontalOffset']) this.HE=ri['horizontalOffset'];

									if(ri['verticalOffset']) this.hS=ri['verticalOffset'];

									if(ri['disableScrollbars']) this.Qwp=ri['disableScrollbars'];

									if((this.HE!=0)||(this.hS!=0)) this.Qwp=true; 

									if(ri['attributeTransmission']=='GET'){ url=ri['sourceUrl']; }

									else

								{

									url=ri['sourceUrl'];

									kt=true; 

								}

								}

								else

								{

									Vm['widgetId']=this.DRh.TG.ZT; 

									if(ri['widgetSourceId']||ri['widgetSourceId']==0) Vm['widgetSourceId']=ri['widgetSourceId'];

									if(tQ(UJ)==0){ kt=false; url=IT.fE(Vm); }

									else

								{

									kt=true;

									Vm['widgetAttributes']=KN.stringify(UJ);

									url=IT.fE(Vm);

								}

								}

								if(kt)

								{

									var KW=this.Hi(); setTimeout(function(){ or(url,KW,Vm); 

								},

									1); 

								}

								else

								{

									setTimeout(function(){ tR.Hi(Da(url,Vm)); },1); 

									}

									};

									IT.dnO=0; 

									IT.prototype.Hi=function(url)

									{

										var tR=this; 

										this.DRh.TG.GK(true); 

										this.DRh.TG.ib.style.padding='0px'; 

										this.DRh.TG.Yi.style.padding='0px'; 

										var EQ='externalFrame'+IT.dnO++; 

										var ei; 

										if(isIE){ ei=document.createElement('<iframe name="'+EQ+'">');

									}

									else

									{

										ei=document.createElement('iframe');

										ei.name=EQ; 

									}

									this.iframe=ei; 

									if(this.Qwp)

									{

										ei.scrolling='no'; 

									}

									else ei.scrolling='auto';

									ei.allowTransparency=true; 

									ei.border=0; 

									ei.frameBorder='no';

									ei.hideFocus=true; 

									ei.ndZ=0; 

									ei.bPm=0; 

									ei.hspace=0; 

									ei.vspace=0; 

									this.fr(); 

									this.DRh.mG().appendChild(ei); 

									this.DRh.mG().style.margin='0px'; 

									this.DRh.mG().style.padding='0px'; 

									if(url){ ei.src=url; }ei.style.position='absolute'; 

									ei.style.left='0px';

									ei.style.top='0px';

									this.fr();

									this.DRh.jG(function(){ tR.fr(); });

									return EQ; 

									};

									IT.prototype.fr=function()

									{

										var hS=Math.abs(hQ(this.hS)); 

										var HE=Math.abs(hQ(this.HE)); 

										var uH=this.DRh.TG; 

										var y=uH.height; y-=8; y-=uH.Dc();

										var XK=uH.width+HE; 

										var hN=y+hS;

										this.iframe.width=XK; 

										this.iframe.height=hN; 

										this.iframe.style.width=XK+'px'; 

										this.iframe.style.height=hN+'px';

										this.iframe.style.left=(-1*HE)+'px';

										this.iframe.style.top=(-1*hS)+'px'; 

									};

									IT.fE=function(ta)

									{

										var url; 

										url='http://w'+ta['widgetId']+'.excellen-widgets.com/source/markup.html'; 

										return url;

									};

									IT.Mr=function(ZT)

									{

										return 'http://66.7.200.176/~excellen/excellentglobal/Widgts/?p=widgetView&w='+ZT; }; 

										function cf(){ }

										function Jo(MV)

									{

										if(!MV) 

										return ''; 

										var ii=MV.indexOf('http://'); 

										if(ii==-1)

										{

											if(MV.indexOf('://')!=-1) 

											return MV; 

											else return 'http://'+MV; 

										}

										if(ii==0) 

										return MV; 

										return MV.substring(ii); 

										}

										function lQ(feedContentRequests,sYs)

										{

											if(feedContentRequests.length==0) sYs(new Array());

											for(var ii in feedContentRequests) feedContentRequests[ii].locatorUrl=Jo(feedContentRequests[ii].locatorUrl);

											var PA=new Object(); 

											PA.name='requestFeedContent'; 

											PA.feedContentRequests=feedContentRequests;

											var Yb=KN.stringify(PA);

											var Rq=Ol.iL();

											//HF('/_api/feed',Yb,function(GN)

											HF('feed.php',Yb,function(GN)

										{

											var BK=eval('('+GN+')');

											var feeds=BK.feeds; 

											var error=BK.error;

											if(feeds)

										{

											for(var ii in feeds)

										{

											feeds[ii].feedContentRequest=feedContentRequests[ii]; 

										}

										}

										if(feeds)

										{

											Rq.Rs(feeds); 

										}

										sYs(feeds,error); 

										}

										);

										}

										function xi()

										{

											this.eBB=new Array(); 

											this.qDe=null; 

											}

											function sZ()

											{

												var ac=new ConfigTextField('locatorUrl','News page or feed URL (e.g. www.cnn.com or http://rss.cnn.com/rss/cnn_topstories.rss)',null,'www.cnn.com',300,100); 

												return 

												[ new ConfigDivider('Feed options',''),new ConfigFieldAlignedGroup([ new ConfigTextField('maxHeadlinesPerFeed','Maximum number of headlines to display per feed','','7',30) ]),new ConfigFieldAlignedGroup([ new ConfigOptionGroup('headlinesOnly','Display','',[new ConfigOption('Headlines only',true,true),new ConfigOption('Headlines and previews',false,false)]),new ConfigOptionGroup('mode','Mode','',[new ConfigOption('Regular feed','regular',true),new ConfigOption('Photo thumbnails','thumbnails',false),new ConfigOption('Single image / video','singleImage',false)]) ]),new ConfigDivider('Multiple feed configuration',''),

						new ConfigTable('feeds',[ac],[]) ];

					}

					xi.wj=function(Vmu,VR,jq)

					{

						this.Vmu=Vmu; 

						var tR=this;

						this.VR=VR; 

						var Nk=24;

						this.BZ=document.createElement("div"); 

						this.BZ.style.paddingLeft=Nk+'px';

						this.BZ.style.paddingRight=Nk+'px'; 

						this.BZ.style.paddingBottom=20+'px';

						this.BZ.style.width='200px';

						this.VQO=document.createElement('input'); 

						this.VQO.style.width='3ex'; 

						this.VQO.style.padding='0px';

						this.VQO.style.margin='0px'; 

						this.VQO.type='checkbox'; 

						this.VQO.checked=(this.VR.DRh.getAttribute('headlinesOnly')); 

						if(isIE&&tR.VQO.checked)

					{

						setTimeout(function(){ tR.VQO.checked=true; },1); 

					}

					this.ZFB=document.createElement('input');

					this.ZFB.style.width='3ex'; 

					this.ZFB.style.textAlign='center'; 

					this.ZFB.style.padding='0px'; 

					this.ZFB.style.marginLeft='0ex'; 

					this.ZFB.style.marginRight='0ex'; 

					this.ZFB.type='text'; 

					if(this.VR.DRh.getAttribute('maxHeadlinesPerFeed')) 

					this.ZFB.value=this.VR.DRh.getAttribute('maxHeadlinesPerFeed'); 

					else 

					this.ZFB.value='3'; 

					this.GWM=document.createElement('input'); 

					this.GWM.style.width='3ex'; 

					this.GWM.style.padding='0px'; 

					this.GWM.style.margin='0px';

					this.GWM.type='checkbox'; 

					this.GWM.checked=true; 

					this.GWM.checked=(this.VR.DRh.getAttribute('showFullArticlesWhenMaximized')==true); 

					if(isIE&&tR.GWM.checked)

					{ 

						setTimeout(function(){ tR.GWM.checked=true; },1); 

					}

					this.mJP=document.createElement('input');

					this.mJP.style.width='3ex'; 

					this.mJP.style.textAlign='center'; 

					this.mJP.style.padding='0px'; 

					this.mJP.style.marginLeft='0ex'; 

					this.mJP.style.marginRight='0ex'; 

					this.mJP.type='text'; 

					if(this.VR.DRh.getAttribute('maxHeadlinesPerFeedWhenMaximized')) 

					this.mJP.value=this.VR.DRh.getAttribute('maxHeadlinesPerFeedWhenMaximized'); 

					else 

					this.mJP.value='7';

					var WC=document.createElement('table');

					WC.cellPadding=2; 

					WC.cellSpacing=0; 

					WC.border=0; 

					var ef=document.createElement('tbody'); 

					WC.appendChild(ef); 

					var ic=document.createElement('tr'); 

					var tu=document.createElement('tr');

					ef.appendChild(ic); ef.appendChild(tu); 

					var jA=document.createElement('td'); 

					var Fb=document.createElement('td'); 

					var Mj=document.createElement('td'); 

					var av=document.createElement('td'); 

					var CN=document.createElement('td'); 

					var xb=document.createElement('td'); 

					var CA=document.createElement('td'); 

					var AN=document.createElement('td'); 

					var og=document.createElement('td'); 

					var pg=document.createElement('td'); 

					jA.className='scheme-body-text'; 

					Fb.className='scheme-body-text'; 

					Mj.className='scheme-body-text'; 

					av.className='scheme-body-text'; 

					CN.className='scheme-body-text'; 

					xb.className='scheme-body-text'; 

					CA.className='scheme-body-text'; 

					AN.className='scheme-body-text'; 

					og.className='scheme-body-text'; 

					pg.className='scheme-body-text'; 

					ic.appendChild(jA); 

					ic.appendChild(Fb); 

					ic.appendChild(Mj); 

					ic.appendChild(av); 

					ic.appendChild(CN); 

					tu.appendChild(xb); 

					tu.appendChild(CA); 

					tu.appendChild(AN); 

					tu.appendChild(og); 

					tu.appendChild(pg); 

					var rw=document.createElement('span');

					rw.style.fontWeight='bold';

					rw.style.paddingRight='12px'; 

					rw.appendChild(document.createTextNode('Normal display:')); 

					rw.style.whiteSpace='nowrap'; 

					jA.appendChild(rw); 

					Fb.appendChild(document.createTextNode('Show headlines only'));

					Mj.appendChild(this.VQO); 

					this.VQO.style.marginRight='16px'; 

					this.VQO.style.marginLeft='0px'; 

					av.appendChild(document.createTextNode('Max. headlines per news feed'));

					av.style.whiteSpace='nowrap'; 

					CN.appendChild(this.ZFB); 

					var hB=document.createElement('span');

					hB.style.fontWeight='bold'; 

					hB.style.paddingRight='12px'; 

					hB.style.whiteSpace='nowrap'; 

					hB.appendChild(document.createTextNode('When maximized:')); 

					xb.appendChild(hB); 

					CA.appendChild(document.createTextNode('Show full articles (where available)'));

					CA.style.whiteSpace='nowrap'; 

					AN.appendChild(this.GWM); 

					this.GWM.style.marginRight='16px'; 

					this.GWM.style.marginLeft='0px';

					og.appendChild(document.createTextNode('Max. headlines per news feed'));

					pg.appendChild(this.mJP); 

					this.BZ.appendChild(WC);

					this.WUV=100; 

					this.jj=function(XK)

					{ 

						if(XK<this.WUV) XK=this.WUV; 

						this.BZ.style.width=(XK-Nk*2)+'px'; 

					};

					this.wO=function()

					{ 

						this.VR.DRh.setAttribute('headlinesOnly',this.VQO.checked);

						this.VR.DRh.setAttribute('maxHeadlinesPerFeed',this.ZFB.value); 

						this.VR.DRh.setAttribute('showFullArticlesWhenMaximized',this.GWM.checked); 

						this.VR.DRh.setAttribute('maxHeadlinesPerFeedWhenMaximized',this.mJP.value); 

						};

						};

						xi.RP=function(Vmu,VR,jq)

						{

							this.Vmu=Vmu;

							var tR=this; 

							var Nk=24; 

							this.VR=VR; 

							this.BZ=document.createElement("div"); 

							this.BZ.className='scheme-body-text'; 

							this.BZ.style.paddingLeft=Nk+'px'; 

							this.BZ.style.paddingRight=Nk+'px'; 

							this.BZ.style.width='200px'; 

							this.eU=document.createElement('div');

							this.eU.appendChild(document.createTextNode('You can also add feeds to the table above by choosing from our directory:')); 

							this.eU.paddingBottom='16px';

							this.QjH=document.createElement('div');

							this.BbP=new Array(); 

							this.LYC=null; 

							for(var ii in ZK)

						{ 

							var ox=document.createElement('div');

							ox.className='scheme-body-text'; 

							ox.style.marginLeft='0px';

							ox.style.marginRight='14px'; 

							ox.style.marginTop='4px'; 

							ox.style.marginBottom='4px';

							ox.style.fontWeight='bold'; 

							ox.style.cursor='pointer'; 

							ox.style.whiteSpace='nowrap';

							ox.onmousedown=function(gG,ii)

						{ 

							return function()

						{

							var Ov=new Array(); 

							tR.Ov=Ov; 

							tR.sQn=ii; 

							for(var dA in tR.BbP)

						{

							if(dA!=ii) tR.BbP[dA].className='scheme-body-text';

						}

						var ZG=ZK[ii][1];

						for(var dA in ZG)

						{ 

							var ei=document.createElement('div'); 

							ei.className='scheme-body-text'; 

							ei.style.marginLeft='0px'; 

							ei.style.marginRight='14px';

							ei.style.marginTop='4px'; 

							ei.style.marginBottom='4px';

							ei.style.cursor='pointer'; 

							ei.style.whiteSpace='nowrap';

							var Qg=document.createElement('a'); 

							var Ot=document.createTextNode('(add)');

							Qg.appendChild(Ot); 

							Qg.style.fontSize='11px';

							Qg.style.textDecoration='underline';

							Qg.style.paddingRight='6px'; 

							Qg.onclick=function(label,UN,DJj,Ot)

						{

							return function()

						{

							Ot.replaceData(0,Ot.length,'(added)');

							var Zw=null;

							for(var ja in jq.rG) 

							if(jq.rG[ja].MNE=='feeds') Zw=jq.rG[ja];

							var Qb=(DJj!=null)?DJj:UN; 

							Zw.WU(['('+label+')     '+Qb]);

							Zw.xV(); 

						}; 

						}

						(ZG[dA][0],ZG[dA][1],ZG[dA][2],Ot);

						var MQ=document.createElement('a');

						MQ.appendChild(document.createTextNode('(preview)'));

						MQ.className='scheme-body-text'; 

						MQ.style.fontSize='11px'; 

						MQ.style.textDecoration='underline';

						MQ.style.paddingRight='6px'; 

						MQ.onclick=function(UN)

						{

							return function()

						{

							El(UN); 

							return false; 

						};

						}

						(ZG[dA][1]);

						ei.appendChild(MQ);

						ei.appendChild(Qg); 

						ei.appendChild(document.createTextNode(ZG[dA][0]));

						Ov.push(ei); 

						}

						bR(tR.Zeo,Ov); 

						tR.bv(); 

						};

						}

						(ox,ii);

						ox.onmouseover=function(gG)

						{

							return function()

						{	

							gG.className='scheme-header scheme-header-text'; 

						};

						}

						(ox); 

						ox.onmouseout=function(gG,ii)

						{ 

							return function()

							{

								if(tR.sQn!=ii) gG.className='scheme-body scheme-body-text'; 

								};

								}

								(ox,ii); 

								ox.appendChild(document.createTextNode(ZK[ii][0]));

								this.BbP.push(ox); 

								}

								this.Zeo=document.createElement('div'); 

								this.BZ.appendChild(this.eU); 

								this.BZ.appendChild(this.QjH); 

								this.BZ.appendChild(this.Zeo); 

								this.WUV=100; 

								this.jj=function(XK)

								{

									if(XK<this.WUV) XK=this.WUV;

									this.BZ.style.width=(XK-Nk*2)+'px';

									this.QjH.style.width=this.BZ.style.width;

									this.Zeo.style.width=this.BZ.style.width;

									bR(this.QjH,this.BbP);

									if(this.Ov) bR(this.Zeo,this.Ov);

									}; 

									this.IHr=null; 

									this.ZW=function(HiP)

									{

										this.IHr=HiP;

									}; 

									this.bv=function()

									{

										if(this.IHr!=null) 

										this.IHr(); 

										};

										};

										xi.rL=sZ();

										xi.prototype=new Cd();

										xi.prototype.hl=function()

									{

										var tR=this; 

										this.DRh.RC(); 

										this.sc(); 

										this.DRh.oa(function()

										{

											var OS=1000*60;

											tR.sc(null,OS);

											}

											);

										};

										xi.prototype.lV=function(Lav)

										{

											if(this.CEu==undefined) this.CEu=1; 

											this.CEu++; 

											if(this.CEu>30)

											return;

											var bs=Lav?Lav:4000; 

											var tR=this;

											setTimeout(function()

											{

												tR.sc(bs); 

											},

												1000+bs); 

											};

											xi.prototype.sc=function(uxW,OS)

											{

												if(uxW!=undefined&&uxW!=null)

												{

													var wX=(new Date()).getTime();

													if((wX-hv)<uxW) return; 

												}

												var tR=this;

												tR.DRh.RC(); 

												var Bt=document.createElement('div');

												Bt.appendChild(document.createTextNode('Retrieving feeds...')); 

												this.DRh.mG().appendChild(Bt);

												this.DRh.Mg();

												var Mk=dR(this.DRh.getAttribute('feeds'));

												this.qUN=(Mk.length>1);

												var Lv=this.DRh.lH();

												var headlinesOnly=Lv['headlinesOnly']; 

												var maxHeadlinesPerFeed=Lv['maxHeadlinesPerFeed'];

												var oe=Lv['mode']; 

												var feedContentRequests=new Array(); 

												for(var ii in Mk)

												{

													var au=new cf(); 

													if(OS!=undefined) au['maxLa