/*footernavSize = function(){
	var menuItems = $$('#nav_bottom li');
	var tW = 5;
	menuItems.each( function(menuItem){
		newWidth = Element.getWidth(menuItem);
		tW = tW + newWidth;
	});
	$('nav_bottom_list').style.width = tW + "px";
}*/
/*var bookman = {
	src: '/swf/bookmanold.swf'
};
var caecilia = {
	src: '/swf/caecilia.swf'
};
sIFR.delayCSS = true;
sIFR.activate(bookman);
sIFR.replace(bookman, {
	selector: '#nav_right #main_nav li'
	,css: [
	'.sIFR-root {font-weight: normal; color:#333333; font-size:11px; leading:2; text-transform:uppercase; text-align:center}'
	,'a { text-decoration: none; color: #333333; }'
	,'a:link { color: #333333; }'
	,'a:hover { color: #333333; }'
	], wmode: 'transparent', selectable: 'false', forceWidth: 'true', tuneHeight: '-3'
});
sIFR.replace(bookman, {
	selector: '#nav_right h2'
	,css: [
	'.sIFR-root {font-weight: normal; color:#333333; font-size:12px; leading:2; text-transform:uppercase; text-align:center}'
	,'a { text-decoration: none; color: #333333; }'
	,'a:link { color: #333333; }'
	,'a:hover { color: #333333; }'
	], wmode: 'transparent', selectable: 'false', forceWidth: 'true', tuneHeight: '-4'
});
sIFR.activate(caecilia);
sIFR.replace(caecilia, {
	selector: '.sub_title'
	,css: [
	'.sIFR-root {font-weight: normal; color:#292929; font-size:21px; leading:2; text-transform:uppercase; text-align:right}'
	], wmode: 'transparent', selectable: 'false', forceWidth: 'true', tuneHeight: '-3'
});*/

var myrules = {
	'#search_box' : function(el){
		el.onfocus = function(){
			if(this.value=="Enter Keyword(s) or Part Number") this.value = "";
		}
		el.onblur = function(){
			if(this.value=="") this.value = "Enter Keyword(s) or Part Number";
		}
	}
};
Behaviour.register(myrules);

showTellFriend = function(){
	if(!$('friend_form').isOpen){
		Effect.BlindDown('friend_form');
		$('friend_form').show();
		$('friend_form').isOpen = true;
	}
	else{	
		hideTellFriend();
	}
}

hideTellFriend = function(){
	if($('friend_form').isOpen){
		Effect.BlindUp('friend_form');
		//$('friend_form').hide();
		$('friend_form').isOpen = false;
	}
}