var txtCount;
var message="";
var fadeimages=new Array();
var fadebgcolor="white";
var outer = null;

// Continuous txt swap for store button
function txtAnim() {
outer = document.getElementById('navtxt-store');
if(outer.innerHTML.indexOf('New') > -1) {
	outer.innerHTML = "Store";
	outer.style.color = '#000000';
	}
else {
	outer.innerHTML = "New";
	outer.style.color = '#ff0000';	
}
txtCount=setTimeout("txtAnim()",1800);
}
window.onload = txtAnim;


///////////////////////////////////
// Disable right click script
// The below script has been added to prevent any right clicks on the site
///////////////////////////////////
function clickIE() {
 	if (document.all) {
 		(message);return false;
 	}
}

function clickNS(e) {
 	if (document.layers||(document.getElementById&&!document.all)){
		 if (e.which==2||e.which==3) {
			 (message);return false;
		}
 	}
}

// number formatting function
// copyright Stephen Chapman 24th March 2006, 10th February 2007
// permission to use this function is granted provided
// that this copyright notice is retained intact

function formatNumber(num,dec,thou,pnt,curr1,curr2,n1,n2) {var x = Math.round(num * Math.pow(10,dec));if (x >= 0) n1=n2='';var y = (''+Math.abs(x)).split('');var z = y.length - dec; if (z<0) z--; for(var i = z; i < 0; i++) y.unshift('0');y.splice(z, 0, pnt); if(y[0] == pnt) y.unshift('0'); while (z > 3) {z-=3; y.splice(z,0,thou);}var r = curr1+n1+y.join('')+n2+curr2;return r;}


