function lnch_p(mywidth,myheight,page,name) {
	myleft = (screen.width - mywidth) / 2;
	mytop = (screen.height - myheight) / 2;
	w = window.open(page,name,'width='+mywidth+',height='+myheight+',scrollbars=1,resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left='+myleft+',top='+mytop);
	if (w.focus) w.focus();
}

$(document).ready(function(){

	// subnav - over
	$("#nav ul li").mouseenter(function(){
		
		// id 
		var id = $(this).attr("id");
			
		// show
		$("#nav ul #"+id+" ul").css("display","block");
	
	});

	// subnav - out
	$("#nav ul li").mouseleave(function(){
		
		// id 
		var id = $(this).attr("id");
			
		// show
		$("#nav ul #"+id+" ul").css("display","none");
	
	});

});

// SFIR
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){

// This is the preferred "named argument" syntax
//	sIFR.replaceElement(named({sSelector:"body h1", sFlashSrc:"http://www.pinckneysproduce.com/new/swf/trashhand.swf", sColor:"#00ff00", sLinkColor:"#00ff00", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=6"}));

// This is the older, ordered syntax
//	sIFR.replaceElement("h5#pullquote", "tradegothic.swf", "#000000", "#000000", "#FFFFFF", "#FFFFFF", 0, 0, 0, 0);
//	sIFR.replaceElement("h2", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0);
//	sIFR.replaceElement("h4.subhead", "tradegothic.swf", "#660000", null, null, null, 0, 0, 0, 0);
//	sIFR.replaceElement("h3.sidebox","tradegothic.swf","#000000", "#000000", "#DCDCDC", "#DCDCDC", 0, 0, 0, 0, null);
//	sIFR.replaceElement("h3", "tradegothic.swf", "#000000", null, null, null, 0, 0, 0, 0, null);

};

//]]>
