				function order(id){
				win = window.open("http://oldipaaa/mytone1/en/uk/ringtones/order/"+id, "order", "scrollbars=no, width=300, height=450");
				}
				
				function order2(id){
				win = window.open("http://oldipaaa/mytone1/en/uk/colback/order/"+id, "order", "scrollbars=yes, width=300, height=440");
				}
				
				function order3(id){
				win = window.open("http://oldipaaa/mytone1/en/uk/polyringtones/order/"+id, "order", "scrollbars=yes,resizable=yes, width=300, height=440");
				}
		
				function listen3(id){
				win = window.open('http://oldipaaa/mytone1/en/uk/polyringtones/preview/' + id, "listenPreview", "scrollbars=yes,resizable=yes, width=310, height=479")		
				}

				function listen(id){
				win = window.open('http://oldipaaa/mytone1/en/uk/ringtones/preview/' + id, "listenPreview", "scrollbars=no, width=300, height=550");
				}

				function formSubmit(form){
					form.action = form.page.value;
				}
				
				function compat() {
					win = window.open('http://oldipaaa/compatibility-guide/CompatGuide/uk.php', 'compat', 'scrollbars=yes,resizable=yes,width=730,height=600');
				}
				
								
		var win;
		var serviceID = 6;
		var menus = new Array();
		menus[1] = "on";
menus[2] = "on";
menus[3] = "on";
menus[4] = "on";
menus[5] = "on";
menus[6] = "on";
menus[7] = "on";
menus[8] = "on";
menus[9] = "on";
menus[10] = "on";
menus[11] = "on";
menus[12] = "on";
menus[13] = "on";

		function setMsg(msg) {
			window.status = msg
			return true
		}
		
		function modMenuItems(id) {
			if (menus[id] == "on")
				hideAllMenuItems();
			else  {
				hideAllMenuItems();
				modMenuItem(id);
			}
		}
		
		function onMenuItem(id) {
			var elem;
			var i = 1;
			while (elem = document.getElementById(id + "-" + i + "-item")) {
				if (elem.style.display == "none") {
					elem.style.display = "block";
				}
				i++;
			}
			menus[id] = "on";
		}
		
		function offMenuItem(id) {
			var elem;
			var i = 1;
			while (elem = document.getElementById(id + "-" + i + "-item")) {
				if (menus[id] == "on") {
					elem.style.display = "none";
				}
				i++;
			}
			if (menus[id] == "on") menus[id] = "off";
		}
		
		function modMenuItem(id) {
			var elem;
			var i=1;
			if (document.getElementById('body')) {
				// Alright we support that method... Use it for the menus
				while (elem = document.getElementById(id + "-" + i + "-item")) {
					if (menus[id] == "on") {
						elem.style.display = "none";
					} else {
						elem.style.display = "block";
					}
					i++;
				}
				// Need to context switch
				if (menus[id] == "on") menus[id] = "off";
				else menus[id] = "on";
			}
		}

		function hideAllMenuItems() {
			// Close all the menus
			for (i=1; i<=13; i++) {
				offMenuItem(i);
			}
		}

		function hideAllMenuItemsInit() {
			// This should be called onload in order to hide the menus by default
			// Also opens the current service menus
			hideAllMenuItems();
			if (serviceID) onMenuItem(serviceID);
			// Close the newsbar
			//openCloseNews()
		}
		function MM_openBrWindow(theURL,winName,features) { //v2.0
			window.open(theURL,winName,features);
		}
		
if (navigator.appVersion.substring(0,1) >= 3) {
i1=new Image;
i1.src='freepolyphonicringtones.jpg';
i2=new Image;
i2.src='freepolyphonicringtones.jpg';
i3=new Image;
i3.src='freepolyphonicringtones.jpg';
i4=new Image;
i4.src='freepolyphonicringtones.jpg';
}

/*
		function openCloseNews() {
			// Open or Close The News Bar
			var newsText;
			newsText = document.getElementById("newsbar-text");
			// Otherwise, go ahead
			if ((newsText.style.display == "block") || (newsText.style.display == "")) newsText.style.display = "none";
			else newsText.style.display = "block";
		}
*/
