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 b1_name = 'Microsoft ASP.NET 2.0<br>Building Web Applications Bundle';
var b1_file = 'aspnet2_bwa';
var b2_name = 'Microsoft Expression Studio Bundle';
var b2_file = 'expstudio';
var b3_name = 'Microsoft Expression Studio2: Essentials Bundle';
var b3_file = 'expstudio2_ess';
var b4_name = 'Microsoft Office 2007 Bundle';
var b4_file = 'office2007';

var bundle1 = "no";
var bundle2 = "no";
var bundle3 = "no";
var bundle4 = "no";
									
	if(prodName == 'aspnet2_set1' || prodName == 'aspnet2_set2') {
		var bundle1 = 'yes';
		}
	if(prodName == 'expressionweb' || prodName == 'expdesign' || prodName == 'expmedia' || prodName == 'expblend') {
		var bundle2 = 'yes';
		}
	if(prodName == 'expressionweb2_ess' || prodName == 'expdesign2_ess' || prodName == 'expmedia2_ess' || prodName == 'expblend2_ess' || prodName == 'expencoder2_ess'){
		var bundle2 = 'yes';
		}
	if(prodName == 'access2007_ess' || prodName == 'excel2007_ess' || prodName == 'office2007_gus' || prodName == 'powerpoint2007_ess') {
		var bundle4 = 'yes';
		}

	if(bundle1 != "yes" && bundle2 != "yes" && bundle3 != "yes" && bundle4 != "yes") {
		var bundle1 = "yes";
		var bundle2 = "yes";
		var bundle3 = "yes";
		var bundle4 = "yes";
		document.write('<b>Bundles</b><br>Available Microsoft 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(bundle1 == 'yes') {
		document.write(imgStart + b1_file + nameStart +  b1_name + hrefStart + b1_file + hrefEnd);
		} else { }
	document.write(thinline);
	if(bundle2 == 'yes') {
		document.write(imgStart + b2_file + nameStart +  b2_name + hrefStart + b2_file + hrefEnd);
		} else {
		}
	if(bundle3 == 'yes') {
		document.write(imgStart + b3_file + nameStart +  b3_name + hrefStart + b3_file + hrefEnd);
		} else {
		}
	if(bundle4 == 'yes') {
		document.write(imgStart + b4_file + nameStart +  b4_name + hrefStart + b4_file + hrefEnd);
		} else {
		}
	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();				
					
						
						
						
						
						
						
						
						
						
						
						
						
						
