var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183307&x=443',
		'title': '',
		'imageId': '71183307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183329&x=443',
		'title': '',
		'imageId': '71183329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183343&x=443',
		'title': '',
		'imageId': '71183343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183312&x=443',
		'title': '',
		'imageId': '71183312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183327&x=443',
		'title': '',
		'imageId': '71183327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183290&x=443',
		'title': '',
		'imageId': '71183290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183287&x=443',
		'title': '',
		'imageId': '71183287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183292&x=443',
		'title': '',
		'imageId': '71183292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183293&x=443',
		'title': '',
		'imageId': '71183293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183310&x=443',
		'title': '',
		'imageId': '71183310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183311&x=443',
		'title': '',
		'imageId': '71183311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183308&x=443',
		'title': '',
		'imageId': '71183308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183309&x=443',
		'title': '',
		'imageId': '71183309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183330&x=443',
		'title': '',
		'imageId': '71183330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183325&x=443',
		'title': '',
		'imageId': '71183325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183326&x=443',
		'title': '',
		'imageId': '71183326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183328&x=443',
		'title': '',
		'imageId': '71183328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183344&x=443',
		'title': '',
		'imageId': '71183344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183288&x=443',
		'title': '',
		'imageId': '71183288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057251&docid=71183291&x=443',
		'title': '',
		'imageId': '71183291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057251';

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";
	})
}
