////////////////////////////////////////////////////////////
// This software is solely the property of Karamasoft LLC. /
//   Copyright 2010 Karamasoft LLC. All rights reserved.   /
//                  www.karamasoft.com                     /
////////////////////////////////////////////////////////////

function uxa2(s) { return String(s).replace(/\&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;'); } function uxa3(s) { return uxa2(String(s).replace(/\"/g,'&quot;')); } function uxa4(s) { s=s.replace(/--/g,'-- '); if (s.substring(s.length-1) == '-') { s += ' '; } return '<!--'+s+'-->'; } function uxa0(uxa5) { var s=''; var uxa6=uxa5.childNodes; for (var i=0,uxa7=uxa6.length; i < uxa7; i++) { var uxa8=uxa6[i]; var uxa9=String(uxa8.tagName).toLowerCase(); switch (uxa8.nodeType) { case 1: { if (uxa9 != '') { var uxb0=uxa8.attributes; var uxb1; var uxb2; var uxb3=(uxa9 == 'img'); var uxb4=false; var uxb5=false; if (uxa9 == 'html') { s='<?xml version="1.0" encoding="iso-8859-1"?>\n<!DOCTYPE html PUBLIC "-/'+'/W3C/'+'/DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n'; } s += '<'+uxa9; for (var j=0,uxb6=uxb0.length; j < uxb6; j++) { uxb1=uxb0[j].nodeName.toLowerCase();  if ((uxb0[j].specified || uxb1 == 'value') && uxb1 != '_moz_dirty' && uxb1 != '_moz_editor_bogus_node') { switch (uxb1) { case 'style': uxb2=uxa8.style.cssText; break; case 'class': uxb2=uxa8.className; break; case 'http-equiv': uxb2=uxa8.httpEquiv; break;  case 'compact': case 'nowrap': case 'ismap': case 'declare': case 'noshade': case 'checked': case 'disabled': case 'readonly': case 'multiple': case 'selected': case 'noresize': case 'defer': uxb2=uxb1; break; default: uxb2=uxb0[j].nodeValue; }  if (uxb3 && !uxb4 && uxb1 == 'src') uxb4=true; if (uxb3 && !uxb5 && uxb1 == 'alt') uxb5=true;  s += ' '+uxb1+'="'+uxa3(uxb2)+'"'; } } if (uxb3) { if (!uxb4) { s += ' src=""'; } if (!uxb5) { s += ' alt=""'; } } if (uxa9 == 'script' || uxa9 == 'style' || uxa9 == 'title') { if (uxa9 == 'script') { if (uxa8.type == '') { s += ' type="text/javascript"'; } } else if (uxa9 == 'style') { if (uxa8.type == '') { s += ' type="text/css"'; } } s += '>'+uxa8.innerHTML+'</'+uxa9+'>'; } else if (uxa9 == 'base') { s += ' />'; } else if (uxa8.canHaveChildren || uxa8.hasChildNodes()) { s += '>'+uxa0(uxa8)+'</'+uxa9+'>'; } else { s += ' />'; } } break; } case 3: {  s += (uxa9 != 'pre') ? uxa2(uxa8.nodeValue) : uxa8.nodeValue; break; } case 8: { s += uxa4(uxa8.nodeValue); break; } default: break; } } return s; } function uxa1(s) { return s.replace(/ \/>/g,'>'); } if (typeof(Sys) != 'undefined' && typeof(Sys.Application) != 'undefined') { Sys.Application.notifyScriptLoaded(); } 
