var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640138&x=944',
		'title': '',
		'imageId': '67640138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640141&x=944',
		'title': '',
		'imageId': '67640141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640139&x=944',
		'title': '',
		'imageId': '67640139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640140&x=944',
		'title': '',
		'imageId': '67640140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640143&x=944',
		'title': '',
		'imageId': '67640143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640142&x=944',
		'title': '',
		'imageId': '67640142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640158&x=944',
		'title': '',
		'imageId': '67640158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640157&x=944',
		'title': '',
		'imageId': '67640157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640159&x=944',
		'title': '',
		'imageId': '67640159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913849&docid=67640155&x=944',
		'title': '',
		'imageId': '67640155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913849';

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