/*
txtserve_sub_id = 'LWOStop';
txtserve_icon_left = "http://www.lyrics007.com/images/phone.gif";
txtserve_icon_right = "http://www.lyrics007.com/images/phone2.gif";
if (isDefined('rm_txtserve_ad_html'))
	document.write(rm_txtserve_ad_html);
else
	document.write('<scr' + 'ipt type="text/javascript" src="http://txtserve.ringtonematcher.com/ad-clientside.php"></scr' + 'ipt>');

function isDefined(variable) {
	return (typeof(window[variable]) != 'undefined');
}
*/

// note: ad_text is passed in

if (window.tf_artist) {
	//ad_text = tf_artist;
} else {
	tf_artist = "";
}

if (window.tf_songtitle) {
	//ad_text = tf_songtitle;
} else {
	tf_songtitle = "";
}

creatives = new Array();

/*
 *  Add one of these to add a creative.
 *  Make sure that you don't have line breaks in these, and if you need an apostrophe ('), put a backslash (\) before it,
 *  like (\').  So just copy an existing three lines to make a new creative
 */

creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT03&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Cell Phone<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT04&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to your Cell Phone<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;



creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT05&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Cell Phone Now<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT06&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Cell<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 100;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT07&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Cell Phone Instantly<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;



creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT08&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Cell Phone Now!<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT09&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to your Cell Phone Now<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT10&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to your Cell Phone Instantly<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;


creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT11&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Play "' + ad_text + '" on your Cell Phone<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;

creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT12&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" to Cell Phone<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;

creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT13&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to your Cell<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 0;

creatives[creatives.length] = new Array();
creatives[creatives.length - 1]['HTML'] = '<a href="http://www.ringtonematcher.com/co/ringtonematcher/02/noc.asp?sid=LWOStopT14&artist=' + encodeURIComponent(tf_artist) + '&song=' + encodeURIComponent(tf_songtitle) + '" style="color: red; font-size: 14; font-family: Arial; font-weight: bold;" rel="nofollow" target="_blank"><img src="http://www.lyrics007.com/images/phone.gif" border="0" style="margin-right: 5px; vertical-align: bottom;" />Send "' + ad_text + '" Ringtone to Mobile<img src="http://www.lyrics007.com/images/phone2.gif" border="0" style="margin-left: 5px; vertical-align: bottom;" /></a>';
creatives[creatives.length - 1]['Weight'] = 100;


/*
 *  Done editing
 */

var arr_choices = new Array();
for (i = 0; i < creatives.length; i++) {
	ind = arr_choices.length;
	for (x = ind; x < ind + creatives[i]['Weight']; x++)
		arr_choices[arr_choices.length] = i;
}
var adrnd = Math.floor(Math.random() * arr_choices.length);
var ad_html = creatives[arr_choices[adrnd]]['HTML'];

document.write(ad_html);