var undefined;var Denbel={load:function()
{var a=arguments,o=null,i,j,d;for(i=0;i<a.length;i++)
{d=a[i].split('.');o=Denbel;for(j=(d[0]=='Denbel')?1:0;j<d.length;j++)
{o[d[j]]=o[d[j]]||{};o=o[d[j]];}}
return o;},toString:function()
{return'Denbel';}};Denbel.load('lang.StringExtender');Denbel.lang.StringExtender=function(){};Denbel.lang.StringExtender.prototype={utf8Encode:function()
{var value=this;value.replace(/\r\n/g,"\n");var utftext='';var c;for(var n=0;n<value.length;n++)
{c=value.charCodeAt(n);if(c<128)
{utftext+=String.fromCharCode(c);}
else if((c>127)&&(c<2048))
{utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}
else
{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}
return utftext;},utf8Decode:function()
{var value=this;var str='';var i=0;var c=c1=c2=0;while(i<value.length)
{c=value.charCodeAt(i);if(c<128)
{str+=String.fromCharCode(c);}
else if((c>191)&&(c<224))
{c2=value.charCodeAt(i+1);str+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}
else
{c2=value.charCodeAt(i+1);c3=value.charCodeAt(i+2);str+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}
return str;},startsWith:function(value)
{return(this.substring(0,value.length)==value);},endsWith:function(value)
{return(this.substring((this.length-value.length))==value);},trim:function()
{var value=this;value=value.replace(/^\s+/,'');value=value.replace(/\s+$/,'');return value;}};YAHOO.lang.augmentProto(String,Denbel.lang.StringExtender);Denbel.load('lang.Date');Denbel.lang.Date={stringToDate:function(s)
{if(!s||s.length==0)
{return null;}
var parts=s.split(' ');var sep=null;if(parts[0].indexOf('-')>-1)
{sep='-';}
else if(parts[0].indexOf('/')>-1)
{sep='/';}
else
{return null;}
var i=0;var dateParts=parts[0].split(sep);var d=new Date();d.setFullYear(dateParts[0]);d.setMonth(dateParts[1]-1);d.setDate(dateParts[2]);if(parts.length>1)
{sep=':';var timeParts=parts[1].split(sep);d.setHours(timeParts[0]);d.setMinutes(timeParts[1]);d.setSeconds(timeParts[2]);}
return d;},format:function(str,date)
{try
{var m=(date.getMonth()+1);m=(m.toString().length==2)?m:'0'+m;var Y=date.getFullYear();var d=(date.getDate().toString().length==2)?date.getDate().toString():'0'+date.getDate().toString();var H=(date.getHours().toString().length==2)?date.getHours().toString():'0'+date.getHours().toString();var i=(date.getMinutes().toString().length==2)?date.getMinutes().toString():'0'+date.getMinutes().toString();var s=(date.getSeconds().toString().length==2)?date.getSeconds().toString():'0'+date.getSeconds().toString();return Denbel.util.replaceAll(['Y','m','d','H','i','s'],[Y,m,d,H,i,s],str);}
catch(ex)
{return s;}},getMonth:function(date)
{if(!R)
{return null;}
var months=['january','february','march','april','may','june','july','august','september','october','november','december'];return R.get('MONTH_'+months[date.getMonth()].toUpperCase());},getDay:function(date)
{if(!R)
{return null;}
var days=['sunday','monday','tuesday','wednesday','thursday','friday','saturday'];return R.get('DAY_'+days[date.getDay()].toUpperCase());},dateToString:function(d)
{return d.getFullYear().toString()+'-'+(d.getMonth()+1)+'-'+d.getDate()+' '+d.getHours()+':'+d.getMinutes()+':'+d.getSeconds();}}
Denbel.load('lang.Array');Denbel.lang.Array.prototype={contains:function(value)
{return Denbel.util.inArray(value,this,false);},indexOf:function(value)
{return Denbel.util.inArray(value,this,true);},asString:function()
{return'Array['+this.length+']';}};YAHOO.lang.augmentProto(Array,Denbel.lang.Array);Denbel.load('util.inArray');Denbel.util.inArray=function(needle,haystack,returnIndex)
{if(!haystack||!YAHOO.lang.isArray(haystack)||haystack.length==0)
{return null;}
var found=false;var index=null;for(var i=0;i<haystack.length;i++)
{if(haystack[i]==needle)
{found=true;index=i;break;}}
if(returnIndex&&found)
{return index;}
else
{return found;}}
Denbel.load('util.isVisible');Denbel.util.isVisible=function(element)
{if(!element)
{return false;}
if(!YAHOO.util.Dom.inDocument(element))
{return false;}
if(YAHOO.lang.isString(element))
{element=YAHOO.util.Dom.get(element);}
if(!element)
{return false;}
if(YAHOO.util.Dom.getRegion(element).top==false||YAHOO.util.Dom.getStyle(element,'display')=='none'||YAHOO.util.Dom.getStyle(element,'visibility')=='hidden')
{return false;}
var reg=YAHOO.util.Dom.getRegion(element);if(!reg||(reg.height==0&&reg.width==0))
{return false;}
return true;};Denbel.load('util.getWidth');Denbel.util.getWidth=function(element)
{if(!element)
{return null;}
if(YAHOO.lang.isString(element))
{element=YAHOO.util.Dom.get(element);}
if(!element)
{return null;}
var width=element.offsetWidth+element.offsetLeft;return width;};Denbel.load('util.getHeight');Denbel.util.getHeight=function(element)
{if(!element)
{return null;}
if(YAHOO.lang.isString(element))
{element=YAHOO.util.Dom.get(element);}
if(!element)
{return null;}
return element.offsetHeight;}
Denbel.load('util.replaceAll');Denbel.util.replaceAll=function(search,replace,subject)
{if(!YAHOO.lang.isString(subject))
{YAHOO.log('replaceAll expects the argument subject as a string','error','Denbel.util.replaceAll');return subject;}
if(YAHOO.lang.isArray(search)&&YAHOO.lang.isArray(replace))
{var max=0;if(replace.length<=search.length)
{max=replace.length;}
else
{max=search.length;}
for(var i=0;i<max;i++)
{subject=Denbel.util.replaceAll(search[i],replace[i],subject);}}
else if(YAHOO.lang.isArray(search))
{for(var i=0;i<search.length;i++)
{subject=Denbel.util.replaceAll(search[i],replace,subject);}}
else
{while(subject.indexOf(search)>-1)
{subject=subject.replace(search,replace);}}
return subject;}
Denbel.load('util.stripTags');Denbel.util.stripTags=function(s)
{if(!s)
{s='';}
return s.replace(/<\/?[^>]+>/gi,'');}
Denbel.load('util.htmlEntities');Denbel.util.htmlEntities=function(s)
{return Denbel.util.replaceAll(['&','"','>','<'],['&amp;','&quot;','&gt;','&lt;'],s);}
Denbel.load('util.unHtmlEntities');Denbel.util.unHtmlEntities=function(s)
{return Denbel.util.replaceAll(['&amp;','&quot;','&gt;','&lt;','&nbsp;'],['&','"','>','<',' '],s);}
Denbel.load('util.round');Denbel.util.round=function(n,d)
{if(!YAHOO.lang.isNumber(n))
{n=parseFloat(n);if(!YAHOO.lang.isNumber(n))
{YAHOO.log('Input number not numeric.','error','Denbel.util.round');return'NaN';}}
if(!d||d==0)
{n=Math.round(n);}
else
{n=n.toFixed(d);}
return n;}
Denbel.load('util.Rand');Denbel.util.Rand=function(min,max)
{if(min==null||max==null)
{return(Math.random()*10000);}
return Math.floor(((max-(min-1))*Math.random())+min);};Denbel.load('util.formatNumber');Denbel.util.formatNumber=function(n,d,ds,ts)
{if(!YAHOO.lang.isNumber(n))
{n=parseFloat(n);if(!YAHOO.lang.isNumber(n))
{YAHOO.log('Input number not numeric.','error','Denbel.util.formatNumber');return'NaN';}}
if(!d)
{d=0;}
if(!ds)
{ds='.';}
if(!ts)
{ts=',';}
n=n.toString();var pos=n.indexOf('.');var i=0;if(pos==-1)
{if(d>0)
{n+='.';for(i=0;i<d;i++)
{n+='0';}}}
else
{var decimals=n.substring((pos+1)).length;if(decimals>d)
{n=Denbel.util.round(n,d).toString();}
else if(decimals<d)
{for(i=decimals;i<d;i++)
{n+='0';}}}
return n;}
Denbel.load('util.isA');Denbel.util.isA=function(obj,type)
{if(!YAHOO.lang.isString(type)||!YAHOO.lang.isObject(obj))
{YAHOO.log('isA( x, y ): invalid data type for argument','error');return false;}
var r=false;try
{switch(Denbel.util.BrowserDetect.browser)
{case'Firefox':r=((obj.constructor.toString().toLowerCase()=='['+type.toLowerCase()+']')?true:false);break;case'Explorer':if(obj.tagName)
{var objType='HTML'+obj.tagName+'Element';r=((objType.toLowerCase()==type.toLowerCase())?true:false);}
else
{r=((obj.toString().toLowerCase()==type.toLowerCase())?true:false);}
break;case'Safari':r=((obj.toString().toLowerCase()=='[object '+type.toLowerCase()+']')?true:false);break;default:r=false;break;}}
catch(e)
{YAHOO.log('Error: '+e,'error');r=false;}
return r;}
Denbel.load('lang.Object');Denbel.lang.Object=function()
{this.properties=new Array();this.propertyValues=new Array();};Denbel.lang.Object.prototype={properties:[],propertyValues:[],get:function(name)
{var i=Denbel.util.inArray(name,this.properties,true);if(i==null&&i!==0)
{return null;}
return this.propertyValues[i];},set:function(name,value)
{var i=Denbel.util.inArray(name,this.properties,true);if(i||i===0)
{this.propertyValues[i]=value;}
else
{this.properties.push(name);this.propertyValues[(this.properties.length-1)]=value;}},toArray:function()
{var arr=new Array();var v='';var n='';for(var i=0;i<this.properties.length;i++)
{arr[this.properties[i]]=this.propertyValues[i];}
return arr;},toString:function()
{return'Denbel.lang.Object';}};Denbel.load('util.BrowserDetect');Denbel.util.BrowserDetect={init:function()
{this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS";},toString:function()
{return this.browser+' '+this.version+' '+this.OS;},searchString:function(data)
{for(var i=0;i<data.length;i++)
{var dataString=data[i].string;var dataProp=data[i].prop;this.versionSearchString=data[i].versionSearch||data[i].identity;if(dataString)
{if(dataString.indexOf(data[i].subString)!=-1)
{return data[i].identity;}}
else if(dataProp)
{return data[i].identity;}}},searchVersion:function(dataString)
{var index=dataString.indexOf(this.versionSearchString);if(index==-1)
{return;}
return parseFloat(dataString.substring(index+this.versionSearchString.length+1));},dataBrowser:[{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};Denbel.util.BrowserDetect.init();YAHOO.log('Browser detected: '+Denbel.util.BrowserDetect.browser+' '+Denbel.util.BrowserDetect.version+' on '+Denbel.util.BrowserDetect.OS);Denbel.load('core.Base64');Denbel.core.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input)
{var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=Denbel.core.Base64._utf8_encode(input);while(i<input.length)
{chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2))
{enc3=enc4=64;}
else if(isNaN(chr3))
{enc4=64;}
output=output+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4);}
return output;},decode:function(input)
{var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length)
{enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64)
{output=output+String.fromCharCode(chr2);}
if(enc4!=64)
{output=output+String.fromCharCode(chr3);}}
output=Denbel.core.Base64._utf8_decode(output);return output;},_utf8_encode:function(string)
{string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++)
{var c=string.charCodeAt(n);if(c<128)
{utftext+=String.fromCharCode(c);}
else if((c>127)&&(c<2048))
{utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}
else
{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}
return utftext;},_utf8_decode:function(utftext)
{var string="";var i=0;var c=c1=c2=0;while(i<utftext.length)
{c=utftext.charCodeAt(i);if(c<128)
{string+=String.fromCharCode(c);i++;}
else if((c>191)&&(c<224))
{c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}
else
{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}
return string;}};Denbel.load('core.MD5');Denbel.core.MD5={hexcase:0,b64pad:'',chrsz:8,calc:function(s)
{return Denbel.core.MD5.binl2hex(Denbel.core.MD5.md5_core(Denbel.core.MD5.str2binl(s),(s.length*Denbel.core.MD5.chrsz)));},base64:function(s)
{return Denbel.core.MD5.binl2b64(Denbel.core.MD5.md5_core(Denbel.core.MD5.str2binl(s,(s.length*Denbel.core.MD5.chrsz))));},string:function(s)
{return Denbel.core.MD5.binl2str(Denbel.core.MD5.md5_core(Denbel.core.MD5.str2binl(s,(s.length*Denbel.core.MD5.chrsz))));},hexMac:function(key,data)
{return Denbel.core.MD5.binl2hex(Denbel.core.MD5.core_hmac_md5(key,data));},base64Mac:function(key,data)
{return Denbel.core.MD5.binl2b64(Denbel.core.MD5.core_hmac_md5(key,data));},stringMac:function(key,data)
{return Denbel.core.MD5.binl2str(Denbel.core.MD5.core_hmac_md5(key,data));},md5_core:function(x,len)
{x[len>>5]|=0x80<<((len)%32);x[(((len+64)>>>9)<<4)+14]=len;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;var olda=null;var oldb=null;var oldc=null;var oldd=null;for(var i=0;i<x.length;i+=16)
{olda=a;oldb=b;oldc=c;oldd=d;a=Denbel.core.MD5.md5_ff(a,b,c,d,x[i+0],7,-680876936);d=Denbel.core.MD5.md5_ff(d,a,b,c,x[i+1],12,-389564586);c=Denbel.core.MD5.md5_ff(c,d,a,b,x[i+2],17,606105819);b=Denbel.core.MD5.md5_ff(b,c,d,a,x[i+3],22,-1044525330);a=Denbel.core.MD5.md5_ff(a,b,c,d,x[i+4],7,-176418897);d=Denbel.core.MD5.md5_ff(d,a,b,c,x[i+5],12,1200080426);c=Denbel.core.MD5.md5_ff(c,d,a,b,x[i+6],17,-1473231341);b=Denbel.core.MD5.md5_ff(b,c,d,a,x[i+7],22,-45705983);a=Denbel.core.MD5.md5_ff(a,b,c,d,x[i+8],7,1770035416);d=Denbel.core.MD5.md5_ff(d,a,b,c,x[i+9],12,-1958414417);c=Denbel.core.MD5.md5_ff(c,d,a,b,x[i+10],17,-42063);b=Denbel.core.MD5.md5_ff(b,c,d,a,x[i+11],22,-1990404162);a=Denbel.core.MD5.md5_ff(a,b,c,d,x[i+12],7,1804603682);d=Denbel.core.MD5.md5_ff(d,a,b,c,x[i+13],12,-40341101);c=Denbel.core.MD5.md5_ff(c,d,a,b,x[i+14],17,-1502002290);b=Denbel.core.MD5.md5_ff(b,c,d,a,x[i+15],22,1236535329);a=Denbel.core.MD5.md5_gg(a,b,c,d,x[i+1],5,-165796510);d=Denbel.core.MD5.md5_gg(d,a,b,c,x[i+6],9,-1069501632);c=Denbel.core.MD5.md5_gg(c,d,a,b,x[i+11],14,643717713);b=Denbel.core.MD5.md5_gg(b,c,d,a,x[i+0],20,-373897302);a=Denbel.core.MD5.md5_gg(a,b,c,d,x[i+5],5,-701558691);d=Denbel.core.MD5.md5_gg(d,a,b,c,x[i+10],9,38016083);c=Denbel.core.MD5.md5_gg(c,d,a,b,x[i+15],14,-660478335);b=Denbel.core.MD5.md5_gg(b,c,d,a,x[i+4],20,-405537848);a=Denbel.core.MD5.md5_gg(a,b,c,d,x[i+9],5,568446438);d=Denbel.core.MD5.md5_gg(d,a,b,c,x[i+14],9,-1019803690);c=Denbel.core.MD5.md5_gg(c,d,a,b,x[i+3],14,-187363961);b=Denbel.core.MD5.md5_gg(b,c,d,a,x[i+8],20,1163531501);a=Denbel.core.MD5.md5_gg(a,b,c,d,x[i+13],5,-1444681467);d=Denbel.core.MD5.md5_gg(d,a,b,c,x[i+2],9,-51403784);c=Denbel.core.MD5.md5_gg(c,d,a,b,x[i+7],14,1735328473);b=Denbel.core.MD5.md5_gg(b,c,d,a,x[i+12],20,-1926607734);a=Denbel.core.MD5.md5_hh(a,b,c,d,x[i+5],4,-378558);d=Denbel.core.MD5.md5_hh(d,a,b,c,x[i+8],11,-2022574463);c=Denbel.core.MD5.md5_hh(c,d,a,b,x[i+11],16,1839030562);b=Denbel.core.MD5.md5_hh(b,c,d,a,x[i+14],23,-35309556);a=Denbel.core.MD5.md5_hh(a,b,c,d,x[i+1],4,-1530992060);d=Denbel.core.MD5.md5_hh(d,a,b,c,x[i+4],11,1272893353);c=Denbel.core.MD5.md5_hh(c,d,a,b,x[i+7],16,-155497632);b=Denbel.core.MD5.md5_hh(b,c,d,a,x[i+10],23,-1094730640);a=Denbel.core.MD5.md5_hh(a,b,c,d,x[i+13],4,681279174);d=Denbel.core.MD5.md5_hh(d,a,b,c,x[i+0],11,-358537222);c=Denbel.core.MD5.md5_hh(c,d,a,b,x[i+3],16,-722521979);b=Denbel.core.MD5.md5_hh(b,c,d,a,x[i+6],23,76029189);a=Denbel.core.MD5.md5_hh(a,b,c,d,x[i+9],4,-640364487);d=Denbel.core.MD5.md5_hh(d,a,b,c,x[i+12],11,-421815835);c=Denbel.core.MD5.md5_hh(c,d,a,b,x[i+15],16,530742520);b=Denbel.core.MD5.md5_hh(b,c,d,a,x[i+2],23,-995338651);a=Denbel.core.MD5.md5_ii(a,b,c,d,x[i+0],6,-198630844);d=Denbel.core.MD5.md5_ii(d,a,b,c,x[i+7],10,1126891415);c=Denbel.core.MD5.md5_ii(c,d,a,b,x[i+14],15,-1416354905);b=Denbel.core.MD5.md5_ii(b,c,d,a,x[i+5],21,-57434055);a=Denbel.core.MD5.md5_ii(a,b,c,d,x[i+12],6,1700485571);d=Denbel.core.MD5.md5_ii(d,a,b,c,x[i+3],10,-1894986606);c=Denbel.core.MD5.md5_ii(c,d,a,b,x[i+10],15,-1051523);b=Denbel.core.MD5.md5_ii(b,c,d,a,x[i+1],21,-2054922799);a=Denbel.core.MD5.md5_ii(a,b,c,d,x[i+8],6,1873313359);d=Denbel.core.MD5.md5_ii(d,a,b,c,x[i+15],10,-30611744);c=Denbel.core.MD5.md5_ii(c,d,a,b,x[i+6],15,-1560198380);b=Denbel.core.MD5.md5_ii(b,c,d,a,x[i+13],21,1309151649);a=Denbel.core.MD5.md5_ii(a,b,c,d,x[i+4],6,-145523070);d=Denbel.core.MD5.md5_ii(d,a,b,c,x[i+11],10,-1120210379);c=Denbel.core.MD5.md5_ii(c,d,a,b,x[i+2],15,718787259);b=Denbel.core.MD5.md5_ii(b,c,d,a,x[i+9],21,-343485551);a=Denbel.core.MD5.safe_add(a,olda);b=Denbel.core.MD5.safe_add(b,oldb);c=Denbel.core.MD5.safe_add(c,oldc);d=Denbel.core.MD5.safe_add(d,oldd);}
return new Array(a,b,c,d);},md5_cmn:function(q,a,b,x,s,t)
{return Denbel.core.MD5.safe_add(Denbel.core.MD5.bit_rol(Denbel.core.MD5.safe_add(Denbel.core.MD5.safe_add(a,q),Denbel.core.MD5.safe_add(x,t)),s),b);},md5_ff:function(a,b,c,d,x,s,t)
{return Denbel.core.MD5.md5_cmn((b&c)|((~b)&d),a,b,x,s,t);},md5_gg:function(a,b,c,d,x,s,t)
{return Denbel.core.MD5.md5_cmn((b&d)|(c&(~d)),a,b,x,s,t);},md5_hh:function(a,b,c,d,x,s,t)
{return Denbel.core.MD5.md5_cmn(b^c^d,a,b,x,s,t);},md5_ii:function(a,b,c,d,x,s,t)
{return Denbel.core.MD5.md5_cmn(c^(b|(~d)),a,b,x,s,t);},core_hmac_md5:function(key,data)
{var bkey=Denbel.core.MD5.str2binl(key);if(bkey.length>16)
{bkey=Denbel.core.MD5.core_md5(bkey,key.length*Denbel.core.MD5.chrsz);}
var ipad=new Array(16);var opad=new Array(16);for(var i=0;i<16;i++)
{ipad[i]=bkey[i]^0x36363636;opad[i]=bkey[i]^0x5C5C5C5C;}
var hash=Denbel.core.MD5.core_md5(ipad.concat(str2binl(data)),512+data.length*Denbel.core.MD5.chrsz);return Denbel.core.MD5.core_md5(opad.concat(hash),(512+128));},safe_add:function(x,y)
{var lsw=(x&0xFFFF)+(y&0xFFFF);var msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF);},bit_rol:function(num,cnt)
{return(num<<cnt)|(num>>>(32-cnt));},str2binl:function(str)
{var bin=new Array();var mask=(1<<Denbel.core.MD5.chrsz)-1;for(var i=0;i<str.length*Denbel.core.MD5.chrsz;i+=Denbel.core.MD5.chrsz)
{bin[i>>5]|=(str.charCodeAt(i/Denbel.core.MD5.chrsz)&mask)<<(i%32);}
return bin;},binl2str:function(bin)
{var str="";var mask=(1<<Denbel.core.MD5.chrsz)-1;for(var i=0;i<bin.length*32;i+=Denbel.core.MD5.chrsz)
{str+=String.fromCharCode((bin[i>>5]>>>(i%32))&mask);}
return str;},binl2hex:function(binarray)
{var hex_tab=Denbel.core.MD5.hexcase?"0123456789ABCDEF":"0123456789abcdef";var str="";for(var i=0;i<binarray.length*4;i++)
{str+=hex_tab.charAt((binarray[i>>2]>>((i%4)*8+4))&0xF)+hex_tab.charAt((binarray[i>>2]>>((i%4)*8))&0xF);}
return str;},binl2b64:function(binarray)
{var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var str="";for(var i=0;i<binarray.length*4;i+=3)
{var triplet=(((binarray[i>>2]>>8*(i%4))&0xFF)<<16)|(((binarray[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((binarray[i+2>>2]>>8*((i+2)%4))&0xFF);for(var j=0;j<4;j++)
{if(i*8+j*6>binarray.length*32)
{str+=Denbel.core.MD5.b64pad;}
else
{str+=tab.charAt((triplet>>6*(3-j))&0x3F);}}}
return str;}};Denbel.load('Website');var R=null;var DEBUG=false;Denbel.Website={_config:{dialogDefaultPosition:[150,100],dialogDefaultCaption:document.domain,debug:true,showWait:true},_href:((document.location.protocol.substring(0,5)=='https')?'https://':'http://')+document.domain,_isInitialized:null,_waitDialog:null,_messageDialog:null,_inputDialog:null,_dialog:null,_valueCollection:null,_logReader:null,_resources:null,_animSpeed:0.25,_fadeSpeed:0.2,_checksum:'daf2',_loader:null,_manager:null,ready:new YAHOO.util.CustomEvent('ready',Denbel.Website,true,YAHOO.util.CustomEvent.LIST),init:function(debug,showWait)
{DEBUG=YAHOO.util.Dom.hasClass(document.body,'debug');this._config.debug=debug;try
{Denbel.Website._config.dialogDefaultCaption=document.getElementsByTagName('title')[0].innerHTML;}
catch(e)
{Denbel.Website._config.dialogDefaultCaption=document.domain;}
if(YAHOO.widget.SimpleDialog)
{Denbel.Website._initWaitDialog();Denbel.Website._initMessageDialog();Denbel.Website._initInputDialog();Denbel.Website._initDialog();}
if(Denbel.Website._config.debug)
{Denbel.Website._initLogger();}
Denbel.Website._valueCollection=new Array();},showInfoBar:function(message,icon,time,override)
{if(!Denbel.ui.InfoBar)
{return false;}
var info=new Denbel.ui.InfoBar('info-bar');if(!override&&info.isShown())
{return false;}
if(!icon)
{icon=Denbel.ui.InfoBar.ICON_INFO;}
if(!time)
{time=10000;}
return info.show(icon,message,time);},initDialog:function(overlay,register)
{if(!overlay)
{return;}
overlay.beforeShowEvent.subscribe(function(e,a,o)
{var mask=YAHOO.util.Dom.get(this.id+'_mask');if(!mask||mask==null)
{return;}
if(Denbel.Website.isDialogShown(this.id))
{YAHOO.util.Dom.addClass(this.id+'_c','nofade');var dlgs=Denbel.Website.getShownDialogs();var any=false;for(var i=0;i<dlgs.length;i++)
{if(dlgs[i]!=this.id)
{YAHOO.util.Dom.setStyle(dlgs[i]+'_mask','opacity','0');any=true;}}
if(any)
{YAHOO.util.Dom.setStyle(mask,'opacity','0.6');return;}}
YAHOO.util.Dom.setStyle(mask,'opacity','0');},{self:this});overlay.showEvent.subscribe(function(e,a,o)
{var mask=YAHOO.util.Dom.get(this.id+'_mask');if(!mask||mask==null)
{return;}
var anim=null;if(YAHOO.util.Dom.hasClass(this.id+'_c','nofade'))
{return;}
anim=new YAHOO.util.Anim(mask,{opacity:{to:0.6}},0.6);YAHOO.util.Dom.setStyle(mask,'zoom','1');YAHOO.util.Dom.setStyle(mask,'opacity','0');YAHOO.lang.later(100,anim,'animate',null,false);},{self:this});overlay.beforeHideEvent.subscribe(function(e,a,o)
{var fast=YAHOO.util.Dom.hasClass(this.id+'_c','nofade');YAHOO.util.Dom.removeClass(this.id+'_c','nofade');var mask=YAHOO.util.Dom.get(this.id+'_mask');if(!mask)
{return;}
var anim=null;if(Denbel.Website.isDialogShown(this.id))
{var dlgs=Denbel.Website.getShownDialogs();var any=false;for(var i=0;i<dlgs.length;i++)
{if(dlgs[i]!=this.id)
{YAHOO.util.Dom.setStyle(dlgs[i]+'_mask','opacity','0.6');any=true;}}
if(any)
{YAHOO.util.Dom.setStyle(mask,'opacity','0');return;}}
anim=new YAHOO.util.Anim(mask,{opacity:{to:0}},0.2);anim.animate();},{self:this});},onReady:function()
{Denbel.Website._isInitialized=true;Denbel.Website.ready.fire();},createFP:function()
{var d=new Date().getTime().toString();d=d.substring(0,d.length-3);return Denbel.Website._checksum+Denbel.core.MD5.calc(Denbel.Website._checksum+'__'+Denbel.Website.getDomain()+'__'+Denbel.Website._checksum+'_'+d);},_initLogger:function()
{Denbel.Website._logReader=new YAHOO.widget.LogReader(null,{top:'+300px',height:'450px'});},isInitialized:function()
{return Denbel.Website._isInitialized;},initFirstTab:function()
{return true;},addValue:function(key,value)
{if(Denbel.Website._valueCollection[key])
{YAHOO.log('addValue: key already exists','warn');return false;}
Denbel.Website.setValue(key,value);return true;},setValue:function(key,value)
{Denbel.Website._valueCollection[key]=value;if(key=='animSpeed')
{Denbel.Website._animSpeed=value;}
else if(key=='fadeSpeed')
{Denbel.Website._fadeSpeed=value;}},removeValue:function(key)
{Denbel.Website._valueCollection[key]=null;},getValue:function(key)
{if(!Denbel.Website._valueCollection[key])
{YAHOO.log('unknown value for key '+key);return null;}
return Denbel.Website._valueCollection[key];},insertLoader:function(element,text,imageSrc)
{if(!imageSrc)
{imageSrc='/media/img/cms/skins/'+Denbel.Website.getValue('skinName')+'/loader1.gif';}
if(!text)
{text=null;}
var containerEl=Denbel.Website.createLoaderElement(text,imageSrc);element.innerHTML='';return Denbel.Website.insertContents(element,containerEl);},insertContents:function(element,contents,isString)
{if(!element)
{YAHOO.log('No element specified','error');return false;}
var htmlString='';element.innerHTML='';if(!isString)
{htmlString=Denbel.util.XmlHelper.xmlToString(contents);}
else
{htmlString=contents;}
element.innerHTML=htmlString;var xmlDoc=null;if(window.ActiveXObject)
{xmlDoc=Denbel.util.XmlHelper.stringToXml(htmlString);}
else
{return true;}
if(xmlDoc)
{var scripts=xmlDoc.getElementsByTagName('script');var js='';YAHOO.log('executing exec scripts');for(var i=0;i<scripts.length;i++)
{if(scripts[i].getAttribute('class')=='exec')
{for(var j=0;j<scripts[i].childNodes.length;j++)
{js=scripts[i].childNodes[j].nodeValue;if(js)
{try
{eval(js);}
catch(e)
{YAHOO.log('Cannot exec script','error');YAHOO.log(e,'error');}}}}}}
else
{return true;}
return true;},_initInputDialog:function()
{var effect=null;try
{if(YAHOO.widget.ContainerEffect)
{effect={effect:YAHOO.widget.ContainerEffect.FADE,duration:Denbel.Website._fadeSpeed};}}
catch(ex)
{effect=null;}
this._inputDialog=new YAHOO.widget.Dialog('input-dialog',{width:'250px',fixedcenter:true,xy:Denbel.Website._config.dialogDefaultPosition,close:false,draggable:true,modal:true,zIndex:2000,visible:false,effect:effect});var kl=new YAHOO.util.KeyListener(document,{keys:27},{fn:Denbel.Website._inputDialog.cancel,scope:Denbel.Website._inputDialog,correctScope:true});Denbel.Website._inputDialog.cfg.queueProperty('keylisteners',kl);Denbel.Website._inputDialog.render(document.body);Denbel.Website._inputDialog.hide();Denbel.Website.initDialog(Denbel.Website._inputDialog);},_initMessageDialog:function()
{var effect=null;try
{if(YAHOO.widget.ContainerEffect)
{effect={effect:YAHOO.widget.ContainerEffect.FADE,duration:Denbel.Website._fadeSpeed};}}
catch(ex)
{effect=null;}
this._messageDialog=new YAHOO.widget.SimpleDialog('message-dialog',{width:'35em',fixedcenter:true,xy:Denbel.Website._config.dialogDefaultPosition,close:false,draggable:true,modal:true,zIndex:2000,visible:false,effect:effect});var kl=new YAHOO.util.KeyListener(document,{keys:27},{fn:Denbel.Website._messageDialog.cancel,scope:Denbel.Website._messageDialog,correctScope:true});Denbel.Website._messageDialog.cfg.queueProperty('keylisteners',kl);Denbel.Website._messageDialog.render(document.body);Denbel.Website.initDialog(Denbel.Website._messageDialog);},_initDialog:function(createNew)
{var effect=null;try
{if(YAHOO.widget.ContainerEffect)
{effect={effect:YAHOO.widget.ContainerEffect.FADE,duration:Denbel.Website._fadeSpeed};}}
catch(ex)
{effect=null;}
var dlg=null;if(!createNew)
{dlg=Denbel.Website._dialog;}
if(dlg)
{try
{dlg.destroy();}
catch(e)
{}
dlg=null;}
var containerId=null;if(!createNew)
{containerId='dialog-box';}
else
{containerId='dialog2-box';}
dlg=new YAHOO.widget.Dialog(containerId,{fixedcenter:false,constaintoviewport:false,xy:Denbel.Website._config.dialogDefaultPosition,close:true,draggable:true,modal:true,zIndex:2000,visible:false,effect:effect,underlay:'shadow',postMethod:'async'});dlg.hideEvent.subscribe(function(e)
{if(YAHOO.env.ua.ie>0&&YAHOO.env.ua.ie<7)
{}
else
{try
{this.destroy();}
catch(ex)
{}}});if(!createNew)
{Denbel.Website._dialog=dlg;var kl=new YAHOO.util.KeyListener(document,{keys:27},{fn:Denbel.Website._dialog.cancel,scope:Denbel.Website._dialog,correctScope:true});Denbel.Website._dialog.cfg.queueProperty('keylisteners',kl);}
dlg.render(document.body);Denbel.Website.initDialog(dlg);if(!createNew)
{Denbel.Website._dialog=dlg;}
return dlg;},showInputDialog:function(caption,text,defaultValue,callback,classes)
{Denbel.Website.hideWaitDialog();if(!Denbel.Website._inputDialog)
{Denbel.Website._initInputDialog();}
if(!caption)
{caption=Denbel.Website._config.dialogDefaultCaption;}
if(!defaultValue)
{defaultValue='';}
var inputField='<div class="spacer10"></div><div><input class="textbox'+((classes)?' '+classes:'')+'" type="text" id="iInputDialogField" name="iInputDialogField" value="'+defaultValue+'" /></div>'+'<div class="clear"></div>';Denbel.Website._inputDialog.setHeader(caption);Denbel.Website._inputDialog.setBody('<div>'+text+'</div>'+inputField);var buttonOk=function(e,o)
{this.hide();if(o.success)
{if(o.argument)
{o.argument.returnValue=YAHOO.util.Dom.get('iInputDialogField').value;}
o.success.call(this,e,o.argument);}};var buttonCancel=function(e,o)
{this.cancel();if(o.failure)
{if(o.argument)
{o.argument.returnValue=YAHOO.util.Dom.get('iInputDialogField').value;}
o.failure.call(this,e,o.argument);}};var buttons=[{text:Denbel.Website.getResource('BTN_OK'),handler:{fn:buttonOk,obj:callback},isDefault:true},{text:Denbel.Website.getResource('BTN_CANCEL'),handler:{fn:buttonCancel,obj:callback}}];Denbel.Website._inputDialog.cfg.queueProperty('buttons',buttons);Denbel.Website._inputDialog.center();Denbel.Website._inputDialog.render();Denbel.Website._inputDialog.show();try
{var field=YAHOO.util.Dom.get('iInputDialogField');YAHOO.util.Event.on(field,'focusin',function(e)
{this.select();});}
catch(ex)
{}},showDialog:function(caption,body,buttons,showClose,formId,width,createNew)
{var wdlg=null;if(createNew)
{wdlg=Denbel.Website._initDialog(true);}
else
{if(!Denbel.Website._dialog||!Denbel.Website._dialog.cfg)
{Denbel.Website._initDialog();}
wdlg=Denbel.Website._dialog;}
if(!caption)
{caption=Denbel.Website._config.dialogDefaultCaption;}
wdlg.setHeader(caption);wdlg.setBody(body);if(!buttons)
{buttons=[{text:Denbel.Website.getResource('BTN_CLOSE'),handler:function(e)
{this.hide();},isDefault:true}];}
wdlg.cfg.queueProperty('buttons',buttons);if(showClose!=null)
{wdlg.cfg.queueProperty('close',showClose);}
if(!width&&Denbel.util.BrowserDetect.browser=='Explorer')
{wdlg.cfg.queueProperty('width','500px');}
if(width)
{wdlg.cfg.queueProperty('width',width.toString()+'px');}
wdlg.render(document.body);Denbel.Website.initDialog(wdlg);if(formId)
{var frm=YAHOO.util.Dom.get(formId);wdlg.callback={form:frm,success:function(o)
{if(parseInt(o.responseXML.getElementsByTagName('code')[0].firstChild.nodeValue)!=1)
{Denbel.Website.showMessageDialog(null,o.responseXML.getElementsByTagName('message')[0].firstChild.nodeValue);}},failure:function(o)
{Denbel.Website.showMessageDialog(null,'FAILED');},upload:function(o)
{}};Denbel.Website.setValue('dialogChangeListener',new Denbel.util.ChangeListener(frm));}
wdlg.center();wdlg.show();Denbel.Website.hideWaitDialog();return wdlg;},_initWaitDialog:function(imageSrc)
{var effect=null;try
{if(YAHOO.widget.ContainerEffect)
{effect={effect:YAHOO.widget.ContainerEffect.FADE,duration:Denbel.Website._fadeSpeed};}}
catch(ex)
{effect=null;}
Denbel.Website._waitDialog=new YAHOO.widget.Panel('wait-dialog',{width:'240px',fixedcenter:true,constraintoviewport:true,xy:Denbel.Website._config.dialogDefaultPosition,close:true,draggable:true,modal:true,zIndex:65535,visible:false,effect:effect});if(!imageSrc)
{imageSrc='/media/img/cms/skins/'+skinName+'/loader1.gif';}
Denbel.Website._waitDialog.setHeader('&nbsp;');Denbel.Website._waitDialog.setBody('<div style="text-align:center;"><img alt="" src="'+imageSrc+'" /></div>');Denbel.Website._waitDialog.render(document.body);Denbel.Website.initDialog(Denbel.Website._waitDialog);},createLoaderElement:function(text,imageSrc)
{var containerEl=document.createElement('div');containerEl.setAttribute('style','padding:50px;text-align:center;');var imageEl=document.createElement('img');imageEl.setAttribute('alt',imageSrc);imageEl.setAttribute('src',imageSrc);imageEl.setAttribute('style','vertical-align:middle;');var textEl=document.createElement('span');textEl.setAttribute('style','margin-left:10px;');textEl.innerHTML=text;containerEl.appendChild(imageEl);containerEl.appendChild(textEl);return containerEl;},isDialogShown:function(ignore,ignoreHideSelects)
{return(Denbel.Website.getShownDialogs(ignoreHideSelects).length>0)},getShownDialogs:function(ignore,ignoreHideSelects)
{var dlgs=[];if(this._messageDialog&&YAHOO.util.Dom.getStyle(this._messageDialog.id+'_c','opacity')>0.4&&YAHOO.util.Dom.getStyle(this._messageDialog.id+'_c','visibility')=='visible'&&this._messageDialog.id!=ignore)
{dlgs.push(this._messageDialog.id);}
if(this._dialog&&YAHOO.util.Dom.getStyle(this._dialog.id+'_c','opacity')>0.4&&YAHOO.util.Dom.getStyle(this._dialog.id+'_c','visibility')=='visible'&&this._dialog.id!=ignore)
{dlgs.push(this._dialog.id);}
if(this._waitDialog&&YAHOO.util.Dom.getStyle(this._waitDialog.id+'_c','opacity')>0.4&&YAHOO.util.Dom.getStyle(this._waitDialog.id+'_c','visibility')=='visible'&&this._waitDialog.id!=ignore)
{dlgs.push(this._waitDialog.id);}
if(this._inputDialog&&YAHOO.util.Dom.getStyle(this._inputDialog.id+'_c','opacity')>0.4&&YAHOO.util.Dom.getStyle(this._inputDialog.id+'_c','visibility')=='visible'&&this._inputDialog.id!=ignore)
{dlgs.push(this._inputDialog.id);}
return dlgs;},showMessageDialog:function(caption,text,icon,buttons,showClose)
{if(!Denbel.Website._messageDialog)
{Denbel.Website._initMessageDialog();if(!Denbel.Website._messageDialog)
{return;}}
if(!caption)
{caption=Denbel.Website._config.dialogDefaultCaption;}
if(!text)
{text='';}
if(icon)
{switch(icon.toUpperCase())
{case'INFO':case'INFOICON':icon=YAHOO.widget.SimpleDialog.ICON_INFO;break;case'ALARM':case'ALRTICON':icon=YAHOO.widget.SimpleDialog.ICON_ALARM;break;case'WARNING':case'WARN':case'WARNICON':icon=YAHOO.widget.SimpleDialog.ICON_WARN;break;case'ERROR':case'BLOCK':case'BLCKICON':icon=YAHOO.widget.SimpleDialog.ICON_BLOCK;break;case'TIP':case'TIPICON':icon=YAHOO.widget.SimpleDialog.ICON_TIP;break;case'HELP':case'HLPICON':case'QUESTION':icon=YAHOO.widget.SimpleDialog.ICON_HELP;break;default:icon=YAHOO.widget.SimpleDialog.ICON_INFO;break;}}
else
{icon=YAHOO.widget.SimpleDialog.ICON_INFO;}
if(!showClose)
{showClose=false;}
if(!buttons)
{buttons=[{text:Denbel.Website.getResource('BTN_CLOSE'),handler:function(e)
{this.hide();},isDefault:true}];}
Denbel.Website.hideWaitDialog();this._messageDialog.setHeader(caption);this._messageDialog.setBody('<div style="margin-left:50px;">'+text+'</div>');this._messageDialog.cfg.setProperty('icon',icon);this._messageDialog.cfg.queueProperty('buttons',buttons);this._messageDialog.cfg.queueProperty('close',showClose);this._messageDialog.render();this._messageDialog.show();},hideMessageDialog:function()
{if(!Denbel.Website._messageDialog)
{return;}
Denbel.Website._messageDialog.hide();},showWaitDialog:function(caption)
{if(Denbel.Website._messageDialog.cfg.getProperty('visible'))
{return;}
if(!Denbel.Website._config.showWait)
{return;}
if(!Denbel.Website._waitDialog)
{Denbel.Website._initWaitDialog();}
if(!caption)
{caption=Denbel.Website.getResource('TXT_WAIT_CAPTION');if(!caption||caption=='TXT_WAIT_CAPTION')
{caption='Loading...';}}
Denbel.Website._waitDialog.setHeader(caption);Denbel.Website._waitDialog.show();},hideWaitDialog:function()
{if(!Denbel.Website._waitDialog)
{return;}
Denbel.Website._waitDialog.hide();},getResource:function(key)
{if(!key)
{YAHOO.log('no resource key given','error');return null;}
if(Denbel.Website._resources==null)
{YAHOO.log('no resources loaded','error');return key;}
var val=Denbel.Website._resources.get(key);return((val)?val:key)},setData:function(name,data)
{if(!name||!YAHOO.lang.isString(name))
{YAHOO.log('setData expects name to be a string','error','Denbel.Website');return null;}
var d=Denbel.core.Base64.encode(data);if(d.length>7168)
{YAHOO.log('Data too long. Maximum request header size exceeded.','error','Denbel.Website');throw Error('Data too long. Maximum request header size exceeded.');return null;}
if(d.length>2048)
{var chunk='';var part=1;for(var i=0;i<d.length;i++)
{if(chunk.length==2048)
{YAHOO.util.Cookie.set(name+'_'+part,chunk);part++;chunk='';}
chunk+=d.charAt(i);}
YAHOO.util.Cookie.set(name+'_'+part,chunk);}
else
{YAHOO.util.Cookie.set(name,d);}},getData:function(name)
{var data='';var c=null;var i=1;while((c=YAHOO.util.Cookie.get(name+'_'+i))!=null)
{data+=Denbel.core.Base64.decode(c);i++;}
if(data.length==0)
{return null;}
return data;},loadResources:function(cache)
{var c=new Denbel.rpc.XmlRpcClient();var msg=c.createMessage('getResources');c.callService(msg,{success:Denbel.Website.loadResourcesCompleted,failure:Denbel.Website.loadResourcesFailure,argument:null},cache);},loadResourcesCompleted:function(e)
{Denbel.Website._resources=e.data[0];R=e.data[0];Denbel.Website.onReady();},loadResourcesFailure:function(e)
{Denbel.Website._resources=null;R=null;Denbel.Website.onReady();},onAsyncSuccess:function(o)
{alert(o.responseText);},onAsyncFailure:function(o)
{alert(o.status+' '+o.statusText);},onAsyncUpload:function(o)
{alert(o.responseText);},execScripts:function()
{YAHOO.log('execScripts called');var scripts=YAHOO.util.Dom.getElementsByClassName('exec');for(var i=0;i<scripts.length;i++)
{eval(scripts[i].innerHTML);}
YAHOO.log('execScripts executed '+i+' scripts','info','website');return;},getDomain:function()
{return Denbel.Website._href;},isSecure:function()
{return(document.location.protocol.substring(0,5)=='https');},getWaitDialog:function()
{return Denbel.Website._waitDialog;},getMessageDialog:function()
{return Denbel.Website._messageDialog;},getDialog:function()
{if(!Denbel.Website._dialog)
{Denbel.Website._initDialog();}
return Denbel.Website._dialog;},load:function(name,debug)
{if(!name)
{return false;}
if(YAHOO.lang.isArray(name))
{for(var i=0;i<name.length;i++)
{Denbel.Website.load(name[i],debug);}}
else
{var v='-min';if(debug)
{v='-debug';}
name=name.toLowerCase();var parts=name.split('.');var fullpath='';for(var i=0;i<parts.length;i++)
{if(fullpath)
{fullpath+='/';}
fullpath+=parts[i];}
fullpath=Denbel.Website._href+'/script/'+fullpath+v+'.js';var o={'name':name,'fullpath':fullpath,'skinnable':false,'type':'js'};try
{if(!Denbel.Website._loader)
{Denbel.Website._loader=new YAHOO.util.YUILoader();}
var r=Denbel.Website._loader.addModule(o);if(r)
{YAHOO.log('Module added '+fullpath);}
else
{YAHOO.log('Cannot add module '+fullpath,'error');}}
catch(e)
{YAHOO.log(e,'error');return false;}}},toString:function()
{return'Denbel.Website';}};
