var tfnpagename = document.location.href.toLowerCase();
var tfn_partner = "";
var menuindx = -1;
img_pth = "http://www.stanleyworks.com/images/rollovers/";

var tfn_doc_links = new Array();

	
	tfn_doc_links[1] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-stockquote";
	tfn_doc_links[2] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-news&amp;nyo=0";
	tfn_doc_links[3] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundRatios";
	tfn_doc_links[4] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-estimates";
	tfn_doc_links[5] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-sec";
	tfn_doc_links[6] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-calendar";
	tfn_doc_links[7] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-alerts";
	tfn_doc_links[8] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-glossary";
	tfn_doc_links[9] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-operations";	
	tfn_doc_links[10] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundincomea";
	tfn_doc_links[11] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundcashflowa";
	tfn_doc_links[12] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundbalanceq";
	tfn_doc_links[13] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundincomeaq";
	tfn_doc_links[14] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-fundcashflowq";
	tfn_doc_links[15] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-news&amp;nyo=0";
	tfn_doc_links[16] = "http://phx.corporate-ir.net/phoenix.zhtml?c=114416&amp;p=irol-alerts";
		
	
	
var tfn_img_wdth = new Array();
	
	tfn_img_wdth[0] = "17";
	tfn_img_wdth[1] = "17";
	tfn_img_wdth[2] = "17";
	tfn_img_wdth[3] = "17";
	tfn_img_wdth[4] = "17";
	tfn_img_wdth[5] = "17";
	tfn_img_wdth[6] = "17";
	tfn_img_wdth[7] = "17";
	tfn_img_wdth[8] = "17";
	tfn_img_wdth[9] = "17";

	
var tfn_alt_links = new Array();

	tfn_alt_links[0] = "Summary&#160;Financials";
	tfn_alt_links[1] = "Stock&#160;Performance";
	tfn_alt_links[2] = "Financial&#160;News";
	tfn_alt_links[3] = "Full&#160;Financials ";
	tfn_alt_links[4] = "Earning&#160;Estimates ";
	tfn_alt_links[5] = "SEC&#160;Filings";
	tfn_alt_links[6] = "IR&#160;Calendar";
	tfn_alt_links[7] = "E-mail&#160;Alerts";
	tfn_alt_links[8] = "Glossary";
	tfn_alt_links[9] = "Financials";
	

	
for(i=0; i<17; i++){
	if(tfnpagename.indexOf(tfn_doc_links[i]) != -1)
	{
		menuindx = i;
		break;
	}
}


function tfnlink(tfn_menu_num, tfn_img_name){

	//if(tfn_menu_num == menuindx){
	tfn_anch = "<a href="+"'"+tfn_doc_links[tfn_menu_num]+tfn_partner+"'"+" >";
	img_onoff = "_on.gif";
	
document.write(""+tfn_anch+"<img src="+img_pth+tfn_img_name+img_onoff+" height="+tfn_img_wdth[tfn_menu_num]+" width=194 border=0 alt="+tfn_alt_links[tfn_menu_num]+" name=tfn"+tfn_menu_num+"></a>");
}

function tfnlink1(tfn_menu_num, tfn_img_name)
{	
       tfn_anch = "<a href="+"'"+tfn_doc_links[tfn_menu_num]+tfn_partner+"'"+"             onmouseover="+"'"+"tfnimageOn("+tfn_menu_num+");"+"'"+" onmouseout="+"'"+"tfnimageOff("+tfn_menu_num+");"+"'"+">";
	img_onoff = "_off.gif";
	
	document.write(""+tfn_anch+"<img src="+img_pth+tfn_img_name+img_onoff+" height="+tfn_img_wdth[tfn_menu_num]+" width=194 border=0 alt="+tfn_alt_links[tfn_menu_num]+" name=tfn"+tfn_menu_num+"></a>");

}




