// Compacted by ScriptingMagic.com
function ddFReq(f,a){var b=makeHttpRequest("http://www.jannah.com/dd/util/ddFReq.php?f="+f+"&ft="+a);b=b.replace(/\s+/g,"");return (b)}function getItemReviews(i,t,r){switch(t){case ("c"):var a=makeHttpRequest("http://www.jannah.com/dd/util/itemReview.php?i="+i+"&t="+t+"&random="+Math.random());el=document.getElementById("itemReviewCount");el.innerHTML=a;break;case ("r"):el=document.getElementById("itemReviews");if(document.getElementById("currStateR")){expandCollapse("itemReviews","expcol")}else{var a=makeHttpRequest("http://www.jannah.com/dd/util/itemReview.php?i="+i+"&t="+t+"&random="+Math.random());var b=document.createElement("span");b.setAttribute("id","currStateR");el.innerHTML=a;el.appendChild(b);expandCollapse("itemReviews","expcol","exp")}break;case ("i"):var a=makeHttpRequest("http://www.jannah.com/dd/util/itemReview.php?i="+i+"&t="+t+"&r="+r+"&random="+Math.random());el.innerHTML=a;break;case ("s"):el=document.getElementById("itemReviews");var c=getSiteUserId();if(0){if(document.getElementById("currStateL")){expandCollapse("itemReviews","expcol")}else{var b=document.createElement("span");b.setAttribute("id","currStateL");el.innerHTML=getSignin();el.appendChild(b);expandCollapse("itemReviews","expcol","exp")}}else{if(document.getElementById("currStateS")){expandCollapse("itemReviews","expcol")}else{var b=document.createElement("span");b.setAttribute("id","currStateS");el.innerHTML='<form name="reviewForm" method="GET" onsubmit="getItemReviews('+i+",'i',document.reviewForm.review.value);getItemReviews("+i+',\'c\');" action="javascript:void(0);"><textarea name="review" rows="3" cols="30" style="overflow:auto; width:450px; height:50px; padding:5px"></textarea>&nbsp;<input type=submit value="submit"></form>';el.appendChild(b);expandCollapse("itemReviews","expcol","exp")}}break}}function getUIFR(a,b,c){var d="thisReco_"+b;var e="expcol_"+b;if(c){document.getElementById(d).innerHTML="";expandCollapse(d,e)}if(document.getElementById(d).innerHTML!=""){expandCollapse(d,e)}else{el=document.getElementById(d);expandCollapse(d,e);el.innerHTML="<div class=working>loading... please wait.</div>";setTimeout(function(){output=makeHttpRequest("http://www.jannah.com/cgi-bin/mp3/info.pl?do=uifr;uid="+a+";item="+b+"&random="+Math.random());el.innerHTML=unescape(output)},100)}}function buy(a,b,c){switch(b){case ("i"):showPopWin("http://www.jannah.com/cgi-bin/mp3/info.pl?do=bi&uid="+a+"type="+b+"&item="+c+"&random="+Math.random(),600,400,null);break;case ("f"):showPopWin("http://www.jannah.com/cgi-bin/mp3/info.pl?do=bf&uid="+a+"type="+b+"&item="+c+"&random="+Math.random(),600,400,null);break;default:var i}}function updateIDisplay(a,b){var c="rIbuy_"+b;var d="rFbuy_"+b;var e="iListContainer_"+b;switch(a){case ("i"):var f=document.getElementById(c).innerHTML="<img src=/images/tick.gif width=18 height=18 border=0>&nbsp;These recommendations have been added to your downloads";var f=document.getElementById(e).style.display="none";break;case ("f"):break;default:alert("unhandled case")}}function ddDownload(a,f){var b="dlLeft_"+f;var c=document.getElementById(b);var d=Number(c.innerHTML)-1;if(d<0){d=0}c.innerHTML=d;window.open("http://www.jannah.com/cgi-bin/mp3/info.pl?do=df&item="+f,"ddDownload","width=200,height=200")}function playSample(f){window.open(f,"audSample","width=200,height=200")}function returnRefresh(a){window.location.reload(true)}