var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365147&x=3352',
		'title': '',
		'imageId': '67365147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365148&x=3352',
		'title': '',
		'imageId': '67365148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365151&x=3352',
		'title': '',
		'imageId': '67365151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365154&x=3352',
		'title': '',
		'imageId': '67365154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365157&x=3352',
		'title': '',
		'imageId': '67365157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365162&x=3352',
		'title': '',
		'imageId': '67365162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365164&x=3352',
		'title': '',
		'imageId': '67365164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365167&x=3352',
		'title': '',
		'imageId': '67365167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365172&x=3352',
		'title': '',
		'imageId': '67365172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3884999&docid=67365173&x=3352',
		'title': '',
		'imageId': '67365173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3884999';

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