var path = "";

document.write('<link rel="stylesheet" href="'+path+'/mobile/stylesheet.css" type="text/css">');

mm_wizard_content_sound		= "[SECTIONS]<table border='0' cellspacing='0' cellpadding='0'><tr><td style='white-space:nowrap'>[CONTENT]</td></tr></table>[PAGES]";
mm_wizard_content_wallpaper	= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_javagame	= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_image		= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_displaypicture= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_emoticon	= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_ddp		= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_wink		= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_msnbackground	= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_msntheme	= "[SECTIONS][CONTENT][PAGES]";
mm_wizard_content_horoscope	= "[SECTIONS][CONTENT][PAGES]";

mm_wizard_table_rowstart_odd_sound	= "";
mm_wizard_table_rowstart_even_sound	= "";
mm_wizard_table_colstart_odd_sound	= "";
mm_wizard_table_colstart_even_sound	= "";
mm_wizard_table_colend_odd_sound	= "";
mm_wizard_table_colend_even_sound	= "";
mm_wizard_table_rowend_odd_sound	= "";
mm_wizard_table_rowend_even_sound	= "";

mm_wizard_table_content_odd_sound		= "<a href='[LISTENURL]'><img src='pictures/speaker.gif' class='speaker'></a><a href='[ORDERURL]' class='content'>[ARTIST] - [SONG]</a><br>";
mm_wizard_table_content_even_sound		= mm_wizard_table_content_odd_sound;
mm_wizard_table_content_odd_wallpaper		= "<a href='[ORDERURL]'><img src='[IMGURL]' width='96' height='65' border='0'></a>";
mm_wizard_table_content_even_wallpaper		= mm_wizard_table_content_odd_wallpaper;
mm_wizard_table_content_odd_wallpaper_toplist	= "[POS].<br>"+mm_wizard_table_content_odd_wallpaper;
mm_wizard_table_content_even_wallpaper_toplist	= mm_wizard_table_content_odd_wallpaper_toplist;
mm_wizard_table_content_odd_javagame_toplist	= mm_wizard_table_content_odd_wallpaper_toplist;
mm_wizard_table_content_even_javagame_toplist	= mm_wizard_table_content_odd_wallpaper_toplist;
mm_wizard_table_content_odd_image		= "<a href='[ORDERURL]'><img src='[IMGURL]' width='72' height='28' border='0'></a>";
mm_wizard_table_content_even_image		= mm_wizard_table_content_odd_image;
mm_wizard_table_content_odd_image_toplist	= "[POS].<br>"+mm_wizard_table_content_odd_image;
mm_wizard_table_content_even_image_toplist	= mm_wizard_table_content_odd_image_toplist;
mm_wizard_table_content_odd_emoticon		= "<a href='[ORDERURL]'><img src='[IMGURL]' width='80' height='80' border='0'></a>";
mm_wizard_table_content_even_emoticon		= mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_odd_emoticon_toplist	= "[POS].<br>"+mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_even_emoticon_toplist	= mm_wizard_table_content_odd_emoticon_toplist;
mm_wizard_table_content_odd_msnbackground		= mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_even_msnbackground		= mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_odd_msnbackground_toplist	= mm_wizard_table_content_odd_emoticon_toplist;
mm_wizard_table_content_even_msnbackground_toplist	= mm_wizard_table_content_odd_emoticon_toplist;
mm_wizard_table_content_odd_displaypicture		= mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_even_displaypicture		= mm_wizard_table_content_odd_emoticon;
mm_wizard_table_content_odd_displaypicture_toplist	= mm_wizard_table_content_odd_emoticon_toplist;
mm_wizard_table_content_even_displaypicture_toplist	= mm_wizard_table_content_odd_emoticon_toplist;
mm_wizard_table_content_odd_ddp			= "<embed src='[IMGURL]' width='102' height='146' type='application/x-shockwave-flash'></embed>";
mm_wizard_table_content_even_ddp		= mm_wizard_table_content_odd_ddp;
mm_wizard_table_content_odd_ddp_toplist		= "[POS].<br>"+mm_wizard_table_content_odd_ddp;
mm_wizard_table_content_even_ddp_toplist	= mm_wizard_table_content_odd_ddp_toplist;
mm_wizard_table_content_odd_wink		= "<a href='[ORDERURL]'><img src='[IMGURL]' width='100' height='100' border='0'></a>";
mm_wizard_table_content_even_wink		= mm_wizard_table_content_odd_wink;
mm_wizard_table_content_odd_wink_toplist	= "[POS].<br>"+mm_wizard_table_content_odd_wink;
mm_wizard_table_content_even_wink_toplist	= mm_wizard_table_content_odd_wink_toplist;

mm_wizard_chars_header	   = "<p class='color1 botgap'>BEGIN WITH: &nbsp;";
mm_wizard_chars_char	   = "<a href='[CHARURL]'>[CHAR]</a>";
mm_wizard_chars_activechar = "<span class='color3'>[CHAR]</span>";
mm_wizard_chars_divider	   = "<span class='dots'>·</span>";
mm_wizard_chars_footer	   = "</p>";

