function WriteTopList(PartnerCode){
document.write("<CENTER>");
document.write("<FORM>");
document.write("<font color='#0000FF'>");
document.write("<SELECT onchange='openURL(this,"+PartnerCode+")'>");
document.write("<OPTION>Ringtones Top-20:</OPTION>");
document.write("<OPTION> ------------------------------</OPTION>");
document.write("<OPTION VALUE='13233'>Las Ketchup - Ketchup song</OPTION>");
document.write("<OPTION VALUE='13148'>Brainpower - Dansplaat</OPTION>");
document.write("<OPTION VALUE='13173'>Shakira - Underneath your clothes</OPTION>");
document.write("<OPTION VALUE='13168'>Eminem - Without me</OPTION>");
document.write("<OPTION VALUE='97'>MTV reclame - mtv ringtone</OPTION>");
document.write("<OPTION VALUE='1184'>Plop - De Kabouterdans</OPTION>");
document.write("<OPTION VALUE='15'>Gigi d'agostino - The Riddle</OPTION>");
document.write("<OPTION VALUE='1883'>Gigi d'agostino -L'amour toujours</OPTION>");
document.write("<OPTION VALUE='11'>Shakira - Whenever wherever</OPTION>");
document.write("<OPTION VALUE='1883b'>Gigi d'agostino -L'amour version 2</OPTION>");
document.write("<OPTION VALUE='14'>Def P - Chillen in een Bubbelbad  </OPTION>");
document.write("<OPTION VALUE='13'>Alex Maxima huwelijk-Adios Nonino #1</OPTION>");
document.write("<OPTION VALUE='823'>Muppet Show</OPTION>");
document.write("<OPTION VALUE='462'>Voetbal - Hand in hand kameraden</OPTION>");
document.write("<OPTION VALUE='92'>Resurection - PPK</OPTION>");
document.write("<OPTION VALUE='596'>Mission Impossible</OPTION>");
document.write("<OPTION VALUE='6224'>Daddy DJ - Daddy DJ</OPTION>");
document.write("<OPTION VALUE='288'>A-Team</OPTION>");
document.write("<OPTION VALUE='6226'>Barthezz - On the move</OPTION>");
document.write("<OPTION VALUE='95'>Anastacia - Paid my dues</OPTION>");
document.write("<OPTION VALUE='458'>Andre Hazes - De vlieger</OPTION>");
document.write("<OPTION VALUE='1500'>Def Rhymz - Schudden</OPTION>");
document.write("<OPTION VALUE='1949'>Ambulance</OPTION>");
document.write("<OPTION VALUE='2869'>The Godfather</OPTION>");
document.write("<OPTION VALUE='10100'>Afroman - Because I got high</OPTION>");
document.write("<OPTION VALUE='6170'>Usher - U Remind Me</OPTION>");
document.write("<OPTION VALUE='94'>M. Jackson - Smooth Criminal</OPTION>");
document.write("<OPTION VALUE='448'>Frans Bauer</OPTION>");
document.write("<OPTION VALUE='12'>Alex Maxima huwelijk-Adios Nonino #2</OPTION>");

if(PartnerCode != 9999) { 
	document.write("<OPTION VALUE>  ------------------------------</OPTION>");
	document.write("<OPTION VALUE='9999'>Overige beltonen</OPTION>");
	document.write("<OPTION VALUE='9998'>10.000 Logo's</OPTION>");
} 
document.write("</SELECT></font></FORM></CENTER>");
}

function WriteGenList(PCode){
document.write("<CENTER>");
document.write("<FORM>");
document.write("<font color='#0000FF'>");
document.write("<SELECT onchange='openURL2(this,"+PCode+")'>");
if(PCode != 9999) { 
	document.write("<OPTION>Ringtones & Logo's</OPTION>");
}
if(PCode == 9999){
	document.write("<OPTION>Kies je favoriete Genre</OPTION>");
}


document.write("<OPTION> ------------------------------</OPTION>");
document.write("<OPTION VALUE='G01'>Dance/Trance</OPTION>");
document.write("<OPTION VALUE='G03'>Goud van Oud</OPTION>");
document.write("<OPTION VALUE='G04'>Klassiek</OPTION>");
document.write("<OPTION VALUE='G05'>Metal/Rock</OPTION>");
document.write("<OPTION VALUE='G06'>Nederlands</OPTION>");
document.write("<OPTION VALUE='G07'>Pop</OPTION>");
document.write("<OPTION VALUE='G08'>Rap</OPTION>");
document.write("<OPTION VALUE='G09'>R&B</OPTION>");
document.write("<OPTION VALUE='G10'>TV-Film Muziek</OPTION>");
document.write("<OPTION VALUE='G11'>Voetbal</OPTION>");
if(PCode !=9999) { 
	document.write("<OPTION> ------------------------------</OPTION>");
	document.write("<OPTION>10.000+  Logo's</OPTION>");
}
document.write("</SELECT></font></FORM></CENTER>");
}

function WriteTGenList(PartnerCode){
document.write("<CENTER>");
document.write("<FORM>");
document.write("<font color='#0000FF'>");
document.write("<SELECT onchange='openURL2(this,"+PartnerCode+")'>");
document.write("<OPTION>Kies je favoriete Top-10</OPTION>");
document.write("<OPTION> ------------------------------</OPTION>");
document.write("<OPTION VALUE='T01'>Dance/Trance</OPTION>");
document.write("<OPTION VALUE='T03'>Goud van Oud</OPTION>");
document.write("<OPTION VALUE='T04'>Klassiek</OPTION>");
document.write("<OPTION VALUE='T05'>Metal/Rock</OPTION>");
document.write("<OPTION VALUE='T06'>Nederlands</OPTION>");
document.write("<OPTION VALUE='T07'>Pop</OPTION>");
document.write("<OPTION VALUE='T08'>Rap</OPTION>");
document.write("<OPTION VALUE='T09'>R&B</OPTION>");
document.write("<OPTION VALUE='T10'>TV-Film Muziek</OPTION>");
document.write("<OPTION VALUE='T11'>Voetbal</OPTION>");
document.write("</SELECT></font></FORM></CENTER>");
}

function openURL(control,PartnerCode) {
  var CID = control.options[control.selectedIndex].value;
  if (PartnerCode ==9999)	{
    URL = "http://www.beltonen.st/rtstandard/pulldown/pulldown.htm?id=" + CID;
    window.open(URL,"pinpop","scrollbars=yes,status=no,toolbar=no,location=no,menubar=no,resizable=no,copyhistory=no,width=600,height=500,screenX=0,screenY=0,top=0,left=0");
  }
  if (PartnerCode !=9999)	{
    var CID = "809"
    URL = "http://www.netdirect.nl/nd_servlet/___?action=href&cid=" + CID + "&sid=" + PartnerCode;
    window.open(URL,"_self"+CID,"scrollbars=yes,status=yes,toolbar=yes,location=yes,menubar=yes,resizable=yes");
  }
}

function openURL2(control,PCode) {
  var CID = control.options[control.selectedIndex].value;
	  if (PCode == 9999)	{
		    URL = "/home/bene/Ringtones/ringtoneslist_" + CID+ ".htm";
		    location.href=URL;
	  }
	  if (PCode !="9999")	{
		  var CID = "809"
		    URL = "http://www.netdirect.nl/nd_servlet/___?action=href&cid=" + CID + "&sid=" + PCode;
		    window.open(URL,"_self"+CID,"scrollbars=yes,status=yes,toolbar=yes,location=yes,menubar=yes,resizable=yes");
	  }
}

