var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016279&x=212',
		'title': '',
		'imageId': '72016279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016284&x=212',
		'title': '',
		'imageId': '72016284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016285&x=212',
		'title': '',
		'imageId': '72016285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016283&x=212',
		'title': '',
		'imageId': '72016283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016280&x=212',
		'title': '',
		'imageId': '72016280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016295&x=212',
		'title': '',
		'imageId': '72016295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016296&x=212',
		'title': '',
		'imageId': '72016296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016288&x=212',
		'title': '',
		'imageId': '72016288',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016282&x=212',
		'title': '',
		'imageId': '72016282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016281&x=212',
		'title': '',
		'imageId': '72016281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016294&x=212',
		'title': '',
		'imageId': '72016294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016291&x=212',
		'title': '',
		'imageId': '72016291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016292&x=212',
		'title': '',
		'imageId': '72016292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016286&x=212',
		'title': '',
		'imageId': '72016286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016289&x=212',
		'title': '',
		'imageId': '72016289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016297&x=212',
		'title': '',
		'imageId': '72016297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016293&x=212',
		'title': '',
		'imageId': '72016293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016298&x=212',
		'title': '',
		'imageId': '72016298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016287&x=212',
		'title': '',
		'imageId': '72016287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092877&docid=72016290&x=212',
		'title': '',
		'imageId': '72016290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092877';

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