// 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 *******
	//  Features
	ad1 = "/AAMB1/area=ucgslt." + thisArea + ".feature1/adsize=208X141"; // Feature 1
	ad2 = "/AAMB2/area=ucgslt." + thisArea + ".feature2/adsize=208X141"; // Feature 2
	ad3 = "/AAMB3/area=ucgslt." + thisArea + ".feature3/adsize=208X141"; // Feature 3
	//  End Features
	ad4 = "/AAMB4/area=ucgslt.main.button1/adsize=125X125";	
	ad5 = "/AAMB5/area=ucgslt.featured.button_2/adsize=125X125";	
	ad6 = "/AAMB6/area=slt.home.position1x/adsize=160X600";
	ad7 = "/AAMB7/area=slt.home.position1/adsize=banner1";
	ad8 = "/AAMB8/area=ucgslt." + thisArea + ".banner_bottom/adsize=banner1";
	ad9 = "/AAMB9/area=ucgslt." + thisArea + ".dogear/adsize=800X600"; // Dogear
	ad10 = "/AAMB10/area=ucgslt." + thisArea + ".test/adsize=1x1"; // Test	
	ad11 = "/AAMB11/area=ucgslt." + thisArea + ".minibutton1/adsize=160x90";
	ad12 = "/AAMB12/area=ucgslt." + thisArea + ".minibutton2/adsize=160x90";
	// bServer ad call - insert the adx variables
	document.write('<SCR' + 'IPT SRC="' + adserver + allAdTags  +
	// *** MODIFY ADX FOR POSITION ON EACH PAGE *******
	ad1 + ad2 + ad3 + ad4 + ad5 + ad6 + ad7 + ad8 + ad9 + ad10 + ad11 + ad12
	+ '?" type="text/JavaScript" language="JavaScript">');
	document.write('</SCR' + 'IPT>');
// End Hide 

}