var softinfo = {Softname:"APMServ",SoftID:7558,Collections:3,Subscribes:0,AuthorUserID:0,Author:null}; document.getElementById("wen_collections").innerHTML="("+softinfo.Collections +")"; //_get("wen_subscribes").innerHTML="("+softinfo.Subscribes +")"; var isLogin = 0; if(!isLogin){ var r1 = document.getElementById("rate1"); var r2 = document.getElementById("rate2"); r1.onclick = function(){ openDialog("/max-dialogs/login.aspx",function(){dprate('soft','1','7558');}); }; r2.onclick = function(){ openDialog("/max-dialogs/login.aspx",function(){dprate('soft','2','7558');}); }; var submitlink =document.getElementById("wen_submit"); if(submitlink){ submitlink.onclick=function(e){ e=e||window.event; var tag = e.srcElement || e.target; openDialog("/max-dialogs/login.aspx",function(r){ location.replace(tag.href);}); return false; }; } } else { //var uid=q; }