	swfobject.registerObject("swfmain", "9.0.0", "<?php bloginfo('template_directory'); ?>/swf/expressInstall.swf");

 
 $(document).ready(function() { 
        $('ul.sf-menu').superfish({ 
            delay:       1000,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            dropShadows: false                            // disable drop shadows 
        }); 
    });


    
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);



	function window_popup(content, x, y, title) {
		var thisWindow;
		thisWindow = window.open(content,title,"width="+x+",height="+y+",scrollbars=auto,screenX=0,screenY=0,toolbar=no,location=no,menubar=no");
		thisWindow.moveTo((screen.width-x)/2,(screen.height-y)/3);
		thisWindow.window.focus();
	}



	var profiles =
	{

		window800:
		{
			height:800,
			width:800,
			status:1
		},

		window200:
		{
			height:200,
			width:200,
			status:1,
			resizable:0
		},

		windowCenter:
		{
			height:300,
			width:400,
			center:1
		},
		
		windowNotNew:
		{
			height:300,
			width:400,
			center:1,
			createnew:0
		}

	};


   	$(function()
	{
   		$(".page-item-155 a").popupwindow(profiles);
   	});
