var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483979&x=496',
		'title': '',
		'imageId': '67483979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67484010&x=496',
		'title': '',
		'imageId': '67484010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483982&x=496',
		'title': '',
		'imageId': '67483982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483983&x=496',
		'title': '',
		'imageId': '67483983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483981&x=496',
		'title': '',
		'imageId': '67483981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483984&x=496',
		'title': '',
		'imageId': '67483984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483986&x=496',
		'title': '',
		'imageId': '67483986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483987&x=496',
		'title': '',
		'imageId': '67483987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483980&x=496',
		'title': '',
		'imageId': '67483980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903212&docid=67483985&x=496',
		'title': '',
		'imageId': '67483985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903212';

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