if(typeof (WScript)!="undefined"){JSmarty.System.outputString=function(){WScript.Echo(Array.prototype.join.call(argumetns,""));};}JSmarty.System.READER=1;JSmarty.System.WRITER=2;JSmarty.System.APPEND=8;JSmarty.System.ENCODING=-1;JSmarty.System.isWritable=true;JSmarty.System.newFileSystemObject=function(){return new ActiveXObject("Scripting.FileSystemObject");};JSmarty.System.read=function(R,S){var a,k,Z;var o,x=this.buildPath(R,S);var C=this.newFileSystemObject();for(o=x.length-1;0<=o;o--){if(C.FileExists(x[o])){Z=C.GetFile(x[o]);a=Z.OpenAsTextStream(this.READER);k=a.ReadAll();this.modified[R]=Z.DateLastModified;a.Close();break;}}C=a=Z=null;return k||function(){JSmarty.Error.log("System","can't load the "+R);return null;}();};JSmarty.System.write=function(Z,d){var C,k;var o=this.newFileSystemObject();k=o.GetFile(Z);C=k.OpenAsTextStream(this.WRITER);C.Write(d);C.Close();o=C=k=null;};