
	var requiredMajorVersion = 8;
	var requiredMinorVersion = 0;
	var requiredRevision = 0;

	$(document).ready(function() {

		if ($(".imgzoom"))
		$(".imgzoom").fancybox();
			
	});

	function open_wnd(exp_bar,width,height,url,status_bar,scrolls) {
        winName = "_blank";
        theURL = url;
        page_height = (height != '')?height:600;
        page_width = (height != '')?width:500;
        toolbar = (exp_bar == 1)?'yes':'no';
		scrollbars = (scrolls == 1)?'yes':'auto';
        statusbar = (status_bar == 1)?'yes':'no';
        page_top = Math.round((screen.height-page_height)/2);
        page_left = Math.round((screen.width-page_width)/2);
        size = "width="+page_width+",height="+page_height+",top="+page_top+",left="+page_left;
        features = 'status='+statusbar+',toolbar='+toolbar+',scrollbars='+scrollbars+',resizable=yes,'+size;
        window.open(theURL,winName,features);
}
