//	TabNumbers
//	0 = Home
//	1 = Application Support
//	2 = Buy Consumables
//	3 = Locations
//	4 = Our Mission
//	5 = Product Information
//	6 = Technical Information
//	7 = What's New
//	8 = Worldwide News
//	9 = Home
//	10 = Search
//	11 = Contact Buehler
//	12 = Employment
//	13 = About Buehler

var LinkInfo = new Array();
var LinksInserted = 0;
var Blinks = 0;

function MM_swapImgRestore() 
	{ //v3.0 
		var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}


function MM_preloadImages() 
	{ //v3.0
		var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
		var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
		if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}


function MM_findObj(n, d) 
	{ //v3.0
		var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
			d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
		if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
		for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
	}


function MM_swapImage() 
	{ //v3.0
		var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
		if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}


function GenerateHeaderAndLinks(TabNumber, LinkNumber, SubLinkNumber)
	{
		GenerateHeader(TabNumber)
		if (TabNumber != 0 && TabNumber != 2 && TabNumber != 9)
			{
				GetLinks(TabNumber, LinkNumber, SubLinkNumber, 0, 0)
				GenerateLinksColumn(LinkNumber, SubLinkNumber, 0, 0)
			}
	}
	
	
function GenerateHeaderAndLinksForSubs(TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{
		GenerateHeader(TabNumber)
		if (TabNumber != 0 && TabNumber != 2 && TabNumber != 9)
			{
				GetLinks(TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
				GenerateLinksColumn(LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
			}
	}	
	

function GenerateHeader(TabNumber)
	{
		MM_preloadImages('http://www.buehler.com/images/app_supp_white.jpg','http://www.buehler.com/images/buy_consumables_white.jpg','http://www.buehler.com/images/our_mission_white.jpg','http://www.buehler.com/images/product_information_white.jpg','http://www.buehler.com/images/technical_information_white.jpg','http://www.buehler.com/images/whats_new_white.jpg','http://www.buehler.com/images/world_wide_news_white.jpg','/http://www.buehler.com/images/locations_white.jpg')>
		document.write ("<table border=0 width=100% cellspacing=0 cellpadding=0>");
		document.write ("	<tr><td bgcolor=#000000>");
		document.write ("<table border=0 width=760 cellspacing=0 cellpadding=0 height=40>");
		document.write ("	<tr> ");
		document.write ("</table>");
		document.write ("<table width=760 border=0 cellspacing=0 cellpadding=0>");
		document.write ("	<tr> ");
		document.write ("		<td width=589><img src=http://www.buehler.com/images/buehler_header.jpg width=584 height=60></td>");
		document.write ("		<td width=177> ");
		document.write ("			<div align=left><img src=http://www.buehler.com/images/top_nav_tool.jpg width=176 height=60 usemap=#Map border=0><map name=Map><area shape=rect coords=13,4,46,15 href=http://www.buehler.com/default.htm target=_parent><area shape=rect coords=13,15,64,29 href=http://www.mybuehler.com/publiclogin/search.asp target=_parent><area shape=rect coords=13,28,117,44 href=http://www.mybuehler.com/publiclogin/contact.asp target=_parent><area shape=rect coords=11,46,96,58 href=http://www.buehler.com/employment.htm target=_parent></map></div>");
		document.write ("		</td>");
		document.write ("	</tr>");
		document.write ("</table>");
		document.write ("<table width=760 border=0 cellspacing=0 cellpadding=0>");
		document.write ("	<tr> ");
		document.write ("		<td width=95> ");
		if (TabNumber == 1)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/applications_support.htm target=_parent><img name=Image12 border=0 src=http://www.buehler.com/images/app_supp_white.jpg width=95 height=32></a></div>"); 
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/applications_support.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image12','','http://www.buehler.com/images/app_supp_white.jpg',1) target=_parent><img name=Image12 border=0 src=http://www.buehler.com/images/app_supp.jpg width=95 height=32></a></div>"); 
			}  
		document.write ("		</td>");
		document.write ("		<td width=95> ");
		if (TabNumber == 2)
			{
				document.write ("			<div align=left><a href=https://shop.buehler.com target=new><img name=Image14 border=0 src=http://www.buehler.com/images/buy_consumables_white.jpg width=95 height=32></a></div>");
			}
		else
			{
				document.write ("			<div align=left><a href=https://shop.buehler.com onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image14','','http://www.buehler.com/images/buy_consumables_white.jpg',1) target=new><img name=Image14 border=0 src=http://www.buehler.com/images/buy_consumables.jpg width=95 height=32></a></div>");		
			}  
		document.write ("		</td>");
		document.write ("		<td width=95> ");
		if (TabNumber == 3)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/locations.htm target=_parent><img name=Image13 border=0 src=http://www.buehler.com/images/locations_white.jpg width=95 height=32></a></div>");		
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/locations.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image13','','http://www.buehler.com/images/locations_white.jpg',1) target=_parent><img name=Image13 border=0 src=http://www.buehler.com/images/locations.jpg width=95 height=32></a></div>");		
			}      
		document.write ("		</td>");
		document.write ("		<td width=95> ");
		if (TabNumber == 4)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/our_mission.htm target=_parent><img name=Image15 border=0 src=http://www.buehler.com/images/about_buehler_white.jpg width=95 height=32></a></div>");		
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/our_mission.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image15','','http://www.buehler.com/images/about_buehler_white.jpg',1) target=_parent><img name=Image15 border=0 src=http://www.buehler.com/images/about_buehler.jpg width=95 height=32></a></div>");		
			}      
		document.write ("		</td>");
		document.write ("		<td width=95> ");
		if (TabNumber == 5)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/product_information.htm target=_parent><img name=Image16 border=0 src=http://www.buehler.com/images/product_information_white.jpg width=95 height=32></a></div>");		
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/product_information.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image16','','http://www.buehler.com/images/product_information_white.jpg',1) target=_parent><img name=Image16 border=0 src=http://www.buehler.com/images/product_information.jpg width=95 height=32></a></div>");		
			}     
		document.write ("		</td>");
		document.write ("		<td width=93> ");
		if (TabNumber == 6)
			{
				document.write ("			<div align=left><a href=http://www.mybuehler.com/publiclogin/login.aspx target=_parent><img name=Image17 border=0 src=http://www.buehler.com/images/technical_information_white.jpg width=95 height=32></a></div>");				
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.mybuehler.com/publiclogin/login.aspx onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image17','','http://www.buehler.com/images/technical_information_white.jpg',1) target=_parent><img name=Image17 border=0 src=http://www.buehler.com/images/technical_information.jpg width=95 height=32></a></div>");		
			}      
		document.write ("		</td>");
		document.write ("		<td width=98> ");
		if (TabNumber == 7)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/whats_new/whats_new.htm target=_parent><img name=Image18 border=0 src=http://www.buehler.com/images/whats_new_white.jpg width=95 height=32></a></div>");
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/whats_new/whats_new.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image18','','http://www.buehler.com/images/whats_new_white.jpg',1) target=_parent><img name=Image18 border=0 src=http://www.buehler.com/images/whats_new.jpg width=95 height=32></a></div>");
			}      
		document.write ("		</td>");
		document.write ("		<td width=96> ");
		if (TabNumber == 8)
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/world_wide_news.htm target=_parent><img name=Image19 border=0 src=http://www.buehler.com/images/world_wide_news_white.jpg width=95 height=32></a></div>");
			}
		else
			{
				document.write ("			<div align=left><a href=http://www.buehler.com/world_wide_news.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image19','','http://www.buehler.com/images/world_wide_news_white.jpg',1) target=_parent><img name=Image19 border=0 src=http://www.buehler.com/images/world_wide_news.jpg width=95 height=32></a></div>");
			}      
		document.write ("		</td>");
		document.write ("	</tr>");
		document.write ("</table>");
		document.write ("<img src=http://www.buehler.com/images/silver_bar.jpg width=762 height=8></TD></tr></table>");	
		}
	
