var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599743&x=018',
		'title': '',
		'imageId': '71599743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599749&x=018',
		'title': '',
		'imageId': '71599749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599742&x=018',
		'title': '',
		'imageId': '71599742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599747&x=018',
		'title': '',
		'imageId': '71599747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599746&x=018',
		'title': '',
		'imageId': '71599746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599744&x=018',
		'title': '',
		'imageId': '71599744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599750&x=018',
		'title': '',
		'imageId': '71599750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599758&x=018',
		'title': '',
		'imageId': '71599758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599752&x=018',
		'title': '',
		'imageId': '71599752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599754&x=018',
		'title': '',
		'imageId': '71599754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599748&x=018',
		'title': '',
		'imageId': '71599748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599751&x=018',
		'title': '',
		'imageId': '71599751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599753&x=018',
		'title': '',
		'imageId': '71599753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599745&x=018',
		'title': '',
		'imageId': '71599745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599755&x=018',
		'title': '',
		'imageId': '71599755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599759&x=018',
		'title': '',
		'imageId': '71599759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599756&x=018',
		'title': '',
		'imageId': '71599756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=71599757&x=018',
		'title': '',
		'imageId': '71599757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=59270415&x=018',
		'title': '',
		'imageId': '59270415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074799&docid=59270407&x=018',
		'title': '',
		'imageId': '59270407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4074799';

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