var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593289&x=740',
		'title': '',
		'imageId': '71593289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593291&x=740',
		'title': '',
		'imageId': '71593291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593293&x=740',
		'title': '',
		'imageId': '71593293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593297&x=740',
		'title': '',
		'imageId': '71593297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593299&x=740',
		'title': '',
		'imageId': '71593299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593302&x=740',
		'title': '',
		'imageId': '71593302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593305&x=740',
		'title': '',
		'imageId': '71593305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593308&x=740',
		'title': '',
		'imageId': '71593308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593314&x=740',
		'title': '',
		'imageId': '71593314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593317&x=740',
		'title': '',
		'imageId': '71593317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593325&x=740',
		'title': '',
		'imageId': '71593325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593329&x=740',
		'title': '',
		'imageId': '71593329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593332&x=740',
		'title': '',
		'imageId': '71593332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593336&x=740',
		'title': '',
		'imageId': '71593336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593340&x=740',
		'title': '',
		'imageId': '71593340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593343&x=740',
		'title': '',
		'imageId': '71593343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593347&x=740',
		'title': '',
		'imageId': '71593347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593349&x=740',
		'title': '',
		'imageId': '71593349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593353&x=740',
		'title': '',
		'imageId': '71593353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075400&docid=71593359&x=740',
		'title': '',
		'imageId': '71593359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075400';

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