var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585694&x=4054',
		'title': '',
		'imageId': '70585694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585705&x=4054',
		'title': '',
		'imageId': '70585705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585702&x=4054',
		'title': '',
		'imageId': '70585702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585706&x=4054',
		'title': '',
		'imageId': '70585706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585700&x=4054',
		'title': '',
		'imageId': '70585700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585693&x=4054',
		'title': '',
		'imageId': '70585693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585697&x=4054',
		'title': '',
		'imageId': '70585697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585724&x=4054',
		'title': '',
		'imageId': '70585724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585703&x=4054',
		'title': '',
		'imageId': '70585703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585691&x=4054',
		'title': '',
		'imageId': '70585691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585704&x=4054',
		'title': '',
		'imageId': '70585704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585695&x=4054',
		'title': '',
		'imageId': '70585695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585692&x=4054',
		'title': '',
		'imageId': '70585692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585699&x=4054',
		'title': '',
		'imageId': '70585699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585690&x=4054',
		'title': '',
		'imageId': '70585690',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585696&x=4054',
		'title': '',
		'imageId': '70585696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585698&x=4054',
		'title': '',
		'imageId': '70585698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=70585701&x=4054',
		'title': '',
		'imageId': '70585701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=59270515&x=4054',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028942&docid=59270516&x=4054',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028942';

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