var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183536&x=346',
		'title': '',
		'imageId': '71183536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183516&x=346',
		'title': '',
		'imageId': '71183516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183535&x=346',
		'title': '',
		'imageId': '71183535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183513&x=346',
		'title': '',
		'imageId': '71183513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183512&x=346',
		'title': '',
		'imageId': '71183512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183511&x=346',
		'title': '',
		'imageId': '71183511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183515&x=346',
		'title': '',
		'imageId': '71183515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183537&x=346',
		'title': '',
		'imageId': '71183537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183540&x=346',
		'title': '',
		'imageId': '71183540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183542&x=346',
		'title': '',
		'imageId': '71183542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183556&x=346',
		'title': '',
		'imageId': '71183556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183558&x=346',
		'title': '',
		'imageId': '71183558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183559&x=346',
		'title': '',
		'imageId': '71183559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183561&x=346',
		'title': '',
		'imageId': '71183561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183560&x=346',
		'title': '',
		'imageId': '71183560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183534&x=346',
		'title': '',
		'imageId': '71183534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057321&docid=71183510&x=346',
		'title': '',
		'imageId': '71183510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057321';

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