var win;
function popWindow(mypage, myname, w, h, scrollbars) {
	if(!win || win.closed) {
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		//winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scrollbars+',statusbar=true,resizable=false'
		winprops = 'top='+wint+',left='+winl+',toolbar=0,scrollbars='+scrollbars+',location=0,status=1,menubar=0,resizable=0,width='+w+',height='+h;
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}
}

function launch_jupiter() {
	var width = (screen.width - 100);
	var height = (screen.height - 200);
	popWindow('http://jupiter.actuent.com','jupiter',width,height,0);
}

function launch_mail() {
	var width = (screen.width - 100);
	var height = (screen.height - 200);
	popWindow('http://webmail.actuenthosting.com','webmail',width,height,1);
}

function hosting_signup(url) {
	popWindow(url,'package',700,550,1);
}


var actumenu = new ypSlideOutMenu("actddmnu", "down", 100, 22, 210, 123);
ypSlideOutMenu.aniLen = 120;