var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725740&x=4855',
		'title': '',
		'imageId': '69725740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725741&x=4855',
		'title': '',
		'imageId': '69725741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725738&x=4855',
		'title': '',
		'imageId': '69725738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725735&x=4855',
		'title': '',
		'imageId': '69725735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725736&x=4855',
		'title': '',
		'imageId': '69725736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725737&x=4855',
		'title': '',
		'imageId': '69725737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725744&x=4855',
		'title': '',
		'imageId': '69725744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725743&x=4855',
		'title': '',
		'imageId': '69725743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725742&x=4855',
		'title': '',
		'imageId': '69725742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000345&docid=69725739&x=4855',
		'title': '',
		'imageId': '69725739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000345';

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