// JavaScript Document
$(document).ready(function() {
	var true_height=$("#true_height").val();
	if(true_height=="100%"){
		true_height="680px"
	}
	$("#album_zoom_1").click( function() { 
		$("#two_column_left_sidebar").css("display","none");
		$("#two_column_left_sidebar_maincontent").css("width","960px");
		$("#two_column_left_sidebar_maincontent").css("height","auto");
		$("#album_frame").css("width","960px");
		$("#album_frame").css("height",true_height);
		$("#album_zoom_2").show();
		$(this).hide();
		$("#layout_canvas").css("display","block");
	});
	$("#album_zoom_2").click( function() {
		
		$("#two_column_left_sidebar").css("display","block");
		$("#two_column_left_sidebar_maincontent").css("width","680px");
		$("#two_column_left_sidebar_maincontent").css("height","auto");
		$("#album_frame").css("width","680px");
		$("#album_frame").css("height","480px");
		$("#album_zoom_1").show();
		$(this).hide();
	});
	$("#index_vb").mouseover( function() { 
		$(this).attr("src","/_graphics/viewalbum_over.jpg");
	});
	$("#index_vb").mouseout( function() { 
		$(this).attr("src","/_graphics/viewalbum_out.jpg");
	});
	$("#index_vb").mousedown( function() { 
		$(this).attr("src","/_graphics/viewalbum_down.jpg");
	});
});
