var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129328&x=5941',
		'title': '',
		'imageId': '71129328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129341&x=5941',
		'title': '',
		'imageId': '71129341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129340&x=5941',
		'title': '',
		'imageId': '71129340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129334&x=5941',
		'title': '',
		'imageId': '71129334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129342&x=5941',
		'title': '',
		'imageId': '71129342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129338&x=5941',
		'title': '',
		'imageId': '71129338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129331&x=5941',
		'title': '',
		'imageId': '71129331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129336&x=5941',
		'title': '',
		'imageId': '71129336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129327&x=5941',
		'title': '',
		'imageId': '71129327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129325&x=5941',
		'title': '',
		'imageId': '71129325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129337&x=5941',
		'title': '',
		'imageId': '71129337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129324&x=5941',
		'title': '',
		'imageId': '71129324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129326&x=5941',
		'title': '',
		'imageId': '71129326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129332&x=5941',
		'title': '',
		'imageId': '71129332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129339&x=5941',
		'title': '',
		'imageId': '71129339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129329&x=5941',
		'title': '',
		'imageId': '71129329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129335&x=5941',
		'title': '',
		'imageId': '71129335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129330&x=5941',
		'title': '',
		'imageId': '71129330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129333&x=5941',
		'title': '',
		'imageId': '71129333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055077&docid=71129323&x=5941',
		'title': '',
		'imageId': '71129323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055077';

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