/*
	CHECKBOX.XML 7.0 GUESTBOOK.XML 2.0 EDITION [SCRIPT ENGINE]
	website: http://acidmartin.wemakesites.net/#checkbox
	created by: Martin Ivanov
	email: acid_martin@yahoo.com
*/

/* do not modify the code below */
var checkboxxml = {};

function rendercheckboxlist(listfile){if($get('GuestBookXml') == null){return false;};eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0 b;0 c=2.3.d().e(\'f\')>-1;0 g=h.i;0 j=/4|5 6/.7(2.3)&&!/4|5 8/.7(2.3);0 k=9.a&&9.a.l;0 m=n;',24,24,'var||navigator|userAgent|msie|MSIE||test||document|implementation|checkboxlistxmldoc|isSafari|toLowerCase|indexOf|webkit|isIE|window|ActiveXObject|isIE6|isFireFoxOrOpera|createDocument|z|false'.split('|'),0,{}));if(isIE6){return false;};eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1(8){0=3 9();0.a("b",5,c);0.d(6);0.e=f(){1(0.g==4){7()}}}h{1(i){2=3 j("k.l")}1(m){2=n.o.p("","",6)}2.q=r;2.s(5);7()}',29,29,'checkboxlistxmldoc|if|checkboxes|new||listfile|null|render|isSafari|XMLHttpRequest|open|GET|true|send|onreadystatechange|function|readyState|else|isIE|ActiveXObject|Microsoft|XMLDOM|isFireFoxOrOpera|document|implementation|createDocument|async|false|load'.split('|'),0,{}));function render(){eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5(6){1 2=7.8.3(\'4\')[0]}9{1 2=a.3(\'4\')[0]}',11,11,'|var|checkboxesroot|getElementsByTagName|checkboxxml|if|isSafari|checkboxlistxmldoc|responseXML|else|checkboxes'.split('|'),0,{}));var groupenabled = checkboxesroot.getAttribute('enabled');if(groupenabled == "false"){return false;}eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 a=3.2(\'a\');1 h=3.2(\'h\');1 i=3.2(\'i\');1 j=3.2(\'j\');1 b=$c(\'v\').2(\'w\');1 d=3.2(\'d\');1 k=3.2(\'k\');1 l=3.2(\'l\');1 f=$c(a);1 m=x.y(\'m\')[0];$n(\'o.6/p.6/z/A.q\',\'B\');$n(\'o.6/p.6/C/\'+b+\'/D.q\',\'E\');1 5=$7(\'5\');1 8=$7(\'8\');1 g=$7(\'g\');f.r=\'F \'+b;f.9(5);5.9(8);8.G=d;5.9(g);s(H){s($c(\'t\')==I){1 4=$7(\'J\');4.r=\'4\';4.u(\'K\',\'t\');4.u(\'L\',\'M\');5.9(4);N.O(P(e){4.Q()},R)}}',54,54,'|var|getAttribute|checkboxesroot|ieloadfix|fieldset|XML|create|legend|appendChild|loaderelementid|skin|get|legendtext||loader|ul|orientation|listwidth|listheight|displaylegend|displayfieldset|head|stylesheet|Guestbook|CheckBox|css|className|if|chbx_ieloadfix|setAttribute|GuestBookXml|rel|document|getElementsByTagName|Scripts|CheckBoxXML|CheckBoxXmlBaseStyleSheet|Skins|Styles|CheckBoxXmlSkinStyleSheet|checkboxxml|innerHTML|isIE|null|input|id|type|hidden|window|setTimeout|function|click|1000'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2(4==\'6\'){1.3.7=4}8{1.3.7=4+\'9\'}2(5==\'6\'){1.3.a=5}8{1.3.a=5+\'9\'}2(f=="b"){1.c(\'g\')[0].3.h=\'i\'}2(j=="b"){1.c(\'k\')[0].3.l=\'0\'}2(d=="m"){1.e+=\' n\'}2(d=="o"){1.e+=\' p\'}',26,26,'|loader|if|style|listwidth|listheight|auto|width|else|px|height|false|getElementsByTagName|orientation|className|displaylegend|legend|display|none|displayfieldset|fieldset|border|horizontal|horizontalCheckBoxList|vertical|verticalCheckBoxList'.split('|'),0,{}));var checkboxitem = checkboxesroot.getElementsByTagName('item');for (var i = 0; i < checkboxitem.length; i ++){eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0 c=2[i].3(\'c\');0 d=2[i].3(\'d\');0 9=2[i].3(\'9\');0 8=2[i].3(\'8\');0 1=2[i].3(\'1\');0 a=$r(\'a\');0 4=\'\';0 k=\'\';0 5=\'\';0 6=\'\';e(c=="f"){e(1=="f"){5=\'1="1"\';6=\'l\';4=\'\'}g{5=\'\';6=\'\';4=\'\'}}g{e(1=="f"){5=\'1="1"\';6=\'l m\';4=\'b="b"\'}g{5=\'\';6=\' m\';4=\'b="b"\'}}s.t(a);a.u=[\'<n o="\'+6+k+\'" 7="\'+h.7+\'j\'+i+\'v" w="\'+h.7+\'j\'+i+\'p" q="\'+2[i].3(\'8\')+\'">\'+\'<x o="y" \'+4+\' z="A.B(C.7); \'+d+\';" D="E" 9="\'+9+\'" 7="\'+h.7+\'j\'+i+\'p" q="\'+8+\'" \'+5+\' />\'+8+\'</n>\'];',41,41,'var|checked|checkboxitem|getAttribute|checkboxenabled|checkboxchecked|labelchecked|id|text|value|li|disabled|enabled|onclientclick|if|true|else|loader||_List_Item_|labelenabled|selectedCheckBox|disabledCheckBoxLabel|label|class|_input|title|create|ul|appendChild|innerHTML|_label|for|input|realCheckBoxInput|onclick|rendercheckboxlist|_select|this|type|checkbox'.split('|'),0,{}));if(z == false && i >= 2){break;}}};eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5.8.q=6(a){1 b=$7(a).2(\'9\');j(1 i=0;i<b.k;i++){b[i].3=\'h\';b[i].2(\'e\')[0].4=f}};5.8.r=6(a){1 b=$7(a).2(\'9\');j(1 i=0;i<b.k;i++){b[i].3=\'\';b[i].2(\'e\')[0].4=g}};5.8.s=6(a){1 b=$7(a).2(\'9\');j(1 i=0;i<b.k;i++){1 c=b[i].2(\'e\')[0];n(c.4){b[i].3=\'h\';c.4=f}o{b[i].3=\'\';c.4=g}c.l=g}};5.8.t=6(a){1 b=$7(a).2(\'9\');j(1 i=0;i<b.k;i++){1 c=b[i].2(\'e\')[0];n(c.4){b[i].3=\'h m\';c.4=f}o{b[i].3=\'m\';c.4=g}c.l=f}};5.8.u=6(a,b){1 c=$7(a).2(\'9\')[b];c.3=\'h\';c.2(\'e\')[0].4=f};5.8.v=6(a,b){1 c=$7(a).2(\'9\')[b];c.3=\'\';c.2(\'e\')[0].4=g};5.8.w=6(a,b){1 c=$7(a).2(\'9\')[b];1 d=c.2(\'e\')[0];$x(c,\'m\');d.l=g};5.8.y=6(a,b){1 c=$7(a).2(\'9\')[b];1 d=c.2(\'e\')[0];c.3+=\' m\';d.l=f};5.z=6(a){1 b=$7(a);n(b.4){b.p.3=\' h\'}o{b.p.3=\' \'}};',36,36,'|var|getElementsByTagName|className|checked|rendercheckboxlist|function|get|prototype|LABEL|||||INPUT|true|false|selectedCheckBox||for|length|disabled|disabledCheckBoxLabel|if|else|parentNode|checkall|uncheckall|enableall|disableall|checksingle|unchecksingle|enablesingle|removeClassName|disablesingle|_select'.split('|'),0,{}));}

checkboxxml.demand = function(listfile)
{
	rendercheckboxlist(listfile);
}

function $removeClassName(element, cssclass)
{
	var cssclasstoremove = new RegExp((cssclass + "\s?"), "i");
	element.className = element.className.replace(cssclasstoremove, "").replace(/^\s?|\s?$/g, "");
}
