// Ad Code
function writeAdCode(thisArea) {
	var aamRnd = Math.round(Math.random() * 100000000);
	 
	// Adserver URL
	adserver = "http://63.225.61.9/bserver";
	 
	// Ad tag targeting values which will be appended to each ad Request section in the bserver ad call
	allAdTags = "/AAMALL/acc_random=" + aamRnd + "/pageid=" + aamRnd;
	
	// Individual tags for each ad request  - increment the adx variable name and the AAMBx parameter.
	// *** MODIFY AREA= FOR POSITION ON EACH PAGE *******
	ad1 = "/AAMB1/area=upcs." + thisArea + ".banner1/adsize=728x90";
	ad2 = "/AAMB2/area=upcs." + thisArea + ".button1/adsize=125x125";
	ad3 = "/AAMB3/area=upcs." + thisArea + ".button2/adsize=125x125";
	ad4	= "/AAMB4/area=upcs." + thisArea + ".button3/adsize=125x125";
	ad5 = "/AAMB5/area=upcs." + thisArea + ".button4/adsize=125x125";
	ad6 = "/AAMB6/area=upcs." + thisArea + ".button5/adsize=125x125";
	ad7	= "/AAMB7/area=upcs." + thisArea + ".button6/adsize=125x125";
	ad8 = "/AAMB8/area=upcs." + thisArea + ".banner2/adsize=728x90";
	// bServer ad call - insert the adx variables
	document.write('<SCR' + 'IPT SRC="' + adserver + allAdTags  +
	// *** MODIFY ADX FOR POSITION ON EACH PAGE *******
	// *** MODIFY ADX FOR POSITION ON EACH PAGE *******
	ad1 + ad2 + ad3 + ad4 + ad5 + ad6 + ad7 + ad8 + '?" type="text/JavaScript" language="JavaScript">');
	document.write('</SCR' + 'IPT>');
// End Hide -->

}