/*
 *  UPDATED: 04.01.08 | 11:30 AM
 *	VERSION: 1.6
 *
 *  This class will fill the screen with a transparent overlay with the optional color and opacity
 *  
 *  Exapmle: 
 *  var options = {
 *		color: 			'#000',
 *		opacity: 		75,
 *		okText: 		null,
 *		cancelText:		null,
 *		width:			null,
 *		height: 		null,
 *		className: 		'myAlert',
 *		buttons: 		true,
 *		type: 			'[image|iframe|alert|confirm|box(default)]'
 *		title:			'',
 *		animate:		false,
 *		overlayClose:	false,
 *		onOk: 			function(){},
 *		onCancel: 		function(){}	 
 *  };
 *  WSC.Dialog('message', options);
 *
 * ------------------------------------------------------------------------------------------------ */
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}('8(21 1d==="2h"){3 1d={}}(4($){1d.1c=4(i){3 j=$.1y({G:1q,y:v,w:v,t:v,9:v,K:\'1C\',T:1z,D:\'1u\',18:\'\',L:\'#1m\',Z:Q,W:Q,V:4(){},U:4(){}},1P[1]||{});3 k=$.1H.2o&&($.1H.2l==="6.0");3 l=v;3 m,5;3 n=4(){q();8(j.Z){m.1w(\'13\');5.1w(\'1Z\')}M{m.1s();5.1s()}$(x).1p(\'1n\',q);$(x).1p(\'1l\',q)};3 o=4(){8(j.Z){5.1k(\'13\',4(){5.I()});m.1k(\'13\',4(){m.I()})}M{5.I();m.I()}8(l){l.I()}$(x).1j(\'1n\',q);$(x).1j(\'1l\',q)};3 p=4(){3 a=$(\'<7 C="1T"></7>\').s({2H:\'1Q\',2C:\'2B\'});8(j.y){3 b;8(j.T){b=$(\'<1M D="1K" 1I="\'+j.y+\'" />\').s({Y:\'1f\'})}M{b=$(\'<a 16="17:1J(0);">\'+j.y+\'</a>\')}b.1G(\'1S\',\'2g\');b.H(4(){j.V();o()});a.A(b)}8(j.w){3 c;8(j.T){c=$(\'<1M D="1K" 1I="\'+j.w+\'" />\').s({Y:\'1f\'})}M{c=$(\'<a 16="17:1J(0);">\'+j.w+\'</a>\')}c.1G(\'1S\',\'2a\');c.H(4(){j.U();o()});a.A(c)}O(c||b)?a:$(\'\')};3 q=4(){3 a=(x.1A)?x.1A:u.15.26;3 b=(x.1x)?x.1x:u.15.25;3 c=x.24||$.23&&u.15.1v||u.z.1v;3 d=((a-5.t())/2)+\'1t\';3 e=(c+((b-5.9())/2))+\'1t\';3 f=$(u).9();3 g=(f<b)?b:f;3 h=u.z.1r>u.z.1o?u.z.1r:u.z.1o;m.9(g).t(a);5.s({1a:d,19:e});8(l){l.9(g).t(a)}};3 r=4(){m=$(\'<7></7>\').s({1g:\'S\',11:\'1b\',19:\'B\',1a:\'B\',t:\'10%\',1e:\'1Y\',12:j.L,G:(j.G/10)});5=$(\'<7></7>\').s({11:\'1b\',1e:\'1X\',1g:\'S\'}).1W(j.K);8(j.t){5.t(j.t)}8(j.9){5.9(j.9)}$([5,m]).1i(u.z);8(k){l=$(\'<J C="1c-1V" 1h="0" 14="17:Q;"></J>\').s({G:0.0,1e:\'1U\',Y:\'B\',R:\'B\',11:\'1b\',1a:\'B\',19:\'B\'});$(u.z).A(l)}22(j.D){P\'1R\':3 b=$(\'<2J C="1c-1R" 14="\'+i+\'" />\').2G(4(){q()});5.N(\'<7></7>\').2F(j.K).2D(\'7\').A(b);8(j.W){m.H(4(){o()})}E;P\'J\':3 c=$(\'<7>\'+j.18+\'</7>\').s({1O:\'1N\',R:\'2z\',2y:\'1f\',2x:\'F 1L #2v\'});3 a=$(\'<a 16="#">X</a>\').s({1g:\'2s\',\'2r\':\'2q\',R:\'F 1Q\',L:\'#2p\',12:\'#2n\',1F:\'1L F #2m\',1E:\'1D\',1O:\'1N\',2k:\'S\'}).H(4(){o();j.U();O Q});3 d=$(\'<7></7>\').s({2j:\'2t\',9:\'F\',1E:\'F\'});3 e=$(\'<J 14="\'+i+\'" 1h="0" t="10%"></J>\').s({1F:\'S\'}).9((j.9)?(j.9-20):\'\');c.2u(a).A(d);$([c,e]).1i(5);E;P\'2i\':j.y=v;j.w=\'2w\';5.s({12:\'#2f\',R:\'1D\'}).t(2e).N(i).A(p());E;P\'2d\':j.y=(j.y)?j.y:\'2A\';j.w=(j.w)?j.w:\'2c\';5.N(\'<7 C="1B">\'+i+\'</7>\').A(p());E;2b:5.N(\'<7 C="1B">\'+i+\'</7>\');8(j.W){m.H(4(){o()})}E}n()};r();O{2E:4(a){29=$.1y({G:1q,y:v,w:v,t:v,9:v,K:\'1C\',T:1z,D:\'1u\',18:\'\',L:\'#1m\',V:4(){},U:4(){}},1P[1]||{});a=a;r();O 28},27:4(){n()},2I:4(){o()}}}})(2K);',62,171,'|||var|function|Box||div|if|height|||||||||||||||||||css|width|document|null|cancelText|window|okText|body|append|0px|class|type|break|1px|opacity|click|remove|iframe|className|color|else|html|return|case|false|padding|none|buttons|onCancel|onOk|overlayClose||margin|animate|100|position|backgroundColor|fast|src|documentElement|href|javascript|title|top|left|absolute|Dialog|WSC|zIndex|2px|display|frameborder|appendTo|unbind|fadeOut|scroll|000|resize|offsetHeight|bind|70|scrollHeight|show|px|box|scrollTop|fadeIn|innerHeight|extend|true|innerWidth|dialog_message|myAlert|10px|fontSize|border|attr|browser|value|void|button|solid|input|bold|fontWeight|arguments|5px|image|id|dialog_buttons|1000|Iframe|addClass|1002|1001|normal||typeof|switch|boxModel|pageYOffset|clientHeight|clientWidth|Show|this|Settings|dialog_button_cancel|default|No|confirm|400|CCC|dialog_button_ok|undefined|alert|clear|textDecoration|version|333|999|msie|990000|right|float|block|both|prepend|666|OK|borderBottom|marginBottom|3px|Yes|center|textAlign|find|init|removeClass|load|marginTop|Close|img|jQuery'.split('|'),0,{}));