/*
	CHECKBOX.XML 7.0
	website: http://acidmartin.wemakesites.net/#checkbox
	created by: Martin Ivanov
	email: acid_martin@yahoo.com
*/

/* set root folder for CheckBox.XML */
var CheckBoxXmlScriptsFolder = 'Scripts';

/* do not modify the code below */

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}('3 18={};N Q(G){3 H;3 I=1g.1h.1N().1O(\'1P\')>-1;3 J=1i.1j;3 K=/1Q|1R 6/.1S(1g.1h);3 L=19.1d&&19.1d.1k;3 z=R;5(K){1l O}5(I){H=1m 1T();H.1U("1V",G,R);H.1W(15);H.1X=N(){5(H.1Y==4){1e()}}}S{5(J){16=1m 1j("1Z.20")}5(L){16=19.1d.1k("","",15)}16.21=O;16.22(G);1e()}N 1e(){5(I){3 a=H.23.7(\'18\')[0]}S{3 a=16.7(\'18\')[0]}3 b=a.9(\'1n\');5(b=="O"){1l O}3 c=a.9(\'24\');3 d=a.9(\'25\');3 f=a.9(\'26\');3 g=a.9(\'27\');3 h=a.9(\'28\');3 j=a.9(\'29\');3 k=a.9(\'2a\');3 l=a.9(\'2b\');3 m=$P(c);3 n=19.7(\'2c\')[0];3 o=$Z(\'1o\');3 p=$Z(\'1o\');o.T(\'1a\',\'1b/1c\');o.T(\'1p\',\'1q\');o.T(\'U\',\'1r\');o.T(\'1s\',1t+\'/1u.1v/2d/2e.1c\');p.T(\'1a\',\'1b/1c\');p.T(\'1p\',\'1q\');p.T(\'U\',\'1w\'+h);p.T(\'1s\',1t+\'/1u.1v/2f/\'+h+\'/2g.1c\');5($P(\'1r\')==15){n.10(o)}5($P(\'1w\'+h)==15){n.10(p)}3 q=$Z(\'1x\');3 r=$Z(\'1y\');3 s=$Z(\'2h\');m.M=\'18 \'+h;m.10(q);q.10(r);r.1z=j;q.10(s);5(J){5($P(\'1A\')==15){3 t=$Z(\'1B\');t.M=\'2i\';t.T(\'U\',\'1A\');t.T(\'1a\',\'2j\');q.10(t);1i.2k(N(e){t.2l()},2m)}}5(f==\'1C\'){m.12.1D=f}S{m.12.1D=f+\'1E\'}5(g==\'1C\'){m.12.1F=g}S{m.12.1F=g+\'1E\'}5(k=="O"){m.7(\'1y\')[0].12.2n=\'2o\'}5(l=="O"){m.7(\'1x\')[0].12.2p=\'0\'}5(d=="2q"){m.M+=\' 2r\'}5(d=="2s"){m.M+=\' 2t\'}3 u=a.7(\'2u\');13(3 i=0;i<u.17;i++){3 v=u[i].9(\'1n\');3 w=u[i].9(\'2v\');3 x=u[i].9(\'1G\');3 y=u[i].9(\'1b\');3 A=u[i].9(\'8\');3 B=$Z(\'2w\');3 C=\'\';3 D=\'\';3 E=\'\';3 F=\'\';5(v=="R"){5(A=="R"){E=\'8="8"\';F=\'11\';C=\'\'}S{E=\'\';F=\'\';C=\'\'}}S{5(A=="R"){E=\'8="8"\';F=\'11 14\';C=\'V="V"\'}S{E=\'\';F=\' 14\';C=\'V="V"\'}}s.10(B);B.1z=[\'<1H 1I="\'+F+D+\'" U="\'+m.U+\'1f\'+i+\'2x" 13="\'+m.U+\'1f\'+i+\'1J" 1K="\'+u[i].9(\'1b\')+\'">\'+\'<1B 1I="2y" \'+C+\' 2z="Q.1L(2A.U); \'+w+\';" 1a="2B" 1G="\'+x+\'" U="\'+m.U+\'1f\'+i+\'1J" 1K="\'+y+\'" \'+E+\' />\'+y+\'</1H>\'];5(z==O&&i>=2){2C}}};Q.W.2D=N(a){3 b=$P(a).7(\'X\');13(3 i=0;i<b.17;i++){b[i].M=\'11\';b[i].7(\'Y\')[0].8=R}};Q.W.2E=N(a){3 b=$P(a).7(\'X\');13(3 i=0;i<b.17;i++){b[i].M=\'\';b[i].7(\'Y\')[0].8=O}};Q.W.2F=N(a){3 b=$P(a).7(\'X\');13(3 i=0;i<b.17;i++){3 c=b[i].7(\'Y\')[0];5(c.8){b[i].M=\'11\';c.8=R}S{b[i].M=\'\';c.8=O}c.V=O}};Q.W.2G=N(a){3 b=$P(a).7(\'X\');13(3 i=0;i<b.17;i++){3 c=b[i].7(\'Y\')[0];5(c.8){b[i].M=\'11 14\';c.8=R}S{b[i].M=\'14\';c.8=O}c.V=R}};Q.W.2H=N(a,b){3 c=$P(a).7(\'X\')[b];c.M=\'11\';c.7(\'Y\')[0].8=R};Q.W.2I=N(a,b){3 c=$P(a).7(\'X\')[b];c.M=\'\';c.7(\'Y\')[0].8=O};Q.W.2J=N(a,b){3 c=$P(a).7(\'X\')[b];3 d=c.7(\'Y\')[0];$2K(c,\'14\');d.V=O};Q.W.2L=N(a,b){3 c=$P(a).7(\'X\')[b];3 d=c.7(\'Y\')[0];c.M+=\' 14\';d.V=R};Q.1L=N(a){3 b=$P(a);5(b.8){b.1M.M=\' 11\'}S{b.1M.M=\' \'}}}',62,172,'|||var||if||getElementsByTagName|checked|getAttribute|||||||||||||||||||||||||||||||||||||||className|function|false|get|rendercheckboxlist|true|else|setAttribute|id|disabled|prototype|LABEL|INPUT|create|appendChild|selectedCheckBox|style|for|disabledCheckBoxLabel|null|checkboxes|length|checkboxxml|document|type|text|css|implementation|render|_List_Item_|navigator|userAgent|window|ActiveXObject|createDocument|return|new|enabled|link|rel|stylesheet|CheckBoxXmlBaseStyleSheet|href|CheckBoxXmlScriptsFolder|CheckBox|XML|CheckBoxXmlSkin_|fieldset|legend|innerHTML|chbx_ieloadfix|input|auto|width|px|height|value|label|class|_input|title|_select|parentNode|toLowerCase|indexOf|webkit|msie|MSIE|test|XMLHttpRequest|open|GET|send|onreadystatechange|readyState|Microsoft|XMLDOM|async|load|responseXML|loaderelementid|orientation|listwidth|listheight|skin|legendtext|displaylegend|displayfieldset|head|Scripts|CheckBoxXML|Skins|Styles|ul|ieloadfix|hidden|setTimeout|click|1000|display|none|border|horizontal|horizontalCheckBoxList|vertical|verticalCheckBoxList|item|onclientclick|li|_label|realCheckBoxInput|onclick|this|checkbox|break|checkall|uncheckall|enableall|disableall|checksingle|unchecksingle|enablesingle|removeClassName|disablesingle'.split('|'),0,{}))

checkboxxml.pageload = function(listfile)
{
	if (window.addEventListener)
	{
		window.addEventListener('load', function(e)
		{
			rendercheckboxlist(listfile);
		}, false);
	}
	if (window.ActiveXObject)
	{
		window.attachEvent('onload', function(e)
		{
			rendercheckboxlist(listfile);
		});
	}
}

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

function $get(stringId)
{
	return document.getElementById(stringId);
}

function $create(element)
{
	return document.createElement(element);
}

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