/*
	RADIOBUTTON.XML 6.0
	download at: http://acidmartin.wemakesites.net/#radio
	created by: Martin Ivanov
	email: acid_martin@yahoo.com
	
	IMPORTANT REGULATIONS:
	
	1. IF YOU ARE USING THE OBFUSCATED VERSION OF RADIOBUTTON.XML, IT IS FORBIDDEN TO DEOBFUSCATE AND MODIFY THIS SRCIPT WITHOUT AUTHOR'S WRITTEN PERMISSION. OTHERWISE SUCH ACTIONS WILL BE CONSIDERED VIOLATIONS OF THE COPYRIGHT LAWS AND LEGAL STEPS WILL BE TAKEN.
	
	2. IF YOU HAVE PURCHASED THE SOURCE CODE OF RADIOBUTTON.XML, YOU CANNOT USE THIS SCRIPT ON WEBPAGES WITHOUT
	OBFUSCATING IT. OTHERWISE SUCH ACTIONS WILL BE CONSIDERED VIOLATIONS OF THE COPYRIGHT LAWS AND LEGAL STEPS WILL BE TAKEN.
*/

var RadioButtonXmlScriptsFolder = 'Scripts';

var radiobuttonxml = {};function renderradiobuttonlist(listfile){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 4;0 5=6.7.8().9(\'a\')>-1;0 b=c.d;0 e=2.3&&2.3.f;',16,16,'var||document|implementation|radiolistxmldoc|isSafari|navigator|userAgent|toLowerCase|indexOf|webkit|isIE|window|ActiveXObject|isFireFoxOrOpera|createDocument'.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}('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,'radiolistxmldoc|if|radios|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]}1 b=2.c(\'d\');',14,14,'|var|radiosroot|getElementsByTagName|radiobuttonxml|if|isSafari|radiolistxmldoc|responseXML|else|radios|groupenabled|getAttribute|enabled'.split('|'),0,{}));if(groupenabled == "false"){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 3=1.2(\'3\');0 4=1.2(\'4\');0 5=1.2(\'5\');0 6=1.2(\'6\');0 7=1.2(\'7\');0 8=1.2(\'8\');0 9=1.2(\'9\');0 a=1.2(\'a\');0 b=1.2(\'b\');0 c=1.2(\'c\');',13,13,'var|radiosroot|getAttribute|loaderelementid|orientation|listwidth|listheight|skin|legendtext|displaylegend|displayfieldset|defaultcheckeditem|groupname'.split('|'),0,{}));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}('4 1=$d(I);4 f=J.g(\'f\')[0];4 7=$8(\'q\');4 9=$8(\'q\');7.2(\'k\',\'r/h\');7.2(\'s\',\'t\');7.2(\'l\',\'u\');7.2(\'v\',w+\'/x.y/K/L.h\');9.2(\'k\',\'r/h\');9.2(\'s\',\'t\');9.2(\'l\',\'z\'+i);9.2(\'v\',w+\'/x.y/M/\'+i+\'/N.h\');3($d(\'u\')==m){f.a(7)}3($d(\'z\'+i)==m){f.a(9)}4 5=$8(\'5\');4 c=$8(\'c\');4 n=$8(\'n\');1.j=\'O \'+i;1.a(5);5.a(c);c.P=Q;5.a(n);3(R){3($d(\'A\')==m){4 6=$8(\'S\');6.j=\'6\';6.2(\'l\',\'A\');6.2(\'k\',\'T\');5.a(6);U.V(W(e){6.X()},Y)}}3(o==\'B\'){1.b.C=o}D{1.b.C=o+\'E\'}3(p==\'B\'){1.b.F=p}D{1.b.F=p+\'E\'}3(Z=="G"){1.g(\'c\')[0].b.10=\'11\'}3(12=="G"){1.g(\'5\')[0].b.13=\'0\'}3(H=="14"){1.j+=\' 15\'}3(H=="16"){1.j+=\' 17\'}4 18=19.g(\'1a\');',62,73,'|loader|setAttribute|if|var|fieldset|ieloadfix|radiobuttoxmlbasecss|create|radiobuttonxmlskin|appendChild|style|legend|get||head|getElementsByTagName|css|skin|className|type|id|null|ul|listwidth|listheight|link|text|rel|stylesheet|RadioButtonXmlBaseStyleSheet|href|RadioButtonXmlScriptsFolder|RadioButton|XML|RadioButtonXmlSkin_|rbtn_ieloadfix|auto|width|else|px|height|false|orientation|loaderelementid|document|Scripts|RadioButtonXML|Skins|Styles|radiobuttonxml|innerHTML|legendtext|isIE|input|hidden|window|setTimeout|function|click|1000|displaylegend|display|none|displayfieldset|border|horizontal|horizontalRadioButtonList|vertical|verticalRadioButtonList|radiobuttonitem|radiosroot|item'.split('|'),0,{}));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}('f(1 i=0;i<3.n;i++){1 7=3[i].4(\'7\');1 d=3[i].4(\'d\');1 8=3[i].4(\'8\');1 5=3[i].4(\'5\');1 9=$o(\'9\');1 a=\'\';1 b=\'\';g(7=="p"){a=\'\';b=\'e=""\'}g(7=="q"){a=\'h="h"\';b=\'e="r"\'}s.t(9);9.u=[\'<j \'+b+\' 2="\'+6.2+\'c\'+i+\'k" f="\'+6.2+\'c\'+i+\'l" m="\'+3[i].4(\'5\')+\'">\'+\'<v e="w" \'+a+\' x="y.z(\\\'\'+6.2+\'\\\', \\\'\'+6.2+\'c\'+i+\'k\\\'); \'+d+\';" A="B" 8="\'+8+\'" C="\'+D+\'" 2="\'+6.2+\'c\'+i+\'l" m="\'+5+\'" />\'+5+\'</j>\']}',40,40,'|var|id|radiobuttonitem|getAttribute|text|loader|enabled|value|li|radioenabled|labelenabled|_List_Item_|onclientclick|class|for|if|disabled||label|_label|_input|title|length|create|true|false|disabledRadioButtonLabel|ul|appendChild|innerHTML|input|realRadioInput|onclick|renderradiobuttonlist|_select|type|radio|name|groupname'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||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(1.2+\'3\'+4+\'6\').5=\'5\';$0(1.2+\'3\'+4+\'7\').8=\'9\';',10,10,'get|loader|id|_List_Item_|defaultcheckeditem|checked|_input|_label|className|selectedRadioButton'.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}('7.e.l=8(a,b){3 c=$2(a).1(\'4\')[0].1(\'f\')[b];3 d=$2(a).1(\'4\')[0].1(\'9\')[b];c.5=g;d.6=\'h\'};7.e.m=8(a,b){3 c=$2(a).1(\'4\')[0].1(\'f\')[b];3 d=$2(a).1(\'4\')[0].1(\'9\')[b];c.5=j;d.6=\'\'};7.e.n=8(a,b){3 c=$2(a).1(\'4\')[0].1(\'f\')[b];3 d=$2(a).1(\'4\')[0].1(\'9\')[b];k(c.5){c.5=j;d.6=\'\'}o{c.5=g;d.6=\'h\'}};7.p=8(a,b){3 c=$2(a).1(\'9\');q(i=0;i<c.r;i++){k(!c[i].s[0].t(\'5\')){c[i].6=\'\'}}$2(b).6=\' u\'};',31,31,'|getElementsByTagName|get|var|ul|disabled|className|renderradiobuttonlist|function|label|||||prototype|input|true|disabledRadioButtonLabel||false|if|disable|enable|toggle|else|_select|for|length|childNodes|getAttribute|selectedRadioButton'.split('|'),0,{}));};

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

radiobuttonxml.demand = function(listfile)
{
	renderradiobuttonlist(listfile);
}

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

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