var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733237&x=219',
		'title': '',
		'imageId': '71733237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733238&x=219',
		'title': '',
		'imageId': '71733238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733242&x=219',
		'title': '',
		'imageId': '71733242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733247&x=219',
		'title': '',
		'imageId': '71733247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733239&x=219',
		'title': '',
		'imageId': '71733239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733232&x=219',
		'title': '',
		'imageId': '71733232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733241&x=219',
		'title': '',
		'imageId': '71733241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733236&x=219',
		'title': '',
		'imageId': '71733236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733245&x=219',
		'title': '',
		'imageId': '71733245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733243&x=219',
		'title': '',
		'imageId': '71733243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733233&x=219',
		'title': '',
		'imageId': '71733233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733249&x=219',
		'title': '',
		'imageId': '71733249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733244&x=219',
		'title': '',
		'imageId': '71733244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733246&x=219',
		'title': '',
		'imageId': '71733246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733234&x=219',
		'title': '',
		'imageId': '71733234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733230&x=219',
		'title': '',
		'imageId': '71733230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733248&x=219',
		'title': '',
		'imageId': '71733248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733231&x=219',
		'title': '',
		'imageId': '71733231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733240&x=219',
		'title': '',
		'imageId': '71733240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092316&docid=71733235&x=219',
		'title': '',
		'imageId': '71733235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092316';

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