// JavaScript Document
var win = null;
function shippingDate(mypage,w,h){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable'
	win = window.open(mypage,'',settings)
}

function sendToFriend(account){
	var newwindow = "http://hosting.solidcactus.com/sendtofriend/eparty/eparty-sendtofriend.asp?url=" + escape(window.location) + "&store=" + escape(account) + "&imageref=" + escape(imref) + "&itemname=" + escape(itemname);
	var window_properties = "top=0,left=0,scrollbars=yes,width=535,height=445";
	var Window = window.open(newwindow,"sendtofriend",window_properties);
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
