var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107482&x=137',
		'title': '',
		'imageId': '71107482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107481&x=137',
		'title': '',
		'imageId': '71107481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107479&x=137',
		'title': '',
		'imageId': '71107479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107484&x=137',
		'title': '',
		'imageId': '71107484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107489&x=137',
		'title': '',
		'imageId': '71107489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107494&x=137',
		'title': '',
		'imageId': '71107494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107496&x=137',
		'title': '',
		'imageId': '71107496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107495&x=137',
		'title': '',
		'imageId': '71107495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107501&x=137',
		'title': '',
		'imageId': '71107501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107502&x=137',
		'title': '',
		'imageId': '71107502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107505&x=137',
		'title': '',
		'imageId': '71107505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107510&x=137',
		'title': '',
		'imageId': '71107510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107513&x=137',
		'title': '',
		'imageId': '71107513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107514&x=137',
		'title': '',
		'imageId': '71107514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107517&x=137',
		'title': '',
		'imageId': '71107517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107483&x=137',
		'title': '',
		'imageId': '71107483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054268&docid=71107480&x=137',
		'title': '',
		'imageId': '71107480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054268';

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