mm_wizard_sections_header	 = "<p class='color1 botgap'>CATEGORY:&nbsp;";
mm_wizard_sections_section	 = "<a href='[SECTIONURL]'>[SECTIONNAME]</a>";
mm_wizard_sections_activesection = "<span class='color3'>[SECTIONNAME]</span>";
mm_wizard_sections_divider	 = " · ";
mm_wizard_sections_footer	 = "</p>";

mm_wizard_pages_header	   = "<p class='color1 topgap'>PAGE: &nbsp;";
mm_wizard_pages_page	   = "<a href='[PAGEURL]'>[PAGENUMBER]</a>";
mm_wizard_pages_activepage = "<span class='color3'>[PAGENUMBER]</span>";
mm_wizard_pages_divider	   = " · ";
mm_wizard_pages_footer	   = "</p>";

mm_wizard_menu_header		  = "<p class='color1 center'>CHOOSE YOUR PHONE MODEL: &nbsp;&nbsp;<select id='menu' onChange='eval(this.options[this.selectedIndex].value);'>";
mm_wizard_menu_content_odd	  = "<option value='[SECTIONURL]'>[SECTIONNAME]</option>";
mm_wizard_menu_content_even	  = mm_wizard_menu_content_odd;
mm_wizard_menu_activecontent_odd  = "<option value='[SECTIONURL]' selected>[SECTIONNAME]</option>";
mm_wizard_menu_activecontent_even = mm_wizard_menu_activecontent_odd;
mm_wizard_menu_footer		  = "</select></p>";

