/*************************************************************************
*                         COPYRIGHT NOTICE                               *
*                                                                        *
*   The contents of this file is protected under the United States       *
*   copyright laws as an unpublished work, and is confidential and       *
*   proprietary to Planetography.  Its use or disclosure in whole or in  *
*   part without the expressed written permission of Planetography is    *
*   prohibited.                                                          *
*                                                                        *
*   (c) Copyright 2003-2006 by Planetography.  All rights reserved.     *
**************************************************************************/

// Determine which type of objects the browser uses
(document.layers) ? layerobject=true : layerobject=false;
(document.all) ? allobject=true : allobject=false;
(document.getElementById) ? dom=true : dom=false;

// This function is needed to avoid the jerky motion of the planetography globe loading.  It
// sets the "src" address for the globe ("logo") once the caller of this function body is loaded.  We are
// assuming that this is the last frame loaded, since it is the biggest.
// Dont put this in global_vars.js, or the secure pages loading that .js file will cause scope problems
function trigger_logo () {
//alert ("we are in trigger logo");
//document.mybanner_logo_src="/myicons/logo-ani.gif";
//top.mybanner_logo.src = "/myicons/logo-ani.gif";

//	if (layerobject) {
//		top.banner.document.layers[logo].src = "/myicons/logo-ani.gif";
//	} else if (allobject) {
//		top.banner.document.logo.src = "/myicons/logo-ani.gif";
//	} else if (dom) {
//		top.banner.document.getElementById("logo").src = "/myicons/logo-ani.gif";
//	}
top.banner.document.logo.src = "/myicons/logo-ani.gif";
}
//alert ("finished with trigger logo");

