var http_request=false;function trim(_1){return (_1.replace(/(\s+)$/g,"")).replace(/^\s+/g,"");}function BuyNow(_2){location.href="/buy-now.php?item="+_2;}function GetLink(id){window.open("/dc/link?id="+id,"lnk"+id,"status=no,toolbar=no,scrollbars=no,titlebar=no,menubar=no,resizable=no,width=500,height=400,directories=no,location=no");}function Support(id,_5){window.open("/support.php?id="+id+"&tag="+_5,"cs"+id,"status=no,toolbar=no,scrollbars=no,titlebar=no,menubar=no,resizable=no,width=500,height=400,directories=no,location=no");return false;}function Screenshot(id){window.open("/viewscr.php?id="+id);}function delicious(){var _7=urlencode(location.href);var _8=urlencode(document.title+" at Shareup Networks");var _9=document.getElementsByTagName("meta");var _a=urlencode(_9[1].getAttribute("content"));location.href="http://del.icio.us/post?url="+_7+"&title="+_8+"&notes="+_a+"&tags=test";return false;}function trim(_b){return (_b.replace(/(\s+)$/g,"")).replace(/^\s+/g,"");}function init_http_request(){http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest();if(http_request.overrideMimeType){http_request.overrideMimeType("text/xml");}}else{if(window.ActiveXObject){try{http_request=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{http_request=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}}}function set_param(n,v,p){if(p==null){return n+"="+encodeURIComponent(v);}else{return p+"&"+n+"="+encodeURIComponent(v);}}function post_data(_f,_10,_11){init_http_request();if(!http_request){alert("JavaScript/XMLHTTP is either disabled or not supported by your browser.");return false;}http_request.onreadystatechange=_11;http_request.open("POST",_f,true);http_request.setRequestHeader("Content-Type","application/x-www-form-urlencoded");http_request.send(_10);return false;}function mos(i){var _13=document.getElementsByName("star");for(var x=0;x<=i;x++){_13[x].src="/images/staron.gif";}for(var y=i+1;y<5;y++){_13[y].src="/images/star.gif";}_13[5].value=i+1;}function rate(b){var com=document.getElementById("com");if(com.value==""){com.style.backgroundColor="#ffe3e3";return;}var _18=document.getElementsByName("star");b.value="Loading...";b.disabled=true;_18[0].disabled=true;_18[1].disabled=true;_18[2].disabled=true;_18[3].disabled=true;_18[4].disabled=true;var _19=set_param("star",_18[5].value,null);_19=set_param("sid",_18[6].value,_19);_19=set_param("com",com.value,_19);post_data("rate_software.php",_19,proc_rate);}function proc_rate(){if(http_request.readyState==4){if(http_request.status==200){var _1a=http_request.responseXML;var err=_1a.getElementsByTagName("err").item(0).firstChild.nodeValue;if(err=="0"){var _1c=_1a.getElementsByTagName("member").item(0).firstChild.nodeValue;var td=document.getElementById("review");var _1e=document.getElementsByName("star");var com=trim(document.getElementById("com").value);com=com.replace(/\n/g,"<br>");var _20="";if(_1c=="0"){_1c="unregistered user";_20="<p id=\"login\"><b>Please register or login</b><br>In order to display your name on Shareup, please <span onclick=\"lgn()\">login</span> or <span onclick=\"reg()\">register</span>.</p>";}var _21="<b>Review by <span id=\"member\">"+_1c+"</span></b><br>";var i=0;for(i=1;i<=_1e[5].value;i++){_21=_21+"<img src=\"/images/staron.gif\" width=\"19\" height=\"18\"> ";}for(i=_1e[5].value;i<5;i++){_21=_21+"<img src=\"/images/star.gif\" width=\"19\" height=\"18\"> ";}_21=_21+"<p>"+com+"</p><p><b>Thank you</b><br>Your review has been submitted and it usually takes a day to appear on Shareup."+_20;td.innerHTML=_21;}else{alert("Invalid service parameter.");}}else{alert("Unable to add your review at present.");document.getElementById("btnrate").disabled=false;}}}function updmember(_23){document.getElementById("member").innerHTML=_23;document.getElementById("login").style.display="none";}function reg(){if(navigator.appVersion.match(/\bMSIE (\d+)/)&&(RegExp.$1>=7)&&window.showModalDialog){window.showModalDialog("reg.php",window,"status:no;dialogHeight:240px;dialogWidth:335px");}else{var _24=(screen.width-335)/2;var top=(screen.height-240)/2;window.open("reg.php","login","height=240, width=335, top="+top+", left="+_24+", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no");}}function lgn(){if(navigator.appVersion.match(/\bMSIE (\d+)/)&&(RegExp.$1>=7)&&window.showModalDialog){window.showModalDialog("login.php",window,"status:no;dialogHeight:140px;dialogWidth:335px");}else{var _26=(screen.width-335)/2;var top=(screen.height-140)/2;window.open("login.php","login","height=140, width=335, top="+top+", left="+_26+", toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no");}}

function reca()
{
	document.write('<br><br><b>Recommended:</b> <a href="http://www.liutilities.com/affcb/?id=DSgen&aff=2507&xat=gen" rel="nofollow" target="_blank">Scan your PC for outdated drivers</a>');
}
function reca2()
{
	document.write('<span style="margin-left:50px"><b>Recommended:</b> <a href="http://www.liutilities.com/affcb/?id=DSgen&aff=2507&xat=gen" rel="nofollow" target="_blank">Scan your PC for outdated drivers</a></span>');
}