//V3.00.A - http://www.openjs.com/scripts/jx/ jx = { http:false, //HTTP Object format:'text', callback:function(data){}, error:false, //Create a xmlHttpRequest object - this is the constructor. getHTTPObject : function() { var http = false; //use the XMLHttpRequest of Firefox/Mozilla etc. to load the document. if (typeof XMLHttpRequest != 'undefined') { try {http = new XMLHttpRequest();} catch (e) {http = false;} } //Use IE's ActiveX items to load the file. else if(typeof ActiveXObject != 'undefined') { try {http = new ActiveXObject("Msxml2.XMLHTTP");} catch (e) { try {http = new ActiveXObject("Microsoft.XMLHTTP");} catch (E) {http = false;} } } return http; }, load : function (url,callback,format) { this.init(); //The XMLHttpRequest object is recreated at every call - to defeat Cache problem in IE if(!url) return true; if(!this.http) return false; if (this.http.overrideMimeType) this.http.overrideMimeType('text/xml'); this.callback=callback; if(!format) var format = "text";//Default return type is 'text' this.format = format.toLowerCase(); var ths = this;//Closure if (this.http.overrideMimeType) this.http.overrideMimeType('text/xml'); //Kill the Cache problem in IE. var now = "uid=" + new Date().getTime(); url += (url.indexOf("?")+1) ? "&" : "?"; url += now; try{ this.http.open("GET", url, true); } catch(e) { //alert(e.message); return false; } this.http.onreadystatechange = function () {//Call a function when the state changes. if(!ths) return; var http = ths.http; if (http.readyState == 4) {//Ready State will be 4 when the document is loaded. if(http.status == 200) { var result = ""; if(http.responseText) result = http.responseText; //If the return is in JSON format, eval the result before returning it. if(ths.format.charAt(0) == "j") { //\n's in JSON string, when evaluated will create errors in IE result = result.replace(/[\n\r]/g,""); result = eval('('+result+')'); } //Give the data to the callback function. if(ths.callback) ths.callback(result); } else { //An error occured if(ths.error) ths.error(); else if(ths.callback) ths.callback(result); } } } this.http.send(null); return true; }, init : function() {this.http = this.getHTTPObject();} } var acsWH_VZKZN= { } acsWH_VZKZN.refreshTime=1000000; if(""!="") acsWH_VZKZN.refreshTime=""; acsWH_VZKZN.sid="757aca81-4911-409b-8b80-a49754bf4507"; acsWH_VZKZN.aspsid="iixe31eemqr3u345bbuzlo55"; if(0>0) { setTimeout(function(){acsWH_VZKZN.GetTime();},acsWH_VZKZN.refreshTime); } acsWH_VZKZN.timerEnabled=true; acsWH_VZKZN.GetTime = function () { if(acsWH_VZKZN.timerEnabled==false) return; jx.load("http://findout.rei.com/ajaxhandler.ashx?type=FrontServer.WidgetHost&method=tick&key=eid%3dawAddComment%26wn%3dProxyAddComment%26Title%3dBasic%2bBike%2bMaintenance&sid=757aca81-4911-409b-8b80-a49754bf4507",acsWH_VZKZN.GetTimeCallback); }; if(typeof( urlencode)=="undefined") { function urlencode(plaintext) { // The Javascript escape and unescape functions do not correspond // with what browsers actually do... var SAFECHARS = "0123456789" + // Numeric "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic "abcdefghijklmnopqrstuvwxyz" + "-_.!~*'()"; // RFC2396 Mark characters var HEX = "0123456789ABCDEF"; var encoded = ""; for (var i = 0; i < plaintext.length; i++ ) { var ch = plaintext.charAt(i); if (ch == " ") { encoded += "+"; // x-www-urlencoded, rather than %20 } else if (SAFECHARS.indexOf(ch) != -1) { encoded += ch; } else { var charCode = ch.charCodeAt(0); if (charCode > 255) { alert( "Unicode Character '" + ch + "' cannot be encoded using standard URL encoding.\n" + "(URL encoding only supports 8-bit characters.)\n" + "A space (+) will be substituted." ); encoded += "+"; } else { encoded += "%"; encoded += HEX.charAt((charCode >> 4) & 0xF); encoded += HEX.charAt(charCode & 0xF); } } } // for return encoded; } } acsWH_VZKZN.__WHSubmit = function (methodName,args1) { var args="&SessionID=" + acsWH_VZKZN.aspsid; if(typeof(args1)=="undefined" || !args1) args1=""; var div=document.getElementById(acsWH_VZKZN.eid); if(div) { var arr=div.getElementsByTagName("input"); for(i=0;i=0){ var s=u.split("#"); u=s[0]; h="#"+s[1]; } if(u.indexOf("?")>=0) u=u+"&"; else u=u+"?"; p=u.indexOf("__guid="); if(p>=0) u=u.substring(0,p)+now; else u=u + now; u=u+h+""; window.location=u; }, 1000); }; acsWH_VZKZN.SubmitCallback = function (result) { if(result=="" || typeof(result)=="undefined") return; if(result.indexOf("redir: ")==0) { var url=result.substring(7); jx.load(url,acsWH_VZKZN.SubmitCallback); return; } var elm=document.getElementById(acsWH_VZKZN.eid); if(elm) { try { elm.innerHTML= result; } catch(e) { alert(e.message); } } acsWH_VZKZN.timerEnabled=true; setTimeout(function(){acsWH_VZKZN.GetTime();},acsWH_VZKZN.refreshTime); }; acsWH_VZKZN.GetTimeCallback = function (result) { if(result!="no" && result!="" && typeof(result)!="undefined") { var elm=document.getElementById(acsWH_VZKZN.eid); if(elm) { try { elm.innerHTML= result; } catch(e) { alert(e.message); } } } setTimeout(function(){acsWH_VZKZN.GetTime();},acsWH_VZKZN.refreshTime); }; acsWH_VZKZN.eid="awAddComment"; acsWH_VZKZN.wn="ProxyAddComment"; acsWH_VZKZN.wcnt="\r\n" +"\r\n" +"
\r\n" +"\r\n" +"
\r\n" +"\r\n" +"\n" +"
\n" +"\n" +"

Post a Comment:

\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"\n" +"
\r\n" +"\t\n" +"\tPlease Login to Comment.\n" +"\r\n" +"
\n" +"\n" +"\r\n" +"
\r\n" +""; acsWH_VZKZN.setContent=function() { try { var elm=document.getElementById(acsWH_VZKZN.eid); var str= acsWH_VZKZN.wcnt; elm.innerHTML="\n" +str; } catch(e) { alert(e.message); } } var elm=document.getElementById(acsWH_VZKZN.eid); if(elm) { _frmFlag=false; var str=acsWH_VZKZN.wcnt; if(document.forms.length==0) { str=str.replace(/",p1); if(p1<0) { break; } p1++; p2=str.indexOf(" if(code.indexOf("xxdoPostBackxx")<0 || _frmFlag==true) { try { eval(code); } catch(e) { /* if(e.message) alert(e.message+"\n"+code); else alert(e+"\n"+code); */ } } str=str.substring(p2+5); } } acsWH_VZKZN.collectFormParams=function() { var args="&SessionID=" + acsWH_VZKZN.aspsid; var div=document.getElementById(acsWH_VZKZN.eid); if(div) { var arr=div.getElementsByTagName("input"); for(i=0;i