<!--

function platformDetect()	{
  if(navigator.appVersion.indexOf("Win") != -1)	{
	   return 1	}
  else if(navigator.appVersion.indexOf("Mac") != -1)	{
		  return 2	}
	  else	{	return 0	}
}

//	<a href="javascript:download_tuneranger();">
function	download_tuneranger() {
	if( platformDetect() == 2) {	 
		window.location.href ='tr_mac_dlref.htm'; }
	else {
		window.location.href ='tr_win_dlref.htm'; }	
}

function	buy_tuneranger() {
	if( platformDetect() == 2) {	 
		window.location.href ='http://store.eSellerate.net/s.asp?s=STR1609821418&Cmd=BUY&SKURefnum=SKU48189513206'; }
	else {
		window.location.href ='http://store.eSellerate.net/s.asp?s=STR1609821418&Cmd=BUY&SKURefnum=SKU00870285095'; }	
}

function test()	{
	var loc = window.location.href;

	if (loc.indexOf('url1') != -1)
		{
		window.location.href = 'http://url1.domain.com/VD1';
		}
	else 
		{
		if (loc.indexOf('url2') != -1)
			{
				window.location.href = 'http://url2.domain.com/VD2';
			}
		else
			{
			window.location.href = 'http://domain.com';
			}
		}
}

//-->




