var rm_suffix="",rm_ad="",cookie_days=3;rm_ad='<div id="rm_container"><div id="rm_overlay" style="position:absolute; left:0; top:0; width:3000px; height:3000px; text-align:center; z-index:10000; background-color:#000; opacity:0.75; filter:alpha(opacity=75);"></div><div id="rm_modal" style="position: absolute; color:#000; width:650px; height:200px; top:50%; margin-top:-175px; left:50%; margin-left:-325px; background-color:#FFF; border:10px solid #8B0000; text-align:center; z-index:10001; font-family:Arial,Sans-serif,Serif;">';
rm_ad+='<a href="#" style="position:absolute; top:5px; right:7px; font-size:11px; font-weight:700; color:#000; text-decoration:none; border-style: none;" onclick="rm_hide_overlay(); return false;">Close Box</a>';rm_ad+='<a href="'+rm_url+'" onclick="rm_hide_overlay();" target="_blank"><img src="/i/icon_ringtones.gif" border="0" alt="" id="rm_ring_icon" style="position:absolute; top:20px; left:300px;" /></a>';
rm_ad+='<span id="rm_notice" style="position:absolute; bottom:5px; left:225px; font-size:10px; color:#404040;">This will not be displayed again for '+cookie_days+" days.</span>";rm_ad+='<a id="rm_ad_text" onclick="rm_hide_overlay();" style="line-height: 30px; font-family:Verdana; font-weight:700; font-size:25px; color:#FF5000; text-decoration:underline; display:block; position:absolute; top:75px; left:20px; width:610px; border-style: none;" target="_blank" href="'+rm_url+'">Send &quot;';
if(rm_songtitle)rm_ad+=rm_songtitle;else{rm_ad+=rm_artist;rm_suffix="s"}rm_ad+="&quot; Ringtone"+rm_suffix+" to your Cell</a></div></div>";if(showAd()&&rm_ad!=""){document.write(rm_ad);rm_show_overlay()}function showAd(){ad_shown=get_cookie("rm_ad_shown");if(ad_shown!=null&&ad_shown!="")return false;else{set_cookie("rm_ad_shown","true",cookie_days);return true}}
function rm_show_overlay(){document.body.style.overflow="hidden";if(isIE())window.scrollTo(0,0);else{document.getElementById("rm_modal").style.position="fixed";if(document.getElementById("rm_modal2")!=null)document.getElementById("rm_modal2").style.position="fixed"}window.onload=hideflash}function rm_hide_overlay(){document.body.style.overflow="auto";document.getElementById("rm_container").innerHTML="";document.getElementById("rm_container").style.display="none";showflash()}
function is_defined(a){return typeof window[a]!="undefined"}function mt_rand(a,b){return Math.floor(Math.random()*(b-a+1))+a}function set_cookie(a,b,d){var c=new Date;c.setDate(c.getDate()+d);document.cookie=a+"="+escape(b)+";path=/"+(d==null?"":";expires="+c.toGMTString())+";domain=."+top.location.host.replace(/www\./i,"")}
function get_cookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}}return""}
function hideflash(){flash=document.getElementsByTagName("embed");for(var a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,-3000);flash=document.getElementsByTagName("object");for(a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,-3000);if(!hasITXT()){flash=document.getElementsByTagName("iframe");for(a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,-3000)}}
function showflash(){try{flash=document.getElementsByTagName("embed");for(var a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,3E3);flash=document.getElementsByTagName("object");for(a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,3E3);if(!hasITXT()){flash=document.getElementsByTagName("iframe");for(a=0;a<flash.length;a++)flash[a].style.marginLeft=addCSS(flash[a].style.marginLeft,3E3)}}catch(b){}}
function addCSS(a,b){if(a.length<3)return b+"px";num=a.substring(0,a.length-2);units=a.substring(a.length-2);return num*1+b+units}function hasITXT(){return/\.intellitxt\.com/i.test(document.body.innerHTML)}function isIE(){return/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent)}function isGC(){return navigator.userAgent.toLowerCase().indexOf("chrome/")>-1}function unix_timestamp(){foo=new Date;unixtime_ms=foo.getTime();return parseInt(unixtime_ms/1E3)};