function mobilemoneysale(ordernumber,pos){
mmrefname = 'hypedup';
mmlanguage = 'en';
mmpskin = 'default';
mobpop = window.open('http://www.mobilemoney.com/salespopup.asp?pos='+mobilepage+'&ordernumber='+escape(ordernumber)+'&refname='+escape(mmrefname)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin)+'&country=44;353;33;49;34;39;351;31;61;32;41;43;45;358;46;47&hidechangelanguage=1','mobilepopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=420,left='+eval((screen.availWidth/2)-234)+',top=50');
mobpop.focus();}
function listenwindow(listenurl){
window.open(listenurl, 'Listen', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=150,height=150,left='+eval((screen.availWidth/2)-75)+',top=50');}
function getparam(lookfor){
var st = new String(document.location);
var start = st.indexOf (lookfor);
if (start != -1){
st = st.substring (start);
start = st.indexOf ('=');
st = st.substring (start+1);
eind = st.indexOf ('&');
if (eind == -1){
eind = st.length;}
st = st.replace (/\+/g, ' ');
var st = unescape (st.substring (0, eind));}
else{
st = "";}
return st;}

function mobileeditor(contenttype,data,pos) {
mmrefname = 'hypedup';
mmlanguage = 'en';
mmpskin = 'default';
mmdata = data;
switch(contenttype*1) {
case 16:
screenwidth = 520;
screenheight = 300;
break;
case 17:
screenwidth = 520;
screenheight = 400;
break;
case 27:
screenwidth = 500;
screenheight = 497;
break; }
window.open('http://www.mobilemoney.com/editor.asp?pos='+mobilepage+'&contenttype='+escape(contenttype)+'&refname='+escape(mmrefname)+'&mmdata='+escape(mmdata)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'editorpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+screenwidth+',height='+screenheight+',left='+eval((screen.availWidth/2)-(screenwidth/2))+',top=50'); }

document.write('<div id="menupoly" class="menu">POLY TONES<br><br>'+
'<a href="'+path+'/mobile/polytones_atozlist.html">A-Z LIST</a><br>'+
'<a href="'+path+'/mobile/polytones_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/polytones_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/polytones_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/polytones_search.html">SEARCH</a><br>'+
'<a href="'+path+'/mobile/polytones_ukchart.html">UK CHART</a><br>'+
'<a href="'+path+'/mobile/polytones_uschart.html">US CHART</a></div>'+

'<div id="menucovt" class="menu">COVER TONES<br><br>'+
'<a href="'+path+'/mobile/covertones_atozlist.html">A-Z LIST</a><br>'+
'<a href="'+path+'/mobile/covertones_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/covertones_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/covertones_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/covertones_search.html">SEARCH</a></div>'+

'<div id="menuvoit" class="menu">VOICE TONES<br><br>'+
'<a href="'+path+'/mobile/voicetones_atozlist.html">A-Z LIST</a><br>'+
'<a href="'+path+'/mobile/voicetones_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/voicetones_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/voicetones_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/voicetones_search.html">SEARCH</a></div>'+

'<div id="menuwall" class="menu">WALLPAPERS<br><br>'+
'<a href="'+path+'/mobile/wallpapers_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/wallpapers_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/wallpapers_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/wallpapers_random.html">RANDOM</a><br>'+
'<a href="'+path+'/mobile/wallpapers_editor.html">EDITOR</a></div>'+

'<div id="menuanim" class="menu">ANIMATED PICS<br><br>'+
'<a href="'+path+'/mobile/animatedpics_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/animatedpics_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/animatedpics_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/animatedpics_random.html">RANDOM</a></div>'+

'<div id="menumcar" class="menu">M-CARDS<br><br>'+
'<a href="'+path+'/mobile/mcards_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/mcards_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/mcards_latest50.html">LATEST 50</a><br>'+
'<a href="'+path+'/mobile/mcards_random.html">RANDOM</a></div>'+

'<div id="menujava" class="menu">JAVA GAMES<br><br>'+
'<a href="'+path+'/mobile/javagames_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/javagames_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/javagames_random.html">RANDOM</a></div>'+

'<div id="menusmsi" class="menu">SMS IMAGES<br><br>'+
'<a href="'+path+'/mobile/smsimages_categorylist.html">CATEGORY LIST</a><br>'+
'<a href="'+path+'/mobile/smsimages_top50.html">TOP 50</a><br>'+
'<a href="'+path+'/mobile/smsimages_random.html">RANDOM</a><br>'+
'<a href="'+path+'/mobile/smsimages_editor.html">EDITOR</a></div>'+

'<div id="menuwind" class="menu">WINDOWS LIVE MESSENGER<br><br>'+
'<a href="'+path+'/mobile/wlm_backgrounds_catlist.html">BACKGROUNDS</a><br>'+
'<a href="'+path+'/mobile/wlm_displaypics_catlist.html">DISPLAY PICS (AVATARS)</a><br>'+
'<a href="'+path+'/mobile/wlm_dyndisplaypics_catlist.html">DYNAMIC DISPLAY PICS</a><br>'+
'<a href="'+path+'/mobile/wlm_emoticons_catlist.html">EMOTICONS</a><br>'+
'<a href="'+path+'/mobile/wlm_themes_catlist.html">THEMES</a><br>'+
'<a href="'+path+'/mobile/wlm_winks_catlist.html">WINKS</a></div>');

function top1() {
document.write('<p class="edge">'+document.title+'</p><div class="border">'+
'<a href="javascript:menu()" onclick="dropit(event,\'menupoly\');return false">POLY TONES</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menucovt\');return false">COVER TONES</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menuvoit\');return false">VOICE TONES</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menujava\');return false">JAVA GAMES</a><p>'+
'<a href="javascript:menu()" onclick="dropit(event,\'menuwall\');return false">WALLPAPERS</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menuanim\');return false">ANIMATED PICS</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menumcar\');return false">M-CARDS</a> · '+
'<a href="javascript:menu()" onclick="dropit(event,\'menusmsi\');return false">SMS IMAGES</a></p><p>'+
'<a href="javascript:menu()" onclick="dropit(event,\'menuwind\');return false">WINDOWS LIVE MESSENGER</a> · '+
'<a href="'+path+'/mobile/horoscopes.html">HOROSCOPES</a> · '+
'<a href="'+path+'/mobile/info.html">INFORMATION</a></p></div>'); }

function bottom2() {
bottom();
var images=document.getElementsByTagName("img");
for (var i=0; i<images.length; i++) {
if(!/speaker/.test(images[i].className) && !/speaker2/.test(images[i].className) && !/noborder/.test(images[i].className)) {
images[i].onmouseover=function() {
this.className="onit"; }
images[i].onmouseout=function() {
this.className="img"; }
images[i].oncontextmenu=function() {
if (path=="") {
window.focus();
return false; } } } } }

var IEver = 0;
if (navigator.appName == 'Microsoft Internet Explorer') {
if (new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})").exec(navigator.userAgent) != null) {
IEver = parseFloat(RegExp.$1); } }

function dropit(evt,whichone) {
evt.cancelBubble = true;
hideit();
if (window.event) {
var coords = getcoords(event.srcElement); }
else {
var coords = getcoords(evt.target); }
if (document.all && IEver<8) {
var moveby = 2; }
else {
var moveby = 8; }
themenu = document.getElementById(whichone);
themenu.style.left = coords.x - moveby + "px";
themenu.style.top = coords.y - moveby + "px";
themenu.style.visibility = "visible"; }

function getcoords(el) {
var coords = {x:0, y:0};
do {
coords.x += el.offsetLeft;
coords.y += el.offsetTop; }
while (el = el.offsetParent);
return coords; }

function hideit() {
if (window.themenu) {
themenu.style.visibility = "hidden"; } }
document.onclick = hideit;

screenwidth = document.documentElement.clientWidth;
if (screenwidth>1080) {
var columns1="8";
var columns3="9";
var columns4="4";
var rows1="7";
var rows3="32";
var rows4="13"; }
else if (screenwidth>970) {
var columns1="7";
var columns3="8";
var columns4="3";
var rows1="8";
var rows3="36";
var rows4="15"; }
else if (screenwidth>860) {
var columns1="6";
var columns3="7";
var columns4="3";
var rows1="9";
var rows3="42";
var rows4="17"; }
else {
var columns1="5";
var columns3="6";
var columns4="2";
var rows1="11";
var rows3="50";
var rows4="20"; }