var  FIRSTC = "#FFFFFF";
var TWOC = "#FFFFFF";
var THREEC = "#C60400";

//This block copied direct from csc.js
//******   These are variables that are fixed for a customer - hopefully all customers have the same
var previewWidth = '802'		//preview window width, currently image width of 652 + 150
var previewHeight = '659';   //preview window height, currently image height of 489 + 170
//The heights of the top frame - frame[1].frame[0] - for the various modes
var topCommentHeight = '54';
var topItemsMngHeight = '175';
var topAdminCompAndGo = '260';
var sExpiryDays = '365'; //number of days after today that new items expire
var iMaxWmpDownLoadTries = 100; //The number of tries (each lasting the number of secs set in rWmDn.htc) we allow for a WMP download before timing out; 
	//Currently number of secs is 15, so 100 at 15 secs per try = 25 minutes total
var tdIE = '19px';
var tdMoz = '15px'	
//***********************************************

//The customer ID must now match the actual customer
var thisCustID = 87;

//if this variable does not exist, then we assume flashEnhanced = false;
var flashEnhanced = true;

var av8 = true; 
		

//***********************************************
// Do we show the Compile'n'Go Introductory page cagIntro.htm for C'n'Go pages or for direct links to folder?
// if this value = 0 then we do NOT show the cagIntro page for any user in this customer, neither for C'n'Go pages nor for direct link to folder;
// if this value is > 0, then we do show that page for both C'n'Go pages and for direct link to folder; 
// if this value is < 0, then we do *not* show that page for C'n'Go pages, but we *do* for direct link to folder; 
// if this value is non-zero, and the user then clicks 'don't show again', the +ve value is the number of days to expiry of the cookie we set with the name "showCagIntro"

var showCagIntro = 0;


/***********************************************

Here are other customizations we make, but have not featured in this file (yet):

1) Unisys have 'direct link to folder' commented out of their Compile'n'Go files all.aspx etc

2) All customers have MyAccount -> Review Items commented out

3) HP have Audio only (btmCt.aspx and btmWd.aspx)

***********************************************/



//***********************************************
//This variable controls the dashboard application, 1 for active, 0 for inactive
var showDashboard = 0;

//***********************************************
//Compiling a multimedia Show, where in web.config key 'whichPlayer' has a value of 'both'
// If this variable is set to true, then we try to have the WMP player the default player (radio button checked)
// If false, then Flash player is the default player (radion button checked)

var wmpDefault = false;

//***********************************************

//Variables Above This Line

function replace(x){
	if (x==1)
	{ 
		document.getElementById("firstTable");
		firstTable.bgColor = FIRSTC;
		document.write("<td bgcolor='"+FIRSTC+"' width='100%' style=\"FILTER:progid:DXImageTransform.Microsoft.Gradient(startColorStr='"+FIRSTC+"', endColorStr='"+TWOC+"', gradientType='1')\"></td>");
	}else if (x==2){
		document.write("<td bgcolor='"+FIRSTC+"' width='100%' style=\"FILTER:progid:DXImageTransform.Microsoft.Gradient(startColorStr='"+FIRSTC+"', endColorStr='"+TWOC+"', gradientType='1')\"></td>");
	}else if (x==3){
		document.write("<td bgcolor='"+FIRSTC+"' width='100%' style=\"FILTER:progid:DXImageTransform.Microsoft.Gradient(startColorStr='"+FIRSTC+"', endColorStr='"+THREEC+"', gradientType='1')\"></td>");
	}
}

//Functions Above This Line
