var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008736&x=546',
		'title': '',
		'imageId': '68008736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008740&x=546',
		'title': '',
		'imageId': '68008740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008734&x=546',
		'title': '',
		'imageId': '68008734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008732&x=546',
		'title': '',
		'imageId': '68008732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008742&x=546',
		'title': '',
		'imageId': '68008742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008741&x=546',
		'title': '',
		'imageId': '68008741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008738&x=546',
		'title': '',
		'imageId': '68008738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008733&x=546',
		'title': '',
		'imageId': '68008733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008735&x=546',
		'title': '',
		'imageId': '68008735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008737&x=546',
		'title': '',
		'imageId': '68008737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008743&x=546',
		'title': '',
		'imageId': '68008743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924525&docid=68008739&x=546',
		'title': '',
		'imageId': '68008739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924525';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
