// JavaScript Document
<!--
function addIEFavorite() {
   if (window.external) {
      //external.AddFavorite(location.href, 'Trance Ringtones')
	  external.AddFavorite('http://www.advancedringtones.co.uk', 'Advanced Ringtones')
      }
   else {
      alert("Oops, your browser doesn't support this feature.\n" +
      "If you are using Netscape Navigator, click Bookmarks\n" +
      "and then Add Bookmark to add this site to your favorites.");
      }
}
// -->

<!-- hide from JavaScript-challenged browsers

function openWindow() {
  popupWin = window.open('http://www.mprovision.net/newsletter/signup/ringtones/subscribe.asp', 'remote', 'scrollbars=no,resizable=no,width=460,height=306')
}

// done hiding -->


<!-- hide from JavaScript-challenged browsers
function openWindowoverseas() {
  popupWin = window.open('http://www.mgenie.co.uk/overseas/index.htm', 'remote', 'scrollbars=no,resizable=no,width=370,height=255')
}
// done hiding -->

<!-- Begin
function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,8)=="required") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(8,30).toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
return true;
}
//  End -->

<!-- Begin  
		function order(id, itemType){
			win = window.open("http://64.202.114.141/mgenie/en/uk/"+itemType+"/order/"+id, "order", "scrollbars=no,resizable=yes, width=310, height=500");
			}
// -->

<!---- Begin
		function getitfree(id, itemType){
			getitfreewin = window.open("http://64.202.114.141/mgenie/en/uk/"+itemType+"/order/"+id, "order", "scrollbars=no,resizable=yes, width=310, height=500");
			}
//----->

<!-- Begin 
	function sms(orderID, prodType, artist, trackName){
	var url="http://www.advancedringtones.co.uk/pop-sms.asp?";
	url = url+"orderID="+orderID;
	url = url+"&prodType="+prodType;
	url = url+"&artist="+artist;
	url = url+"&trackName="+trackName;
	win = window.open(url, "preview", "scrollbars=no,resizable=no, width=450, height=410");
}
// -->


