package myconstant;

sub new {
    my $class = shift;
    my $self = bless {}, $class;
    $self->_initalize;
    return $self;
}

sub _initalize {
    my $s = shift;
    $s->{pub}        = 'public/';
    $s->{css}        = 'css/';
    $s->{js}         = 'js/';
    $s->{imagedir}   = 'images';
    $s->{img}        = 'img';
    $s->{max_size}   = 500_000;
    $s->{img_size}   = 100_000;
    $s->{item_count} = 20;
    $s->{inner}      = <<End_Text;
					<h1>Automatic Image Montage <span>with jQuery</span></h1>
					<h2>Fullscreen liquid example with alternating heights, last image will fill the last row. Refresh the browser to see a different arrangement.</h2>
					<div class="snippet">
						<span id="showcode" class="down">View the options for this example</span>
						<pre>
fillLastRow	: true,
alternateHeight	: true,
alternateHeightRange : {
	min	: 90,
	max	: 240
}
						</pre>
					</div>
					<div class="more">
						<ul>
							<li>More examples:</li>
							<li class="selected"><a href="index.html">Example 1</a></li>
							<li><a href="index2.html">Example 2</a></li>
							<li><a href="index3.html">Example 3</a></li>
							<li><a href="index4.html">Example 4</a></li>
							<li><a href="index5.html">Example 5</a></li>
							<li><a href="index6.html">Example 6</a></li>
							<li><a href="index7.html">Example 7</a></li>
							<li><a href="index8.html">Example 8</a></li>
						</ul>
					</div>
End_Text
}
1;
