$(document).ready(function(){
		$(function() {
var options =
            {
                zoomType: 'standard', // standard, reverse
                zoomWidth: 450, // The popup window width showing the zoomed area.
                zoomHeight: 250, // The popup window height showing the zoomed area.
                // lens : false, // if set to false,the small lens,over the image, won't show.
                // imageOpacity : 0.1, // Set the image opacity when the 'zoomType' option is setted to 'reverse'
                position : 'right', // right, left, top, bottom
                yOffset : 0, // The popup window y offset from the small image.positive/negative value if the 'position' option is 'right/left', always positive if the 'position' option is 'top/bottom'
                xOffset : 0, // The popup window x offset from the small image.always positive value if the 'position' option is 'right/left', positive/negative if the 'position' option is 'top/bottom'
                title : false, // Show a small title over the image it can be the anchor title and if not specified,it will get the small image title
                showEffect : 'fadein', // The Effect by which showing the popup window.Options available: 'show' ,'fadein'
                hideEffect : 'fadeout', // The Effect by which hiding the popup window.Options available: 'hide' ,'fadeout'
                fadeinSpeed : 'medium', // Changes fade in speed,in case the showEffect option is setted to 'fadein'.(options: 'fast','slow','medium')
                fadeoutSpeed : 'medium', // Changes fade out speed,in case the hideEffect option is setted to 'fadeout'.(options: 'fast','slow','medium')
                showPreload : true, // Show the preload loading indicator.(options: 'true','false')
                preloadText : 'Loading zoom', // Option to customize the preload indicator text.
                preloadPosition : 'center' // By default the preload indicator is centered over the small image.You can optionally use the 'bycss' option letting you to change its position by css.
            }

            $(".jqzoom").jqzoom(options);
});

 	$('.expand').click(function(){
	 	var href= jQuery(this).attr('href');
	 	var elclass = href.match('#([a-zA-Z]+)([0-9]+)');

	 	if(elclass[1] == 'html')
	 	{
	 		jQuery('.html'+elclass[2]+'div').show();
	 		jQuery('.js'+elclass[2]+'div').hide();
	 	}else
	 	{
	 		jQuery('.html'+elclass[2]+'div').hide();
	 		jQuery('.js'+elclass[2]+'div').show();
	 	}
	 	jQuery(this).addClass('alert').siblings('a').removeClass('alert');
		return false;
 	});

 	});
