window.onload = function()	{
	c_init();
	try { c_init_ex(); } catch(e) {}
}

var string, string_ex;
var difference = 0;
var pheight = 15;

function c_init() {
	
	if($("#dl_image_holder").length > 0)	{
		difference = $("#dl_image_holder").height();
	}
	
	target = ( ($("#column1").height()-pheight) /2 + (difference/2) );
	
	target = Math.ceil(target/pheight)*pheight;

	string = $("#column1").html();
	
	$("#column2").height( ($("#column1").height()-pheight)-target );
	$("#column1").height(target);
	
	$("#text_holder").html(string);
	$("#text_holder").css("top",-target+"px");
	
}

function c_init_ex() {
	
	target_ex = ( ($("#column1_ex").height()-pheight) /2 );
	
	target_ex = Math.ceil(target_ex/pheight)*pheight;

	string_ex = $("#column1_ex").html();
	
	$("#column2_ex").height( ($("#column1_ex").height()-pheight)-target_ex );
	$("#column1_ex").height(target_ex);
	
	$("#text_holder_ex").html(string_ex);
	$("#text_holder_ex").css("top",-target_ex+"px");
	
}