function AddLink (URL, ImageOff, ImageOn)
	{
		var OneLink = new Array(URL, ImageOff, ImageOn);
		LinksInserted++;
		LinkInfo[LinksInserted] = OneLink;
		MM_preloadImages(ImageOn)
	}


function GetLinks(TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{
		if (TabNumber == 1) 
			{
				AddLink('http://www.buehler.com/application_support/educational_classes.htm', 'http://www.buehler.com/images/educational_classes_off.jpg', 'http://www.buehler.com/images/educational_classes_on.jpg');
				AddLink('http://www.buehler.com/application_support/recommended_books.htm', 'http://www.buehler.com/images/recommended_books_off.jpg', 'http://www.buehler.com/images/recommended_books_on.jpg');
				AddLink('http://www.mybuehler.com/publiclogin/login.aspx', 'http://www.buehler.com/images/technical_information_off.jpg', 'http://www.buehler.com/images/technical_information_on.jpg');
				AddLink('mailto:TechSupport@buehler.com', 'http://www.buehler.com/images/technical_support_off.jpg', 'http://www.buehler.com/images/technical_support_on.jpg');
				AddLink('http://www.buehler.com/biomedical.htm', 'http://www.buehler.com/images/biomedical_off.jpg', 'http://www.buehler.com/images/biomedical_on.jpg');
			}
		else if (TabNumber == 3)
			{
				AddLink('http://www.buehler.com/locations/sales_distributors.htm', 'http://www.buehler.com/images/salespersons_distributors_off.jpg', 'http://www.buehler.com/images/sales_distributors_on.jpg');
				if (LinkNumber == 1)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}
				AddLink('http://www.buehler.com/locations/laboratory.htm', 'http://www.buehler.com/images/laboratory_off.jpg', 'http://www.buehler.com/images/laboratory_on.jpg');
				AddLink('http://www.buehler.com/locations/service.htm', 'http://www.buehler.com/images/service_off.jpg', 'http://www.buehler.com/images/service_on.jpg');
				if (LinkNumber == 3)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}				
			}
		else if (TabNumber == 4)
			{
				AddLink('http://www.buehler.com/our_mission.htm', 'http://www.buehler.com/images/our_mission_off.jpg', 'http://www.buehler.com/images/our_mission_on.jpg');
				AddLink('http://www.buehler.com/about_buehler.htm', 'http://www.buehler.com/images/about_buehler_off.jpg', 'http://www.buehler.com/images/about_buehler_on.jpg');
				AddLink('http://www.buehler.com/company_overview.htm', 'http://www.buehler.com/images/company_overview_off.jpg', 'http://www.buehler.com/images/company_overview_on.jpg');
			}
		else if (TabNumber == 5)
			{
				AddLink('http://www.buehler.com/productinfo/cutters.htm', 'http://www.buehler.com/images/cutters_off.jpg', 'http://www.buehler.com/images/cutters_on.jpg');
				AddLink('http://www.buehler.com/productinfo/saws.htm', 'http://www.buehler.com/images/precision_saws_off.jpg', 'http://www.buehler.com/images/precision_saws_on.jpg');
				AddLink('http://www.buehler.com/productinfo/presses.htm', 'http://www.buehler.com/images/mounting_presses_off.jpg', 'http://www.buehler.com/images/mounting_presses_on.jpg');
				AddLink('http://www.buehler.com/productinfo/gp1.htm', 'http://www.buehler.com/images/grinders_polishers_off.jpg', 'http://www.buehler.com/images/grinders_polishers_on.jpg');
				if (LinkNumber == 4)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}					
				AddLink('http://www.buehler.com/productinfo/consumables.htm', 'http://www.buehler.com/images/consumables_off.jpg', 'http://www.buehler.com/images/consumables_on.jpg');
				if (LinkNumber == 5)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}
				AddLink('http://www.buehler.com/productinfo/msds.htm', 'http://www.buehler.com/images/msds_sheets_off.jpg', 'http://www.buehler.com/images/msds_sheets_on.jpg');
				AddLink('http://www.buehler.com/productinfo/microscopes.htm', 'http://www.buehler.com/images/microscopes_off.jpg', 'http://www.buehler.com/images/microscopes_on.jpg');
				if (LinkNumber == 7)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}				
				AddLink('http://www.buehler.com/productinfo/ia1.htm', 'http://www.buehler.com/images/image_analysis_off.jpg', 'http://www.buehler.com/images/image_analysis_on.jpg');
				AddLink('http://www.buehler.com/productinfo/hardness_testing.htm', 'http://www.buehler.com/images/hardness_testing_off.jpg', 'http://www.buehler.com/images/hardness_testing_on.jpg');
				AddLink('http://www.buehler.com/productinfo/fo.htm', 'http://www.buehler.com/images/fiber_optics_off.jpg', 'http://www.buehler.com/images/fiber_optics_on.jpg');
				AddLink('http://www.buehler.com/productinfo/electronics.htm', 'http://www.buehler.com/images/electronics_off.jpg', 'http://www.buehler.com/images/electronics_on.jpg');
				AddLink('http://www.buehler.com/productinfo/petrography.htm', 'http://www.buehler.com/images/petrography_off.jpg', 'http://www.buehler.com/images/petrography_on.jpg');
				if (LinkNumber == 12)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}	
				AddLink('http://www.buehler.com/productinfo/preparation_accessories.htm', 'http://www.buehler.com/images/preperation_accessories_off.jpg', 'http://www.buehler.com/images/preperation_accessories_on.jpg');
				AddLink('http://www.buehler.com/productinfo/furniture.htm', 'http://www.buehler.com/images/lab_furniture_off.jpg', 'http://www.buehler.com/images/lab_furniture_on.jpg');
				AddLink('http://www.buehler.com/productinfo/ElectronMicroscopyBuyersGuide.pdf', 'http://www.buehler.com/images/bioelectronmicroscopy_off.jpg', 'http://www.buehler.com/images/bioelectronmicroscopy_on.jpg');
				AddLink('http://www.buehler.com/biomedical.htm', 'http://www.buehler.com/images/biomedical_off.jpg', 'http://www.buehler.com/images/biomedical_on.jpg');
				
				if (LinkNumber == 15)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}	
			}
		else if (TabNumber == 6)
			{
				AddLink('http://www.buehler.com/technical_information/technical_information.asp', 'http://www.buehler.com/images/technical_information_off.jpg', 'http://www.buehler.com/images/technical_information_on.jpg');
				AddLink('mailto:TechSupport@Buehler.com', 'http://www.buehler.com/images/technical_support_off.jpg', 'http://www.buehler.com/images/technical_support_on.jpg');
				AddLink('http://www.buehler.com/technical_information/Buehler Book/book.asp', 'http://www.buehler.com/images/buehler_guide_off.jpg', 'http://www.buehler.com/images/buehler_guide_on.jpg');
				AddLink('http://www.buehler.com/technical_information/Hardness_Conversion/hardness.asp', 'http://www.buehler.com/images/microhardness_workbook_off.jpg', 'http://www.buehler.com/images/microhardness_workbook_on.jpg');
				AddLink('http://www.buehler.com/application_support/technotes.asp', 'http://www.buehler.com/images/tech_notes_off.jpg', 'http://www.buehler.com/images/tech_notes_on.jpg');
				AddLink('http://www.buehler.com/application_support/sumnotes.asp', 'http://www.buehler.com/images/sumnotes_off.jpg', 'http://www.buehler.com/images/sumnotes_on.jpg');
				AddLink('http://www.buehler.com/technical_information/posters/posters.asp', 'http://www.buehler.com/images/buehler_posters_off.jpg', 'http://www.buehler.com/images/buehler_posters_on.jpg');
				AddLink('http://pubs.acs.org/cen/metallography/index.html', 'http://www.buehler.com/images/gorgeous_off.jpg', 'http://www.buehler.com/images/gorgeous_on.jpg');
				AddLink('http://www.buehler.com/buehler09.exe', 'http://www.buehler.com/images/buehler_screensaver_off.jpg', 'http://www.buehler.com/images/buehler_screensaver_on.jpg');
				AddLink('http://www.buehler.com/technical_information/EBSD/EBSD.asp', 'http://www.buehler.com/images/EBSD_off.jpg', 'http://www.buehler.com/images/EBSD_on.jpg');
				AddLink('http://www.buehler.com/technical_information/2010BuehlerCalendar.asp', 'http://www.buehler.com/images/2010_buehler_calendar_off.jpg', 'http://www.buehler.com/images/2010_buehler_calendar_on.jpg');
			}			
		else if (TabNumber == 6.1)
			{
				AddLink('http://www.buehler.com/technical_information/technical_information.asp', 'http://www.buehler.com/images/technical_information_off.jpg', 'http://www.buehler.com/images/technical_information_on.jpg');
				AddLink('mailto:TechSupport@Buehler.com', 'http://www.buehler.com/images/technical_support_off.jpg', 'http://www.buehler.com/images/technical_support_on.jpg');
			}
		else if (TabNumber == 7)
			{
				AddLink('http://www.buehler.com/whats_new/whats_new.htm', 'http://www.buehler.com/images/whats_new_on.jpg', 'http://www.buehler.com/images/whats_new_on.jpg');
				if (LinkNumber == 1)
					{
						GetSubLinks(TabNumber, LinkNumber, SubLinkNumber);
					}				
			}
		else if (TabNumber == 8)
			{
				AddLink('http://www.buehler.com/world_wide_news/materials_seminars.htm', 'http://www.buehler.com/images/materials_seminars_off.jpg', 'http://www.buehler.com/images/materials_seminars_on.jpg');
				AddLink('http://www.buehler.com/world_wide_news/tradeshows.htm', 'http://www.buehler.com/images/tradeshows_off.jpg', 'http://www.buehler.com/images/tradeshows_on.jpg');
				AddLink('http://www.buehler.com/world_wide_news/links.htm', 'http://www.buehler.com/images/links_off.jpg', 'http://www.buehler.com/images/links_on.jpg');
				AddLink('http://www.buehler.com/world_wide_news/press_releases.htm', 'http://www.buehler.com/images/press_releases_off.jpg', 'http://www.buehler.com/images/press_releases_on.jpg');
			}
		else if (TabNumber == 10)
			{
				AddLink('http://www.buehler.com/search.asp', 'http://www.buehler.com/images/search_on.jpg', 'http://www.buehler.com/images/search_on.jpg');			
			}
		else if (TabNumber == 11)
			{
				AddLink('http://www.mybuehler.com/publiclogin/contact.asp', 'http://www.buehler.com/images/contact_buehler_on.jpg', 'http://www.buehler.com/images/contact_buehler_on.jpg');			
			}
		else if (TabNumber == 12)
			{
				AddLink('http://www.buehler.com/employment.htm', 'http://www.buehler.com/images/employment_on.jpg', 'http://www.buehler.com/images/employment_on.jpg');
			}
		else if (TabNumber == 13)
			{
				AddLink('http://www.buehler.com/about_buehler.htm', 'http://www.buehler.com/images/about_buehler_on.jpg', 'http://www.buehler.com/images/about_buehler_on.jpg');
			}			
	}


