var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114497&x=2421',
		'title': '',
		'imageId': '68114497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114498&x=2421',
		'title': '',
		'imageId': '68114498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114499&x=2421',
		'title': '',
		'imageId': '68114499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114500&x=2421',
		'title': '',
		'imageId': '68114500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114501&x=2421',
		'title': '',
		'imageId': '68114501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114502&x=2421',
		'title': '',
		'imageId': '68114502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114503&x=2421',
		'title': '',
		'imageId': '68114503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114504&x=2421',
		'title': '',
		'imageId': '68114504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114505&x=2421',
		'title': '',
		'imageId': '68114505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929287&docid=68114496&x=2421',
		'title': '',
		'imageId': '68114496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929287';

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