function disableEnter(e){var key;if(window.event){key=window.event.keyCode;}else{key=e.which;}if(key==13){document.sform.sbutton.value='Searching...';document.sform.sbutton.disabled='true';document.sform.submit();document.sform.q.disabled=true;return true;}else{return true;}}function disableForm(){document.sform.sbutton.value='Searching...';document.sform.sbutton.disabled='true';document.sform.submit();document.sform.q.disabled=true;}function sharepop(id,w,h){var winl=(screen.width-w)/2;var wint=(screen.height-h)/2;winprops='height='+h+',width='+w+',top='+wint+',left='+winl+'status=no,menubar=no,resizable=no,scrollbars=no,toolbar=no,location=no,directories=no';window.open("/inc/do.php?job=share&id="+id+"&autoplay=on&loop=on","",winprops);}var addthis_config={ui_delay:200, services_exclude:'facebook,twitter,google,delicious,email'};function toolbox(){var tbx=document.getElementById("toolbox");var svcs=["facebook","twitter","google","delicious","email","compact"];for (var s in svcs){tbx.innerHTML+='<a rel="nofollow" class="addthis_button_'+svcs[s]+'"></a>';}tbx.innerHTML+='<a rel="nofollow" class="addthis_counter addthis_bubble_style"></a>';}function tick(){calcCharLeft();if(!supportsKeys){timerID=setTimeout('tick()',60);}}function calcCharLeft(){clipped=false;maxLength=300;if(document.comment.comment.value.length>maxLength){document.comment.comment.value=document.comment.comment.value.substring(0,maxLength);charleft=0;clipped=true;}else{charleft=maxLength-document.comment.comment.value.length;}document.comment.rembox.value=charleft;return clipped;}function v160(){document.writeln("<script language=\"javascript\" src=\"http://media.fastclick.net/w/get.media?sid=55998&m=3&tp=7&d=j&t=n\"></script><noscript><a href=\"http://media.fastclick.net/w/click.here?sid=55998&m=3&c=1\" target=\"_blank\"><img src=\"http://media.fastclick.net/w/get.media?sid=55998&m=3&tp=7&d=s&c=1\" width=160 height=600 border=1></a></noscript>");}function v728(){document.writeln("<script language=\"javascript\" src=\"http://media.fastclick.net/w/get.media?sid=55998&m=1&tp=5&d=j&t=n\"></script><noscript><a href=\"http://media.fastclick.net/w/click.here?sid=55998&m=1&c=1\" target=\"_blank\"><img src=\"http://media.fastclick.net/w/get.media?sid=55998&m=1&tp=5&d=s&c=1\" width=728 height=90 border=1></a></noscript>");}function v300(){document.writeln("<script language=\"javascript\" src=\"http://media.fastclick.net/w/get.media?sid=55998&m=6&tp=8&d=j&t=n\"></script><noscript><a href=\"http://media.fastclick.net/w/click.here?sid=55998&m=6&c=1\" target=\"_blank\"><img src=\"http://media.fastclick.net/w/get.media?sid=55998&m=6&tp=8&d=s&c=1\" width=300 height=250 border=1></a></noscript>");}function vpop(){document.writeln("<script language=\"javascript\">var dc=document; var date_ob=new Date();dc.cookie='h2=o; path=/;';var bust=date_ob.getSeconds();if(dc.cookie.indexOf('e=llo') <= 0 && dc.cookie.indexOf('2=o') > 0){dc.write('<scr'+'ipt language=\"javascript\" src=\"http://media.fastclick.net');dc.write('/w/pop.cgi?sid=55998&m=2&tp=2&v=1.8&c='+bust+'\"></scr'+'ipt>');date_ob.setTime(date_ob.getTime()+86400000);dc.cookie='he=llo; path=/; expires='+ date_ob.toGMTString();}</script>");}function tab(id,address,title,num,duration,size,logged,usa,pk){var so=new SWFObject('http://static.mp3bear.com/mp3player_main.swf','player','269','226','9','#000000');so.addVariable('skin','http://static.mp3bear.com/skins/nobius_blue/skin.xml');so.addVariable('key','6K9YKHIAX6RRW08DZIY6');so.addVariable('file','<location>'+unescape(address)+'</location><creator>mp3Bear</creator><title>'+title+'</title>');so.addVariable('autoplay','false');so.addVariable('shuffle','false');so.addVariable('repeat','false');so.addVariable('buffertime','1');so.addParam('allowscriptaccess','always');so.write('mp3_player');if(usa==1){adgif='phonerad.gif';}else{adgif='phoner.gif';}document.getElementById('source_title').innerHTML='<img src="http://static.mp3bear.com/music.png" alt="listen to '+title+' music"><b>Listen '+title+' mp3</b> <span>(source '+num+')</span>';document.getElementById('source_text').innerHTML=title+' file size: '+size+'<br><br>Right Click and choose "Save Target As..." to download<br><img src="http://static.mp3bear.com/download.png" alt="download '+title+' mp3"><a rel="nofollow" target="_blank" href="'+unescape(address)+'">Download '+title+' mp3</a> <span>(source '+num+')</span>';if(logged==1){document.getElementById('mp3m1').innerHTML='<form name="add" action="/profile/do.php" method="post"><input type="hidden" name="action" value="add"><input type="hidden" name="id" value="'+id+'"><a href="javascript:document.add.submit();" >Add to your playlist</a></form>';}else{document.getElementById('mp3m1').innerHTML='<a rel="nofollow" href="/inc/do.php?job=add&id='+id+'">Add to your playlist</a>';}document.getElementById('mp3m2').innerHTML='<a rel="nofollow" href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=BAERros&search='+title+'"  target="_blank">Send to your cell</a> <img src="http://static.mp3bear.com/'+adgif+'">';/*document.getElementById('mp3m3').innerHTML='<a rel="nofollow" href="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Ddigital-music-track&tag=bookandstore-20&field-keywords='+title+'" target="_blank">Buy this mp3</a>';*/document.getElementById('mp3m4').innerHTML='<a rel="nofollow" href="#" onclick="javascript:sharepop(\''+id+'_'+pk+'\',\'500\',\'420\');return false;">Embed</a>';}
