cookieName = "cFrameLocation";
var bodyLocation;

function putCookie()
{
if(document.cookie != document.cookie)
  {
  index = document.cookie.indexOf(cookieName);
  }
else
  {
  index = -1;
  }

if(index == -1)
  {
  bodyLocation = document.location;
  document.cookie = cookieName+"="+bodyLocation+";expires=Friday, 31-Dec-2010 19:59:59 GMT";
  }
}

if(self==parent)
{
putCookie();  
document.write('<META HTTP-EQUIV="refresh" CONTENT="0; URL=index.html">');
}

<!-- Currency formating code by Cyanide_7 (leo7278@hotmail.com, http://www7.ewebcity.com/cyanide7) -->
<!-- Original of this script and many more are available free online at The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function usd(num) {
num *= 1.00
// change above for rate, ie num= .91 
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + '$ ' + num + '.' + cents);
}
//  End -->

