function onPageLoad() {
var thinline = '<tr><td><img src="/img/1x1.gif" width="55" height="1" alt="" border="0"></td><td><img src="/img/1x1.gif" width="295" height="1" alt="" border="0"></td></tr>';
var imgStart = '<tr><td><img src="/img/prod/50x50/';
var nameStart = '.jpg" width="50" height="50" alt="" border="0"></td><td style="padding: 1px 10px 5px 0px;">';
var hrefStart = '<br>&#187; <a href="/prod/bundle/';
var hrefEnd = '.asp" class="lnk">More Details</a></td></tr>';
var b3_name = 'Adobe Production Studio';
var b3_file = 'adobeprodstudio';
var b4_name = 'Studio 8 Bundle';
var b4_file = 'studio8bundle';

var bundle1 = "no";
var bundle2 = "no";
var bundle3 = "no";
var bundle4 = "no";
									
	if(prodName == "aftereffect7pro_ess") {
		var bundle3 = 'yes';
		}
	if(prodName == "aftereffect7pro_pro") {
		var bundle3 = 'yes';
		}
	if(prodName == "dreamweaver8") {
		var bundle4 = 'yes';
		}
	if(prodName == "flashpro8") {
		var bundle4 = 'yes';
		}
	if(prodName == "illustatorcs2") {
		var bundle3 = 'yes';
		}
	if(prodName == "photoshopcs2") {
		var bundle3 = 'yes';
		}
	if(prodName == "premirerpro2") {
		var bundle3 = 'yes';
		}
	if(prodName == "prodstudio") {
		var bundle3 = 'yes';
		}
	if(prodName == "websitedesign") {
		var bundle4 = 'yes';
		}

	if(bundle1 != "yes" && bundle2 != "yes" && bundle3 != "yes" && bundle4 != "yes") {
		var bundle3 = "yes";
		var bundle4 = "yes";
		document.write('<b>Bundles</b><br>Available Adobe Bundles<br><table cellpadding="0" cellspacing="0" border="0" width="350"><tr><td><img src="/img/1x1.gif" width="55" height="1" alt="" border="0"></td><td><img src="/img/1x1.gif" width="295" height="1" alt="" border="0"></td></tr>');
		} else {
		document.write('<b>Bundles</b><br>This product is available in this bundle(s)<br><table cellpadding="0" cellspacing="0" border="0" width="350"><tr><td><img src="/img/1x1.gif" width="55" height="1" alt="" border="0"></td><td><img src="/img/1x1.gif" width="295" height="1" alt="" border="0"></td></tr>');
		}

	if(bundle3 == "yes") {
		document.write(imgStart + b3_file + nameStart +  b3_name + hrefStart + b3_file + hrefEnd);
		} else {
		document.write;('');
		}
	if(bundle4 == "yes") {
		document.write(imgStart + b4_file + nameStart +  b4_name + hrefStart + b4_file + hrefEnd);
		} else {
		document.write;('');
		}
	document.write('<tr><td colspan="2" style="padding: 10px 10px 10px 10px;">&#187; <a href="/prod/bundle" class="lnk">View All Bundles</a></td></tr></table>');
	}
onPageLoad();				
					
						
						
						
						
						
						
						
						
						
						
						
						
						
