var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607748&x=147',
		'title': '',
		'imageId': '67607748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607751&x=147',
		'title': '',
		'imageId': '67607751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607755&x=147',
		'title': '',
		'imageId': '67607755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607758&x=147',
		'title': '',
		'imageId': '67607758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607761&x=147',
		'title': '',
		'imageId': '67607761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607791&x=147',
		'title': '',
		'imageId': '67607791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607795&x=147',
		'title': '',
		'imageId': '67607795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607798&x=147',
		'title': '',
		'imageId': '67607798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607801&x=147',
		'title': '',
		'imageId': '67607801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944583&docid=67607805&x=147',
		'title': '',
		'imageId': '67607805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944583';

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