//////////////////////////////////////////////////////////////////
// The functions in this file are used to print hardcoded links
// to the appropriate server (edmonton or ontario).  Hardcoded links
// are need in some places so we can switch to https and link to mylab
// pages for form processing.
// This file SHOULD NOT BE UPDATED GLOBALLY across the servers, each
// server needs it's own file with the correct links in it
//
// This file goes on the edmonton web server, printont.js goes on the
// ontario web server but must be renamed print.js first
////////////////////////////////////////////////////////////////////
function PrintHeaderButtons( section )
{
	// the kit order button is the only one with a hardcoded link, but the function needs
	// to print out all the buttons or they don't look right
	document.write( "<td width=\"90%\" height=\"76\" valign=\"top\" bgcolor=\"#ECECEC\">" );

	if( section == 'company' )
	{
		document.write( "<a href=\"company.html\" title=\"Company\">" );
		document.write( "<img src=\"img/company/compBtn_on.gif\" title=\"Company\" name=\"company\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"company.html\" title=\"Company\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('company','','img/company/compBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"img/company/compBtn.gif\" title=\"Company\" name=\"company\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'services' )
	{
		document.write( "<a href=\"services.html\" title=\"Services\">" );
		document.write( "<img src=\"img/services/servBtn_on.gif\" title=\"Services\" name=\"services\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"services.html\" title=\"Services\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('services','','img/services/servBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"img/services/servBtn.gif\" title=\"Services\" name=\"services\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'training' )
	{
		document.write( "<a href=\"training.html\" title=\"Training\">" );
		document.write( "<img src=\"img/training/trainBtn_on.gif\" title=\"Training\" name=\"Training\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"training.html\" title=\"Training\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('Training','','img/training/trainBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"img/training/trainBtn.gif\" title=\"Training\" name=\"Training\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'products' )
	{
		document.write( "<a href=\"products.html\" title=\"Products\">" );
		document.write( "<img src=\"img/products/prodBtn_on.gif\" title=\"Products\" name=\"products\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"products.html\" title=\"Products\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('products','','img/products/prodBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"img/products/prodBtn.gif\" title=\"Products\" name=\"products\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'mylab' )
	{
		document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\">" );
		document.write( "<img src=\"img/mylab/myLabBtn_on.gif\" title=\"myLab\" name=\"mylab\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('mylab','','img/mylab/myLabBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"img/mylab/myLabBtn.gif\" title=\"myLab\" name=\"mylab\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	// set the appropriate server here
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\" title=\"Order\" " );
	document.write( "onMouseOut=\"swapImgRestore()\" " );
	document.write( "onMouseOver=\"swapImage('order','','img/order/orderBtn_ovr.gif',1)\">" );
	document.write( "<img src=\"img/order/orderBtn.gif\" title=\"Order\" name=\"order\" " );
	document.write( "width=\"85\" height=\"76\" border=\"0\"></a></td>" );
}

function PrintHeaderButtons2( section )
{
	// the kit order button is the only one with a hardcoded link, but the function needs
	// to print out all the buttons or they don't look right
	document.write( "<td width=\"90%\" height=\"76\" valign=\"top\" bgcolor=\"#ECECEC\">" );

	if( section == 'company' )
	{
		document.write( "<a href=\"../../company.html\" title=\"Company\">" );
		document.write( "<img src=\"../../img/company/compBtn_on.gif\" title=\"Company\" name=\"company\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"../../company.html\" title=\"Company\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('company','','../../img/company/compBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"../../img/company/compBtn.gif\" title=\"Company\" name=\"company\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'services' )
	{
		document.write( "<a href=\"../../services.html\" title=\"Services\">" );
		document.write( "<img src=\"../../img/services/servBtn_on.gif\" title=\"Services\" name=\"services\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"../../services.html\" title=\"Services\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('services','','../../img/services/servBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"../../img/services/servBtn.gif\" title=\"Services\" name=\"services\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );	
	}

	if( section == 'training' )
	{
		document.write( "<a href=\"../../training.html\" title=\"Training\">" );
		document.write( "<img src=\"../../img/training/trainBtn_on.gif\" title=\"Training\" name=\"Training\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"../../training.html\" title=\"Training\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('Training','','../../img/training/trainBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"../../img/training/trainBtn.gif\" title=\"Training\" name=\"Training\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'products' )
	{
		document.write( "<a href=\"../../products.html\" title=\"Products\">" );
		document.write( "<img src=\"../../img/products/prodBtn_on.gif\" title=\"Products\" name=\"products\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"../../products.html\" title=\"Products\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('products','','../../img/products/prodBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"../../img/products/prodBtn.gif\" title=\"Products\" name=\"products\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	if( section == 'mylab' )
	{
		document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\">" );
		document.write( "<img src=\"../../img/mylab/myLabBtn_on.gif\" title=\"myLab\" name=\"mylab\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}
	else
	{
		document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\" onMouseOut=\"swapImgRestore()\" " );
		document.write( "onMouseOver=\"swapImage('mylab','','../../img/mylab/myLabBtn_ovr.gif',1)\">" );
		document.write( "<img src=\"../../img/mylab/myLabBtn.gif\" title=\"myLab\" name=\"mylab\" " );
		document.write( "width=\"86\" height=\"76\" border=\"0\"></a>" );
	}

	// set the appropriate server
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\" title=\"Order\" " );
	document.write( "onMouseOut=\"swapImgRestore()\" " );
	document.write( "onMouseOver=\"swapImage('order','','../../img/order/orderBtn_ovr.gif',1)\">" );
	document.write( "<img src=\"../../img/order/orderBtn.gif\" title=\"Order\" name=\"order\" " );
	document.write( "width=\"85\" height=\"76\" border=\"0\"></a></td>" );
}

function PrintGoogleFields()
{
	document.write( "<input type=\"hidden\" name=\"cof\" value=\"GALT:#FF5D4D;" );
	
	// set appropriate server
	document.write( "S:http://www.fluidlife.com;VLC:#999999;AH:left;BGC:#FFFFFF;LC:#00A2B2;" );

	// set appropriate server
	document.write( "GFNT:#999999;L:http://www.fluidlife.com/img/google.gif;ALC:#999966;" );
	document.write( "T:#454545;GIMP:#cc3300;\">" );

	// set appropriate domain
	document.write( "<input type=\"hidden\" name=\"domains\" value=\"fluidlife.com\">" );

	// set appropriate domain
	document.write( "<input type=\"hidden\" name=\"sitesearch\" value=\"fluidlife.com\"/>" );
}

function PrintFooterLinks()
{
	document.write( "<p align=\"center\" class=\"sm\">&copy; 2004 " );

	// set appropriate server
	document.write( "<a href=\"http://www.fluidlife.com\">The Fluid Life Corporation</a>, " );
	document.write( "All Rights Reserved. | <a href=\"company.html\" title=\"Company\">Company</a> | " );
	document.write( "<a href=\"services.html\" title=\"Services\">Services</a> | " );
	document.write( "<a href=\"training.html\" title=\"Training\">Training</a> | " );
	document.write( "<a href=\"products.html\" title=\"Products\">Products</a> | " );
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\">myLab</a> | " );

	// set appropriate server
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\" title=\"Order\">Order</a> | " );
	document.write( "<a href=\"#top\">^</a></p>" );
}

function PrintFooterLinks2()
{
	document.write( "<p align=\"center\" class=\"sm\">&copy; 2004 " );

	// set appropriate server
	document.write( "<a href=\"http://www.fluidlife.com\">The Fluid Life Corporation</a>, " );
	document.write( "All Rights Reserved. | <a href=\"../../company.html\" title=\"Company\">Company</a> | " );
	document.write( "<a href=\"../../services.html\" title=\"Services\">Services</a> | " );
	document.write( "<a href=\"../../training.html\" title=\"Training\">Training</a> | " );
	document.write( "<a href=\"../../products.html\" title=\"Products\">Products</a> | " );
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/signin.html\" title=\"myLab\">myLab</a> | " );

	// set appropriate server
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\" title=\"Order\">Order</a> | " );
	document.write( "<a href=\"#top\">^</a></p>" );
}

function PrintBreatherWizFormLink()
{
	document.write( "<form action=\"https://www.fluidlife.com/secure/mylab/breather_wiz.html\" " );
	document.write( "method=\"post\" name=\"breather_contact\">" );
}

function PrintMylabOrderFormLink()
{
	document.write( "<form action=\"https://www.fluidlife.com/secure/mylab/orderresp.html\" " );
	document.write( "method=\"post\" name=\"order\">" );
}

function PrintDownloadPageLink()
{
	document.write( "<a href=\"https://www.fluidlife.com/securedl/downloads/prod_winroast_dlpage.html\"><b>Access WinRoast Downloads Page</b></a>" );
}

function PrintSitemapKitorderLink()
{
	document.write( "<h4><a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\">Order</a></h4>" );
}

function PrintChangePassFormLink()
{
	document.write( "<form action=\"https://www.fluidlife.com/securedl/changepass/changepass.html\" " );
	document.write( "method=\"post\" name=\"change_pass\">" );
}

function PrintOrderrespFormLink()
{
	document.write( "<p><a href=\"https://www.fluidlife.com/order.html\"><i>my</i>Lab Access Request Form</a>" );
}

function PrintOrderrespReturnLink()
{
	document.write( "<p><a href=\"https://www.fluidlife.com/index.html\">Return to Fluid Life Home</a>" );
}

function PrintSigninFormLink()
{
	document.write( "Don't have a <i>my</i>Lab account?  Fill out a " );
	document.write( "<a href=\"https://www.fluidlife.com/order.html\">request form</a> to get one." );
}

function PrintTrainRegLink()
{
	document.write( "<a href=\"https://www.fluidlife.com/train_seminars_regist.html\" onMouseOut=\"swapImgRestore()\" onMouseOver=\"swapImage('s4','','img/training/tsSemReg_Btn_ovr.gif',1)\"><img src=\"img/training/tsSemReg_Btn.gif\" name=\"s4\" width=\"246\" height=\"25\" border=\"0\"></a><br>" );
}

function PrintTrainRegLink2()
{
	document.write( "<a href=\"https://www.fluidlife.com/train_seminars_regist.html\" onMouseOut=\"swapImgRestore()\" onMouseOver=\"swapImage('s4','','../../img/training/tsSemReg_Btn_ovr.gif',1)\"><img src=\"../../img/training/tsSemReg_Btn.gif\" name=\"s4\" width=\"246\" height=\"25\" border=\"0\"></a><br>" );
}

function PrintTrainRegFormLink()
{
	document.write( "<form action=\"https://www.fluidlife.com/secure/mylab/trainreg.html\" method=\"post\" name=\"seminar_registration\">" );
}

function PrintSurveyFormLink()
{
	document.write( "<form action=\"https://www.fluidlife.com/secure/mylab/survey.html\" method=\"post\" name=\"online_survey\">" );
}

function PrintSitemapKitorderLinkb()
{
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\">Order Sample Kits Online</a>" );
}

function PrintTrainRegLink3()
{
	document.write( "<a href=\"https://www.fluidlife.com/train_seminars_regist.html\"><b>Register Online</b></a>" );
}

function PrintTrainRegLink4()
{
	document.write( "<a href=\"https://www.fluidlife.com/train_seminars_regist.html\">Online Registration</a>" );
}

function PrintGetStartedKitOrderLink()
{
	document.write( "<a href=\"https://www.fluidlife.com/secure/mylab/kitorder.html\" onMouseOut=\"swapImgRestore()\" onMouseOver=\"swapImage('osa','','img/services/serv_order_kits_Btn_ovr.gif',1)\"><img src=\"img/services/serv_order_kits_Btn.gif\" name=\"osa\" width=\"246\" height=\"25\" border=\"0\"></a><br>" );
}

function PrintDownloadPageLink2()
{
	document.write( "<a href=\"https://www.fluidlife.com/securedl/downloads/prod_winroast_dlpage.html\" onMouseOut=\"swapImgRestore()\" onMouseOver=\"swapImage('wrd','','img/products/product_downloads_ovr.gif',1)\"><img src=\"img/products/product_downloads.gif\" name=\"wrd\" width=\"208\" height=\"188\" border=\"0\"></a><br>" );
}