    function Set_Add_On_Load_Event ( Function )
    {
        if ( typeof window.addEventListener != "undefined" )
        {
            window.addEventListener( "load" , Function , false ) ;
        }
        else if ( typeof window.attachEvent != "undefined" )
        {
            window.attachEvent( "onload" , Function ) ;
        }
        else
        {
            if ( window.onload != null )
            {
                var Old = window.onload ;
                window.onload = function ( Event )
                {
                    Old ( Event ) ;
                    window[Function] ( ) ;
                };
            }
            else
            {
                window.onload = Function ;
            }
        }
        return true ;
    }

    function Set_Add_Image_Field ( )
    {
        var Temporary = new Insertion.Bottom ( 'Images' , '<br/><input type="file" name="Images[]" value=""/>' ) ;
    }

    function Set_Update_Random_Name ( )
    {
        var Gender = $F('Pet_Gender') ;
        if ( Gender == 'M' )
        {
            var Array = Names['Male'] ;
        }
        else if ( Gender == 'F' )
        {
            var Array = Names['Female'] ;
        }
        else
        {
            var Array = Names['Others'] ;
        }
        var Index = Math.floor ( Math.random ( ) * Array.length ) ;
        $('Pet_Name').value = Array[Index] ;
        return true ;
    }

    function Pop_Under_Advertisement ( )
    {
        var Advertisement_Window = window.open ( URL , Name , Properties ) ;
        Advertisement_Window.blur ( ) ;
        return true ;
    }

	function Set_Image_Map ( )
    {
        var Internet_Explorer = ( ( navigator.appName.indexOf("Microsoft") != -1 ) && ( navigator.appVersion.indexOf("Windows") != -1 ) ) && ( parseFloat ( navigator.appVersion ) >= 4 ) ? true : false ;
		if ( true == Internet_Explorer )
		{
			$('Menu_Image').useMap = '#Internet_Explorer' ;
		}
		else
		{
			$('Menu_Image').useMap = '#Others' ;
		}
	}

    function Get_Y_Co_Ordinate ( ID )
    {
        var Element = $(ID) ;
        var Top = 0 ;
        if ( Element.offsetParent )
        {
            while ( Element.offsetParent )
            {
                Top += Element.offsetTop ;
                Element = Element.offsetParent ;
            }
        }
        else if ( Element.y )
        {
            Top += Element.y ;
        }
        return Top ;
    }

	function Set_Right_Advertisement ( )
    {
        var Right_Advertisement = $ ( 'Right' ) ;
        var Top = Get_Y_Co_Ordinate ( 'Top' ) + Element.getHeight ( 'Top' ) + 30 ;
        Element.setStyle ( 'Right' , { display : 'block'    } ) ;
        Element.setStyle ( 'Right' , { top     : Top + 'px' } ) ;
        return true ;
	}