var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341430&x=4623',
		'title': '',
		'imageId': '70341430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341436&x=4623',
		'title': '',
		'imageId': '70341436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341429&x=4623',
		'title': '',
		'imageId': '70341429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341443&x=4623',
		'title': '',
		'imageId': '70341443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341432&x=4623',
		'title': '',
		'imageId': '70341432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341437&x=4623',
		'title': '',
		'imageId': '70341437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341431&x=4623',
		'title': '',
		'imageId': '70341431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341439&x=4623',
		'title': '',
		'imageId': '70341439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341442&x=4623',
		'title': '',
		'imageId': '70341442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341433&x=4623',
		'title': '',
		'imageId': '70341433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341444&x=4623',
		'title': '',
		'imageId': '70341444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341428&x=4623',
		'title': '',
		'imageId': '70341428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341427&x=4623',
		'title': '',
		'imageId': '70341427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341441&x=4623',
		'title': '',
		'imageId': '70341441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341425&x=4623',
		'title': '',
		'imageId': '70341425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341426&x=4623',
		'title': '',
		'imageId': '70341426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341434&x=4623',
		'title': '',
		'imageId': '70341434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341438&x=4623',
		'title': '',
		'imageId': '70341438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017339&docid=70341435&x=4623',
		'title': '',
		'imageId': '70341435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017339';

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