
 $(document).ready(
 function()  {
	 
        $("ul.sf-menu").supersubs({ 
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish();  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 
	 

 
/* $("#TickerDIV").jticker({
		delay: 10000,
		newwindow: true,
		url: "tickerdata2.xml",
		transition: "fade",
		speed: "slow"
	});
	*/
	
$(".openform").toggle(function(){
  $('#hform').slideDown('normal');
},function(){
  $('#hform').slideUp('normal');
});
 });
 
 
 function openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// Center an object on the screen
jQuery.fn.center = function() {
	var w = $(window);
	this.css("position","absolute");
	this.css("top",(w.height()-this.height())/2+w.scrollTop() + "px");
	this.css("left",(w.width()-this.width())/2+w.scrollLeft() + "px");
	return this;
}

 

