var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935264&x=3150',
		'title': '',
		'imageId': '71935264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935260&x=3150',
		'title': '',
		'imageId': '71935260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935261&x=3150',
		'title': '',
		'imageId': '71935261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935265&x=3150',
		'title': '',
		'imageId': '71935265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935262&x=3150',
		'title': '',
		'imageId': '71935262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935266&x=3150',
		'title': '',
		'imageId': '71935266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935267&x=3150',
		'title': '',
		'imageId': '71935267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935272&x=3150',
		'title': '',
		'imageId': '71935272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935268&x=3150',
		'title': '',
		'imageId': '71935268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935273&x=3150',
		'title': '',
		'imageId': '71935273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935270&x=3150',
		'title': '',
		'imageId': '71935270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935263&x=3150',
		'title': '',
		'imageId': '71935263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935275&x=3150',
		'title': '',
		'imageId': '71935275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935271&x=3150',
		'title': '',
		'imageId': '71935271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935274&x=3150',
		'title': '',
		'imageId': '71935274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935276&x=3150',
		'title': '',
		'imageId': '71935276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935277&x=3150',
		'title': '',
		'imageId': '71935277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089861&docid=71935269&x=3150',
		'title': '',
		'imageId': '71935269',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089861';

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