// Called when the page loads, initialize the page
function GuitarsPageLoaded() {

	// Load in the logos
	//LoadLogos();
	
	// Fix the channel transparency, if needed
	FixTransparency();
	
	// Show the proper logo
	//ShowLogo();
	
	// Show the photo caption, if any
	//ShowPhotoCaption();
	
	// Show the Photo Controls, if needed
	//ShowPhotoControls();
	
	// Make the tab and the channel visible
	ShowInterface();

	// Start the slideshow, if any
	//g_bPlaying = ( g_iPhotoCount > 1 )
	//StartSlideshow();

	// Make the page as having finished loaded
	bLoaded=true;
}


// Fix the channel transparency in IE 6
function FixTransparency() {
	if ( navigator.appVersion.indexOf( "MSIE") != -1 ) {
		var arVersion = navigator.appVersion.split("MSIE")
		var version = parseFloat(arVersion[1])

		if ( version >= 5.5 && version < 7 ) {
				DocumentObject( 'guitars-channel-contents', true ).filter = 'alpha(opacity=90);'
						}
	}	
}


// Show the channel
function GuitarsShowChannel() {
	DocumentObject( 'guitars-channel-contents', true ).marginTop = '0px';
}


// Make the interface visible
function ShowInterface( ) {
	DocumentObject( 'guitars-channel', true ).display = 'block';
}
