var popup = null;
var over = "Launch Pop-up Navigator";

function popwin(flash, typcod)
{
	window.open('http://www.mobiletones.com/getphone.php3?todo=5&refer=rtgalore&atodo=1&code=' + flash + '&typcod=' + typcod, 'popupnav', 'width=750,height=550,resizable=0,scrollbars=auto');
}

function popsound(flash)
{
	window.open('http://www.mobiletones.com/flash/' + flash + '.swf', 'popuplisten', 'width=200,height=170,resizable=1,scrollbars=auto');
}

function LaunchLogoshaper(URL, name, w, h) {
	imageWind = window.open(URL, name,"width=" + w + ",height=" + h + ",status=no,resizable=0,menubar=no,toolbar=no,directories=0,location=no,scrollbars=no")
	imageWind.focus()
}

function ccpopwin(flash, typcod)
{
	window.open('http://www.mobiletones.com/order_rtg.php3?action=3b&code=' + flash + '&typcod=' + typcod, 'popupnav', 'width=750,height=550,resizable=0,scrollbars=auto');
}


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 mobilemoneysale(ordernumber,pos)
	{
	 mmrefname = 'novamarque';
	 mmlanguage = 'xx';
	 mmpskin = '';
 
	 window.open('http://www.ringtonesgalore.co.uk/salespopup.php?pos='+escape(pos)+'&ordernumber='+escape(ordernumber)+'&refname='+escape(mmrefname)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=550,left='+eval((screen.availWidth/2)-234)+',top=50');

	}
	
	function showTone(toneNum, type) 
	{  
	window.open('http://www.ringtonesgalore.co.uk/showall.php?type='+type+'&url=ringtones.polyphonic-ringtones.info&uid=1707&id_show='+toneNum,'Preview','scrollbars=yes,width=650,height=420')
	} 
	
	
function jampop(jamid, action)
	{
	 window.open('http://www.ringtonesgalore.co.uk/jamredirect.php?jamid='+jamid+'&action='+action, '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');
	}	
