var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817315&x=4028',
		'title': '',
		'imageId': '71817315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817317&x=4028',
		'title': '',
		'imageId': '71817317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817318&x=4028',
		'title': '',
		'imageId': '71817318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817324&x=4028',
		'title': '',
		'imageId': '71817324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817325&x=4028',
		'title': '',
		'imageId': '71817325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817332&x=4028',
		'title': '',
		'imageId': '71817332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817344&x=4028',
		'title': '',
		'imageId': '71817344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817352&x=4028',
		'title': '',
		'imageId': '71817352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817356&x=4028',
		'title': '',
		'imageId': '71817356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817362&x=4028',
		'title': '',
		'imageId': '71817362',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817365&x=4028',
		'title': '',
		'imageId': '71817365',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817369&x=4028',
		'title': '',
		'imageId': '71817369',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817372&x=4028',
		'title': '',
		'imageId': '71817372',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817374&x=4028',
		'title': '',
		'imageId': '71817374',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817378&x=4028',
		'title': '',
		'imageId': '71817378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817391&x=4028',
		'title': '',
		'imageId': '71817391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817398&x=4028',
		'title': '',
		'imageId': '71817398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817401&x=4028',
		'title': '',
		'imageId': '71817401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085325&docid=71817316&x=4028',
		'title': '',
		'imageId': '71817316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085325';

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