function GetSubLinks (TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{
		if (TabNumber == 3)
			{
				if (LinkNumber == 1)
					{
						AddLink('http://www.buehler.com/locations/americas.htm', 'http://www.buehler.com/images/americas_off.jpg', 'http://www.buehler.com/images/americas_on.jpg');	
						AddLink('http://www.buehler.com/locations/eastern_europe.htm', 'http://www.buehler.com/images/eastern_europe_off.jpg', 'http://www.buehler.com/images/eastern_europe_on.jpg');
						AddLink('http://www.buehler.com/locations/western_europe.htm', 'http://www.buehler.com/images/western_europe_off.jpg', 'http://www.buehler.com/images/western_europe_on.jpg');
						AddLink('http://www.buehler.com/locations/middle_east.htm', 'http://www.buehler.com/images/middle_east_off.jpg', 'http://www.buehler.com/images/middle_east_on.jpg');
						AddLink('http://www.buehler.com/locations/asia.htm', 'http://www.buehler.com/images/asia_off.jpg', 'http://www.buehler.com/images/asia_on.jpg');
					}
				else if (LinkNumber ==3)
					{
						AddLink('http://www.buehler.com/locations/service_locations.htm', 'http://www.buehler.com/images/service_locations_off.jpg', 'http://www.buehler.com/images/service_locations_on.jpg');
					}
			}
		else if (TabNumber == 5)
			{
				if (LinkNumber == 4)
					{
						AddLink('http://www.buehler.com/productinfo/gp1.htm', 'http://www.buehler.com/images/page1_off.jpg', 'http://www.buehler.com/images/page1_on.jpg');
						AddLink('http://www.buehler.com/productinfo/gp2.htm', 'http://www.buehler.com/images/page2_off.jpg', 'http://www.buehler.com/images/page2_on.jpg');
						AddLink('http://www.buehler.com/productinfo/gp3.htm', 'http://www.buehler.com/images/page3_off.jpg', 'http://www.buehler.com/images/page3_on.jpg');
						AddLink('http://www.buehler.com/productinfo/gp4.htm', 'http://www.buehler.com/images/page4_off.jpg', 'http://www.buehler.com/images/page4_on.jpg');
					}
				else if (LinkNumber == 5)
					{
						AddLink('http://www.buehler.com/productinfo/instruction_sheets.htm', 'http://www.buehler.com/images/instruction_sheets_off.jpg', 	          
						'http://www.buehler.com/images/instruction_sheets_on.jpg');
						AddLink('http://www.buehler.com/productinfo/consumables/language_support.htm', 'http://www.buehler.com/images/language_support_off.jpg', 							                        'http://www.buehler.com/images/language_support_on.jpg');
						AddLink('http://www.buehler.com/epoheat.htm', 'http://www.buehler.com/images/epoheat_off.jpg', 'http://www.buehler.com/images/epoheat_on.jpg');
						AddLink('http://www.buehler.com/carbimet2.htm', 'http://www.buehler.com/images/carbimet_off.jpg', 'http://www.buehler.com/images/carbimet_on.jpg');
						AddLink('http://www.buehler.com/texmet.htm', 'http://www.buehler.com/images/texmet_off.jpg', 'http://www.buehler.com/images/texmet_on.jpg');
					}
				else if (LinkNumber == 12)
					{
						AddLink('http://www.buehler.com/productinfo/petrography1.htm', 'http://www.buehler.com/images/page1_off.jpg', 'http://www.buehler.com/images/page1_on.jpg');
					}
				else if (LinkNumber == 15)
					{
						AddLink('http://www.buehler.com/productinfo/biomedical/sectioning.htm', 'http://www.buehler.com/images/biosectioning_off.jpg', 'http://www.buehler.com/images/biosectioning_on.jpg');
						AddLink('http://www.buehler.com/productinfo/biomedical/mounting.htm', 'http://www.buehler.com/images/biomounting_off.jpg', 'http://www.buehler.com/images/biomounting_on.jpg');
						AddLink('http://www.buehler.com/productinfo/biomedical/gp.htm', 'http://www.buehler.com/images/biogp_off.jpg', 'http://www.buehler.com/images/biogp_on.jpg');
						AddLink('http://www.buehler.com/productinfo/biomedical/ht.htm', 'http://www.buehler.com/images/bioht_off.jpg', 'http://www.buehler.com/images/bioht_on.jpg');
						AddLink('http://www.buehler.com/productinfo/biomedical/microscopes.htm', 'http://www.buehler.com/images/biomicroscopes_off.jpg', 'http://www.buehler.com/images/biomicroscopes_on.jpg');
						AddLink('http://www.buehler.com/productinfo/biomedical/ia.htm', 'http://www.buehler.com/images/bioia_off.jpg', 'http://www.buehler.com/images/bioia_on.jpg');
						AddLink('http://www.buehler.com/productinfo/consumables.htm', 'http://www.buehler.com/images/bioconsumables_off.jpg', 'http://www.buehler.com/images/bioconsumables_on.jpg');
						AddLink('http://www.buehler.com/application_support/educational_classes.htm', 'http://www.buehler.com/images/bioeducation_off.jpg', 'http://www.buehler.com/images/bioeducation_on.jpg');
					}
				else if (LinkNumber == 7)
					{
						AddLink('http://www.buehler.com/productinfo/microscopes.htm', 'http://www.buehler.com/images/worldwide_off.jpg', 'http://www.buehler.com/images/worldwide_on.jpg');
						if (SubLinkNumber == 1)
							{
								AddLink('http://www.buehler.com/productinfo/microscopesna.htm', 'http://www.buehler.com/images/north_america_off.jpg', 'http://www.buehler.com/images/north_america_on.jpg');
							}
						else
							{
								AddLink('http://www.buehler.com/productinfo/microscopesna.htm', 'http://www.buehler.com/images/north_america_on.jpg', 'http://www.buehler.com/images/north_america_on.jpg');
								AddLink('http://www.buehler.com/productinfo/microscopesna.htm', 'http://www.buehler.com/images/zoom_off.jpg', 'http://www.buehler.com/images/zoom_on.jpg');
								AddLink('http://www.buehler.com/productinfo/microscopesna2.htm', 'http://www.buehler.com/images/metallurgical_off.jpg', 'http://www.buehler.com/images/metallurgical_on.jpg');
							}
					}
			}
		else if (TabNumber == 7)
			{
				if (LinkNumber == 1)
					{
								AddLink('http://www.buehler.com/whats_new/consumables_whats_new.htm', 'http://www.buehler.com/whats_new/consumables_off.jpg', 'http://www.buehler.com/whats_new/consumables_on.jpg');
								AddLink('http://www.buehler.com/whats_new/preparation_whats_new.htm', 'http://www.buehler.com/whats_new/preparation_off.jpg', 'http://www.buehler.com/whats_new/preparation_on.jpg');
								AddLink('http://www.buehler.com/whats_new/digital_whats_new.htm', 'http://www.buehler.com/whats_new/digital_off.jpg', 'http://www.buehler.com/whats_new/digital_on.jpg');
								AddLink('http://www.buehler.com/whats_new/hardness_whats_new.htm', 'http://www.buehler.com/whats_new/hardness_off.jpg', 'http://www.buehler.com/whats_new/hardness_on.jpg');
					}			
			}
	}
	

function GetSub2Links (TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{

	}

function GetSub3Links (TabNumber, LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{

	}

function GenerateLinksColumn(LinkNumber, SubLinkNumber, Sub2LinkNumber, Sub3LinkNumber)
	{
		document.write("<table width=100% border=0 cellspacing=0 cellpadding=0 height=100% bgcolor=ffffff><tr valign=top><td width=136px>");
		document.write("<table width=136 border=0 cellspacing=0 cellpadding=0 height=100% bgcolor=000066>");
		for (i = 1; i < LinkInfo.length; i++)
			{
				document.write("<tr valign=top>");
				if (i == LinkNumber || i == LinkNumber + SubLinkNumber || i == LinkNumber + SubLinkNumber + Sub2LinkNumber || i == LinkNumber + SubLinkNumber + Sub2LinkNumber + Sub3LinkNumber)
					{
						document.write("<td width=132 height=20><a href=\"" + LinkInfo[i][0] + "\" target=_parent><img name=LinkImage" + i + " border=0 src=\"" + LinkInfo[i][2] + "\" width=132></a></td>");
					}
				else
					{
						document.write("<td width=132 height=20><a href=\"" + LinkInfo[i][0] + "\" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('LinkImage" + i + "','','" + LinkInfo[i][2] + "',1) target=_parent><img name=LinkImage" + i + " border=0 src=\"" + LinkInfo[i][1] + "\" width=132></a></td>");
					}
				document.write("</tr>");	
			}
		document.write("<tr height=" + (300 - (LinkInfo.length * 20)) + "  valign=top><td>&nbsp;</td></tr>");
		document.write("<tr valign=top><td align=center><img src=http://www.buehler.com/images/bue_logo_blue.jpg width=97 height=49></td></tr>");
		document.write("</table></td><td width=20px>&nbsp;</td><td align=left>&nbsp;<br>");	
	}
	
	
function FinishPage()
	{
		if (LinksInserted > 0)
			{
				document.write("&nbsp;</td></tr></table>");	
			}
	}