// Ad Code
function writeAdCode(thisArea) {
	var aamRnd = Math.round(Math.random() * 100000000);
	 
	// Adserver URL
	adserver = "http://63.225.61.6/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=uhg.mothersponsor.mini/adsize=120X60";
	ad1 = "/AAMB1/area=uhg." + thisArea + ".banner_top/adsize=728x90";
	ad2 = "/AAMB2/area=uhg." + thisArea + ".banner_bottom/adsize=728x90";
	ad3 = "/AAMB3/area=uhg." + thisArea + ".button1/adsize=160x125";
	ad4 = "/AAMB4/area=uhg." + thisArea + ".interactive/adsize=300x250";
	ad5 = "/AAMB5/area=uhg." + thisArea + ".skyscraper/adsize=160x600";
	ad6 = "/AAMB6/area=uhg." + thisArea + ".banner_bottom2/adsize=728x90";
	ad7 = "/AAMB7/area=uhg." + thisArea + ".button2/adsize=160x125";
	ad8 = "/AAMB8/area=uhg." + thisArea + ".positionyx/adsize=800x600";
	ad9 = "/AAMB9/area=uhg." + thisArea + ".skyscraper2/adsize=160x600";
	ad10 = "/AAMB10/area=uhg." + thisArea + ".position1f/adsize=160x90";
	ad11 = "/AAMB11/area=uhg." + thisArea + ".position2f/adsize=160x90";
	ad12 = "/AAMB12/area=uhg." + thisArea + ".position3f/adsize=160x90";
	ad13 = "/AAMB13/area=uhg." + thisArea + ".position4f/adsize=160x90";
	// 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 + ad9 + ad10 + ad11 + ad12 + ad13
	+ '?" type="text/JavaScript" language="JavaScript">');
	document.write('</SCR' + 'IPT>');
}