function show_ad_tag(apnadserver,site,classification_type,classification,page_type,ad_size,keyword){
	
	// Cache-busting and pageid values
	apnrandom = Math.round(Math.random() * 100000000);
	
	if (!apnpageNum) var apnpageNum = Math.round(Math.random() * 100000000);

	apntarget = "/SITE=" + site + "/AREA=" + classification_type + "." + classification + "." + page_type + "/AAMSZ=" + ad_size
	
	if (keyword.length) apntarget = apntarget + "/KEYWORD=" + keyword;
		
	document.write('<SCR');
	document.write('IPT SRC="' + apnadserver + '/jserver' + apntarget + '/acc_random=' + apnrandom +  "/pageid=" + apnpageNum + '">');
	document.write('</SCR');
	document.write('IPT>');
//	document.write('[' + classification + ']<br>');
//	document.write('[' + site + '.' + classification_type + '.' + page_type + ']<br>');
//	document.write('[' + ad_size + ']<br>');
}