function StartOnLoad(funct) {
    //setup onload function
    if(typeof window.addEventListener != 'undefined')
    {
        //.. gecko, safari, konqueror and standard
        window.addEventListener('load', funct, false);
    }
    else if(typeof document.addEventListener != 'undefined')
    {
        //.. opera 
        document.addEventListener('load', funct, false);
    }
    else if(typeof window.attachEvent != 'undefined')
    {
        //.. win/ie
        window.attachEvent('onload', funct);
    }
    
    //** remove this condition to degrade older browsers
    else
    {
        //.. mac/ie5 and anything else that gets this far
        
        //if there's an existing onload function
        if(typeof window.onload == 'function')
        {
            //store it
            var existing = onload;
            
            //add new onload handler
            window.onload = function()
            {
                //call existing onload function
                existing();
                
                //call generic onload function
                funct();
            };
        }
        else
        {
            //setup onload function
            window.onload = funct;
        }
    }
}


var showwnd=function(url,width,height) {
		window.open(url,'',"width="+width+",height="+height+",left="+((screen.width-width)/2)+",top="+((screen.height-height)/2)+",scrollbars=1");
	};



function Set_Cookie( name, value, expires, path, domain, secure )
{
	// set time, it's in milliseconds
	var today = new Date();
	today.setTime( today.getTime() );

	/*
	if the expires variable is set, make the correct
	expires time, the current script below will set
	it for x number of days, to make it for hours,
	delete * 24, for minutes, delete * 60 * 24
	*/
	if ( expires )
	{
	expires = expires * 1000 * 60 * 60 * 24;
	}
	var expires_date = new Date( today.getTime() + (expires) );

	document.cookie = name + "=" +escape( value ) +
	( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +
	( ( path ) ? ";path=" + path : "" ) +
	( ( domain ) ? ";domain=" + domain : "" ) +
	( ( secure ) ? ";secure" : "" );
}

function Tip() { tt_Tip(arguments, null); }
function UnTip() { tt_OpReHref(); if (tt_aV[DURATION] < 0 && tt_iState & 2) { tt_tDurt.Timer("tt_HideInit()", - tt_aV[DURATION], true); } else if (!(tt_aV[STICKY] && tt_iState & 2)) { tt_HideInit(); } }


function reload_median() {
    
}

