// cached javascript var Home = { getrateonpg:function(pageno,callback,context){return new ajax_request(this.url + '?_method=getrateonpg&_session=no','pageno=' + enc(pageno),callback, context);}, getrateonpgleft:function(pageno,callback,context){return new ajax_request(this.url + '?_method=getrateonpgleft&_session=no','pageno=' + enc(pageno),callback, context);}, saverate1:function(rate,pageno,callback,context){return new ajax_request(this.url + '?_method=saverate1&_session=no','rate=' + enc(rate)+ '\r\npageno=' + enc(pageno),callback, context);}, mostcommented:function(callback,context){return new ajax_request(this.url + '?_method=mostcommented&_session=no','',callback, context);}, saveBlog:function(heading,area,pageno,callback,context){return new ajax_request(this.url + '?_method=saveBlog&_session=no','heading=' + enc(heading)+ '\r\narea=' + enc(area)+ '\r\npageno=' + enc(pageno),callback, context);}, writeBlogTxt:function(pgno,pgmod,callback,context){return new ajax_request(this.url + '?_method=writeBlogTxt&_session=no','pgno=' + enc(pgno)+ '\r\npgmod=' + enc(pgmod),callback, context);}, sendFeed:function(name,email,comment,callback,context){return new ajax_request(this.url + '?_method=sendFeed&_session=no','name=' + enc(name)+ '\r\nemail=' + enc(email)+ '\r\ncomment=' + enc(comment),callback, context);}, getlinkCordinate:function(id,callback,context){return new ajax_request(this.url + '?_method=getlinkCordinate&_session=no','id=' + enc(id),callback, context);}, sendMail:function(sendername,sendermail,receivername,receivermail,cc,subject,message,mgtype,pg,pubid,callback,context){return new ajax_request(this.url + '?_method=sendMail&_session=no','sendername=' + enc(sendername)+ '\r\nsendermail=' + enc(sendermail)+ '\r\nreceivername=' + enc(receivername)+ '\r\nreceivermail=' + enc(receivermail)+ '\r\ncc=' + enc(cc)+ '\r\nsubject=' + enc(subject)+ '\r\nmessage=' + enc(message)+ '\r\nmgtype=' + enc(mgtype)+ '\r\npg=' + enc(pg)+ '\r\npubid=' + enc(pubid),callback, context);}, sendMailEditor:function(sendername,sendermail,receivername,receivermail,cc,subject,message,mgtype,pg,pubid,callback,context){return new ajax_request(this.url + '?_method=sendMailEditor&_session=no','sendername=' + enc(sendername)+ '\r\nsendermail=' + enc(sendermail)+ '\r\nreceivername=' + enc(receivername)+ '\r\nreceivermail=' + enc(receivermail)+ '\r\ncc=' + enc(cc)+ '\r\nsubject=' + enc(subject)+ '\r\nmessage=' + enc(message)+ '\r\nmgtype=' + enc(mgtype)+ '\r\npg=' + enc(pg)+ '\r\npubid=' + enc(pubid),callback, context);}, saveUser:function(firstname,lastname,address,city,state,country,age,gender,userid,mail,password,callback,context){return new ajax_request(this.url + '?_method=saveUser&_session=no','firstname=' + enc(firstname)+ '\r\nlastname=' + enc(lastname)+ '\r\naddress=' + enc(address)+ '\r\ncity=' + enc(city)+ '\r\nstate=' + enc(state)+ '\r\ncountry=' + enc(country)+ '\r\nage=' + enc(age)+ '\r\ngender=' + enc(gender)+ '\r\nuserid=' + enc(userid)+ '\r\nmail=' + enc(mail)+ '\r\npassword=' + enc(password),callback, context);}, sendcomment:function(c1,c2,c3,callback,context){return new ajax_request(this.url + '?_method=sendcomment&_session=no','c1=' + enc(c1)+ '\r\nc2=' + enc(c2)+ '\r\nc3=' + enc(c3),callback, context);}, getTitle:function(pageno,callback,context){return new ajax_request(this.url + '?_method=getTitle&_session=no','pageno=' + enc(pageno),callback, context);}, getDescription:function(pageno,callback,context){return new ajax_request(this.url + '?_method=getDescription&_session=no','pageno=' + enc(pageno),callback, context);}, chk1:function(username,password,Clientadd,callback,context){return new ajax_request(this.url + '?_method=chk1&_session=no','username=' + enc(username)+ '\r\npassword=' + enc(password)+ '\r\nClientadd=' + enc(Clientadd),callback, context);}, insertSearchDetail:function(searchword,pageno,callback,context){return new ajax_request(this.url + '?_method=insertSearchDetail&_session=no','searchword=' + enc(searchword)+ '\r\npageno=' + enc(pageno),callback, context);}, gerCoordinate:function(id,callback,context){return new ajax_request(this.url + '?_method=gerCoordinate&_session=no','id=' + enc(id),callback, context);}, helloo:function(callback,context){return new ajax_request(this.url + '?_method=helloo&_session=no','',callback, context);}, url:'/magazine/ajax/flippingbook.Home,flippingbook.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);} function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} function _getTable(n,e){for(var i=0; i