// JavaScript Document
	Event.observe(window,'load',function(){
		Df.Reflection.addByClassName("reflect");
		var para = {
			revealTagName: "div"
		}
		//don't execute on checkout page
		if (window.location.pathname != '/checkout/index.jsp')
		{
			$('mainNav').dropnav(para);
			$('sgNav').dropnav(para);
			
			var paraEmail = {
				className: 'emailOn',
				direction:'cbc',
				dataString: ''
			}
	
			paraEmail.dataString = "<div id=\"emailSignupForm\"><iframe allowtransparency=\"true\" src=\"../email/index.jsp\" id=\"hdrIframe\" frameborder=\"0\" scrolling=\"no\" /></div>"
			$('emailLink').tooltip(paraEmail);
			
			para.direction = 'cbc'
		}	
},false)

var spln = {
	main: {
		showCustomPopUp: function(thisUrl,thisName,theseParams){
			remote = open(thisUrl, thisName, theseParams);
		},

		submitSearch: function() {
			document.getElementById("searchForm").submit();
		}
	}
}
//had to take this from siteJS.jsp so I didn't have to include it on all pages
function showCustomPopUp(thisUrl,thisName,theseParams)
{
	remote = open(thisUrl, thisName, theseParams);
}
