var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008548&x=138',
		'title': '',
		'imageId': '71008548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008516&x=138',
		'title': '',
		'imageId': '71008516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008513&x=138',
		'title': '',
		'imageId': '71008513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008511&x=138',
		'title': '',
		'imageId': '71008511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008515&x=138',
		'title': '',
		'imageId': '71008515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008503&x=138',
		'title': '',
		'imageId': '71008503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008505&x=138',
		'title': '',
		'imageId': '71008505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008507&x=138',
		'title': '',
		'imageId': '71008507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008512&x=138',
		'title': '',
		'imageId': '71008512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008560&x=138',
		'title': '',
		'imageId': '71008560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008563&x=138',
		'title': '',
		'imageId': '71008563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008509&x=138',
		'title': '',
		'imageId': '71008509',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008508&x=138',
		'title': '',
		'imageId': '71008508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008506&x=138',
		'title': '',
		'imageId': '71008506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008510&x=138',
		'title': '',
		'imageId': '71008510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008562&x=138',
		'title': '',
		'imageId': '71008562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008564&x=138',
		'title': '',
		'imageId': '71008564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008561&x=138',
		'title': '',
		'imageId': '71008561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050521&docid=71008749&x=138',
		'title': '',
		'imageId': '71008749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050521';

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