window.onerror=errorSupress;function errorSupress(){return true;}function radioClick(clicked){window.document.form.siteMapTypeRadio.value=clicked;if(clicked=='google'||clicked=='sitemapsprotocol'){document.getElementById("notgoogle").style.display="none";document.getElementById("htmlinc").style.display="none";document.getElementById("htmlform").style.display="none";document.getElementById("googlevals").style.display="block";}else if(clicked=='html'){document.getElementById("notgoogle").style.display="block";document.getElementById("htmlinc").style.display="block";document.getElementById("htmlform").style.display="block";document.getElementById("googlevals").style.display="none";}else{document.getElementById("notgoogle").style.display="block";document.getElementById("htmlinc").style.display="none";document.getElementById("htmlform").style.display="none";document.getElementById("googlevals").style.display="none";}}function nShow(useid,usex,usey,usew){var allSelNodes=document.getElementsByTagName("select");for(var i = 0;i < allSelNodes.length;i++){allSelNodes[i].style.visibility="hidden";}useRefNode=document.getElementById("a"+useid);useRefNode.style.textDecoration="none";useRefNode.style.zIndex="10";newAncNode = document.createElement("div");newAncNode.setAttribute("id","d"+useid);newAncNode.style.fontSize="10px";newAncNode.style.fontWeight="normal";newAncNode.style.lineHeight="120%";newAncNode.style.textDecoration="none";newAncNode.style.padding="0px";newAncNode.style.margin="0px";newAncNode.style.textDecoration="none";newDisNode = document.createElement("div");newDisNode.style.position="absolute";newDisNode.style.zIndex="10";newDisNode.style.textDecoration="none";newNoteNode = document.createElement("div");newNoteNode.style.color="#ffffff";newNoteNode.style.backgroundColor="#000066";newNoteNode.style.borderWidth="5px";newNoteNode.style.borderStyle="solid";newNoteNode.style.borderColor="#ffffff";newNoteNode.style.textDecoration="none";newNoteNode.style.fontStyle="normal";newNoteNode.style.textAlign="justify";newNoteNode.style.position="absolute";newNoteNode.style.top=usey+"px";newNoteNode.style.left=usex+"px";newNoteNode.style.padding="5px";newNoteNode.style.width=usew+"px";newNoteNode.style.height="auto";useNoteNode=document.getElementById("n"+useid);useNoteText=useNoteNode.firstChild.nodeValue;newTextNode = document.createTextNode(useNoteText);newNoteNode.appendChild(newTextNode);newDisNode.appendChild(newNoteNode);newAncNode.appendChild(newDisNode);useRefNode.appendChild(newAncNode);}function nHide(useid){var allSelNodes=document.getElementsByTagName("select");for(var i = 0;i < allSelNodes.length;i++){allSelNodes[i].style.visibility="visible";}useRefNode=document.getElementById("a"+useid);useDisNode=document.getElementById("d"+useid);if(useRefNode&&useDisNode){useRefNode.style.zIndex=0;useRefNode.removeChild(useDisNode);useRefNode.style.textDecoration="underline";}}function section(sectionId){var allDivNode=document.getElementsByTagName("div");for(var divNum=0;divNum< allDivNode.length;divNum++){if(allDivNode[divNum].className){var divClass = allDivNode[divNum].className;}if(divClass=="section"){if(allDivNode[divNum].id){divId = allDivNode[divNum].id;if(divId==sectionId){allDivNode[divNum].style.display="block";}else{allDivNode[divNum].style.display="none";}}}}}var softwareversion="2.0";var softwarebuild="20090108";var softwareid="smxp";var softwaretitle="9%19%25%2F%0F%2C%3Ao%0Bq2%3D%1Dop%7D%0E3W%20%07%192op%7D%19%23M%24'%11!op%7D%0D%2FW%24%18%11%25%250hxzj.%0C%04%26%2B0(";var evaldays = "%5D";var extradays = "Y";var useRegLic="%04%1F%3F%2F";var vendorname="%19%1F7%3E%11%1A%05%1E";var vendordomain="%19%1F7%3E1%3A%25%3E%17%22%05%1D";var regamount="%3F%23txvhxz%08xDId";var regurl="%02%04%25%3Ag~%0Bo%0B%07OB%17%3D5%3Ad9V'%1E%03%26%256c)%25TdX6%22%236('%2BI3%0F%17%7F%3A*%3D";var upgradeurl="%02%04%25%3Ag~%0Bo%0B%07OB%17%3D5%3Ad9V'%1E%03%26%256c)%25TdX6%24%3A%25%3F%2B.%5Co%1A%18!";var enaval= "%241";var encdec = "jpQJBMJJ9A";var regLicDomFir = "Each license allows you to register a domain for use with this software. Only provide 1 Domain per input. A separate input will be provided for each Domain. Code generated with this software will only run on Registered Domains. You should only input the base domain ie mydomain.com this allows you to run the generated code on any web page on the base domain and any sub domains. It also protects your server by preventing non registered domains from running your code. Domains cannot be changed once registered.";var regLicUseFir = "Each license allows you to register a User Name for this software. Only provide 1 User Name per input. A separate input will be provided for each User Name. This software is only licensed for use by individuals that are Registered Users. User Names cannot be changed once registered.";var regLicDomUp = "Do not input previously registered Domains, only input the Domains you wish to register with this Upgrade. "+regLicDomFir;var regLicUseUp = "Do not input previously registered User Names, only input the User Names you wish to register with this Upgrade. "+regLicUseFir;var regLicDomEa = "Input the Domain you wish to register (ie mydomain.com) and click OK.";var regLicUseEa = "Input the User Name you wish to register and click OK.";var regLicDomVal ="No Domain was provided or the Domain does not appear to be valid. You must provide a valid Domain for the registration to proceed.";var regLicUseVal ="No User Name was provided. You must provide a valid User Name for the registration to proceed.";if(useRegLic==e('domain')){var regLicFir=regLicDomFir;var regLicUp=regLicDomUp;var regLicEa=regLicDomEa;var regLicVal=regLicDomVal;}else if(useRegLic==e('user')){var regLicFir=regLicUseFir;var regLicUp=regLicUseUp;var regLicEa=regLicUseEa;var regLicVal=regLicUseVal;}if(useRegLic==e("none")){var allCookDes=new Array("Registered Name","Registered Email","-","Numbers of Licenses","-");}else{var allCookDes=new Array("Registered Name","Registered Email","-","Numbers of Licenses","Registered Licenses");}var curTime = new Date();var curMs = curTime.getTime();var allCook = new Array(5);var cookName = encodeURIComponent(d(vendorname)+softwareid+"Init");var devaldays=parseInt(d(evaldays));var evalMs=curMs+(devaldays*86400*1000);var dextradays=parseInt(d(extradays));var expdays=devaldays+dextradays;var evalDay;var encName;var encEmail;var encRegCode;var encNumLic;var encRegLic;var regmk=null;function init(trig){if (document.getElementById){var urlq = window.location.search;if(urlq){var urlqbits=urlq.split("=");if(urlqbits.length==2 && urlqbits[0]=="?rna"){var urlqvalue=urlqbits[1];}}if(urlqvalue){dregurl=d(regurl);regurlq="?rna="+urlqvalue;dregurl+=regurlq;regurl=e(dregurl);}section("reg");if(document.cookie.indexOf(cookName)>-1){cookRead();if(allCook[1]!=enaval){regVerify();}}else{if(regmk!=null){allCook=new Array(encName,encEmail,encRegCode,encNumLic,encRegLic);}else{allCook=new Array(enaval,enaval,e(evalMs),enaval,enaval);cookSave(allCook);}}if(devaldays>0&&document.cookie.indexOf(cookName)<=-1){devaldays=0;alert("Cookies must be enabled for software to be used in Evaluation mode. To use this software without Cookies being enabled it must be registered.");}if(regmk==null){if(devaldays>0){var dEvalEnd=d(allCook[2]);evalDayLeft=Math.floor((dEvalEnd-curMs)/(1000*60*60*24));evalDay = devaldays-evalDayLeft;if(evalDay>expdays){document.getElementById("menu").style.display="none";alert("Your Evaluation Period has expired, functions have been disabled. Please register your software.");}else if(evalDay>devaldays){alert("Your Evaluation Period has expired, functions will soon be disabled. Please register your software.");}else{if(trig!='act'){alert("Evaluation Only - This is day " + evalDay + " of your " + devaldays + " day evaluation. For full functionality please register your software.");}}}else{document.getElementById("menu").style.display="none";alert("This software must be registered for use. Please register your software.");}}regDis();if(trig=='act'){section('output');}}else{alert("This software applies the Document Object Model (DOM) and to function correctly your system should include a 5th Generation browser with JavaScript enabled. Mozilla FireFox from version 1.0 or Microsoft Internet Explorer from version 5.5 (Windows 98) are recommended. Netscape Navigator from version 7.0 is also supported. Configuration and Registration details are saved as encoded Cookies and Cookies should be enabled. Your current browser does not appear to meet these requirements. Please upgrade your browser.");}}function cookRead(){var cookSta= document.cookie.indexOf(cookName);var cookEnd=document.cookie.indexOf(";",cookSta);if (cookEnd==-1){cookEnd=document.cookie.length;}var reqCook = document.cookie.substring(cookSta+cookName.length+1,cookEnd);allCook=reqCook.split(":");var conCook=allCook[0];var dconCook=d(allCook[0]);for(var cookNum=1;cookNum<allCook.length;cookNum++){conCook+=":"+allCook[cookNum];dconCook+=":"+d(allCook[cookNum]);}return(allCook);}function cookSave(){var expDate = new Date();expDate.setTime(expDate.getTime() + 20 * 365 * 24 * 60 * 60 * 1000);var conCook=allCook[0];var dconCook=d(allCook[0]);for(var cookNum=1;cookNum<allCook.length;cookNum++){conCook+=":"+allCook[cookNum];dconCook+=":"+d(allCook[cookNum]);}document.cookie = cookName + "=" + conCook + ";expires=" + expDate.toUTCString();}function regIn(){var regName = prompt("Input your Registered Name exactly as confirmed by email after transaction completion.","");if(regName=="reset"){cookDel();}else{encName = e(regName);var regEmail = prompt("Input your Registered Email Address exactly as confirmed by email after transaction completion.","");encEmail = e(regEmail);var regCode = prompt("Input your Registration Code exactly as confirmed by email after transaction completion.","");encRegCode = e(regCode);var encNameMod = encName.replace(/[^0-9]+/g,'');var encEmailMod = encEmail.replace(/[^0-9]+/g,'');var encNameMod = encNameMod.substr(0,10);var encEmailMod = encEmailMod.substr(0,10);var modCk = (regCode-encEmailMod)%encNameMod;encRegLic=enaval;regstop:
    if(modCk==0 && regCode && regName && regEmail){var numLic = (regCode-encEmailMod)/encNameMod;encNumLic = e(numLic);if(useRegLic!=e('none')){var regLicNum=0;if(allCook[4]!=enaval){encRegLic=allCook[4];var regLic = allCook[4].split(',');regLicNum = regLic.length;}var newLic=numLic-regLicNum;if(regLicNum>0){if(newLic<1){alert('These registration details do not provide additonal Licenses. Please use the Upgrade to Additional Licenses link to purchase additional licenses.');break regstop;}var regLicConfirm = confirm("The number of Additional Licenses provided by this Upgrade is "+newLic+".\n\nWhen you continue an input will appear for your first additional License. "+regLicUp+"\n\nDo you wish to continue?");}else{var regLicConfirm = confirm("The number of Licenses is "+numLic+".\n\nWhen you continue an input will appear for your first License. Once you provide input for your first License you will then be able to register additional Licenses up to a total of "+numLic+". "+regLicFir+"\n\nDo you wish to continue?");}if(regLicConfirm==true){for(var n=1;n<=newLic;n++){if(n>1){var regNextConfirm = confirm("You can register additional licenses at a later date using the Enter Registration Details link or you can register additional license details now. Do you wish to register additional license details now?")
              if(regNextConfirm == false){break;}}var regLicIn = prompt("This is License input number "+n+". "+regLicEa,"");if(regLicIn==''||(regLicIn.length<4&&useRegLic==e('domain'))){alert(regLicVal+" Registration has been cancel. For full functionality this software must be registered. For further registration information please refer to www.softswot.com.");break regstop;}if(n==1&&regLicNum==0){encRegLic=e(regLicIn);}else{encRegLic+=","+e(regLicIn);}}}else{alert("The registration process has been canceled. To build code that will continue functioning this software must be registered. For further registration information please refer to www.softswot.com.");break regstop;}}allCook=new Array(encName,encEmail,encRegCode,encNumLic,encRegLic);regMkSet();cookSave();if(document.cookie.indexOf(encodeURIComponent(cookName)) <= -1){document.getElementById("menu").style.display="block";alert('Registration details cannot be saved. Registration details are saved as encoded Cookies and Cookies should be enabled. If you would prefer to use this software without enabling Cookies input your registration details for each session. Ensure all code is built using registered software so it continues to function.');regDis();}else{alert('Thank you for supporting software development. All software functions have been enabled. Ensure all code is built using registered software so it continues to function.');window.location.reload();}}else{alert('These registration details are not valid. Please ensure that you have used the registration details provided by email after transaction completion. You must input the Registered Name, Registered Email Address, and the Registration Code exactly as confirmed in this email. Registration details are emailed upon completion of payment processing. For further information please refer to www.softswot.com.');}}}function cookDel(){var resetCode = prompt("Input your Reset Code. A Reset Code must be obtained from http://www.softswot.com/resetcode.php for a Reset to be completed.","");resetEmail = allCook[1];resetEmailMod = resetEmail.replace(/[^0-9]+/g,'');var resetValToMs=resetCode/resetEmailMod;if(resetValToMs<curMs&&resetValToMs>curMs+(24*60*60*1000)){var expDate = new Date();expDate.setTime(expDate.getTime() - 1000);document.cookie = cookName + "=;expires=" + expDate.toUTCString();alert("Registration details reset.");window.location.reload();}else{alert("Reset Code is not valid.");}}function regDis(){divpos=35;xdes=395;divTextCol="#000000";divBgCol="#ffffff";divHighCol="#000066";regNode=document.getElementById("reg");regNodeLen=regNode.childNodes.length;for(var childNum=0;childNum<regNodeLen;childNum++){regNode.removeChild(regNode.lastChild);}divCentNode=document.createElement("div");divCentNode.style.width = "100%";divCentNode.style.margin = "0px";divCentNode.style.padding = "1px";divCentNode.style.textAlign = "center";divCentNode.style.position = "absolute";divCentNode.style.left = "0px";divCentNode.style.top = divpos+"px";divCentNode.style.fontSize = "10px";divCentNode.style.fontWeight = "normal";divCentNode.style.color = divTextCol;divCentNode.style.backgroundColor = divBgCol;divLeftNode = divCentNode.cloneNode(true);divLeftNode.style.width = xdes+"px";divLeftNode.style.textAlign = "right";divLeftNode.style.fontSize = "16px";newTextNode = document.createTextNode('-');divLeftNode.appendChild(newTextNode);divRightNode = divLeftNode.cloneNode(true);divRightNode.style.left = xdes+10+"px";divRightNode.style.textAlign = "left";divRightNode.style.fontWeight = "bold";newDivNode = divCentNode.cloneNode(true);newDivNode.style.fontSize = "16px";newDivNode.style.fontWeight = "bold";newDivNode.style.color = divHighCol;newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode(d(softwaretitle));newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("from ");newDivNode.appendChild(newTextNode);newANode = document.createElement("a");venurl = "http://www."+d(vendordomain);newANode.setAttribute("href",venurl);newANode.setAttribute("target","_blank");newTextNode = document.createTextNode(d(vendorname));newANode.appendChild(newTextNode);newDivNode.appendChild(newANode);regNode.appendChild(newDivNode);if(allCook.length>4&&allCook[0]!=enaval){divpos=divpos+30;for(var cookNum=0;cookNum<allCook.length;cookNum++){useCookDes=(allCookDes[cookNum]);if(useCookDes!='-'){newNode = divLeftNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = useCookDes+':';regNode.appendChild(newNode);useEncCook=allCook[cookNum];var cookSplits = useEncCook.split(",");for (var cookSplit=0;cookSplit < cookSplits.length;cookSplit++){useCookVal=d(cookSplits[cookSplit]);newNode = divRightNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = useCookVal;regNode.appendChild(newNode);divpos = divpos+25;}divpos = divpos+5;}}divpos=divpos+10;divLeftNode.style.fontSize = "12px";newNode = divLeftNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = "Software Support:";regNode.appendChild(newNode);divRightNode.style.fontSize = "12px";newNode = divRightNode.cloneNode(false);newNode.style.top = divpos+"px";newANode = document.createElement("a");newANode.setAttribute("href",venurl);newANode.setAttribute("target","_blank");newTextNode = document.createTextNode(venurl);newANode.appendChild(newTextNode);newNode.appendChild(newANode);regNode.appendChild(newNode);divpos=divpos+20;newNode = divLeftNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = "Software Version:";regNode.appendChild(newNode);newNode = divRightNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = softwareversion;regNode.appendChild(newNode);divpos=divpos+20;newNode = divLeftNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = "Software Build:";regNode.appendChild(newNode);newNode = divRightNode.cloneNode(true);newNode.style.top = divpos+"px";newNode.firstChild.nodeValue = softwarebuild;regNode.appendChild(newNode);divpos=divpos+60;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newANode = document.createElement("a");newANode.setAttribute("href",d(upgradeurl));newANode.setAttribute("target","_blank");newTextNode = document.createTextNode("Upgrade to Additional Licenses");newANode.appendChild(newTextNode);newDivNode.appendChild(newANode);newTextNode = document.createTextNode(" then ");newDivNode.appendChild(newTextNode);newANode = document.createElement("a");newANode.setAttribute("href","javascript:regIn()");newTextNode = document.createTextNode("Enter Registration Details");newANode.appendChild(newTextNode);newDivNode.appendChild(newANode);regNode.appendChild(newDivNode);}else{divCentNode.style.fontSize = "14px";divCentNode.style.position = "absolute";divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("Controls are at the top above the gold line. Click Input to start.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontSize = "10px";newTextNode = document.createTextNode("Click Help for full instructions and MouseOver or Click ?'s for item Help. Registration returns to this section.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);if(devaldays>0){if (evalDay>expdays){divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode("Evaluation complete. Functions have been disabled. Software registration is required.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);document.getElementById("menu").style.display="none";}else if (evalDay>devaldays){divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode("Evaluation complete. Functions will soon be disabled. Software registration is required.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);}else{divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode("Evaluation Only - This is day " + evalDay + " of your "+devaldays+" day evaluation.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);}}else if(regmk==null){divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode("This software must be registered for use.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);}divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontSize = "10px";newDivNode.style.color = "#ff0000";newTextNode = document.createTextNode("Only registered software and code built using registered software will continue functioning.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("To register this software and enable all features requires payment of:");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode(d(regamount));newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontSize = "10px";newTextNode = document.createTextNode("Single User license, Multi User licenses attract a 30% discount.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newTextNode = document.createTextNode("Order Now and receive a 30 day money back guarantee.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("Secure online payment is available at:");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newDivNode.style.fontWeight = "bold";newANode = document.createElement("a");newANode.setAttribute("href",d(regurl));newANode.setAttribute("target","_blank");newTextNode = document.createTextNode(d(regurl));newANode.appendChild(newTextNode);newDivNode.appendChild(newANode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("As soon as your transaction is processed you will receive Registration Details by return email.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newButtonNode = document.createElement("button");newButtonNode.style.fontWeight = "bold";newButtonNode.setAttribute("type","button");newButtonNode.onclick = regIn;newTextNode = document.createTextNode("When you have your Registration Details Click here.");newButtonNode.appendChild(newTextNode);newDivNode.appendChild(newButtonNode);regNode.appendChild(newDivNode);divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("This will register your software and enable all functions.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);}divCentNode.style.fontSize = "10px";divpos=divpos+30;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("Software which is not correctly licensed exposes individuals and business to serious risk.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);divpos=divpos+20;newDivNode = divCentNode.cloneNode(true);newDivNode.style.top = divpos+"px";newTextNode = document.createTextNode("Copyright "+d(vendorname)+". All rights reserved.");newDivNode.appendChild(newTextNode);regNode.appendChild(newDivNode);}function regVerify(){var encNameMod = allCook[0].replace(/[^0-9]+/g,'');var encEmailMod = allCook[1].replace(/[^0-9]+/g,'');var encNameMod = encNameMod.substr(0,10);var encEmailMod = encEmailMod.substr(0,10);var regCode = d(allCook[2]);var modCk = (regCode-encEmailMod)%encNameMod;if(modCk==0 && regCode>0){regMkSet();}else{regmk=null;allCook=new Array(enaval,enaval,e(curMs),enaval,enaval);cookSave();alert("The Registration file appears to be corrupted. Registration details are saved as encoded Cookies and Cookies must be enabled to record registration status. Please input valid registration details.");}}function regMkSet(){regmk="rm";for(var cookNum=0;cookNum<allCook.length;cookNum++){regmk+=":"+allCook[cookNum];}}function c(useVal){var chUse = "";var codeUse = 0;var chAll = "";for (var i=0;i < useVal.length;i++){chUse = useVal.charAt(i).charCodeAt(0);chEnDe = chUse^encdec.charCodeAt(codeUse);codeUse =(codeUse+1)%encdec.length;chAll = chAll.concat(String.fromCharCode(chEnDe));}return(chAll);}function d(deVal){var  deVal=decodeURIComponent(deVal);var allDe = c(deVal);allDe = decodeURIComponent(allDe);return(allDe);}function e(enVal){var enVal = encodeURIComponent(enVal);var allEn = c(enVal);allEn = encodeURIComponent(allEn);return (allEn);}function codeBuild(){init('act');resetta("outputTA");if(regmk==null||!isNaN(regmk)){regmk=Math.floor(devaldays*24*60*60 + new Date()/1000);var regtext1="Evaluation";var regtext2="Registration is required to maintain this software.";}else{var regtext1="Registered";var regtext2="You you may not distribute registered software in any form.";}var headcode='<?php\n/*\n\n';headcode+='Software : '+d(softwaretitle)+' '+regtext1+' version '+softwareversion+'\n';headcode+='Company: '+d(vendorname)+'\nWeb Site: http://www.'+d(vendordomain)+'\nCopyright: www.'+d(vendordomain)+'\n\n';headcode+='Build: '+softwarebuild+'\n\n';headcode+='If this message appears in your browser when the file is run from your server, php is not available on that server. Without php this code will not function. When php is supported by your server none of this code is displayed or sent to the browser it is fully processed on the server. For more information visit '+d(vendordomain)+'.\n\n';headcode+='Software is provided as is, use is entirely at the users risk, and use acknowledges that softSWOT and all associated parties are held harmless from any claims or losses relating to software provided.\n\n';headcode+=regtext2;headcode+='\n\n\n#### Start User Configuration Settings.\nThe following variables can be user defined by opening this file in a text editor and adjusting the values between each "" or using '+d(softwaretitle)+' from '+d(vendorname)+' to build and modify the code. For more information visit www.'+d(vendordomain)+'.\n*/\n\n';headcode+='$siteMapType="'+window.document.form.siteMapTypeRadio.value+'";\n';headcode+='$startUrls="'+window.document.form.startUrls.value+'";\n';headcode+='$incUrls="'+window.document.form.incUrls.value+'";\n';headcode+='$excUrls="'+window.document.form.excUrls.value+'";\n';headcode+='$depthNum="'+window.document.form.depthNum.value+'";\n';headcode+='$limitNum="'+window.document.form.limitNum.value+'";\n';headcode+='$delaySec="'+window.document.form.delaySec.value+'";\n';headcode+='$urlLastMod="'+window.document.form.urlLastMod.checked+'";\n';headcode+='$urlSort="'+window.document.form.urlSort.checked+'";\n';headcode+='$urlTitle="'+window.document.form.urlTitle.checked+'";\n';headcode+='$urlDesc="'+window.document.form.urlDesc.checked+'";\n';headcode+='$urlUrl="'+window.document.form.urlUrl.checked+'";\n';headcode+='$urlCount="'+window.document.form.urlCount.checked+'";\n';headcode+='$htmlFull="'+window.document.form.htmlFull.checked+'";\n';headcode+='$htmlTitleTag="'+window.document.form.htmlTitleTag.value+'";\n';headcode+='$htmlDescTag="'+window.document.form.htmlDescTag.value+'";\n';headcode+='$urlVals="'+window.document.form.urlVals.value+'";\n';headcode+='$priVals="'+window.document.form.priVals.value+'";\n';headcode+='$freqVals="'+window.document.form.freqVals.value+'";\n';headcode+='$priDef="'+window.document.form.priDef.value+'";\n';headcode+='$freqDef="'+window.document.form.freqDef.value+'";\n';headcode+='\n/*\n#### End User Configuration Settings.\nOnly adjust the above variable values between each "".\n*/\n\n\n';headcode+='error_reporting(E_ERROR);$dynamicSiteMap=\'true\';$lastModName=\'Last-Modified:\';$titleTag=\'title\';$descTag=\'description\';$genGStart=\'<?xml version="1.0" encoding="UTF-8"?>\';$genGStart.=\'<urlset xmlns="http://www.google.com/schemas/sitemap/0.84" \';$genGStart.=\'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \';$genGStart.=\'xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 \';$genGStart.=\'http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">\';$genGEnd=\'</urlset>\';$genSMPStart=\'<?xml version="1.0" encoding="UTF-8"?>\';$genSMPStart.=\'<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \';$genSMPStart.=\'xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 \';$genSMPStart.=\'http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" \';$genSMPStart.=\'xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\';$genSMPEnd=\'</urlset>\';$genRStart=\'<?xml version="1.0" encoding="UTF-8"?>\';$genRStart.=\'<rss version="2.0"><channel>\';$genREnd="</channel></rss>";$genHStart=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">\';$genHEnd=\'</body></html>\';$generator="SiteMap XML www.softswot.com";$genOut=\'\';$hostDom=\'\';$fileSt=\'http://\';$limitCnt=0;$linkCnt=0;$depthCnt=0;$useUrls=array();$curUrls=array();$useeol=\'\\n\';$nowTime = gmdate(\'D, d M Y H:i:s O\');$regst="'+regmk+'";$softid="'+softwareid+'";$evaldays="'+devaldays+'";$useEncDec="'+encdec+'";$varTextAreas=array(\'startUrls\',\'incUrls\',\'excUrls\',\'urlVals\',\'priVals\',\'freqVals\');foreach($varTextAreas as $varTextArea){$vals=explode(\',\',$$varTextArea);$$varTextArea=array_map(\'trim\',$vals);}rm();smRun();siteMapOut();function rm(){global $regst;global $softid;global $evaldays;$curs=time();if(is_numeric($regst)){if($regst<$curs||$regst>$curs+($evaldays*24*60*60)){$url=$_SERVER[\'HTTP_HOST\'].$_SERVER[\'PHP_SELF\'];header(\'Location: http://www.softswot.com/expired.php?id=\'.$softid.\'&url=\'.$url);exit();}}else if(!is_numeric($regst)){$rms=(explode(\':\',$regst));$rmNum=0;$regCode=deCode($rms[3]);$useQuantity=deCode($rms[4]);$useName=$rms[1];$useEmail=$rms[2];$useName=ereg_replace("[^0-9]+",\'\',$useName);$useName = substr($useName, 0, 10);$useEmail=ereg_replace("[^0-9]+",\'\',$useEmail);$useEmail = substr($useEmail, 0, 10);$regCodeCalc = ($useName*$useQuantity)+$useEmail;if($regCodeCalc!=$regCode){$url=$_SERVER[\'HTTP_HOST\'].$_SERVER[\'PHP_SELF\'];header(\'Location: http://www.softswot.com/regus.php?id=\'.$softid.\'&url=\'.$url);exit();}}}function deCode($codeCh){$codeCh = rawurldecode($codeCh);$codeCh=codeXOR($codeCh);$codeCh=rawurldecode($codeCh);return $codeCh;}function codeXOR($codeCh){global $useEncDec;$codeUse = 0;$chAll = \'\';$codeChLen=strlen($codeCh);for ($chUsePos=0;$chUsePos < $codeChLen;$chUsePos++){$chUse = ord($codeCh[$chUsePos]);$chEnDe = $chUse^ord($useEncDec[$codeUse]);$chAll .= chr($chEnDe);$codeUse=($codeUse+1)%strlen($useEncDec);}return $chAll;}function smRun(){global $genOut;global $hostDom;global $limitCnt;global $linkCnt;global $depthCnt;global $depthNum;global $limitNum;global $siteMapType;global $startUrls;global $startUrlsFir;global $genGStart;global $genGEnd;global $genSMPStart;global $genSMPEnd;global $debug;set_time_limit ( 600 );$depthCnt=0;$limitCnt=0;$linkCnt=0;$useUrls=array();$curUrls=array();$genOut=\'\';$hostDom=\'\';for($depthCnt=0;$depthCnt<=$depthNum;$depthCnt++){if($limitCnt<=$limitNum){getLinks();}}if($siteMapType==\'google\'){genGXml();}elseif($siteMapType==\'rss\'){genRss();}elseif($siteMapType==\'html\'){genHtml();}elseif($siteMapType==\'text\'){genTxt();}elseif($siteMapType==\'sitemapsprotocol\'){$genGStart=$genSMPStart;$genGEnd=$genSMPEnd;genGXml();}$depthCnt--;$startUrls=$startUrlsFir;}function getLinks(){global $startUrls;global $incUrls;global $excUrls;global $depthNum;global $depthCnt;global $limitNum;global $useUrls;global $curUrls;global $limitCnt;global $delaySec;global $startUrlsFir;global $hostDom;global $fileSt;global $linkCnt;global $dynamicSiteMap;global $debug;$fileStLen=strlen($fileSt);$fileWWW="www.";$fileWWWLen=strlen($fileWWW);if($depthCnt>0){$startUrls=$curUrls;$curUrls=array();}else{$startUrlsFir=$startUrls;}foreach($startUrls as $startUrl){if(empty($hostDom)){$urlParts=parse_url($startUrl);if(!empty($urlParts[\'scheme\'])){$fileSt = $urlParts[\'scheme\'];$fileSt="$fileSt://";$fileStLen=strlen($fileSt);}if (substr($startUrl,0,$fileStLen) != $fileSt){$startUrl=$fileSt.$startUrl;}$urlParts=parse_url($startUrl);$hostDom = $urlParts[\'host\'];$hostDom = strtolower($hostDom);}$urlParts=parse_url($startUrl);if(!empty($urlParts[\'host\'])){$hostUrl=$urlParts[\'host\'];$hostUrl=strtolower($hostUrl);}else{$hostUrl=$hostDom;}if($dynamicSiteMap!=\'true\'){echo"disMess(\'Site Domain $hostDom\');";}if($hostUrl==$hostDom){if($delaySec>0){usleep($delaySec*1000000);}$useHtml=@file_get_contents($startUrl);if($useHtml===false){$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $startUrl);curl_setopt($ch, CURLOPT_HEADER, 0);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$useHtml=curl_exec($ch);if($useHtml===false){echo"<p><br /><br /><span style=\'color:red;font-weight: bold;\'>Error</span> - Unable to retrieve file contents. If this problem persists you may have a <b>coding error in the page $startUrl</b> and should <a href=\'http://validator.w3.org/check?uri=$startUrl\'>check the code validity of $startUrl</a> or your <b>server may not support file_get_contents or curl</b> and is unable to read url contents in this case you need to contact your server host.</p>";curl_close($ch);exit;}curl_close($ch);}$preLinkParts=parse_url($startUrl);if(!empty($preLinkParts[\'path\'])){$prePath=$preLinkParts[\'path\'];$preDir=dirname($prePath);if($preDir==\'.\'||$preDir==\'/\'||$preDir==\'//\'){$preDir=\'/\';}else{$preDir=$preDir.\'/\';}}else{$preDir=\'/\';}$pattern=\'`href=[\\"\\\']([^>\\\'\\"\\s\\t\\n\\r]+)[\\"\\\']`i\';preg_match_all($pattern,$useHtml,$matchUrls);$uniUrls=array_unique($matchUrls[1]);$limitCnt=$limitCnt+count($uniUrls);$addUrls=array($startUrl);$linkUrls=array_merge($addUrls,$uniUrls);foreach($linkUrls as $linkUrl){$linkUrl=utfEncode($linkUrl);$fragLen=strpos($linkUrl,\'#\');if($fragLen!==false){$linkUrl=substr($linkUrl,0,$fragLen);}$trimUrl=strtolower($linkUrl);if (substr($trimUrl,0,$fileStLen) == $fileSt){$trimUrl=substr($trimUrl, $fileStLen);}if(substr($trimUrl,-1) == "/"){$trimUrl=substr($trimUrl, 0, -1);$trimUrl=trim($trimUrl);if(empty($trimUrl)){$trimUrl=$hostDom;}}$incMk=false;if($trimUrl==$hostDom){$incMk=true;$excMk=false;$linkUrl=$fileSt.$hostUrl.\'/\';}else{foreach($incUrls as $incUrl){if(!empty($incUrl)){$incCk=strpos($linkUrl,$incUrl);}else{$incCk=false;}if($incCk!==false){$incMk=true;break;}}$excMk=false;foreach($excUrls as $excUrl){if(!empty($excUrl)){$excCk=strpos($linkUrl,$excUrl);}else{$excCk=false;}if($excCk!==false){$excMk=true;break;}}}if($incMk===true&&$excMk===false){$linkParts=parse_url($linkUrl);if(!empty($linkParts[\'host\'])){$hostLink=$linkParts[\'host\'];$hostLink=strtolower($hostLink);if($hostLink==$hostDom){$useUrls[]=$linkUrl;$curUrls[]=$linkUrl;}}elseif(strpos($linkUrl,"./")!==false){$pattern = \'/\';$curDirs = explode($pattern,$startUrl);$curDirs = array_reverse($curDirs);if(substr($startUrl,-1) != "/"){unset($curDirs[0]);}$relDirs = explode($pattern,$linkUrl);$relDirs = array_reverse($relDirs);$upDir=count($relDirs);$absDirs=array();$curLev=1;for ($dirLev=0;$dirLev<$upDir;$dirLev++){if(strpos($relDirs[$dirLev],".")===false){$absDirs[]=$relDirs[$dirLev];}else{unset($curDirs[$curLev]);$curLev++;}}$pattern = \'/\';$absDirs = array_reverse($absDirs);$absDir=implode($pattern,$absDirs);$curDirs = array_reverse($curDirs);$curDir=implode($pattern,$curDirs);$linkUrl=$fileSt.$hostDom.\'/\'.$absDir;$useUrls[]=$linkUrl;$curUrls[]=$linkUrl;}elseif(strpos($linkUrl,"/")!==0){$linkUrl=$fileSt.$hostDom.$preDir.$linkUrl;$useUrls[]=$linkUrl;$curUrls[]=$linkUrl;}else{if(substr($linkUrl,0,1)!=\'/\'){$linkUrl=\'/\'.$linkUrl;}$linkUrl=$fileSt.$hostUrl.$linkUrl;$useUrls[]=$linkUrl;$curUrls[]=$linkUrl;}if($dynamicSiteMap!=\'true\'){echo"disMess(\'Processing $linkUrl\');";}}}}}$useUrls=array_unique($useUrls);$linkCnt=count($useUrls);}function genGXml(){global $useUrls;global $urlVals;global $priVals;global $freqVals;global $priDef;global $freqDef;global $genOut;global $urlSort;global $urlLastMod;global $genGStart;global $genGEnd;if(!empty($urlSort)&&$urlSort!=\'false\'){sort($useUrls);}foreach($useUrls as $linkUrl){$priUse=$priDef;$freqUse=$freqDef;$arrPos=0;foreach($urlVals as $urlVal){if(!empty($urlVal)&&$urlVal!=\'false\'){$urlCk=strpos($linkUrl,$urlVal);}else{$urlCk=false;}if($urlCk!==false){$priUse=$priVals[$arrPos];$freqUse=$freqVals[$arrPos];break;}$arrPos++;}$genOut.=" <url><loc>$linkUrl</loc>";if(!empty($urlLastMod)&&$urlLastMod!=\'false\'){http($linkUrl);}$genOut.="<priority>$priUse</priority><changefreq>$freqUse</changefreq></url>";}$genOut=$genGStart.$genOut.$genGEnd;}function genRss(){global $useUrls;global $hostDom;global $fileSt;global $genOut;global $urlTitle;global $urlDesc;global $urlLastMod;global $urlSort;global $generator;global $genRStart;global $genREnd;$rssTime = gmdate(\'D, d M Y H:i:s O\');$genRStart.="<title>Site Map $fileSt$hostDom</title>";$genRStart.="<link>$fileSt$hostDom</link>";$genRStart.="<description>Site Map for the domain $hostDom</description>";$genRStart.="<lastBuildDate>$rssTime</lastBuildDate>";$genRStart.="<generator>$generator</generator>";if(!empty($urlSort)&&$urlSort!=\'false\'){sort($useUrls);}foreach($useUrls as $linkUrl){if((!empty($urlTitle)&&$urlTitle!=\'false\')||(!empty($urlDesc)&&$urlDesc!=\'false\')||(!empty($urlLastMod)&&$urLastMod!=\'false\')){http($linkUrl);}else{$genOut.="<item>";$genOut.="<link>$linkUrl</link>";$genOut.="</item>";}}$genOut=$genRStart.$genOut.$genREnd;}function genHtml(){global $useUrls;global $genOut;global $linkCnt;global $hostDom;global $urlTitle;global $urlDesc;global $urlLastMod;global $urlCount;global $urlSort;global $titleTag;global $htmlTitleTag;global $htmlFull;global $urlNum;global $genHStart;global $genHEnd;$genHStart.="<head><title>Site Map $hostDom</title></head><body>";if(!empty($urlSort)&&$urlSort!=\'false\'){sort($useUrls);}$urlNum=0;foreach($useUrls as $linkUrl){if(!empty($urlCount)&&$urlCount!=\'false\'){$urlNum++;}if((!empty($urlTitle)&&$urlTitle!=\'false\')||(!empty($urlDesc)&&$urlDesc!=\'false\')||(!empty($urlLastMod)&&$urlLastMod!=\'false\')){http($linkUrl);}else{$genOut.=\'<\'.$htmlTitleTag.\' class="sm\'.$titleTag.\'">\';if($urlNum>0){$genOut.=$urlNum.\'. \';}$genOut.=\'<a href="\'.$linkUrl.\'">\'.$linkUrl.\'</a>\';$genOut.=\'</\'.$htmlTitleTag.\'>\';}}if(!empty($htmlFull)&&$htmlFull!=\'false\'){$genOut=$genHStart.$genOut.$genHEnd;}}function genTxt(){global $useUrls;global $genOut;global $urlSort;global $useeol;global $urlTitle;global $urlDesc;global $urlLastMod;if(!empty($urlSort)&&$urlSort!=\'false\'){sort($useUrls);}foreach($useUrls as $linkUrl){if((!empty($urlTitle)&&$urlTitle!=\'false\')||(!empty($urlDesc)&&$urlDesc!=\'false\')||(!empty($urlLastMod)&&$urlLastMod!=\'false\')){http($linkUrl);}else{$genOut.=$linkUrl.$useeol;}}}function http($useUrl){global $genOut;global $urlTitle;global $urlDesc;global $urlLastMod;global $urlUrl;global $urlNum;global $htmlTitleTag;global $htmlDescTag;global $siteMapType;global $lastModName;global $lastMod;global $titleTag;global $descTag;global $generator;global $nowTime;global $useeol;$title=\'No Title\';$desc=\'No Description\';if($siteMapType==\'google\'||$siteMapType==\'sitemapsprotocol\'||((empty($urlTitle)||$urlTitle==\'false\')&&(empty($urlDesc)||$urlDesc==\'false\'))){$useReq=\'HEAD\';}else{$useReq=\'GET\';}$urlParts=parse_url($useUrl);if($urlParts!==false){$useHost=$urlParts[\'host\'];$usePath=$urlParts[\'path\'];if(empty($usePath)){$usePath=\'/\';}$header="$useReq $usePath HTTP/1.1 \\r\\n";$header.="Host: $useHost \\r\\n";$header.="User-Agent: $generator \\r\\n";$header.="Connection: Close \\r\\n\\r\\n";$fp = fsockopen($useHost,80,$errno,$errstr,30);if (!$fp){$debug.="<p><span class=\'err\'>Connection Fail:</span> Unable to connect to $useUrl</p>";}else{$lastMod=\'\';$res=\'\';fputs ($fp, $header);while (!feof($fp)){$resLine=fgets($fp, 1024);$res.=$resLine;if((!empty($urlLastMod)&&$urlLastMod!=\'false\')&&strpos($resLine,$lastModName)!==false&&empty($lastMod)){$lastModNameLen=strlen($lastModName);$lastMod=trim(substr($resLine,$lastModNameLen));}}fclose($fp);}if(empty($lastMod)){$lastMod=$nowTime;}if((!empty($urlTitle)&&$urlTitle!=\'false\')&&!empty($res)){$matchGets==array();$pattern="`<\\s*".$titleTag."\\s*>([^<]+)<\\/\\s*".$titleTag."\\s*>`i";preg_match($pattern,$res,$matchGets);if(!empty($matchGets[1])){$title=$matchGets[1];$title=strClean($title);$title=utfEncode($title);}}if((!empty($urlDesc)&&$urlDesc!=\'false\')&&!empty($res)){$matchGets==array();$pattern="`name\\s*=\\s*[\\"\\\']?\\s*".$descTag."\\s*[\\"\\\']?\\s*content\\s*=\\s*[\\"\\\']([^>]+)[\\"\\\']`i";preg_match($pattern,$res,$matchGets);if(!empty($matchGets[1])){$desc=$matchGets[1];$desc=strClean($desc);$desc=rtrim($desc,\"\\\'\\"\");$desc=utfEncode($desc);}}if($siteMapType==\'google\'||$siteMapType==\'sitemapsprotocol\'){$lastModTS=strtotime($lastMod);if(!empty($lastModTS)){$genOut.=\'<lastmod>\'.gmdate("Y-m-d\\TH:i:s+00:00",$lastModTS).\'</lastmod>\';}}elseif($siteMapType==\'rss\'){$genOut.="<item>";if(!empty($title)&&(!empty($urlTitle)&&$urlTitle!=\'false\')){$genOut.="<title>$title</title>";}$genOut.="<link>$useUrl</link>";if(!empty($desc)&&(!empty($urlDesc)&&$urlDesc!=\'false\')){$genOut.="<description>$desc</description>";}if(!empty($lastMod)&&(!empty($urlLastMod)&&$urlLastMod!=\'false\')){$genOut.="<pubDate>$lastMod</pubDate>";}$genOut.="</item>";}elseif($siteMapType==\'html\'){$genOut.=\'<\'.$htmlTitleTag.\' class="sm\'.$titleTag.\'">\';if($urlNum>0){$genOut.=$urlNum.\'.\';}if(empty($title)||$title==\'No Title\'){$title=$useUrl;}$genOut.=\'<a href="\'.$useUrl.\'">\'.$title.\'</a>\';if(!empty($lastMod)&&(!empty($urlLastMod)&&$urlLastMod!=\'false\')){$genOut.=\'<br/>\'.$lastMod;}if($title!=$useUrl&&(!empty($urlUrl)&&$urlUrl!=\'false\')){$genOut.=\'<br/>\'.$useUrl;}$genOut.=\'</\'.$htmlTitleTag.\'>\';if(!empty($desc)&&(!empty($urlDesc)&&$urlDesc!=\'false\')){$genOut.=\'<\'.$htmlDescTag.\' class="sm\'.$descTag.\'">\'.$desc.\'</\'.$htmlDescTag.\'>\';}}elseif($siteMapType==\'text\'){if(!empty($title)&&(!empty($urlTitle)&&$urlTitle!=\'false\')){$genOut.=$title.$useeol;}$genOut.=$useUrl.$useeol;if(!empty($lastMod)&&(!empty($urlLastMod)&&$urlLastMod!=\'false\')){$genOut.=$lastMod.$useeol;}if(!empty($desc)&&(!empty($urlDesc)&&$urlDesc!=\'false\')){$genOut.=$desc.$useeol;}}}else{$debug.="<p><span class=\'err\'>Error:</span> Could not $useReq $useUrl</p>";}}function strClean($strCleaned){$strCleaned=trim($strCleaned);$strCleaned=preg_replace(\'`(\\r\\n|\\n|\\r)`\',\' \',$strCleaned);$strCleaned=preg_replace(\'`\\s\\s+`\',\' \',$strCleaned);$strCleaned=trim($strCleaned);return $strCleaned;}function utfEncode($utfEncoded){if(function_exists(\'html_entity_decode\')&&function_exists(\'htmlentities\')){$utfEncoded=html_entity_decode($utfEncoded,ENT_QUOTES);$utfEncoded=htmlentities($utfEncoded,ENT_QUOTES);}if(extension_loaded(\'xml\')&&function_exists(\'utf8_encode\')){$utfEncoded=utf8_encode($utfEncoded);}return $utfEncoded;}function siteMapOut(){global $siteMapType;global $genOut;if(!empty($siteMapType)){if($siteMapType==\'google\'||$siteMapType==\'rss\'||$siteMapType==\'sitemapsprotocol\'){header(\'Content-type: text/xml\');}elseif($siteMapType==\'html\'){header(\'Content-type: text/html\');}elseif($siteMapType==\'text\'){header(\'Content-type: text/plain\');}echo $genOut;}}?>';document.getElementById('output').style.display='block';window.document.form.outputTA.value=headcode;section('output');window.document.form.outputTA.select();window.document.form.outputTA.focus();}function resetta(ta){if(ta=="outputTA"){window.document.form.outputTA.value ="";}window.focus();}function selectta(ta){if(ta=="outputTA"){if(window.document.form.outputTA.value=="reset"){cookDel();return;}window.document.form.outputTA.select();}window.focus();}function selGen(optNum,optStep,optSel){for (var i=1;i<=optNum;i++){var optVal=i*optStep
		if(optVal==optSel){window.document.write("<option selected='selected'>"+optVal+"</option>");}else{window.document.write("<option>"+optVal+"</option>");}}}function disStatic(){if(window.document.form.statmes.value.indexOf('Dynamic SiteMap Code')>=0){alert('Display Static SiteMap can only be used when you Generate a Static SiteMap. You cannot use Display Static SiteMap with Generated Dynamic SiteMap Code. To view a Dynamic SiteMap save the Generated Dynamic SiteMap Code as a file with a .php extension (ie sitemap.php), upload it to your server and use your browser to open the uploaded file.');return false;}else{return true;}}function genCheck(){if(window.document.form.startUrls.value==''||window.document.form.incUrls.value==''){alert('You must provide a value for both Start URLs and Include URLs with? before you can Generate....')
	 return false;}else{return true;}}function disMess(usemess){section('output');window.document.form.statmes.value=usemess;}function disOut(useout){section('output');window.document.form.outputTA.value=useout;}function selxml(){window.document.form.showxml.select();}