var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935839&x=437',
		'title': '',
		'imageId': '71935839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935840&x=437',
		'title': '',
		'imageId': '71935840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935826&x=437',
		'title': '',
		'imageId': '71935826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935837&x=437',
		'title': '',
		'imageId': '71935837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935836&x=437',
		'title': '',
		'imageId': '71935836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935833&x=437',
		'title': '',
		'imageId': '71935833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935832&x=437',
		'title': '',
		'imageId': '71935832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935838&x=437',
		'title': '',
		'imageId': '71935838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935828&x=437',
		'title': '',
		'imageId': '71935828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935830&x=437',
		'title': '',
		'imageId': '71935830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935831&x=437',
		'title': '',
		'imageId': '71935831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935829&x=437',
		'title': '',
		'imageId': '71935829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935827&x=437',
		'title': '',
		'imageId': '71935827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935842&x=437',
		'title': '',
		'imageId': '71935842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935841&x=437',
		'title': '',
		'imageId': '71935841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935835&x=437',
		'title': '',
		'imageId': '71935835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089932&docid=71935834&x=437',
		'title': '',
		'imageId': '71935834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089932';

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